[gwt-contrib] Re: Support withCredentials attribute for XHR requests (Chrome 3+, Firefox 3.5+, Opera12+, Safari 4+... (issue1879804)

2013-01-24 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1879804/ -- -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix a GWT-RPC issue where covariant array types for lists of raw types were (issue1874803)

2012-12-05 Thread cromwellian
LGTM. General potentially unrelated question, what about the case static class Covariant extends Itemint[] Is this handled properly? http://gwt-code-reviews.appspot.com/1874803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Update devmode Firefox plugin to support Firefox 17 on the Mac: (issue1872803)

2012-11-28 Thread cromwellian
On 2012/11/29 03:35:49, skybrian wrote: LGTM. No API/Source breakages this time around? http://gwt-code-reviews.appspot.com/1872803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Use a fully qualified bean name in the GwtSpecificValidatorCreator (issue1865803)

2012-11-08 Thread cromwellian
On 2012/11/06 22:28:54, Nick Chalko wrote: LGTM http://gwt-code-reviews.appspot.com/1865803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Added new public static method to Window.Location: reloadParameterMap. (issue1859804)

2012-11-01 Thread cromwellian
You could also return a Live Map implementation so that the Map always reflects the most up to date values even if getParameterMap() isn't called. The same caching logic would apply. On 2012/10/31 20:19:01, perneto wrote:

[gwt-contrib] Re: Be stricter about quoting JSON strings in AutoBeans. In particular, (issue1853803)

2012-10-12 Thread cromwellian
One option is to have an extra method like encodeForHtmlContext() where you only pay the tax in that circumstance. http://gwt-code-reviews.appspot.com/1853803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Update the dev mode plugin for Firefox 16. Includes binaries for 32-bit and (issue1851804)

2012-10-08 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1851804/diff/3001/plugins/xpcom/JavaObject.cpp File plugins/xpcom/JavaObject.cpp (right): http://gwt-code-reviews.appspot.com/1851804/diff/3001/plugins/xpcom/JavaObject.cpp#newcode151 plugins/xpcom/JavaObject.cpp:151: return JavaObject::getProperty(ctx,

[gwt-contrib] Re: Make StackTraceDeobfuscator#deobfuscateThrowable public and move it next to the other deobfuscat... (issue1850804)

2012-10-05 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1850804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix the Chrome plugin to work on a Mac. (issue1844803)

2012-10-01 Thread cromwellian
LGTM On 2012/09/29 03:44:59, skybrian wrote: http://gwt-code-reviews.appspot.com/1844803/diff/1/plugins/npapi/Makefile File plugins/npapi/Makefile (right): http://gwt-code-reviews.appspot.com/1844803/diff/1/plugins/npapi/Makefile#newcode17 plugins/npapi/Makefile:17: ARCH=x86 On 2012/09/29

[gwt-contrib] Re: Add experimental GWT.unloadModule() function. (issue1827804)

2012-09-14 Thread cromwellian
Hey Thomas, great comments, thanks. I will update the patch shortly with fixes. One issue is that V8 doesn't seem to be as great at GC as I thought, and I'm going to have to speak to the Chrome team. I thought originally that anything not reachable from GC roots would ultimately be collected,

[gwt-contrib] Add experimental GWT.unloadModule() function. (issue1827804)

2012-09-13 Thread cromwellian
Reviewers: skybrian, Description: Add experimental GWT.unloadModule() function. Enable via set-property name=gwt.unloadEnabled value=true/ Invoke via window.__gwt_activeModules[moduleName].unloadModule(). Attempts to do the following: 1) Cleanup all outstanding non-primitive properties from

[gwt-contrib] Re: Long.parseLong raised exception for MIN_VALUE (issue1825803)

2012-09-10 Thread cromwellian
On 2012/09/09 05:06:43, jtamplin wrote: LGTM LGTM+1. Thomas you are a machine. https://gwt-code-reviews.appspot.com/1825803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix development mode Firefox plugin to work on with Firefox 15 on Linux. (issue1817803)

