Reviewers: rjrjr, jgw,

Description:
This patch adds support for bundling ClientBundle resources into a
single mhtml document to reduce the total number of round trips required
in IE6.  It furthermore enables the use of data: urls for IE8.

Specifics:
   - The mhtml format is defined in rfc 2557; it's basically a MIME
multipart message.
   - The new support is added by creating a new MhtmlResourceContext and
a trivial MhtmlClientBundleGenerator to load the new context
implementation when the ie6 user.agent is in use.
   - Moved the maximum size constant and base64 encoding function from
InlineResourceContext to AbstractResourceContext


I verified that the mhtml approach works in regular IE6 as well as IE8
in compatibility mode, both with ImageResource+Image widget and
imageresour...@sprite approaches.

The data: URL approach was verified with IE8 in standards mode.

Please review this at http://gwt-code-reviews.appspot.com/33828

Affected files:
   user/src/com/google/gwt/resources/Resources.gwt.xml
    
user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java
    
user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java
    
user/src/com/google/gwt/resources/rebind/context/InlineResourceContext.java
    
user/src/com/google/gwt/resources/rebind/context/MhtmlClientBundleGenerator.java
   user/src/com/google/gwt/resources/rebind/context/MhtmlResourceContext.java
    
user/src/com/google/gwt/resources/rebind/context/StaticResourceContext.java



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to