1. 01 Feb, 2012 1 commit
  2. 31 Jan, 2012 1 commit
  3. 30 Jan, 2012 1 commit
  4. 27 Jan, 2012 1 commit
    • Sharon Perl's avatar
      Log better error messages when we get exceptions from Blobstore. Previously we · 08860d92
      Sharon Perl authored
      were erroneously converting too many to FileNotFound, which was confusing. Also,
      changes a couple of places where blob writes were non-fatal to make them fatal.
      
      Log better error messages when we get exceptions from Blobstore. Previously we
      were erroneously converting too many to FileNotFound, which was confusing. Also,
      changes a couple of places where blob writes were non-fatal to make them fatal.
      08860d92
  5. 26 Jan, 2012 1 commit
  6. 24 Jan, 2012 1 commit
  7. 19 Jan, 2012 2 commits
  8. 18 Jan, 2012 1 commit
  9. 17 Jan, 2012 2 commits
    • Liz Looney's avatar
      Fixed dependency checking for ant builds. · 287fa772
      Liz Looney authored
      components/build.xml
      Improved the dependency checking for the ai.apt task. This solves the problem
      where changing a Java file in the annotations, common, or scripts package, or
      changing a .txt file in scripts/templates did not cause the annotation
      processor targets to be re-built.
      
      build-common.xml:
      Improved the dependency checking for the ai.javac task. This solves the problem
      where changing a "public static final" variable in one Java file did not cause
      another Java file that uses the variable to be recompiled.
      Changed the ai.javac presetdef to a macrodef so it can run a <depend> task
      before the <javac> task.
      
      appengine/build.xml:
      In the AiServerLib ai.javac task, exclude AiServerLib.jar from the classpath
      to prevent the dependency checking from thinking that the code always needs to
      be recompiled.
      
      buildserver/build.xml:
      In the BuildServer ai.javac task, exclude BuildServer.jar from the classpath
      to prevent the dependency checking from thinking that the code always needs to
      be recompiled.
      
      JSONUtilTest.java:
      Encoded all non-ascii characters as \uXXXX so that this file can be compiled
      with javac option encoding=utf-8.
      287fa772
    • markf@google.com's avatar
      Removing an unwanted name · 84e7176e
      markf@google.com authored
      84e7176e
  10. 13 Jan, 2012 3 commits
  11. 12 Jan, 2012 3 commits
    • Liz Looney's avatar
    • Liz Looney's avatar
      Added YailGeneratorTest · c5334a45
      Liz Looney authored
      c5334a45
    • 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
  12. 11 Jan, 2012 2 commits
  13. 10 Jan, 2012 3 commits
  14. 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
  15. 04 Jan, 2012 1 commit
  16. 28 Dec, 2011 1 commit
  17. 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
  18. 16 Dec, 2011 1 commit
  19. 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
  20. 14 Dec, 2011 3 commits
  21. 13 Dec, 2011 3 commits
  22. 10 Dec, 2011 2 commits
  23. 09 Dec, 2011 2 commits
  24. 08 Dec, 2011 1 commit