2012-08-25 Thread cromwellian
http://gwt-code-reviews.appspot.com/1817803/diff/1/plugins/xpcom/JavaObject.cpp File plugins/xpcom/JavaObject.cpp (right): http://gwt-code-reviews.appspot.com/1817803/diff/1/plugins/xpcom/JavaObject.cpp#newcode385 plugins/xpcom/JavaObject.cpp:385: (JSVAL_IS_PRIMITIVE(argv[1])

[gwt-contrib] Re: Updated Validation sample. Now uses the correct RPC mechanism. Also removed unnessecary super so... (issue1800807)

2012-08-17 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1800807/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: A couple of little fixes to get nicer coverage results. (issue1797803)

2012-07-26 Thread cromwellian
http://gwt-code-reviews.appspot.com/1797803/diff/1/dev/core/src/com/google/gwt/dev/js/BaselineCoverageGatherer.java File dev/core/src/com/google/gwt/dev/js/BaselineCoverageGatherer.java (right):

[gwt-contrib] Re: Fix TreeMap and TreeSet emulation tests to pass with JDK 7. (issue1793803)

2012-07-25 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1793803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix TestOracleMediatorFromByteCodeTest to work when run on JDK 7. (issue1794804)

2012-07-25 Thread cromwellian
lgtm http://gwt-code-reviews.appspot.com/1794804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Elemental + build scripts initial import. (issue1728806)

2012-06-14 Thread cromwellian
Thomas, I went ahead and landed this because we need to start testing 2.5 for release and this patch is unwieldly large. I will follow up with much smaller patches that fix the various issues. :) http://gwt-code-reviews.appspot.com/1728806/ --

[gwt-contrib] Re: Fix Super Dev Mode's code server to launch on localhost by default. (issue1740803)

2012-06-14 Thread cromwellian
On 2012/06/15 00:48:51, skybrian wrote: LGTM http://gwt-code-reviews.appspot.com/1740803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix Super Dev Mode's code server to launch on localhost by default. (issue1740803)

2012-06-14 Thread cromwellian
http://gwt-code-reviews.appspot.com/1740803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Remove unused symbols in SymbolMaps. (fixed build breakage, it was delete some symbols that are ... (issue1731805)

2012-06-13 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1731805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Elemental + build scripts initial import. (issue1728806)

2012-06-13 Thread cromwellian
Thomas, I'm a little knee deep in I/O slide stuff at the moment, so maybe you can sanity check my thinking here. Let me describe what used to be happening in the Json stuff and what I was trying to change it to before 2.5, but probably didn't finish. Essentially, in ProdMode I wanted to run

[gwt-contrib] Re: Introduce -XfragmentCount to replace -XfragmentMerge (issue1739804)

2012-06-13 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1739804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Elemental + build scripts initial import. (issue1728806)

2012-06-12 Thread cromwellian
Reviewers: skybrian, Description: Elemental + build scripts initial import. Review by: skybr...@google.com Please review this at http://gwt-code-reviews.appspot.com/1728806/ Affected files: A elemental/META-INF/MANIFEST.MF A elemental/README A elemental/STOP.EXPERIMENTAL A

[gwt-contrib] Re: Don't allow enum ordinalization if a custom enum method references values() directly (issue1730804)

2012-06-08 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1730804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Move Super Dev Mode to the open source repository. (issue1727804)

2012-06-05 Thread cromwellian
http://gwt-code-reviews.appspot.com/1727804/diff/1/dev/codeserver/java/com/google/gwt/dev/codeserver/Options.java File dev/codeserver/java/com/google/gwt/dev/codeserver/Options.java (right):

[gwt-contrib] Re: Move Super Dev Mode to the open source repository. (issue1727804)

2012-06-04 Thread cromwellian
LGTM, I didn't review the Java files because I assume they are mostly unchanged since the last time. http://gwt-code-reviews.appspot.com/1727804/diff/1/dev/codeserver/BUILD File dev/codeserver/BUILD (right): http://gwt-code-reviews.appspot.com/1727804/diff/1/dev/codeserver/BUILD#newcode1

[gwt-contrib] Re: Make CodeSplitter2 outputs a reasonable SOYC. (issue1726803)

2012-06-01 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1726803/diff/1/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter2.java File dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter2.java (right):

