1. 17 Mar, 2018 1 commit
  2. 10 Mar, 2018 1 commit
    • hal's avatar
      Add the "Break" block (#1180) · 908c341f
      hal authored
      This adds a break block that can be used to break out of for-range,
      for-each, and while loops.  Running excuting break terminate execution
      of the innermost loop.  It is an error to have a break block that is
      not contained in a loop.  Note that this change does not implement
      continue, only break.
      
      Change-Id: Ib480b03d0db70d85016a7400579b8fe14435b12a
      908c341f
  3. 26 Feb, 2018 2 commits
  4. 08 Feb, 2018 1 commit
    • Evan W. Patton's avatar
      Use GeometryUtil for interpreting Map BoundingBox (#1146) · 9b943f9e
      Evan W. Patton authored
      When setting a BoundingBox to a specific set of coordinates we attempt
      to cast a value to double that isn't necessarily double. If coming
      directly from blocks, the values are Kawa DFloNum values. This commit
      uses GeometryUtil's coerseToDouble helper function to convert the
      value into a double.
      
      Fixes #1145
      
      Change-Id: I6404c783caa81fb31e03557e58cabc5474f2eb38
      9b943f9e
  5. 23 Jan, 2018 1 commit
    • Evan W. Patton's avatar
      Defer loading of screens until after Screen1 loads · 7e4e6e00
      Evan W. Patton authored
      When importing a project that requires an upgrade involving project
      settings, if any screen loaded before Screen1 would fail to
      upgrade. Attempting to build a project in this state would only
      generate YAIL files for the successfully loaded screens. The build
      server would attempt to generate YAIL for the missing screens using
      the AI1 YAIL generator, which no longer exists. The error message
      doesn't give any indication that this is the problem.
      
      This change defers loading of screens other than Screen1 until
      Screen1's form is loaded. At this point the upgrade of the Form and
      the project settings will have occurred, and then we can proceed to
      load the additional screens.
      
      Change-Id: Ibde055171a8939a9e9ae5ed8ea5ce3954fb5ccf1
      7e4e6e00
  6. 19 Jan, 2018 3 commits
    • Jeffrey I. Schiller's avatar
      Merge branch 'ucr' · 0166242c
      Jeffrey I. Schiller authored
      0166242c
    • Evan W. Patton's avatar
      Fix dialog themes in compiled apps · ae675d46
      Evan W. Patton authored
      DatePicker, TimePicker, and Notifier create dialogs that do not have
      the appropriate color. This commit adds behavior to the compiler to
      output styling information for dialogs so that these components
      properly reflect the user's chosen AccentColor.
      
      Change-Id: I770dcdff555b9f40a28c75e435e938e6258ab3c5
      ae675d46
    • Evan W. Patton's avatar
      Fix issues with marker size breaking project load · ec3671af
      Evan W. Patton authored
      Projects using relatively sized markers are unable to load correctly
      because the width/height is set before the MockMap is ready. This
      change introduces a needsUpdate flag that is set when this occurs. The
      size is then updated when addToMap is called once the map has been
      set. This also fixes a minor bug where markers with image assets do
      not end up being the correct size in the designer after toggling
      visibility.
      
      Fixes #1136 and fixes #1137
      
      Change-Id: Ic800b19241b9bcf33cd07db17308b7c61d13b81e
      ec3671af
  7. 18 Jan, 2018 1 commit
  8. 17 Jan, 2018 1 commit
  9. 12 Jan, 2018 1 commit
  10. 11 Jan, 2018 1 commit
    • User's avatar
      Update Form.java · fe79635e
      User authored
      Fixed #1120
      
      Change-Id: Idd679d701cfad71580cbd841a093dd35b558fc5f
      fe79635e
  11. 08 Jan, 2018 7 commits
  12. 05 Jan, 2018 1 commit
  13. 04 Jan, 2018 6 commits
  14. 03 Jan, 2018 1 commit
  15. 28 Dec, 2017 3 commits
  16. 27 Dec, 2017 1 commit
  17. 23 Dec, 2017 4 commits
  18. 22 Dec, 2017 1 commit
    • Evan W. Patton's avatar
      Add Map and related components · 95be2f24
      Evan W. Patton authored
      This commit adds support for Maps using OpenStreetMaps and USGS tile
      layers. It also adds a number of components related to Maps:
      
      1. Marker: Custom markers to represent points on a map.
      2. LineString: Line segments drawn on the map.
      3. Polygon: Polygons to draw 2D areas on the map.
      4. Circle: Draw a circle at a point with a given radius.
      5. Rectangle: Polygons, but fixed corners/sides.
      6. FeatureCollection: Collections of the above loaded
         from a GeoJSON file.
      
      Change-Id: Ib2d7155094f2557e102de118d5c629abb9675086
      95be2f24
  19. 21 Dec, 2017 2 commits
    • Jeffrey I. Schiller's avatar
      The CloudDB Component · 3cfbee8f
      Jeffrey I. Schiller authored
      CloudDB is similar to the FirebaseDB component but does not require a
      proprietary back-end database. Instead the back-end is based on the open
      source Redis system which is a well used and scale-able data storage
      solution.
      
      With CloudDB you can store arbitrary data, including binary image data,
      based on a “tag” which is a string. The “tag” is combined with
      ProjectID (which defaults to the name of the current project, but can be
      changed) so that multiple projects can use the same tags without
      interfering with each other.
      
      The domain name system name of the Redis server should be configured the
      “RedisServer” property. This defaults to “DEFAULT” which is a server
      provided default (more on that below). The “Token” property should be
      the password required for the Redis Server. An “out of the box” Redis
      server does not implement SSL, so the UseSSL property should be
      unchecked.
      
      In the DEFAULT setup, the server name is set to DEFAULT, UseSSL is
      checked and the Token is automatically generated when you load a
      project. In the DEFAULT case, a special modified Redis server is used
      which implements multi-user features which provide isolation between
      different MIT App Inventor programmers. It also uses SSL to protect
      on-line communications from interception.
      
      Author: Natalie Lao <natalie@csail.mit.edu>
      Author: Jeffrey I. Schiller <jis@mit.edu>
      Author: Joy Mitra <joymitro1989@gmail.com>
      
      Change-Id: Ic7d7aa0f7337a5452d9c138920813deb797fac20
      3cfbee8f
    • Jeffrey I. Schiller's avatar
      Fix AccelerometerSensor component for Tablets · d58d40ce
      Jeffrey I. Schiller authored
      Fix the AcclerometerSensor component for tablets that use Landscape mode
      by default. Add a “LegacyMode” designer property so people can revert
      this behavior for apps where they have performed the needed compensation
      in their own blocks (though we would prefer they just fix their blocks).
      
      Change-Id: I29157612d54dd28ec0e85a822ef47f6ddd73b05c
      d58d40ce
  20. 20 Dec, 2017 1 commit