1. 03 Jul, 2018 2 commits
  2. 28 Jun, 2018 2 commits
    • Jeffrey Schiller's avatar
      Modified the “while” macro · 57533951
      Jeffrey Schiller authored
      Modified the “while” macro to avoid a bug in the Kawa in-line optimizer.
      
      Change-Id: I4247adab9fbf80e2e3396f67c4aac5f4a21fa752
      57533951
    • Evan W. Patton's avatar
      Fix order of call-Initialize-of-components in REPL · 41e45a6f
      Evan W. Patton authored
      Due to an optimization that reused the component references in blocks
      to determine the names of components, components with event handlers
      would have their init-thunks called before components without
      events. This would result in different initialization paths between
      the REPL and compiled apps. This change makes the ordering of
      init-thunks consistent by always using the order created by walking
      the Form's JSON description.
      
      Fixes #1279
      
      Change-Id: I5ea1070df17a1dd96923cff2f0adfd6889a987b2
      41e45a6f
  3. 20 Jun, 2018 1 commit
  4. 19 Jun, 2018 2 commits
  5. 18 Jun, 2018 1 commit
    • Evan W. Patton's avatar
      Implement custom zoom controls · 2820e72a
      Evan W. Patton authored
      The Android SDK provided zoom controls used by osmdroid are not scaled
      by ScaledFrameLayout, and so do not work correctly when Sizing is
      Fixed. Further, the ZoomButtonsController is deprecated starting with
      SDK 26 and Google recommends that developers provide custom views for
      zoom controls.
      
      This change implements zoom controls for the Map component similar to
      those shown in the designer.
      
      Change-Id: If5d15ea1387161f42a9bd6b59b210ea23baa85a0
      2820e72a
  6. 17 Jun, 2018 1 commit
  7. 11 Jun, 2018 1 commit
    • ChitiSims's avatar
      Add Rotation property · c0cd37b2
      ChitiSims authored
      Users could rotate the map but not programmatically. This change adds
      blocks to allow developers to programmatically change the map rotation.
      
      Fixes #1082
      
      Change-Id: I476263bb834cf32f4ab8c74c3f525ab0224362d8
      c0cd37b2
  8. 17 May, 2018 1 commit
    • Jeffrey I. Schiller's avatar
      Update Clock Tests · 408f3ed1
      Jeffrey I. Schiller authored
      The recent update to the Clock component broke three unit tests (the
      tests were actually checking for the incorrect behavior). This change
      updates the tests to check for the correct behavior.
      
      Change-Id: I8fafefeb5a673104c8446c9421b8a0bb98f46553
      408f3ed1
  9. 10 May, 2018 1 commit
  10. 09 May, 2018 2 commits
  11. 10 Apr, 2018 1 commit
  12. 17 Mar, 2018 1 commit
  13. 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
  14. 26 Feb, 2018 2 commits
  15. 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
  16. 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
  17. 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
  18. 18 Jan, 2018 1 commit
  19. 17 Jan, 2018 1 commit
  20. 12 Jan, 2018 1 commit
  21. 11 Jan, 2018 1 commit
    • User's avatar
      Update Form.java · fe79635e
      User authored
      Fixed #1120
      
      Change-Id: Idd679d701cfad71580cbd841a093dd35b558fc5f
      fe79635e
  22. 08 Jan, 2018 7 commits
  23. 05 Jan, 2018 1 commit
  24. 04 Jan, 2018 4 commits
    • Evan W. Patton's avatar
      Improve MockFeatureCollection behavior (#1076) · d1d8e3bc
      Evan W. Patton authored
      1. Makes the GeoJSON asset picker show "None..." instead of "..." when
         nothing is selected
      2. Makes MockFeatureCollection icon show when dragging from the palette
      3. Centers the "From URL" dialog that appears when retrieving GeoJSON
         from a URL
      
      Fixes #1074
      
      Change-Id: Ib88eb768df5421b8be4defb472e4b516a3ca94fa
      d1d8e3bc
    • Evan W. Patton's avatar
      Buffer PUT files on disk to prevent OutOfMemoryError (#1078) · 6c4f0ac5
      Evan W. Patton authored
      The new companion is too large to fit in the emulator's 8 MB memory
      limit all at one time. This commit changes NanoHTTPD so that for PUT
      operations the contents of the file being PUT are first written to a
      temporary location rather than being kept fully in memory.
      
      Fixes #1077
      
      Change-Id: I61207c57d7d3dca8e8a2f65ba1b0afe676e6342b
      6c4f0ac5
    • Evan W. Patton's avatar
      Fix Windows build problems in AARLibrary (#1083) · 71bca4d2
      Evan W. Patton authored
      A hard-coded '/' breaks builds involving Maps on Windows. This commit
      switches to using File.getName() to get the name of archive before
      stripping its '.aar' file extension.
      
      Change-Id: I2b43569011975ef1d1ee33f28fbc4d1270e5f331
      71bca4d2
    • conorshipp's avatar
      Support carriage return "\r" in blocks language · 5f80b746
      conorshipp authored
      Resolves #1090
      5f80b746