[gwt-contrib] Re: RR : Chunk the JavaScript in the initial fragment

2009-04-13 Thread scottb
The code LG, one high-level comment about the design. Assuming we're ok with the design implications, this seems good. http://gwt-code-reviews.appspot.com/21801/diff/1/2 File dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java (right):

[gwt-contrib] Re: SOYC story recording without indentation, with string builders

2009-05-20 Thread scottb
LGTM. BTW: if you want to go the extra mile, you can get even more speed up by reusing the StringBuilder. Call setLength(0) to start fresh, but it retains the internal char buffer so you can avoid tons of allocations. You could probably either pass a reusable buffer through as a param, or keep

[gwt-contrib] Re: RadioButtons were not sinking click events

2009-05-20 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/34817 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To post to this group, send email to

[gwt-contrib] Re: Change Date to use JSO field rather than expando, add null checks

2009-05-27 Thread scottb
http://gwt-code-reviews.appspot.com/33831/diff/1/2 File user/super/com/google/gwt/emul/java/util/Date.java (right): http://gwt-code-reviews.appspot.com/33831/diff/1/2#newcode169 Line 169: @java.util.Date::checkJsDate()(); Should be th...@java.util.date:: and so on throughout.

[gwt-contrib] Make Class.getName() useful when class metadata is disabled

2009-05-29 Thread scottb
Mostly nits. http://gwt-code-reviews.appspot.com/34822/diff/1/2 File dev/core/src/com/google/gwt/dev/jjs/ast/JClassLiteral.java (right): http://gwt-code-reviews.appspot.com/34822/diff/1/2#newcode68 Line 68: if (type instanceof JClassType !(type instanceof JArrayType)) { JArrayType no longer

[gwt-contrib] Re: Make Class.getName() useful when class metadata is disabled

2009-05-29 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/34822/diff/33/1003 File dev/core/src/com/google/gwt/dev/jjs/ast/JClassLiteral.java (right): http://gwt-code-reviews.appspot.com/34822/diff/33/1003#newcode60 Line 60: // There's only one seed function for all arrays *shrug* BTW: this type should be an

[gwt-contrib] ant de-duplication

2009-06-01 Thread scottb
http://gwt-code-reviews.appspot.com/33837/diff/1/2 File common.ant.xml (right): http://gwt-code-reviews.appspot.com/33837/diff/1/2#newcode6 Line 6: property file=local.ant.properties / +10! http://gwt-code-reviews.appspot.com/33837/diff/1/2#newcode145 Line 145: jar destfile=${project.lib}

[gwt-contrib] Re: chunk script tags into smaller ones to improve load time

2009-06-01 Thread scottb
Mostly LGTM, some comments. http://gwt-code-reviews.appspot.com/33804/diff/24/30 File dev/core/src/com/google/gwt/core/ext/linker/impl/SelectionScriptLinker.java (right): http://gwt-code-reviews.appspot.com/33804/diff/24/30#newcode388 Line 388: * @param modifyPrimaryJavascript(strongName)

[gwt-contrib] Re: Deprecate constant values in About.java

2009-06-04 Thread scottb
LGTM, but how about committing that one completely unrelated change separately. http://gwt-code-reviews.appspot.com/33841 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Fix bad AST creation when invoking class literal factory methods.

2009-06-04 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/34830 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Optimize out 'literal' != null at JS time

2009-06-05 Thread scottb
Love what this patch does! I kind of want to separate simplifyEq and simplifyNeq into separate code paths. I think it would be a little clearer, and would pave the way for more equality/inequality optimizations (for example, two different value literals).

[gwt-contrib] Re: Optimize out 'literal' != null at JS time

2009-06-05 Thread scottb
LGTM, will commit. http://gwt-code-reviews.appspot.com/34831 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Puts the htmlbody/head//html cruft back into the compiled output (c.f. issue 3738)

2009-06-10 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/34834 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: More if-statement optimizations in JsStaticEval

2009-06-10 Thread scottb
LGTM. Want to point out that we can optimize some of these even better in cases where the nested code is an expression statement. http://gwt-code-reviews.appspot.com/33845/diff/1/2 File dev/core/test/com/google/gwt/dev/js/JsStaticEvalTest.java (right):

