1. 07 Nov, 2018 2 commits
    • Jeffrey I. Schiller's avatar
      Changes for Java 8 and the Buildservers · c51e829a
      Jeffrey I. Schiller authored
      We properly close the HttpURLConnection between App Engine (the App
      Inventor server) and the buildserver infrastructure. If we don’t App
      Engine sends RST packets which causes issues for some buildserver
      infrastructures.
      
      Also limit project size to 10MB up-front (rather then after an
      IOException is thrown). Add reporting to the buildserver status page to
      report the number of Java threads.
      
      Change-Id: I934df537dfe9419f5f8effafe80f0a2460091cdd
      c51e829a
    • Evan W. Patton's avatar
      Stop propagation of mouse events on warning toggle button · c1e9dc7e
      Evan W. Patton authored
      In Firefox, Blockly seems to handle mouse events differently than in
      Chrome. This generally isn't a problem, but it affects the warning
      indicator toggle button. Blockly starts a drag at the mousedown but
      then we never will see a mouseup or click event.
      
      This change registers a mouse down listener on the toggle to stop
      propagation to Blockly so that the warning indicator can receive the
      click event. We also update to include support for touch events on the
      toggle button to support App Inventor on tablets.
      
      Change-Id: Iba4e1e274dd3eac86939bb122a1c7f15cc7d41f9
      c1e9dc7e
  2. 02 Nov, 2018 1 commit
    • Evan W. Patton's avatar
      Trim extraneous whitespace from base64-encoded aia · cef1f872
      Evan W. Patton authored
      The base64 utility on macOS writes a carriage return at the end of the
      base64 encoded string. When App Inventor attempts to read a project
      template with this extra whitespace, it causes an exception to be
      thrown since the server's decode() implementation expects a string
      with a length multiple of 4. This change switches to using
      decodeLines(), which ignores whitespace.
      
      Change-Id: I34f6c7b1ef1fcd12b82eab67c98ffb422bbf5894
      cef1f872
  3. 30 Oct, 2018 1 commit
  4. 21 Oct, 2018 1 commit
  5. 19 Oct, 2018 1 commit
  6. 26 Sep, 2018 1 commit
  7. 24 Sep, 2018 2 commits
  8. 11 Sep, 2018 1 commit
    • Conor Shipp's avatar
      Added context menu items to enable and disable all blocks (#1353) · 860cd765
      Conor Shipp authored
      This commit adds two new items to the context menu of the blocks editor. The first one is "Enable All Blocks" which enables all blocks on the workspace. The second option is "Disable All Blocks" which disables all of the blocks on the workspace.
      
      Resolves #1091
      860cd765
  9. 10 Sep, 2018 1 commit
  10. 05 Sep, 2018 1 commit
  11. 24 Aug, 2018 1 commit
    • Jeffrey I. Schiller's avatar
      Fix a 500 Error · 49c25e75
      Jeffrey I. Schiller authored
      Google Search reported this to us. If you go to “/b” you get an
      ArrayIndexOutOfBounds exception. This is not a valid URL, normally in
      practice a code follows the /b/ which points to the APK to download. So
      given that /b is not valid, we turn the error into a 404, which makes
      more sense.
      
      Change-Id: Id3ac26a35eb2cb51038a74974850ee401b9fb91c
      49c25e75
  12. 31 Jul, 2018 1 commit
    • Jeffrey I. Schiller's avatar
      Provide for a second buildserver. · 308f1f33
      Jeffrey I. Schiller authored
      Provide for a second buildserver. If provided then the user is presented
      a choice of two different build servers. This feature was introduced to
      support building against two different versions of the Android SDK. As
      of 8/1/2018 MIT is using this feature with the first buildserver
      building Apps with a minSdk of 7 (but no targetSdk defined) to support
      older devices. The second buildserver is configured with a minSdk of 14
      and a targetSdk of 26 (along with the necessary component code
      changes). This is required for new Apps submitted to the Google Play
      Store. Having two buildservers provides us the flexibility to support
      older devices while also ensuring that people can submit MIT App
      Inventor created Apps to the Google Play Store.
      
      Change-Id: Iae58f9ff4d112f8bc5d3203675f37cec7bf76920
      308f1f33
  13. 11 Jul, 2018 3 commits
  14. 07 Jul, 2018 1 commit
  15. 06 Jul, 2018 1 commit
  16. 05 Jul, 2018 1 commit
  17. 03 Jul, 2018 6 commits
  18. 28 Jun, 2018 3 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
    • Evan W. Patton's avatar
      Unbind all handlers in typeblock before binding new handler · 4b7763dc
      Evan W. Patton authored
      Change-Id: I1cc72fa09f8e5b51c22b78e774a6c5b5d119f9f7
      4b7763dc
  19. 27 Jun, 2018 1 commit
  20. 20 Jun, 2018 2 commits
    • Jeffrey I. Schiller's avatar
      Collapse All Properties · 66b2a13a
      Jeffrey I. Schiller authored
      This results in compilation building a single large Javascript download
      instead of one for each browser/language combination. In production,
      minification reduces the size of this file to something
      reasonable. However if you build directly from master, this one file
      will be pretty large. However it will work just fine.
      
      This changes significantly speeds up the build process.
      
      Change-Id: I330faf96fd95e538e3c19130c85c3ae8dbb077df
      66b2a13a
    • Evan W. Patton's avatar
      Work around break block issues in Kawa · 70421e9b
      Evan W. Patton authored
      Fixes #1230
      
      Change-Id: I1eb4579f4873d2e60b357acd463dbbd77261c936
      70421e9b
  21. 19 Jun, 2018 2 commits
  22. 18 Jun, 2018 2 commits
  23. 17 Jun, 2018 4 commits