This patch adds the concept of an IncrementalCommand as a DeferredCommand, it updates the command dispatching logic to use a time bound, round robin dispatch, it tries to prevent slow script warnings and detect when a script is canceled as a result of a slow script warning.

IncrementalCommands continue to be called on the background thread until their execute command returns false.  This can be used to build things like DeferredIterators, generators, etc.

Review by: scottb
Suggested by: bobv



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@755 8db76d5a-ed1c-0410-87a9-c151d255dfc7
7 files changed