[gwt-contrib] Re: Fixing a bug where c.g.g.dom.client.Style can throw a JS exception if a style property is set to... (issue1709803)

2012-05-10 Thread cromwellian
http://gwt-code-reviews.appspot.com/1709803/diff/1/user/src/com/google/gwt/dom/client/Style.java File user/src/com/google/gwt/dom/client/Style.java (right): http://gwt-code-reviews.appspot.com/1709803/diff/1/user/src/com/google/gwt/dom/client/Style.java#newcode1764

[gwt-contrib] Re: Make GWT.create/etc usable on server. (issue1677803)

2012-04-22 Thread cromwellian
lgtm http://gwt-code-reviews.appspot.com/1677803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Make GWT.create/etc usable on server. (issue1677803)

2012-04-18 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1677803/diff/4001/user/src/com/google/gwt/core/server/ServerGwtBridge.java File user/src/com/google/gwt/core/server/ServerGwtBridge.java (right):

[gwt-contrib] Re: Inflate and Deflate on writeObject (issue1672803)

2012-03-28 Thread cromwellian
LGTM, but I wonder if we should hide it behind a flag, e.g. if(Boolean.parseBoolean(getProperty(gwt.diskcache.compress, false))) { // compression code } else { // no compression } http://gwt-code-reviews.appspot.com/1672803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Set better Graphics2D rendering quality, fixes 7193 (issue1663803)

2012-03-15 Thread cromwellian
LGTM, although I wonder how much effect it has on build time. I can't imagine anyone ever wanting crappier icons, but if it say, doubled build time, we can always add an option like set-configuration-property name=imageBundle.draftQuality value=true/ or something.

[gwt-contrib] Re: Add missing getBackColor override, fixes 3262 (issue1662803)

2012-03-15 Thread cromwellian
LGTM. On 2012/03/15 20:12:33, stephenh wrote: Working on a test...hold on. Okay, I couldn't figure how to write a GWTTestCase for this because the formatter applies to the text the user currently has selected. I didn't see anything in the existing RichTextAreaText that covered

[gwt-contrib] Re: Permutation Specific SymbolMap (issue1652803)

2012-03-08 Thread cromwellian
LGTM, although you may want to add a !-- -- doc section in CompilerParams prior to the property to explain what it is doing (turn off symbol map, and therefore it disables StackTraceDeobfuscation in the logging API) http://gwt-code-reviews.appspot.com/1652803/ --

[gwt-contrib] Re: Emulate System.getProperty(key, default) by always returning the (issue1654803)

2012-03-05 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1654803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Permutation Specific SymbolMap (issue1652803)

2012-03-02 Thread cromwellian
On 2012/03/02 10:39:39, acleung wrote: Are you missing the module files (.gwt.xml) that define this new property? http://gwt-code-reviews.appspot.com/1652803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Permutation Specific SymbolMap (issue1652803)

2012-03-02 Thread cromwellian
I typically put these in CompilerParameters.gwt.xml or Core.gwt.xml. For example, the sourceMap switch is in CompilerParameters.gwt.xml On 2012/03/02 23:40:31, acleung wrote: On 2012/03/02 22:46:28, rdayal wrote: On Fri Mar 02 13:09:00 GMT-500 2012, mailto:cromwell...@google.com wrote:

[gwt-contrib] Re: Make splitpoint.xml CodeSplitter2 aware. (issue1639803)

2012-02-08 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1639803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Make splitpoint.xml CodeSplitter2 aware. (issue1639803)

2012-02-08 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1639803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Working CodeSplitter2. (issue1631803)

2012-02-01 Thread cromwellian
http://gwt-code-reviews.appspot.com/1631803/diff/1/dev/core/src/com/google/gwt/dev/jjs/ast/JMethod.java File dev/core/src/com/google/gwt/dev/jjs/ast/JMethod.java (right): http://gwt-code-reviews.appspot.com/1631803/diff/1/dev/core/src/com/google/gwt/dev/jjs/ast/JMethod.java#newcode449

[gwt-contrib] Re: Fix initialization of non-final fields (issue1618807)

2011-12-23 Thread cromwellian
http://gwt-code-reviews.appspot.com/1618807/diff/1/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java File dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java (right):

[gwt-contrib] Re: Adding jscomp to the classpath for gwt user and dev projects. (issue1606803)

2011-12-05 Thread cromwellian
LGTM. Sorry, as an IntelliJ user, Eclipse often escapes my mind. :) http://gwt-code-reviews.appspot.com/1606803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Changes to support experimental development mode work: (issue1594803)