[gwt-contrib] Re: fix a crash in code the JDT considers dead

2009-06-10 Thread scottb
LGTM, but could we handle if (false) also? It can only make our optimizations better. http://gwt-code-reviews.appspot.com/34835/diff/1/3 File dev/core/src/com/google/gwt/dev/jjs/ast/JIfStatement.java (right): http://gwt-code-reviews.appspot.com/34835/diff/1/3#newcode64 Line 64: if (thenStmt

[gwt-contrib] Re: configurable -localWorkers for samples

2009-06-11 Thread scottb
LGTM, we've been needing this for a while. :) http://gwt-code-reviews.appspot.com/36802 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Optimize if statements to conditionals and boolean ops if possible

2009-06-11 Thread scottb
LGTM. Committed at r5540 with minor tweaks. http://gwt-code-reviews.appspot.com/36801 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: -draftCompile optimizes less

2009-06-11 Thread scottb
LGTM. By the way, instant hosted mode should reduce CompilationState.compile drastically, so help is on the way! http://gwt-code-reviews.appspot.com/38801 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Allow generators fast access to source path resources

2009-06-12 Thread scottb
Reviewers: bobv, jat, Description: This patch adds a new method to GeneratorContext that makes a new ResourceOracle available specifically to generators. This ResourceOracle contains all of the resources on the classpath that are associated with source files on the sourcepath. Certain

[gwt-contrib] Re: Allow generators fast access to source path resources

2009-06-12 Thread scottb
http://gwt-code-reviews.appspot.com/40801/diff/1/2 File dev/core/src/com/google/gwt/core/ext/GeneratorContext.java (right): http://gwt-code-reviews.appspot.com/40801/diff/1/2#newcode76 Line 76: * being compiled. Will clarify doc. http://gwt-code-reviews.appspot.com/40801

[gwt-contrib] Re: RR : Allow user-provided bridge classes in hosted mode

2009-06-15 Thread scottb
Bob, I have some questions about the twilight zone in which this new class loader lives, but I'm kinda swamped this week. Maybe we can make some time to discuss? http://gwt-code-reviews.appspot.com/34836 --~--~-~--~~~---~--~~

[gwt-contrib] Re: inliner handles implicit long cast at method return

2009-06-16 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/39805 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: RR : Allow user-provided bridge classes in hosted mode

2009-06-16 Thread scottb
Glanced over it, but I'm sure it's fine so I didn't fine-tooth it. http://gwt-code-reviews.appspot.com/34836 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Prevent JsInliner from triggering infinite expansion

2009-06-17 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/42801/diff/1/2 File dev/core/src/com/google/gwt/dev/js/JsInliner.java (right): http://gwt-code-reviews.appspot.com/42801/diff/1/2#newcode853 Line 853: JsFunction currentFunction = functionStack.peek(); callerFunction would be slightly more clear?

[gwt-contrib] Misc JS problem cleanup

2009-06-18 Thread scottb
Reviewers: jgw, Description: A few miscellaneous fixes for JS issues. We might also want to merge into releases/1.6. Please review this at http://gwt-code-reviews.appspot.com/42802 Affected files: user/src/com/google/gwt/dom/client/OptionElement.java

[gwt-contrib] Re: GWTTestCase/JUnit tweak to make mixing TestCase and GWTTestCase easier

2009-06-23 Thread scottb
LGTM with comments. http://gwt-code-reviews.appspot.com/47804/diff/1/3 File user/src/com/google/gwt/junit/client/GWTTestCase.java (right): http://gwt-code-reviews.appspot.com/47804/diff/1/3#newcode52 Line 52: * {...@link UnsupportedOperationException}.Instead, override {...@link #gwtSetUp()}

[gwt-contrib] Make i18n generator use ResourceOracle

2009-06-24 Thread scottb
Reviewers: , Description: Makes it go much faster Please review this at http://gwt-code-reviews.appspot.com/48803 Affected files: user/src/com/google/gwt/i18n/rebind/AbstractLocalizableImplCreator.java user/src/com/google/gwt/i18n/rebind/ResourceFactory.java

[gwt-contrib] Re: add a test for AsyncFragmentLoader

