This change addresses the third part of issue #610.  Instead of putting each class's typename into the generated code as a full string literal, each class name is broken into package + class.  All of the packages are declared at the global level with obfuscated identifiers.  This yields a very nice code size reduction.

Also:
- resolved a sort problem
- couple of spelling flags
- fixed a couple of cases where we forgot to "var" some of our global idents (this is looking forward to the inline js approach where we must run inside a function body without polluting the global namespace)
- refactored a couple of really long methods into shorter methods

Suggested by: alex.tkachman
Review by: mmendez
           alex.tkachman


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