2011-11-18 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1594803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Upgrade GWT's htmlunit dependencies. (issue1590804)

2011-11-15 Thread cromwellian
Reviewers: danielwh_google.com, Description: Upgrade GWT's htmlunit dependencies. Please review this at http://gwt-code-reviews.appspot.com/1590804/ Affected files: M dev/build.xml M dev/core/src/com/google/gwt/dev/shell/HtmlUnitSessionHandler.java M eclipse/dev/.classpath M

[gwt-contrib] Adds , =, , =, ==, and != to JsStaticEval for numeric values. (issue1593803)

2011-11-14 Thread cromwellian
); + + // TODO(cromwellian) handle all types + if (arg1 instanceof JsNumberLiteral arg2 instanceof JsNumberLiteral) { + double num1 = ((JsNumberLiteral) arg1).getValue(); + double num2 = ((JsNumberLiteral) arg2).getValue(); + boolean result = false; + switch(op

[gwt-contrib] Re: Introduce a temp AST node intended to hold the fragment number (issue1590803)

2011-11-14 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1590803/diff/1/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java File dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java (right):

[gwt-contrib] Re: Fix name clash between RequestContext and the FindRequest impl interface. (issue1559803)

2011-09-23 Thread cromwellian
Bizarre. LGTM. http://gwt-code-reviews.appspot.com/1559803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add SourceMap support to GWT (issue1558803)

2011-09-23 Thread cromwellian
http://gwt-code-reviews.appspot.com/1558803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Add SourceMap support to GWT (issue1558803)

2011-09-22 Thread cromwellian
Reviewers: unnurg, Description: Add SourceMap support to GWT See http://code.google.com/p/google-web-toolkit/wiki/SourceMaps or details. Please review this at http://gwt-code-reviews.appspot.com/1558803/ Affected files: M dev/build.xml M

[gwt-contrib] Re: Makes the @GwtTransient mechanism work for any annotation with that (issue1544803)

2011-09-15 Thread cromwellian
http://gwt-code-reviews.appspot.com/1544803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Makes the @GwtTransient mechanism work for any annotation with that (issue1544803)

2011-09-13 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1544803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] When -XdisableClassMetadata is used, Class.getName() can return Class$SseedNumber as a class n... (issue1540804)

2011-09-12 Thread cromwellian
Reviewers: rjrjr, Description: When -XdisableClassMetadata is used, Class.getName() can return Class$SseedNumber as a class name. However, there are other modes where it can return Class$obfuscated function name. In some rare cases, these two could collide of if an obfuscated name of a class

[gwt-contrib] Re: Make UmbrellaException a bit more convenient to read, and test it. (issue1532803)

2011-08-26 Thread cromwellian
lgtm http://gwt-code-reviews.appspot.com/1532803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Make UmbrellaException a bit more convenient to read, and test it. (issue1532803)

2011-08-25 Thread cromwellian
http://gwt-code-reviews.appspot.com/1532803/diff/1/user/src/com/google/web/bindery/event/shared/UmbrellaException.java File user/src/com/google/web/bindery/event/shared/UmbrellaException.java (right):

[gwt-contrib] Re: Fixup class literals across fragments (issue1513803)

2011-08-15 Thread cromwellian
http://gwt-code-reviews.appspot.com/1513803/diff/1/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java File dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java (right):

[gwt-contrib] Re-roll r10435 (issue1474804)

2011-07-11 Thread cromwellian
Reviewers: jbrosenberg, Description: Re-roll r10435 Changes logic to assign seedIds even to non-instantiable types so that Foo.class.getName() will return something sensible when -XdisableClassMetadata is used. Please review this at http://gwt-code-reviews.appspot.com/1474804/ Affected

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-07-08 Thread cromwellian
http://gwt-code-reviews.appspot.com/1447821/diff/6053/dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java File dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaAST.java (right):

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-07-08 Thread cromwellian
http://gwt-code-reviews.appspot.com/1447821/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: After an enum is ordinalized, any static methods generated as staticImpl's should no longer be c... (issue1467815)