2009-06-26 Thread scottb
I didn't look at anything but the bounded queue, which piqued my interest. :) http://gwt-code-reviews.appspot.com/47806/diff/1/11 File user/src/com/google/gwt/core/client/impl/AsyncFragmentLoader.java (right): http://gwt-code-reviews.appspot.com/47806/diff/1/11#newcode105 Line 105: * A

[gwt-contrib] Re: Add Impl.getNameOf() to expose JNameOf nodes to Java code

2009-06-29 Thread scottb
LGTM, with comment. http://gwt-code-reviews.appspot.com/46802/diff/1/3 File dev/core/src/com/google/gwt/dev/jjs/impl/ReplaceRebinds.java (right): http://gwt-code-reviews.appspot.com/46802/diff/1/3#newcode95 Line 95: // Proper JSNI ref Shouldn't most of this lookup logic be duplicated elsewhere

[gwt-contrib] Re: Fix a couple of tiny checkstyle problems in dev

2009-06-30 Thread scottb
1 issue, but no need to re-review http://gwt-code-reviews.appspot.com/50805/diff/1/3 File dev/core/src/com/google/gwt/core/ext/SelectionProperty.java (right): http://gwt-code-reviews.appspot.com/50805/diff/1/3#newcode44 Line 44: * Gets the fallback value for the property Period should go here.

[gwt-contrib] Re: Add ArtificialRescue annotation to compiler

2009-07-06 Thread scottb
LGTM with comments http://gwt-code-reviews.appspot.com/46801/diff/1041/26 File dev/core/src/com/google/gwt/dev/jdt/AbstractCompiler.java (right): http://gwt-code-reviews.appspot.com/46801/diff/1041/26#newcode504 Line 504: protected String[] doFindAdditionalTypesUsingArtificialRescues( Yeah,

[gwt-contrib] Re: Reverting XHR changes to the std (iframe) linker.

2009-07-08 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/48808 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Introduces FakeMessagesMaker

2009-07-08 Thread scottb
You should add a new test suite to com.google.gwt.junit. To your new test suite please also add all of the test classes in com.google.gwt.junit.client and com.google.gwt.junit.remote which are currently NOT getting run! http://gwt-code-reviews.appspot.com/48809/diff/1/2 File

[gwt-contrib] Re: Resolve issue 3826

2009-07-13 Thread scottb
Another (cleaner?) solution would be to make activeLinkers a ListString and activePrimaryLinker String, as a pure reflection of add-linker statements. Meanwhile linkerTypesByName remains as pure reflection of define-linker statements. Then just generate the appropriate answers via the map on

[gwt-contrib] Re: Resolve issue 3826

2009-07-13 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/47813 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: RR : Fix a SingleJsoImpl web-mode calculation bug

2009-07-20 Thread scottb
LGTM, only comment is that for tiny test types that small, it would probably be better to just make them static inners of the test class. http://gwt-code-reviews.appspot.com/51805 --~--~-~--~~~---~--~~

[gwt-contrib] JSO bug in compiler

2009-07-21 Thread scottb
Reviewers: bobv, Description: Fixes internal type hierarchy for overlay types. All interfaces implemented by any overlay types are now directly implemented by JSO itself. This resolves a subtle bug where things could get tightened to subclasses of JSO, which is never correct. Please review

[gwt-contrib] Re: JSO bug in compiler

2009-07-21 Thread scottb
http://gwt-code-reviews.appspot.com/54802/diff/1/2 File dev/core/src/com/google/gwt/dev/jjs/ast/JTypeOracle.java (right): http://gwt-code-reviews.appspot.com/54802/diff/1/2#newcode214 Line 214: private final MapJClassType, SetJInterfaceType implementsMap = new IdentityHashMapJClassType,

[gwt-contrib] Fix a catch block normalizer bug

2009-07-23 Thread scottb
Reviewers: , Description: Lex: can you double-check this please? Make declaration statements for the variables created in the catch block normalizer, instead of just assignment statements. Also fixes a problem where the same JLocalRef would appear in the tree multiple times. Patch by:

[gwt-contrib] Re: Fix a catch block normalizer bug

