Reviewers: tbroyer, jlabanca, jat, skybrian,
Description:
Add SafeUri type, similar to SafeHtml but for values in a URL attribute
context.
Support SafeUri-typed arguments in SafeHtmlTemplates.
Also added a few overloads in c.g.g.user.client.
Note that this is a breaking change in the sense that DataResource and
ImageResource have a new getSafeUri method, as well as overloaded
constructors
taking URIs in the form of SafeUri.
Patch by: [email protected]
Fixes issues: 6145
Please review this at http://gwt-code-reviews.appspot.com/1446815/
Affected files:
M tools/api-checker/config/gwt23_24userApi.conf
M user/src/com/google/gwt/cell/client/ImageResourceCell.java
M user/src/com/google/gwt/resources/Resources.gwt.xml
M user/src/com/google/gwt/resources/client/DataResource.java
M user/src/com/google/gwt/resources/client/ImageResource.java
A user/src/com/google/gwt/resources/client/impl/DataResourcePrototype.java
M
user/src/com/google/gwt/resources/client/impl/ExternalTextResourcePrototype.java
M
user/src/com/google/gwt/resources/client/impl/ImageResourcePrototype.java
M user/src/com/google/gwt/resources/css/Spriter.java
M user/src/com/google/gwt/resources/rg/DataResourceGenerator.java
M user/src/com/google/gwt/resources/rg/ExternalTextResourceGenerator.java
M user/src/com/google/gwt/resources/rg/ImageResourceGenerator.java
M
user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java
M user/src/com/google/gwt/safehtml/shared/SafeHtmlUtils.java
A user/src/com/google/gwt/safehtml/shared/SafeUri.java
A user/src/com/google/gwt/safehtml/shared/SafeUriHostedModeUtils.java
A user/src/com/google/gwt/safehtml/shared/SafeUriString.java
M user/src/com/google/gwt/safehtml/shared/UriUtils.java
M user/src/com/google/gwt/user/client/ui/AbstractImagePrototype.java
M user/src/com/google/gwt/user/client/ui/FormPanel.java
M user/src/com/google/gwt/user/client/ui/Frame.java
M user/src/com/google/gwt/user/client/ui/Image.java
M user/src/com/google/gwt/user/client/ui/ImageResourceRenderer.java
M user/src/com/google/gwt/user/client/ui/impl/ClippedImageImpl.java
M user/src/com/google/gwt/user/client/ui/impl/ClippedImageImplIE6.java
M user/src/com/google/gwt/user/client/ui/impl/ClippedImagePrototype.java
A
user/super/com/google/gwt/safehtml/super/com/google/gwt/safehtml/shared/SafeUriHostedModeUtils.java
M user/test/com/google/gwt/resources/client/ImageResourceTest.java
M user/test/com/google/gwt/safehtml/client/SafeHtmlTemplatesTest.java
A user/test/com/google/gwt/safehtml/shared/GwtUriUtilsTest.java
A user/test/com/google/gwt/safehtml/shared/UriUtilsTest.java
M user/test/com/google/gwt/user/client/ui/ImageTest.java
M
user/test/com/google/gwt/user/client/ui/impl/ClippedImagePrototypeTest.java
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors