1. 24 May, 2019 1 commit
    • Evan W. Patton's avatar
      Enable import/export block code as PNGs (#1706) · 8b749ef1
      Evan W. Patton authored
      * Enable import/export block code as PNGs
      
      This commit adds a feature to download individual blocks as PNG
      files. In the PNG file there will be a code chunk that stores the
      Blockly XML representation for the block. Dragging and dropping one of
      these images into the blocks editor will import that block. This can
      be useful for writing tutorials because the images of the blocks will
      also contain the code, so one can drag the block image into the
      workspace from another page. In order for the cross-site drag to work,
      the server serving the document must allow CORS from the App Inventor
      server.
      
      Change-Id: I524bbfbef739554884caa31a8b677ce1bcc893d1
      8b749ef1
  2. 23 May, 2019 1 commit
  3. 22 May, 2019 4 commits
  4. 20 May, 2019 4 commits
    • Evan W. Patton's avatar
      Fix warning counter going to -1 · 9b4ae78e
      Evan W. Patton authored
      Change-Id: If0ed5ffc8c8fbb4cc4306f6de2949ca733e0f482
      9b4ae78e
    • ankritisachan's avatar
      Update README · d3f9111d
      ankritisachan authored
      This commit specifies installation of 32-bit libraries needed in 64-bit Linux Systems
      d3f9111d
    • Jeffrey I. Schiller's avatar
      Mitigate WebRTC Issue · 534826d6
      Jeffrey I. Schiller authored
      The previous commit updates the Companion to better handle the case
      where the Rendezvous server is far away from the user (long round trip
      time).
      
      This commit does a mitigation, at the cost of 5 seconds, in replmgr.js
      that results in older Companions being more likely to connect with a
      long round trip time.
      
      Change-Id: Ice6b86b11a3c21beedf2c066ac46593659651713
      534826d6
    • Jeffrey I. Schiller's avatar
      Improve WebRTC Stability · 42112f1e
      Jeffrey I. Schiller authored
      Improve the stability of the WebRTC IceCandidate negotiation when the
      round trip time to the Rendezvous server is large (> 400ms) which can be
      the case when the Rendezvous server is on the other side of the planet!
      
      Change-Id: I7a8883d30696ada2ea13393fde82f1d8f49bbc0c
      42112f1e
  5. 18 May, 2019 4 commits
  6. 17 May, 2019 1 commit
  7. 15 May, 2019 3 commits
  8. 10 May, 2019 1 commit
  9. 08 May, 2019 1 commit
  10. 07 May, 2019 5 commits
  11. 06 May, 2019 2 commits
    • Jeffrey I. Schiller's avatar
      Add support for a “secondary” Rendezvous Server · 67407991
      Jeffrey I. Schiller authored
      The primary rendezvous server is used for the initial rendezvous,
      whether using WebRTC or not (Legacy Mode). This change provides the
      location for a secondary rendezvous server to use for the WebRTC
      negotiation. This is only done if the Companion indicates that it
      supports this feature (sets “r2” to true in the JSON object it
      posts). Any information provided by the Companion can be used by the
      primary rendezvous server to determine which secondary server to use.
      
      Change-Id: I8706c4f0fe66a0e902595689896003feff9cdff7
      67407991
    • Susan Rati Lane's avatar
      1439 german translation for ai (#1671) · e11af9db
      Susan Rati Lane authored
      German translation with multiple authors:
      Author: Marina de Queiroz Tavares <dqtm@zhaw.ch>
      Author: Matthias Müller <matthias.mueller.2@uni-jena.de>
      Author: Lyndsey Bonelli <lyn.bonelli@gmail.com>
      e11af9db
  12. 26 Apr, 2019 1 commit
  13. 25 Apr, 2019 1 commit
    • Evan W. Patton's avatar
      Fix performance issue in project list (#1663) · c0193fea
      Evan W. Patton authored
      The onProjectAdded method of ProjectList will sort and refresh the
      table, which is an `O(n log n)` operation. However, when we load the
      list of projects initially, this will get called `O(n)` times,
      resulting in `O(n^2 log n)` performance. For many users, the number of
      projects might be small and this load time may appear
      negligible. However, for more prolific users with hunders of projects,
      this may result in multiple seconds wait time while the list is first
      loaded. This fix defers sorting the list until all projects have been
      added.
      
      Change-Id: I50332dd8f2993883428c79e8dafbebbe32e2c1fa
      c0193fea
  14. 24 Apr, 2019 1 commit
  15. 16 Apr, 2019 2 commits
  16. 12 Apr, 2019 2 commits
  17. 10 Apr, 2019 1 commit
  18. 04 Apr, 2019 1 commit
  19. 02 Apr, 2019 4 commits
    • Jeffrey I. Schiller's avatar
      Hide Progress Dialog on Companion Update · 68c6dfac
      Jeffrey I. Schiller authored
      When the “OK” button on the Companion Update dialog is pressed, properly
      hide the ConnectProgressBar as we are now no longer connecting.
      
      Change-Id: I4c5f24a5e8979757d6e7066c734ba40078e4a8ce
      68c6dfac
    • Evan W. Patton's avatar
      Save and restore user preferred locale · 9f415510
      Evan W. Patton authored
      For non-English users of App Inventor, if they go to the main page or
      click a link without a locale specified, for example, a repo link,
      then they will be presented App Inventor in English. This is bad from
      a UX perspective as the user then has to change the language and wait
      for the site to reload. It also interrupts whatever workflow they were
      currently doing (e.g., when opening a template project).
      
      This change stores the last locale from the query string as the user's
      preferred locale. When a locale isn't specified in the URL, we will
      check the locale and if it is set, redirect to that page
      automatically. To also save on performing actions that would be
      canceled by the redirect, we also reorder some initialization of Ode
      so that it only occurs if the redirect won't happen.
      
      Change-Id: I1b9ffa756aa08f05495832768b242341e4a30c38
      9f415510
    • Evan W. Patton's avatar
      Add missing GWT DTD for validation · 10dd3723
      Evan W. Patton authored
      Change-Id: I2502bb3bce93db98575655bfb0e0cf8dd92f1119
      10dd3723
    • Evan W. Patton's avatar
      Clean up old blocks editor code · f25c4117
      Evan W. Patton authored
      Change-Id: I44ce7d4cda5623b482283c30ebb63aea9053da83
      f25c4117