2009-07-23 Thread scottb
http://gwt-code-reviews.appspot.com/51813/diff/1/2 File dev/core/src/com/google/gwt/dev/jjs/impl/CatchBlockNormalizer.java (right): http://gwt-code-reviews.appspot.com/51813/diff/1/2#newcode66 Line 66: JLocal exObj = popTempLocal(); Actually, before I commit I should rename this to 'exVar' or

[gwt-contrib] Re: Fix a catch block normalizer bug

2009-07-23 Thread scottb
More detail to clarify. Given the following source code: try { Window.alert(Hello, AJAX); } catch (IndexOutOfBoundsException a) { Window.alert(a.toString()); } catch (RuntimeException b) { Window.alert(b.toString()); } catch (Throwable c) { Window.alert(c.toString()); } We were

[gwt-contrib] Re: Record line numbers for JsExpressions derived from JSNI methods

2009-07-24 Thread scottb
Mostly LGTM. http://gwt-code-reviews.appspot.com/51816/diff/1/2 File dev/core/src/com/google/gwt/dev/js/JsParser.java (right): http://gwt-code-reviews.appspot.com/51816/diff/1/2#newcode159 Line 159: SourceInfo toReturn = program.createSourceInfo(lineno, parent.getFileName()); Why can't we use

[gwt-contrib] Re: Record line numbers for JsExpressions derived from JSNI methods

2009-07-24 Thread scottb
http://gwt-code-reviews.appspot.com/51816/diff/1/2 File dev/core/src/com/google/gwt/dev/js/JsParser.java (right): http://gwt-code-reviews.appspot.com/51816/diff/1/2#newcode159 Line 159: SourceInfo toReturn = program.createSourceInfo(lineno, parent.getFileName()); BTW: I didn't necessarily mean

[gwt-contrib] Re: don't download class factories in the initial download

2009-07-28 Thread scottb
Deleting code is awesome! LGTM, to the extent that I understand what's going on. I'll trust you that the normal visitation patterns result in a working end product. http://gwt-code-reviews.appspot.com/51822 --~--~-~--~~~---~--~~

[gwt-contrib] Re: patch to enable web tests using HtmlUnit

2009-07-28 Thread scottb
I'll trust that RunStyleHtmlUnit itself works as advertised. I admit I'm a little dismayed at just how many tests have to be disabled-- especially since they imply problems with user-written test cases of their own code. StringTest is particularly distressing for me, but I'm sure many of the

[gwt-contrib] Re: Instant Hosted Mode

2009-07-31 Thread scottb
Awesome, thanks. http://gwt-code-reviews.appspot.com/51826/diff/1/65 File dev/core/src/com/google/gwt/dev/javac/JSORestrictionsChecker.java (right): http://gwt-code-reviews.appspot.com/51826/diff/1/65#newcode203 Line 203: private void fail() { I just meant this visitor itself could throw the

[gwt-contrib] Re: JSNI Break/Continue statements broken

2009-07-31 Thread scottb
LGTM, just make sure tests pass and stuff. :) http://gwt-code-reviews.appspot.com/51828 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Fix issue 3623: The unmodifiable col lections are missing .toString()

2009-08-04 Thread scottb
LGTM with nit. http://gwt-code-reviews.appspot.com/55802/diff/1/2 File user/super/com/google/gwt/emul/java/util/Collections.java (right): http://gwt-code-reviews.appspot.com/55802/diff/1/2#newcode18 Line 18: import java.util.Collection; Why was it necessary to add this import statement? You

[gwt-contrib] Re: Fix issue 3623: The unmodifiable col lections are missing .toString()

2009-08-04 Thread scottb
LGTM with nit. http://gwt-code-reviews.appspot.com/55802/diff/1/2 File user/super/com/google/gwt/emul/java/util/Collections.java (right): http://gwt-code-reviews.appspot.com/55802/diff/1/2#newcode18 Line 18: import java.util.Collection; Why was it necessary to add this import statement? You

[gwt-contrib] Re: Fix Issue 3605: Spurious NoSuchElementException in web mode, but not hosted mode (EnumSet.of)

