1. 17 Dec, 2019 4 commits
    • Evan W. Patton's avatar
      Remove unused rendezvous service · ccaf1506
      Evan W. Patton authored
      Change-Id: Ib693b0bd511436a7b363eff16579c341aea8a67b
      ccaf1506
    • Evan W. Patton's avatar
      Remove unused HelpService · fd16bc05
      Evan W. Patton authored
      Change-Id: I3f54c7c2f3db0cfd32b9646f0ca4849cabdd00c6
      fd16bc05
    • Evan W. Patton's avatar
      Clean up ServerLayout · 0e8be0ef
      Evan W. Patton authored
      Change-Id: I61521a8a55856ad18ac07a8c308bc5283cc325d9
      0e8be0ef
    • Evan W. Patton's avatar
      Map empty URL to none for background-image CSS · fea46c77
      Evan W. Patton authored
      When dragging a button or other component with an image from the
      palette, its Image property is set, and when it is dropped, the
      property is set again. This property is empty by default. In the
      network devtools one can observe that this results in a request to the
      root of the web server tagged as "img". This is because the
      background-image CSS set in response to the Image property uses an
      empty string URL, which will resolve against the base URL of the
      page. This results in every new button created causing the browser to
      fetch index.html twice. In production, we don't cache index.html so
      that means every new button created by an App Inventor user causes
      them to download ~6 kB of HTML that can't even be used. This fix
      switches to setting background-image to none, which foregoes the
      unnecessary network requests.
      
      Change-Id: Ifc1165833b2c4aa9d412b0a929dca47381a0cfe8
      fea46c77
  2. 16 Dec, 2019 1 commit
  3. 12 Dec, 2019 1 commit
  4. 11 Dec, 2019 1 commit
  5. 10 Dec, 2019 3 commits
    • Evan W. Patton's avatar
      Clone default button background drawable if needed · 84204236
      Evan W. Patton authored
      When we apply colors to buttons, we apply a filter to the background
      drawable. However, the default drawable is cached and reused across
      all buttons. This causes problems when mixing buttons of the different
      colors with buttons using the "default" color.
      
      This change addresses the problem by making a copy of the background
      drawable and applying the color to the copy so that the currently
      rendered button doesn't adversely affect buttons that come after it in
      the view hierarchy. This copy is done lazily at the time the color is
      changed from "Default" to something else so that we can still benefit
      from the reusability of the default button background drawable.
      
      Change-Id: I2be3b15df32b76a59a29f1e2aed41054f5bdd975
      84204236
    • Evan W. Patton's avatar
      Add Vagrantfile for development environment bootstrapping (#1540) · 47a1f83a
      Evan W. Patton authored
      * Add Vagrantfile for development environment bootstrapping
      
      Change-Id: I2fb08206d96f2ff0da73954f820134b7a0684aef
      47a1f83a
    • Evan W. Patton's avatar
      Add early escape when selecting the same component · 17ce0528
      Evan W. Patton authored
      Change-Id: I2fca8de2941613c938eaa0e9be0d391fa67c48f5
      17ce0528
  6. 09 Dec, 2019 2 commits
  7. 04 Dec, 2019 3 commits
  8. 02 Dec, 2019 3 commits
  9. 28 Nov, 2019 1 commit
  10. 27 Nov, 2019 1 commit
    • Evan W. Patton's avatar
      Hide deprecated blocks · bbf9c58c
      Evan W. Patton authored
      In earlier versions of App Inventor, the deprecated flag was stored as
      the string 'true' or 'false'. More recently, we made the flag output a
      Boolean rather than a string (i.e., `true` or `false`). However, the
      code to handle creating the blocks for the drawer wasn't updated to
      handle this scenario. Luckily, it was a sensible fallback such that
      the block showed, but that means that deprecated blocks show when they
      shouldn't. This change fixes this by checking for both the string
      version (to support extensions that use the old format) and the
      Boolean version.
      
      Change-Id: I6ae272d8e36887ea4259a7948a56badb62f817d6
      bbf9c58c
  11. 26 Nov, 2019 2 commits
    • Evan W. Patton's avatar
      Update Andorid build tools to 29.0.2 · 82d04c8a
      Evan W. Patton authored
      Change-Id: I76fb8e7f4cfacaa9ad6377790c9cd4d59d379767
      82d04c8a
    • Evan W. Patton's avatar
      Emit disable event code only if no active handler exists · b3772047
      Evan W. Patton authored
      The change that produced calls to EventDispatcher's unregister method
      for disabled blocks did not account for the scenario where both an
      active and inactive event handler exist for the same component-event
      combination. This change makes it so that unregister calls are only
      output if there isn't a matching active event handler.
      
      Change-Id: If33b577f5af03c64f7abb8fe5b587d576886889b
      b3772047
  12. 22 Nov, 2019 1 commit
    • Jeffrey I. Schiller's avatar
      Remove the FusionTablesControl from visibility · caab99a0
      Jeffrey I. Schiller authored
      Moved the FusionTablesControl from the STORAGE to the INTERNAL
      category. This means that projects that include the control can load,
      but people working on new projects cannot add the control to their
      project.
      
      Also updated the documentation to include the warning that it is
      shutdown.
      
      Change-Id: Ie05d54b9df0a5bae21661529ded01ce0a549347c
      caab99a0
  13. 21 Nov, 2019 4 commits
  14. 18 Nov, 2019 1 commit
  15. 15 Nov, 2019 1 commit
  16. 14 Nov, 2019 2 commits
  17. 13 Nov, 2019 1 commit
    • Evan W. Patton's avatar
      Fix global keyword internationalization (#1902) · bfdb5ac2
      Evan W. Patton authored
      The global keyword that prefixes global variables is translated, and
      this translation ends up in the Blockly XML. We need to keep the
      translation separate from the underlying representation so that
      projects still work when switching between languages.
      
      Change-Id: I7bc88f0a26c8dce6d256010c188d7233d8cc43f8
      bfdb5ac2
  18. 08 Nov, 2019 1 commit
    • Evan W. Patton's avatar
      Implement option to disable project auto load · e76e792e
      Evan W. Patton authored
      Autoload behavior can be overriden per session by including
      autoload=false or autoload=true in the query string when loading App
      Inventor.
      
      This commit also refactors the menu construction into individual
      pieces so that they can be called to be reconfigured. At the moment,
      this feature is only used for the Settings menu, but it makes the
      creation of each menu independent of any other menu.
      
      Change-Id: Id220991cef5f7643465ef9648f663a52be1486ae
      e76e792e
  19. 05 Nov, 2019 1 commit
  20. 04 Nov, 2019 2 commits
  21. 01 Nov, 2019 4 commits