1. 03 Jan, 2020 3 commits
  2. 02 Jan, 2020 1 commit
  3. 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
  4. 20 Dec, 2019 3 commits
  5. 19 Dec, 2019 1 commit
  6. 17 Dec, 2019 15 commits
  7. 16 Dec, 2019 1 commit
  8. 12 Dec, 2019 1 commit
  9. 11 Dec, 2019 1 commit
  10. 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
  11. 09 Dec, 2019 2 commits
  12. 04 Dec, 2019 3 commits
  13. 02 Dec, 2019 3 commits
  14. 28 Nov, 2019 1 commit
  15. 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