2009-08-04 Thread scottb
LGTM with nits. http://gwt-code-reviews.appspot.com/55803/diff/1/3 File user/test/com/google/gwt/emultest/java/util/EnumSetTest.java (right): http://gwt-code-reviews.appspot.com/55803/diff/1/3#newcode54 Line 54: if (array[0] != Numbers.One array[1] != Numbers.One) { What about set.contains()

[gwt-contrib] Re: Fix eclipse checkstyle error in EnumSetTest

2009-08-06 Thread scottb
LGTM, but in the future no need to review trivial things like this. Instead, just do the commit and then leave a chinchilla at Dan's desk. http://gwt-code-reviews.appspot.com/56803 --~--~-~--~~~---~--~~

[gwt-contrib] Re: Add Sets.addAll() method

2009-08-06 Thread scottb
Just nits. BTW: while you're in here, can you remove the 'normalize' call from Maps(112)? It's not necessary because if the incoming map has more than 1 entry, the result map will certainly have more than 1 and already be the right type. http://gwt-code-reviews.appspot.com/56806/diff/1/2 File

[gwt-contrib] Re: Add Sets.addAll() method

2009-08-06 Thread scottb
http://gwt-code-reviews.appspot.com/56806/diff/1/2 File dev/core/src/com/google/gwt/dev/util/collect/Sets.java (right): http://gwt-code-reviews.appspot.com/56806/diff/1/2#newcode76 Line 76: SetT result = new HashSetT(toAdd); Actually, you can't do this, this is wrong. You have to initialize