2011-07-08 Thread cromwellian
LGTM, needs test? http://gwt-code-reviews.appspot.com/1467815/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-07-07 Thread cromwellian
http://gwt-code-reviews.appspot.com/1447821/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: JsoNormalizer did not give unique names to devirtualized (issue1467812)

2011-07-07 Thread cromwellian
Should we really be fixing the issue here, or should we just fix it up in GenerateJavaScriptAST or JsNamer? There are lots of locations in the GWT compiler where methods and fields are synthesized, so I would bet that there are other collisions like this lurking, just not being tripped. Another

[gwt-contrib] Re: Remove JSNI paths from RPC deserialization. AKA: Make RPC screaming fast in DevMode. (issue1470802)

2011-07-01 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1470802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-07-01 Thread cromwellian
I made the fixes and submitted it. Since most people are headed out of the office for the holiday, I need to get it in early to see if I need to revert it before everyone is gone. :)

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-06-30 Thread cromwellian
http://gwt-code-reviews.appspot.com/1447821/diff/9006/dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java File dev/core/src/com/google/gwt/dev/jjs/impl/ControlFlowAnalyzer.java (right):

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-06-30 Thread cromwellian
http://gwt-code-reviews.appspot.com/1447821/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Enhancement to JsDuplicateFunctionRemover to remove duplicate virtual methods as well. That is, ... (issue1454806)

2011-06-30 Thread cromwellian
http://gwt-code-reviews.appspot.com/1454806/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Enhancement to JsDuplicateFunctionRemover to remove duplicate virtual methods as well. That is, ... (issue1454806)

2011-06-30 Thread cromwellian
http://gwt-code-reviews.appspot.com/1454806/diff/1/dev/core/src/com/google/gwt/dev/js/JsDuplicateFunctionRemover.java File dev/core/src/com/google/gwt/dev/js/JsDuplicateFunctionRemover.java (right):

[gwt-contrib] Re: Fix ArrayStoreException in assignments to an element of an array of a single jso interface type. (issue1470801)

2011-06-29 Thread cromwellian
LGTM. You're right, you can't do it statically because the array type can be from a cast. http://gwt-code-reviews.appspot.com/1470801/diff/1003/dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Array.java File

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-06-29 Thread cromwellian
http://gwt-code-reviews.appspot.com/1447821/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-06-29 Thread cromwellian
http://gwt-code-reviews.appspot.com/1447821/diff/3001/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java File dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java (right):

[gwt-contrib] Re: Fix ArrayStoreException in assignments to an element of an array of a single jso interface type. (issue1470801)

2011-06-28 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1470801/diff/1/user/test/com/google/gwt/dev/jjs/test/SingleJsoImplTest.java File user/test/com/google/gwt/dev/jjs/test/SingleJsoImplTest.java (right):

[gwt-contrib] Re: Fix ArrayStoreException in assignments to an element of an array of a single jso interface type. (issue1470801)

2011-06-28 Thread cromwellian
http://gwt-code-reviews.appspot.com/1470801/diff/1/user/test/com/google/gwt/dev/jjs/test/SingleJsoImplTest.java File user/test/com/google/gwt/dev/jjs/test/SingleJsoImplTest.java (right):

[gwt-contrib] Re: Enhancement to JsDuplicateFunctionRemover to remove duplicate virtual methods as well. That is, ... (issue1454806)

2011-06-28 Thread cromwellian
On 2011/06/27 15:09:23, zundel wrote: On 2011/06/08 23:26:58, cromwellian wrote: Can you help me understand what the hoist fucntions are about? Normally, virtual methods are declared inline, e.g. function Foo() {} _ = Foo.prototype = new ... _.myMethod = function myMethod(a,b) { code

[gwt-contrib] Re: JavaAstConstructor uses UnifyAst. (issue1453810)

2011-06-09 Thread cromwellian
Overall LGTM. I had to update CFA in my recent CL on class literal optimization to treat an invocation of Object.getClass() as rescuing the class literals of any instantiated types as well as to handle the new Immortal CodeGenTypes. We may have to revisit the UnifyAstVisitor, since it may need

[gwt-contrib] This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-06-08 Thread cromwellian
Reviewers: scottb, jbrosenberg, Description: This patch substantially reduces the overhead of Java types in the output by minimizing vtable setup and virtual class literal fetches. Improvements are anywhere from 5% to 10% uncompressed obfuscated JS. The patch includes the following changes: 1)

