1. 13 Jan, 2012 1 commit
  2. 12 Jan, 2012 1 commit
    • Liz Looney's avatar
      Modified the build server so that the number of simultaneous builds is limited. · 09180ca9
      Liz Looney authored
      The default limit is 10, but this can be overridden with the command line
      option --maxSimultaneousBuilds. When the build server is at maximum capacity,
      it will respond immediately to any additional build-all-from-zip-async requests
      with response code 503 (service unavailable). According to rfc2616, section 10,
      503 means "The server is currently unable to handle the request due to a
      temporary overloading or maintenance of the server. The implication is that
      this is a temporary condition which will be alleviated after some delay."
      
      Added NonQueuingExecutor.java and NonQueuingExecutorTest.java
      
      Modified YoungAndroidProjectService (appengine server code) so that if the
      response code for a build-all-from-zip-async request is not 200 (OK), it will
      include the response code in the RpcResult that it sends back to the client
      code.
      
      Modified BuildCommand (appengine client code) so that if the RpcResult from the
      server contains the response code 503, it shows the message "The build server
      is currently busy. Please try again in a few minutes." in yellow at the top of
      the page.
      
      Modified WaitForBuildResultCommand (appengine client code) so that it doesn't
      print a different date/time each time it updates the debugger messages.
      
      Other changes to BuildServer.java:
      The command line options are now processed in the main method.
      Added --maxSimultaneousBuilds command line option.
      Added support for two new requests: buildserver/health and buildserver/vars.
      buildserver/health simply returns "ok" if the build server is alive.
      buildserver/vars returns a list of helpful values related to runtime, OS,
      memory, build requests, and build tasks.
      09180ca9
  3. 11 Jan, 2012 2 commits
  4. 10 Jan, 2012 3 commits
  5. 09 Jan, 2012 1 commit
    • Liz Looney's avatar
      Fixed issues 60 (memory leak) and 67 (infinite rpc calls on build failure) · cf24cfb0
      Liz Looney authored
      build.xml
      Added YailGenerator target to appinventor/buildserver/build.xml.
      In BuildServer target, added task to copy YailGenerate.jar to the build/classes/files
      directory so it can be loaded as a resource at runtime.
      In CopyToRunLibDir, removed fileset entry that copied OpenBlocks.jar to the
      build/run/lib directory. The buildserver no longer needs it there.
      
      BuildServer.java:
      Fixed problems where temp files were not being deleted.
      Fixed problem in buildAllFromZipFileAsync where the FileInputStream for the
      outputZip was never closed.
      Added code to print out the amount of memory being used after each build.
      
      ProjectBuilder.java:
      Launch the YailGenerator as a separate process. The YailGenerator has a memory
      leak and by launching it as a separate process, the buildserver process doesn't
      leak memory. Added static inner class YailGenerationException.java.
      
      Result.java:
      Added constant int GENERAL_FAILURE with value 1 and use it instead of ~SUCCESS.
      This matches what the appengine client code (in WaitForBuildResultCommand.java)
      expects for a general build failure value.
      
      YailGenerator.java:
      Moved YailGenerator.java from
      appinventor/buildserver/src/com/google/appinventor/buildserver to
      appinventor/buildserver/src/com/google/appinventor/yailgenerator.
      Updated package statement.
      
      YailGenerationException.java:
      Removed unneeded formName field, getFormName method, and constructor with
      formName argument from the blockslib exception class YailGenerationException.
      (appinventor/blockslib/src/openblocks/yacodeblocks/YailGenerationException.java)
      cf24cfb0
  6. 04 Jan, 2012 1 commit
  7. 28 Dec, 2011 1 commit
  8. 17 Dec, 2011 2 commits
    • Ellen Spertus's avatar
      Add VersionString class able to compare version strings in preparation for · c9889701
      Ellen Spertus authored
      fixing issue 26: warning users if they are running a version of App Engine
      earlier than 1.6.2, which will have the fix for the problem with blobs on
      local dev servers.
      
      Also converted tab to space in appengine-web.xml
      c9889701
    • Liz Looney's avatar
      Show Mercurial version and id in blocks editor (lower left) and · 64e4d6a3
      Liz Looney authored
      build server (stdout).
      
      Include the Mercurial build id in the CrashReport extra info.
      
      Added java class MercurialBuildId, which is generated during the ant
      build from a template file called MercurialBuildId.template and the
      results of executing "hg id -n -i".
      
      Made a new target in common/build.xml called CommonVersion, which
      builds CommonVersion.jar and CommonVersion-gwt.jar. These jars contain
      classes named AppInventorFeatures and MercurialBuildId. These jars
      have no external dependencies and can be used on Java 5.
      
      Moved AppInventorFeatures from CommonUtils.jar (which contains some
      other classes that require Java 6) to CommonVersion.jar so that it
      can be used by any part of App Inventor, including the blocks editor
      running on Java 5.
      64e4d6a3
  9. 16 Dec, 2011 1 commit
  10. 15 Dec, 2011 1 commit
    • Ellen Spertus's avatar
      Changed cache directives for JNLP-related files so they can be cached. · 624cdc44
      Ellen Spertus authored
      Specifically, instead of being non-cacheable (no-store), they can be
      privately cached but must be revalidated by comparing server-side the
      date of the prior response with the date of the last build.
      
      Changed behavior so that if build date cannot be determined, the
      response payload cannot be cached at all.
      624cdc44
  11. 14 Dec, 2011 3 commits
  12. 13 Dec, 2011 3 commits
  13. 10 Dec, 2011 2 commits
  14. 09 Dec, 2011 2 commits
  15. 08 Dec, 2011 4 commits
  16. 06 Dec, 2011 6 commits
  17. 05 Dec, 2011 1 commit
  18. 02 Dec, 2011 1 commit
  19. 01 Dec, 2011 2 commits
    • Liz Looney's avatar
      Fixed issue 41 - Add support for multi-screen applications · 40b2ee8e
      Liz Looney authored
      Added the "Remove Screen" button to the designer toolbar.
      
      Show a tab bar (with one tab for each screen, scrollable if
      necessary) in the designer.
      
      Check that the form is Screen1 before setting the application icon
      in the project settings when the icon property is changed.
      
      Added blocks for opening another screen into the Control drawer. The
      block genuses already existed, but until now they were not added to
      any drawers.
      
      Show the form name (along with the project name) in the blocks editor
      title bar and header pane.
      
      Modified YABlockCompiler so that the code generated for REPL includes
      code that adjusts the screen name.
      
      Modified Form.java so that closing the application works correctly
      when there are multiple activities.
      40b2ee8e
    • Liz Looney's avatar
      655a3833
  20. 29 Nov, 2011 2 commits