[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode

2009-08-07 Thread scottb
LGTM, but we should probably get a thumbs-up from at least one other interested person. http://gwt-code-reviews.appspot.com/56807 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Optimizer test framework

2009-08-07 Thread scottb
Reviewers: cromwellian_google.com, Lex, bruce, Description: Creates some test infrastructure to easily test individual compiler passes. Also started some very basic tests for ControlFlowAnalyzer, ExpressionAnalyzer, and DeadCodeElimination. Hopefully this will start the process of fixing

[gwt-contrib] Issue #3851

2009-08-10 Thread scottb
Reviewers: bobv, Description: One-line patch to remove javax.servlet source files from gwt-user.jar. gwt-dev-*.jar is unaffected. Please review this at http://gwt-code-reviews.appspot.com/56813 Affected files: user/build.xml Index: user/build.xml --- user/build.xml (revision 5922)

[gwt-contrib] Re: add names to runAsync calls

2009-08-11 Thread scottb
Hi Lex, I reviewed everything except CodeSplitter. I looked at it briefly, but that class is fairly unfamiliar to me. Maybe Kathrin or Bob is a better choice? http://gwt-code-reviews.appspot.com/56814/diff/1/10 File dev/core/src/com/google/gwt/dev/jjs/impl/ReplaceRunAsyncs.java (right):

[gwt-contrib] Re: Set cache headers properly in embedded Jetty for hosted mode

2009-08-11 Thread scottb
Adding potential second eyeball reviewers. http://gwt-code-reviews.appspot.com/56807 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: add names to runAsync calls

2009-08-13 Thread scottb
CodeSplitter LGTM http://gwt-code-reviews.appspot.com/56814/diff/1/9 File dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java (right): http://gwt-code-reviews.appspot.com/56814/diff/1/9#newcode455 Line 455: if (splitPoints.size() != 1) { Can splitPoints.size() == 0? If not, testing

[gwt-contrib] Issue 3936: work around JDT by not computing CUD from scope chain

2009-08-14 Thread scottb
Reviewers: Lex, Description: It appears JDT has a bug where it will pass you a null scope while visiting the expression of an empty switch statement. See: http://code.google.com/p/google-web-toolkit/issues/detail?id=3936 It turns out, however, that TypeRefVisitor was only using the scope chain

[gwt-contrib] Re: Issue 3936: work around JDT by not computing CUD from scope chain

2009-08-14 Thread scottb
Thanks! Reported bug to JDT. https://bugs.eclipse.org/bugs/show_bug.cgi?id=286682 http://gwt-code-reviews.appspot.com/58801 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: clean up compiler logging output

2009-08-17 Thread scottb
Thanks, Kathrin. I just had a couple of nits myself. http://gwt-code-reviews.appspot.com/60802/diff/1/2 File dev/core/src/com/google/gwt/core/ext/soyc/impl/DependencyRecorder.java (right): http://gwt-code-reviews.appspot.com/60802/diff/1/2#newcode110 Line 110: logger =

[gwt-contrib] Re: issue 3535 - whitelist/blacklist warnings suggest invalid argument syntax using equals rather than s

2009-08-17 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/59802 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: separate the ADD operation into two: one for numerics, one for string append

2009-08-21 Thread scottb
Great idea! LGTM. Only comment is on the naming: maybe use CONCAT/ASG_CONCAT instead of STR_ADD? If we did that, renaming ADD-NUM_ADD would actually be options, since ADD would always mean arithmetic. http://gwt-code-reviews.appspot.com/61810

[gwt-contrib] Re: CloneStatementVisitor

2009-09-11 Thread scottb
The one thing I don't understand is how you handle locals and params? If you clone an expression or statements from one method into another, how do you handle the fact that local refs and params target the wrong method? Otherwise LGTM. http://gwt-code-reviews.appspot.com/66802

[gwt-contrib] Re: JavaToJavaScriptCompiler passes null SourceInfo to JReboundEntryPoint

2009-09-16 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/67801 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: On Mac, emit a -d32 arg for hosted mode when running on a 64-bit vm

2009-09-17 Thread scottb
http://gwt-code-reviews.appspot.com/68803/diff/1/3 File user/src/com/google/gwt/user/tools/WebAppCreator.java (right): http://gwt-code-reviews.appspot.com/68803/diff/1/3#newcode264 Line 264: + condition property=\HostedMode32BitVmarg\ value=\-d32\ else=\-Dgwt.dummy.arg=\\n I assume empty

[gwt-contrib] Re: RR : Fix virtual override dispatch in SingleJsoImpl

2009-09-24 Thread scottb
LGTM, one nit. I also saw some spurious formatting diff cheese. http://gwt-code-reviews.appspot.com/71802/diff/1/3 File dev/core/src/com/google/gwt/dev/jjs/impl/JavaScriptObjectNormalizer.java (right): http://gwt-code-reviews.appspot.com/71802/diff/1/3#newcode197 Line 197: if

[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry

2009-10-12 Thread scottb
http://gwt-code-reviews.appspot.com/77810/diff/1007/30 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/1007/30#newcode166 Line 166: // What is the correct return value here or should we re-throw? Shouldn't this be a void method

[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry

2009-10-13 Thread scottb
http://gwt-code-reviews.appspot.com/77810/diff/34/1016 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode54 Line 54: public static native JavaScriptObject entry(JavaScriptObject jsFunction) /*-{ I think this should be

[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry

2009-10-13 Thread scottb
http://gwt-code-reviews.appspot.com/77810/diff/34/1016 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode148 Line 148: _ = jsFunction.apply(thisObj, arguments); Nasty. Yeah, cromwellian, or maybe spoon.

[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry

2009-10-13 Thread scottb
LGTM http://gwt-code-reviews.appspot.com/77810/diff/41/1023 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/41/1023#newcode163 Line 163: boolean outermost; Nitpick: this is somewhat confusing. What about a static int entryDepth?

[gwt-contrib] Re: RR : GWT 2.0 Bugfix when rewriting static calls with JMultiExpr qualifiers

2009-10-14 Thread scottb
Bob, this patch looks good. But I have to admit I can't understand why it's currently broken. Explain to me again why this transformation breaks? (a, b).foo() -- foo((a,b)) I didn't completely follow the pattern you showed. http://gwt-code-reviews.appspot.com/78818/diff/1/2 File

[gwt-contrib] Re: RR : GWT 2.0 Bugfix when rewriting static calls with JMultiExpr qualifiers

2009-10-14 Thread scottb
Also: test case por favor? http://gwt-code-reviews.appspot.com/78818 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Fix sundry warnings

2009-10-26 Thread scottb
I was thinking we didn't necessarily need 4 people to review all the same (mostly trivial) changes, so I synced up with Dan at his desk on the few remaining items he had questions about. Do we really need more review at this point? If it LGTY, it LGTM. http://gwt-code-reviews.appspot.com/86801

[gwt-contrib] Re: big banner warning about htmlunit suppression

2009-10-27 Thread scottb
Looks Reviewed To Me ;) http://gwt-code-reviews.appspot.com/86809/diff/1/3 File user/build.xml (right): http://gwt-code-reviews.appspot.com/86809/diff/1/3#newcode454 Line 454: /sequential @jlabanca: we can actually turn this off now http://gwt-code-reviews.appspot.com/86809

[gwt-contrib] Fix CompositeTreeLogger, access to AbstractTreeLogger.indexWithinMyParent

2009-10-28 Thread scottb
Reviewers: jat, mmendez, Description: Per request from Miguel, some code cleanups. Please review this at http://gwt-code-reviews.appspot.com/88805 Affected files: dev/core/src/com/google/gwt/dev/CompileTaskRunner.java dev/core/src/com/google/gwt/dev/ModulePanel.java

[gwt-contrib] Re: Fix javadoc link errors

2009-10-28 Thread scottb
Mostly questions, and generally speaking you should select the containing comment blocks and autoformat them into shape (don't necessarily do the whole file as it generates diff cheese). http://gwt-code-reviews.appspot.com/89801/diff/1/2 File

[gwt-contrib] Fixes latent rescue bug in ControlFlowAnalyzer

2009-10-28 Thread scottb
Reviewers: Lex, cromwellian_google.com, mike.aizatsky, Description: (All the more proof we need better, more intuitive optimization mechanisms than static impls.) Fixes a very obscure bug in ControlFlowAnalyzer. In TypeTightener, we create synthetic references between an instance method and

[gwt-contrib] Re: Fixes latent rescue bug in ControlFlowAnalyzer

2009-10-28 Thread scottb
Passes blaze test. http://gwt-code-reviews.appspot.com/89804 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] scripts should be executable out of the box

2009-10-29 Thread scottb
LGTM. We used to have code that looked a lot like this, it must have gotten killed in the merge. BTW: have you run this on Windows? I'm not sure if chmod works there, but we need to verify that at least it doesn't fail. http://gwt-code-reviews.appspot.com/89805

[gwt-contrib] CompiledClasses now compute anonymous class status from JDT.

2009-11-03 Thread scottb
Reviewers: amitmanjhi, Description: This is to support new development where CCs don't retain their TypeOracle references. Please review this at http://gwt-code-reviews.appspot.com/89817 Affected files: dev/core/src/com/google/gwt/dev/javac/CompilationUnit.java

[gwt-contrib] Re: Avoid calling overridable methods from ArrayList constructors

2009-11-03 Thread scottb
LGTM, some comments. http://gwt-code-reviews.appspot.com/91809/diff/1/2 File user/super/com/google/gwt/emul/java/util/ArrayList.java (right): http://gwt-code-reviews.appspot.com/91809/diff/1/2#newcode79 Line 79: clearImpl(); While you're there, it seems like we should delete this block and

[gwt-contrib] Re: CompiledClasses now compute anonymous class status from JDT.

2009-11-03 Thread scottb
BTW: the main thing I wanted to ask was if this will impact your CCL code in any way. John T was nervous about me removing the call to isClassnameGenerated() when making the anonymous class determination. http://gwt-code-reviews.appspot.com/89817/diff/1/3 File

[gwt-contrib] Re: Centralize a few standard MockJavaResources

2009-11-05 Thread scottb
LGTM, nits. http://gwt-code-reviews.appspot.com/93810/diff/1/2 File dev/core/test/com/google/gwt/dev/javac/impl/JavaResourceBase.java (right): http://gwt-code-reviews.appspot.com/93810/diff/1/2#newcode74 Line 74: code.append(public abstract class EnumE extends EnumE implements Serializable

[gwt-contrib] Re: Better assertions in MessageTransportTest

2009-11-11 Thread scottb
Also, feel free to commit this for me after review. http://gwt-code-reviews.appspot.com/100805 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] JsniCollectorTest, more tests on JsniCheckerTest

2009-11-11 Thread scottb
Reviewers: bobv, Description: Bob, this should improve our error coverage quite a bit. Please commit (+tweak) if good. Please review this at http://gwt-code-reviews.appspot.com/102808 Affected files: dev/core/src/com/google/gwt/dev/javac/JsniChecker.java

[gwt-contrib] Remove alreadySeenModules

2009-11-19 Thread scottb
Reviewers: rice+legacy, Description: Hi Dan, small review: this is what I was getting at about merging the module pinning and no refresh on first load together. Please review this at http://gwt-code-reviews.appspot.com/106805 Affected files: dev/core/src/com/google/gwt/dev/DevMode.java

[gwt-contrib] Re: Simplify hasOwnProperty FF workaround using Scott's suggestion

2009-11-20 Thread scottb
LVGTM http://gwt-code-reviews.appspot.com/107801 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Remove alreadySeenModules

2009-11-20 Thread scottb
Gracias. http://gwt-code-reviews.appspot.com/106805 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Adds a __gwt_disconnected function to hosted.html, which glasses the screen and puts up a disconnect

2009-11-20 Thread scottb
Reviewers: jat, Description: This function is to be called from the GWT dev plugin. Also removes legacy support from hosted.html. Please review this at http://gwt-code-reviews.appspot.com/109802 Affected files: dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html --

[gwt-contrib] IE plugin graceful disconnect

2009-11-21 Thread scottb
Reviewers: jat, Message: Some notes: http://gwt-code-reviews.appspot.com/112801/diff/1007/15 File plugins/npapi/LocalObjectTable.h (right): http://gwt-code-reviews.appspot.com/112801/diff/1007/15#newcode74 Line 74: setFree(id); This was causing a debug check to fail. If you do the setFree(id)

[gwt-contrib] Re: IE, Chrome plugin graceful disconnect

2009-11-22 Thread scottb
On 2009/11/22 16:49:17, jat wrote: However, I think perhaps disconnect callbacks should be moved to the common code and added to SessionHandler. That would still leave noticing disconnects on sends, but it might be worth the effort. What do you think? Sure, I can give this a shot. Common

[gwt-contrib] Re: Make compiler log start counting permutations at 0 (again)

2009-11-23 Thread scottb
LVGTM http://gwt-code-reviews.appspot.com/112803 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] JUnit breaks over proxy

2009-11-23 Thread scottb
Reviewers: jat, jlabanca, amitmanjhi, Description: Hi John, Please review, commit, merge if you can. This fixes a problem where clients are seen to have unstable IP addresses when coming through a proxy. Also fixes a problem where two browsers with the same user agent string look like the same

[gwt-contrib] Re: JUnit sessions, take 2

2009-11-24 Thread scottb
Reviewers: jlabanca, jat, http://gwt-code-reviews.appspot.com/112809/diff/1/2 File user/src/com/google/gwt/junit/JUnitMessageQueue.java (right): http://gwt-code-reviews.appspot.com/112809/diff/1/2#newcode54 Line 54: public String desc; Actually it can't be, the client's ip can change over time,

[gwt-contrib] Re: Pass IE Plugin installer version into build file

2009-11-30 Thread scottb
LGTM, 1 question. http://gwt-code-reviews.appspot.com/116801/diff/1/2 File plugins/ie/installer/build.xml (right): http://gwt-code-reviews.appspot.com/116801/diff/1/2#newcode26 Line 26: message=You must specify installer.version parameter in the form major.minor.build.revision (ex.

[gwt-contrib] Remove excess calls to foreign collections

2009-12-07 Thread scottb
Reviewers: rice+legacy, Description: Sometimes external collections can change unexpectedly; this change makes us call foreign collections fewer times to protect us from the possibility of inconsistency. Please review this at http://gwt-code-reviews.appspot.com/118810 Affected files:

[gwt-contrib] Re: Remove excess calls to foreign collections

2009-12-08 Thread scottb
Good call. Hmm, my mistakes should have made us fail a unit test, but they didn't. Guess I need to add better unit tests of this. http://gwt-code-reviews.appspot.com/118810 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Remove excess calls to foreign collections

2009-12-09 Thread scottb
Updated patch, please double check me. http://gwt-code-reviews.appspot.com/118810 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

  1   2   3   4   5   6   7   >