[gwt-contrib] Enhancement to JsDuplicateFunctionRemover to remove duplicate virtual methods as well. That is, ... (issue1454806)

2011-06-08 Thread cromwellian
Reviewers: scottb, jbrosenberg, Description: Enhancement to JsDuplicateFunctionRemover to remove duplicate virtual methods as well. That is, given _.method1 = function(a) { body } _.method2 = function(b) { body } Hoist the duplicate virtual methods and replace with a named global function.

[gwt-contrib] Re: This patch substantially reduces the overhead of Java types in the output by minimizing vtable s... (issue1447821)

2011-06-08 Thread cromwellian
http://gwt-code-reviews.appspot.com/1447821/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: JavaAstConstructor uses UnifyAst. (issue1453810)

2011-06-08 Thread cromwellian
General question: I'm curious why this couldn't be simpler, that is, why does unification depend on control flow? Couldn't you unify everything without respect to control flow, and then run a pruning pass afterwards reusing the existing CFA code, or is doing it in an integrated pass an attempt to

[gwt-contrib] Re: Add concrete SourceInfo for varargs in method calls (issue1454801)

2011-06-03 Thread cromwellian
On 2011/06/03 23:06:36, jbrosenberg wrote: What's the motivation for this? http://gwt-code-reviews.appspot.com/1454801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix enum ordinalization black-listing for upcasts in new array initializers (issue1449812)

2011-06-03 Thread cromwellian
LGTM, I wonder how many more of these implicit upcasts are hiding :) http://gwt-code-reviews.appspot.com/1449812/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix expression ranges in detailed SOYC output (issue1451801)

2011-05-24 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1451801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: In PRETTY and DETAILED, generate symbolic type queries for readability. (issue1449801)

2011-05-16 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1449801/diff/1/dev/core/src/com/google/gwt/dev/jjs/impl/ToStringGenerationVisitor.java File dev/core/src/com/google/gwt/dev/jjs/impl/ToStringGenerationVisitor.java (left):

[gwt-contrib] Re: Do not remove type information before final prune. (issue1425813)

2011-04-28 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1425813/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Model JGwtCreate/JReboundEntryPoint request/result types as strings (issue1427808)

2011-04-27 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1427808/diff/1/dev/core/src/com/google/gwt/dev/jjs/ast/JGwtCreate.java File dev/core/src/com/google/gwt/dev/jjs/ast/JGwtCreate.java (right):

[gwt-contrib] Fix cast normalizer to properly deal with multidimensional JSO arrays. (issue1428803)

2011-04-22 Thread cromwellian
Reviewers: scottb, Description: Fix cast normalizer to properly deal with multidimensional JSO arrays. Please review this at http://gwt-code-reviews.appspot.com/1428803/ Affected files: M dev/core/src/com/google/gwt/dev/jjs/impl/CastNormalizer.java M

[gwt-contrib] Re: Convert AutoBeans to use JSOs as their backing store with lazy reification of (issue1407802)

2011-04-07 Thread cromwellian
http://gwt-code-reviews.appspot.com/1407802/diff/6001/user/src/com/google/gwt/autobean/client/impl/JsoSplittable.java File user/src/com/google/gwt/autobean/client/impl/JsoSplittable.java (right):

[gwt-contrib] Re: Operations like i += d where i is an int and d is a double are not properly (issue1385803)

2011-03-28 Thread cromwellian
http://gwt-code-reviews.appspot.com/1385803/diff/2002/dev/core/src/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizer.java File dev/core/src/com/google/gwt/dev/jjs/impl/PostOptimizationCompoundAssignmentNormalizer.java (right):

[gwt-contrib] Re: LongLibBase improperly stomps on global 'a' variable. This patch reuses globalTemp (_) instead. (issue1389803)

