1. 21 Dec, 2019 1 commit
    • Evan W. Patton's avatar
      Treat 'global' keyword as untranslatable internally · a29c047e
      Evan W. Patton authored
      In the block name we store globals as 'global foo' where foo is the
      variable name. In Korean and Polish, the 'global' keyword has been
      translated for the blocks, but interally we still call the variable
      'global foo' even though the keyword shown to the user is
      translated. However, because the functionality to unprefix names
      references the translated name it causes bad code generation for
      languages where the global keyword isn't the string 'global'. This
      change introduces a GLOBAL_KEYWORD constant that is checked to
      identify globals where the user locale may provide a translation.
      
      Change-Id: Id18331206c28592c145bc2a1d915bcecc0799f13
      a29c047e
  2. 20 Dec, 2019 3 commits
  3. 19 Dec, 2019 1 commit
  4. 17 Dec, 2019 15 commits
  5. 16 Dec, 2019 1 commit
  6. 12 Dec, 2019 1 commit
  7. 11 Dec, 2019 1 commit
  8. 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
  9. 09 Dec, 2019 2 commits
  10. 04 Dec, 2019 3 commits
  11. 02 Dec, 2019 3 commits
  12. 28 Nov, 2019 1 commit
  13. 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
  14. 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
  15. 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
  16. 21 Nov, 2019 1 commit