2011-03-28 Thread cromwellian
http://gwt-code-reviews.appspot.com/1389803/diff/1/dev/core/super/com/google/gwt/lang/LongLibBase.java File dev/core/super/com/google/gwt/lang/LongLibBase.java (right): http://gwt-code-reviews.appspot.com/1389803/diff/1/dev/core/super/com/google/gwt/lang/LongLibBase.java#newcode325

[gwt-contrib] Re: Operations like i += d where i is an int and d is a double are not properly (issue1385803)

2011-03-24 Thread cromwellian
http://gwt-code-reviews.appspot.com/1385803/diff/2002/dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java File dev/core/src/com/google/gwt/dev/jjs/JavaToJavaScriptCompiler.java (right):

[gwt-contrib] Operations like i += d where i is an int and d is a double are not properly (issue1385803)

2011-03-15 Thread cromwellian
Reviewers: scottb, Description: Operations like i += d where i is an int and d is a double are not properly truncated (narrowed) to the LHS type. This patch forces i += d to be written as i = i + d, and applies a narrowing cast as needed, e.g. i = (int)(i + d); Updated to fix String concat

[gwt-contrib] Re: Operations like i += d where i is an int and d is a double are not properly (issue1385803)

2011-03-15 Thread cromwellian
http://gwt-code-reviews.appspot.com/1385803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Operations like i += d where i is an int and d is a double are not properly (issue1385803)

2011-03-15 Thread cromwellian
http://gwt-code-reviews.appspot.com/1385803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Reintroduces JsInliner patch with minor tweaks (previously submitted by cromwellian at rev 9362) (issue1386801)

2011-03-14 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1386801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Recompute whether an interface is dual-implemented by JSO and Java types after each compiler opt... (issue1351801)

2011-02-16 Thread cromwellian
http://gwt-code-reviews.appspot.com/1351801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Recompute whether an interface is dual-implemented by JSO and Java types after each compiler opt... (issue1351801)

2011-02-16 Thread cromwellian
/Cast.java (right): http://gwt-code-reviews.appspot.com/1351801/diff/1/4#newcode92 dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Cast.java:92: return src != null (isNonStringJavaObject(src) || isJavaString(src)); Reverted. On 2011/02/09 01:53:46, cromwellian wrote: On 2011

[gwt-contrib] Re: Refactor SOYC to reduce memory footprint. (issue1352804)

2011-02-16 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1352804/diff/1/4 File dev/core/src/com/google/gwt/dev/jjs/SourceInfoCorrelation.java (right): http://gwt-code-reviews.appspot.com/1352804/diff/1/4#newcode68 dev/core/src/com/google/gwt/dev/jjs/SourceInfoCorrelation.java:68: primaryCorrelations[index]

[gwt-contrib] Eliminates empty constructor seed functions by using 2 helper functions to setup (issue1360802)

2011-02-16 Thread cromwellian
Reviewers: scottb, Description: Eliminates empty constructor seed functions by using 2 helper functions to setup anonymous closure versions. Something like this: function fooSeed() {} _ = fooSeed.prototype = FooConstructor.prototype = new superType(); _.castableTypeMap = { ... } _.getClass =

[gwt-contrib] Re: Remove a bunch of unused SOYC infrastructure. (issue1345801)

2011-02-09 Thread cromwellian
LGTM http://gwt-code-reviews.appspot.com/1345801/diff/2001/2004 File dev/core/src/com/google/gwt/core/ext/soyc/Member.java (left): http://gwt-code-reviews.appspot.com/1345801/diff/2001/2004#oldcode44 dev/core/src/com/google/gwt/core/ext/soyc/Member.java:44: Hypothetically, would the

[gwt-contrib] Re: Simplify JArrayType handling; reduce serialization footprint. (issue1352803)

2011-02-09 Thread cromwellian
LGTM. I don't its worth nuking the 'dims' field, I mean, feel free, but I'm ok with leaving it as a transient cache. http://gwt-code-reviews.appspot.com/1352803/diff/1/5 File dev/core/src/com/google/gwt/dev/jjs/impl/ArrayNormalizer.java (right):

  1   2   >