[gwt-contrib] Re: RR : GWT 2.0.1 : Add support to CssResource for unknown at-rules

2010-01-21 Thread bobv
On 2010/01/21 16:20:28, Ray Ryan wrote: LGTM A nit and a question, but you're good to go http://gwt-code-reviews.appspot.com/130817/diff/1/3 File user/src/com/google/gwt/resources/css/GenerateCssAst.java (right): http://gwt-code-reviews.appspot.com/130817/diff/1/3#newcode239 Line 239:

[gwt-contrib] Re: JsStackEmulation leaves alone expressions invoked as functions

2010-01-26 Thread bobv
LGTM w/ nits. http://gwt-code-reviews.appspot.com/132815/diff/3001/3003 File dev/core/src/com/google/gwt/dev/js/JsStackEmulator.java (right): http://gwt-code-reviews.appspot.com/132815/diff/3001/3003#newcode594 Line 594: private final SetJsNode? invokedNodes = new HashSetJsNode?(); Add javadoc

[gwt-contrib] RR : Remove duplicate property setters from deRPC payload

2010-01-28 Thread bobv
Reviewers: Dan Rice, Message: Review requested. Description: Many types in a production-mode app often have identical field names. This patch updates the web-mode payload to reuse setter functions within the payload. Please review this at http://gwt-code-reviews.appspot.com/130825 Affected

[gwt-contrib] Re: JsStackEmulation leaves alone expressions invoked as functions

2010-02-01 Thread bobv
LGTM, with one nit. http://gwt-code-reviews.appspot.com/132815/diff/3015/3018 File user/test/com/google/gwt/core/StackTraceLineNumbersTest.gwt.xml (right): http://gwt-code-reviews.appspot.com/132815/diff/3015/3018#newcode2 Line 2: !-- Copyright 2008 Google Inc. -- Copyright date.

[gwt-contrib] RR : Record selected annotations in Java AST

2010-02-01 Thread bobv
Reviewers: Lex, scottb, Message: Review requested. I'm going to be AFK Tuesday-Thursday, so it's likely I won't be able to get back to this until next week. Description: This is a compiler infrastructure patch that enables annotations to be selectively recorded within the Java AST. Compiler

[gwt-contrib] Re: RR : Record selected annotations in Java AST

2010-02-05 Thread BobV
Thanks for the reviews. I'll have a new version of the patch for you to look at on Monday. -- Bob Vawter Google Web Toolkit Team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Record selected annotations in Java AST

2010-02-05 Thread bobv
New patch set uploaded. Should JAnnotationArgument be a mix-in interface or part of the JNode hierarchy? http://gwt-code-reviews.appspot.com/134810 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Record selected annotations in Java AST

2010-02-08 Thread bobv
http://gwt-code-reviews.appspot.com/134810/diff/4001/4003 File dev/core/src/com/google/gwt/dev/jjs/ast/JAnnotation.java (right): http://gwt-code-reviews.appspot.com/134810/diff/4001/4003#newcode40 Line 40: public static class PropertyT extends JNode JAnnotationArgument extends The templated

[gwt-contrib] Re: RR : Record selected annotations in Java AST

2010-02-08 Thread bobv
Scott, Here's an updated patch that removes the parameterizations. Per our IM conversation, a JNewArray is inappropriate because Java annotations are restricted to single-dimension arrays. http://gwt-code-reviews.appspot.com/134810 --

[gwt-contrib] RR : Add ExternalCssResource

2010-02-11 Thread bobv
Reviewers: Ray Ryan, jgw, Message: Comments on the utility of this feature requested. Description: This patch adds a new CssResource type that externalizes the processed CSS instead of adding it to the compiled JavaScript. It allows the developer to trade additional round-trips and certain

[gwt-contrib] Re: AsyncProxy fix for top-level classes

2010-02-18 Thread bobv
LGTM, with nits. http://gwt-code-reviews.appspot.com/149801 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: AsyncProxy fix for top-level classes

2010-02-18 Thread bobv
LGTM, with nits. http://gwt-code-reviews.appspot.com/149801/diff/1/3 File user/test/com/google/gwt/user/client/AsyncProxyTest.java (right): http://gwt-code-reviews.appspot.com/149801/diff/1/3#newcode204 Line 204: final Test proxy = GWT.create(TopLevelProxy.class); Unnecessary final.

Re: [gwt-contrib] Re: Scheduler vs. DeferredCommand

2010-02-22 Thread BobV
Scheduler is the preferred API. I have most of a patch to move the implementation of the existing DeferredCommand API over to Scheduler. http://code.google.com/p/google-web-toolkit/issues/detail?id=4668 -- Bob Vawter Google Web Toolkit Team --

Re: [gwt-contrib] RPC Request Optimisation

2010-02-25 Thread BobV
1) Would people be interested in my proxycreator patch, for potential inclusion into gwt core? 2) Does request pooling sound like it's something that would be of use in general? Is this something the gwt team would be interested in working with? Why did you go with the approach of patching

[gwt-contrib] Re: when-linker-added

2010-03-03 Thread bobv
http://gwt-code-reviews.appspot.com/150801/diff/1/5 File dev/core/src/com/google/gwt/dev/cfg/Condition.java (right): http://gwt-code-reviews.appspot.com/150801/diff/1/5#newcode44 Line 44: public final boolean isTrue(TreeLogger logger, PropertyOracle propertyOracle, Could you collapse the

Re: [gwt-contrib] Including a CSS resource into another one

2010-03-03 Thread BobV
ui:style src='../resources/defines.css' The @Source annotation, and presumably the src attribute of ui:style, accepts multiple css files. -- Bob Vawter Google Web Toolkit Team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] RFC : Soft permutations for the GWT compiler

2010-03-04 Thread BobV
I've been working on allowing certain GWT.create() rebinds to be implemented at runtime in order to reduce permutation explosion. Design doc: http://code.google.com/p/google-web-toolkit/wiki/SoftPermutations 70% implementation, enough to compile Showcase into one permutation:

Re: [gwt-contrib] RFC : Soft permutations for the GWT compiler

2010-03-04 Thread BobV
On Thu, Mar 4, 2010 at 12:00 PM, Matt Mastracci matt...@mastracci.com wrote: One comment: is there a lot of overhead in running a switch each time GWT.create() is called?  The method could modify itself the first time it was run to select the correct factory method. It would have to happen in

Re: [gwt-contrib] RFC : Soft permutations for the GWT compiler

2010-03-04 Thread BobV
The fix was the generator needed to know which locales were combined together so it could produce a more optimal shared solution. How would that fit in here? Would it be sufficient if the SelectionProperty interface were to include a getCollapsedValues() that would indicate the other values

Re: [gwt-contrib] RFC : Soft permutations for the GWT compiler

2010-03-09 Thread BobV
As a more complicated example, an internal app has different translations for Latin-American Spanish from the rest of the Spanish translations, so they have es and es_419 as deferred binding properties.  Then they inherit CldrLocales, and automatically get the right set of runtime locales in

Re: [gwt-contrib] RFC : Soft permutations for the GWT compiler

2010-03-09 Thread BobV
What does runtime locales do, exactly? -- Bob Vawter Google Web Toolkit Team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] RFC : Soft permutations for the GWT compiler

2010-03-09 Thread BobV
Here's what John and I worked out over IM to get the existing runtime locales support migrated to soft permutations: - The existing locale property continues to work as it currently does. - The runtime.locales configuration property is eliminated in favor of a runtimeLocale deferred-binding

Re: [gwt-contrib] RFC : Soft permutations for the GWT compiler

2010-03-09 Thread BobV
On Tue, Mar 9, 2010 at 4:26 PM, Bruce Johnson br...@google.com wrote: Thanks for the explanation. Would be really useful to add to the design doc with enough formatting to make it easy to understand. It just seems like a very powerful feature that could interact in very hard-to-understand ways

[gwt-contrib] RR : Add check for permutation header to RemoteServiceServlet

2010-03-11 Thread bobv
Reviewers: Ray Ryan, Message: Review requested. Description: Re-add the check that was removed in r5731, but allow the behavior to be overridden. Please review this at http://gwt-code-reviews.appspot.com/179801 Affected files: M

[gwt-contrib] Disentangles CompilationResult from Permutation.

2010-03-12 Thread bobv
Permutation is a pretty deeply internal type that shouldn't be exposed. LGTM. http://gwt-code-reviews.appspot.com/194801 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Soft permutations

2010-03-17 Thread bobv
Reviewers: scottb, Lex, Message: Ready for another look. This patch moves to a more linker-centric approach. One note about the change to JUnit.gwt.xml to collapse all properties (thereby producing one permutation) is that it cuts the time of web-mode smoke tests by 20-30%. Description: This

[gwt-contrib] Re: RR : Soft permutations

2010-03-17 Thread BobV
On Wed, Mar 17, 2010 at 2:33 PM, sp...@google.com wrote: Still, what is the use case for globs other than a bare * ? You mean like: gecko* ie* -- Bob Vawter Google Web Toolkit Team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Soft permutations

2010-03-17 Thread BobV
Those are trivial already.  Is there any new use case enabled by it?  -Lex No, it's just a convenience thing. I'm thinking about localized apps that would have N-many en_?? kind of locale values. -- Bob Vawter Google Web Toolkit Team --

Re: [gwt-contrib] Re: RR : Soft permutations

2010-03-18 Thread BobV
On Wed, Mar 17, 2010 at 4:06 PM, John Tamplin j...@google.com wrote: While that may work for some trivial cases, in many cases you will need more nuanced control over what gets collapsed, considering locale inheritance and aliases. That sounds like a pre-GWT-compile tool that auto-generates a

Re: [gwt-contrib] Re: RR : Soft permutations

2010-03-18 Thread BobV
Depending on the string name of an enum looks suboptimal. What are you referring to? -- Bob Vawter Google Web Toolkit Team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] deRPC experiences

2010-03-18 Thread BobV
Thank you for the feedback. It was trivial to hook up the findClientOracleData to work with the existing process Excellent.  - NPE in the WebModeClientOracle.readStreamAsObject finally block if objectInputStream can't be created (ie: if the format is invalid) Will fix.  - If the GWT

[gwt-contrib] RR : Add tail-globs to CssResource @external declaration (issue243803)

2010-03-23 Thread bobv
Reviewers: Ray Ryan, Message: Review requested. Description: This allows you to write @external gwt-*; or even @external *; instead of manually enumerating every class selector in a CssResource input file Please review this at http://gwt-code-reviews.appspot.com/243803/show Affected

Re: [gwt-contrib] Where is the entry of the __static method?

2010-03-23 Thread BobV
The __static object is injected into the JavaScript namespace by the development mode plugin upon startup and is used to dispatch calls to static methods and accesses to static fields. -- Bob Vawter Google Web Toolkit Team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To

[gwt-contrib] Re: RR : Soft permutations (issue160801)

2010-03-24 Thread bobv
Ready for another round of reviews. I rebased patch set 6 to r7776. http://gwt-code-reviews.appspot.com/160801/diff/16001/17002 File dev/core/src/com/google/gwt/core/ext/linker/SoftPermutation.java (right): http://gwt-code-reviews.appspot.com/160801/diff/16001/17002#newcode25

[gwt-contrib] Re: Make ServletValidator not use Jetty (issue284801)

2010-03-30 Thread bobv
LGTM, echoing tbroyer's comment about the main() method. Any reason you didn't re-use the reflective parser with a Schema that ignores unknown elements? http://gwt-code-reviews.appspot.com/284801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from this

[gwt-contrib] Re: Removes the completely spurious generatedResource directory. (issue289801)

2010-03-30 Thread bobv
LGTM. http://gwt-code-reviews.appspot.com/289801/diff/1/10 File dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java (right): http://gwt-code-reviews.appspot.com/289801/diff/1/10#newcode240 dev/core/src/com/google/gwt/dev/javac/StandardGeneratorContext.java:240: private final

[gwt-contrib] Re: Make ServletValidator not use Jetty (issue284801)

2010-03-30 Thread bobv
It's not a critical component of the serving infrastructure, but maybe add a comment that any future changes should probably be re-implemented with a Schema. http://gwt-code-reviews.appspot.com/284801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors To unsubscribe from

[gwt-contrib] RR : Allow Void-parameterized types to work with GWT RPC (issue294801)

2010-03-31 Thread bobv
Reviewers: Dan Rice, Message: Review requested. Description: GWT RPC doesn't conside GenericTypeVoid to be serializable because it doesn't think that Void is serializable. Please review this at http://gwt-code-reviews.appspot.com/294801/show Affected files: A

Re: [gwt-contrib] RR : Allow Void-parameterized types to work with GWT RPC (issue294801)

2010-03-31 Thread BobV
On Wed, Mar 31, 2010 at 12:42 PM, Ray Ryan rj...@google.com wrote: I don't follow your assertion, scott. I'm pretty sure that null is the only legal value for a Void field, so what's the big deal about serializing it? null is the only value. This supports a command-style use case where you

[gwt-contrib] RR : Rework ImageResourceGenerator to address several issues (issue335802)

2010-04-16 Thread bobv
Reviewers: jgw, Message: Joel, This review isn't super high-priority and is kind of long. I got a more than just a bit irritated at how hard it was to try to make what should have been a simple change to ImageResourceGenerator and decided that the code needed a rework. If you think that

[gwt-contrib] Log AssertionErrors thrown by Generators to improve developer experience. (issue362801)

2010-04-19 Thread bobv
Reviewers: scottb, Description: Log AssertionErrors thrown by Generators to improve developer experience. Fix typo in existing log message. Patch by: bobv Review by: scottb Please review this at http://gwt-code-reviews.appspot.com/362801/show Affected files: M dev/core/src/com/google/gwt

[gwt-contrib] Make ClientBundle- and RPC-related annotations have runtime retention to support developers that... (issue306802)

2010-04-19 Thread bobv
-toolkit/issues/detail?id=4797 Patch by: bobv Review by: rjrjr Please review this at http://gwt-code-reviews.appspot.com/306802/show Affected files: M user/src/com/google/gwt/resources/client/ClientBundle.java M user/src/com/google/gwt/resources/client/CssResource.java M user/src/com/google

[gwt-contrib] RR : Part 1 : UiBinder reports locations in errors (issue394801)

2010-04-22 Thread bobv
Reviewers: Ray Ryan, Message: Review requested. Description: This patch changes how UiBinder's compile-time DOM structure is generated so that we can provide accurate location information to the developer when logging errors. Instead of using a DOM parser, this patch builds a DOM using a SAX

[gwt-contrib] RR : Part 2 : Update sources of UiBinder error messages (issue395801)

2010-04-22 Thread bobv
Reviewers: Ray Ryan, Message: Review requested. Description: This patch builds on the first by reworking callers of MortalLogger to include a contextual XMLElement. Please review this at http://gwt-code-reviews.appspot.com/395801/show Affected files: M

[gwt-contrib] Re: RR : Part 1 : UiBinder reports locations in errors (issue394801)

2010-04-23 Thread bobv
New patch for review. http://gwt-code-reviews.appspot.com/394801/diff/1/2 File user/src/com/google/gwt/uibinder/rebind/MortalLogger.java (right): http://gwt-code-reviews.appspot.com/394801/diff/1/2#newcode102 user/src/com/google/gwt/uibinder/rebind/MortalLogger.java:102: +

[gwt-contrib] RR : Reimplement DevMode JavaScriptObject support (issue473801)

2010-05-05 Thread bobv
Reviewers: scottb, Message: Ready for first round of reviews. http://gwt-code-reviews.appspot.com/473801/diff/1/11 File dev/core/src/com/google/gwt/dev/shell/rewrite/SingleJsoImplSupport.java (right): http://gwt-code-reviews.appspot.com/473801/diff/1/11#newcode29

[gwt-contrib] RR : Fix JsoRestrictionsChecker bug with abstract JSO types (issue495801)

2010-05-07 Thread bobv
Reviewers: scottb, Message: Review requested. Description: This patch fixes a missing corner case in JsoRestrictionsChecker. It's possible to declare a JSO subtype that is abstract, implements non-trivial interfaces, but fails to declare a method defined by the interface. Example: interface I

[gwt-contrib] Re: RR : Reimplement DevMode JavaScriptObject support (issue473801)

2010-05-26 Thread bobv
Ready for another look. By adding an actual @SingleJsoImpl annotation to act as a hint for devmode, the impact on I18N's CurrencyData is pretty much a one-liner. http://gwt-code-reviews.appspot.com/473801/diff/5001/6004 File dev/core/src/com/google/gwt/dev/shell/JsValueGlue.java (right):

[gwt-contrib] Re: RR : Rework ImageResourceGenerator to address several issues (issue335802)

2010-06-02 Thread bobv
Ping. http://gwt-code-reviews.appspot.com/335802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Rework ImageResourceGenerator to address several issues (issue335802)

2010-06-02 Thread BobV
Thanks for the review. http://gwt-code-reviews.appspot.com/335802/diff/1/6#newcode167 user/test/com/google/gwt/resources/client/ImageResourceTest.java:167: assertEquals(128, r.scaledUp().getHeight()); I assume the point of testing both width and height here (even though only width is set

[gwt-contrib] RR : Change ClientBundle ResourcePrototype initialization (issue583801)

2010-06-03 Thread bobv
Reviewers: jgw, Message: Review requested. Description: This changes the generated ClientBundle code to initialize ResourcePrototypes in the ClientBundle's static initializer. Previously, resource instances were instantiated lazily in the resource accessor methods. This led to inefficient

[gwt-contrib] Re: A new model for external types (issue589801)

2010-06-03 Thread bobv
LGTM. Do you need to make any changes to GenerateJavaScriptAst to prevent/change code-gen for external types? http://gwt-code-reviews.appspot.com/589801/diff/1/6 File dev/core/src/com/google/gwt/dev/jjs/ast/JTypeOracle.java (right):

[gwt-contrib] Possible breaking changes to JavaScriptObject in DevMode

2010-06-14 Thread BobV
If you use JavaScriptObjects, r8249 changes Dev (Hosted) Mode in three ways you might care about. Production (Web) mode behavior is unaffected by this change. 1) Method invocations on null JSO instances will throw a NullPointerException instead of quasi-succeeding [1]. This should help catch

[gwt-contrib] Re: RR : Reimplement DevMode JavaScriptObject support (issue473801)

2010-06-16 Thread bobv
Another iteration of the patch that simplifies the cross-casting of JSO subtype arrays by upcasting all JSO subtype arrays to JavaScriptObject[]. This ensures that array object identity will be preserved, even after an illegal cast between incompatible array types. Changes to look at: - Added

[gwt-contrib] Re: Moved benchmarks to separate benchmarks packages. This prevents spam errors on unit test execution. (issue591801)

2010-06-17 Thread bobv
LGTM. http://gwt-code-reviews.appspot.com/591801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: RR : Reimplement DevMode JavaScriptObject support (issue473801)

2010-06-17 Thread bobv
Just curious, why not simply use the same technique in both cases? The disambiguator parameter should work find for non-constructor methods, right? Adding the extra parameter means fiddling with the stack to push the extra null argument. Since non-constructor method invocation occurs more

[gwt-contrib] Re: RR : Reimplement DevMode JavaScriptObject support (issue473801)

2010-06-18 Thread bobv
Patch updated. http://gwt-code-reviews.appspot.com/473801/diff/78001/79002 File dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java (right): http://gwt-code-reviews.appspot.com/473801/diff/78001/79002#newcode695 dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java:695: *

[gwt-contrib] Re: Support composition as well as extension. (issue653801)

2010-06-22 Thread bobv
LGTM if you update com/google/gwt/rpc/server/RpcServlet with this same pattern as well. http://gwt-code-reviews.appspot.com/653801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Add UiFieldMapper to allow dynamic access to UiFields to support data-driven UIs. (issue619806)

2010-07-02 Thread bobv
Reviewers: Ray Ryan, Description: Add UiFieldMapper to allow dynamic access to UiFields to support data-driven UIs. Patch by: bobv Review by: rjrjr Please review this at http://gwt-code-reviews.appspot.com/619806/show Affected files: M user/src/com/google/gwt/uibinder/UiBinder.gwt.xml

[gwt-contrib] Re: Speed up UiBinderTest by having all tests share one instance of the (issue687801)

2010-07-13 Thread bobv
LGTM http://gwt-code-reviews.appspot.com/687801/diff/1/3 File user/test/com/google/gwt/uibinder/test/client/UiBinderTestApp.java (right): http://gwt-code-reviews.appspot.com/687801/diff/1/3#newcode53 user/test/com/google/gwt/uibinder/test/client/UiBinderTestApp.java:53: Extra blank line.

[gwt-contrib] Re: Puts PlaceController in the business of showing the user (issue698801)

2010-07-16 Thread bobv
Couple of questions. http://gwt-code-reviews.appspot.com/698801/diff/8001/9002 File user/src/com/google/gwt/app/place/AbstractRecordEditActivity.java (right): http://gwt-code-reviews.appspot.com/698801/diff/8001/9002#newcode73

[gwt-contrib] Re: Puts PlaceController in the business of showing the user (issue698801)

2010-07-16 Thread bobv
LGTM I'm inclined to say that the multiple cancels case results in arbitrary output, since that's all we've offered internally for quite a while and no one has complained. Ok. Seems like following your GWT.create suggestion, and the existence of the delegate hook itself are enough

[gwt-contrib] Re: Revert Revert Adds UiBinder support for Grid, (issue703801)

2010-07-19 Thread bobv
LGTM, with nits. http://gwt-code-reviews.appspot.com/703801/diff/1/2 File user/src/com/google/gwt/uibinder/elementparsers/GridParser.java (right): http://gwt-code-reviews.appspot.com/703801/diff/1/2#newcode2 user/src/com/google/gwt/uibinder/elementparsers/GridParser.java:2: * Copyright 2009

[gwt-contrib] Re: Wrap GWT.runAsync() entry points with $entry . (issue706801)

2010-07-20 Thread bobv
LGTM, just a nit. http://gwt-code-reviews.appspot.com/706801/diff/1/2 File dev/core/src/com/google/gwt/dev/jjs/impl/FragmentExtractor.java (right): http://gwt-code-reviews.appspot.com/706801/diff/1/2#newcode640 dev/core/src/com/google/gwt/dev/jjs/impl/FragmentExtractor.java:640:

[gwt-contrib] Re: A new version of DynaTable that uses RequestFactory instead of GWT RPC. (issue710801)

2010-07-23 Thread BobV
On Fri, Jul 23, 2010 at 1:53 PM, amitman...@google.com wrote: There is a lot of copying going here which is bad. Would this be better done by adding just the new classes to the DynaTable sample, and having another gwt.xml in the DynaTable sample. The two gwt.xml could then pull just the

[gwt-contrib] Re: A new version of DynaTable that uses RequestFactory instead of GWT RPC. (issue710801)

2010-07-23 Thread bobv
Are the .orig files coming from git add -A? You could add that pattern to your .git/info/exclude. Will the Property API be removed? http://gwt-code-reviews.appspot.com/710801/diff/4001/5001 File bikeshed/src/com/google/gwt/sample/expenses/gwt/request/ExpensesRequestFactory.java (left):

[gwt-contrib] Re: A new version of DynaTable that uses RequestFactory instead of GWT RPC. (issue710801)

2010-07-23 Thread bobv
Looks good enough for a first pass. I'll follow up with converting the UI to UiBinder in preparation for wiring up the editor stuff. http://gwt-code-reviews.appspot.com/710801/diff/18001/19001 File bikeshed/src/com/google/gwt/sample/expenses/gwt/request/ExpensesRequestFactory.java (left):

[gwt-contrib] Begin to convert DynaTableRF sample to using UiBinder. (issue698802)

2010-07-28 Thread bobv
Reviewers: Ray Ryan, Description: Begin to convert DynaTableRF sample to using UiBinder. Next step will be to add app-wide event bus to disentangle widget relationships. Patch by: bobv Review by: rjrjr Please review this at http://gwt-code-reviews.appspot.com/698802/show Affected files: M

[gwt-contrib] Re: Begin to convert DynaTableRF sample to using UiBinder. (issue698802)

2010-07-28 Thread bobv
Review requested. http://gwt-code-reviews.appspot.com/698802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Call GZIPOutputStream.finish() from RpcServlet.processPost() to ensure the data received by the ... (issue722801)

2010-07-28 Thread bobv
Reviewers: tms, Description: Call GZIPOutputStream.finish() from RpcServlet.processPost() to ensure the data received by the browser is properly formatted. Patch by: bobv Review by: tms Please review this at http://gwt-code-reviews.appspot.com/722801/show Affected files: M user/src/com

[gwt-contrib] Re: Add two new ClientBundle annotations: (issue714801)

2010-07-29 Thread bobv
LGTM with minor changes. http://gwt-code-reviews.appspot.com/714801/diff/10001/11001 File user/src/com/google/gwt/resources/client/DataResource.java (right): http://gwt-code-reviews.appspot.com/714801/diff/10001/11001#newcode41 user/src/com/google/gwt/resources/client/DataResource.java:41:

[gwt-contrib] Re: Begin to convert DynaTableRF sample to using UiBinder. (issue698802)

2010-07-29 Thread bobv
http://gwt-code-reviews.appspot.com/698802/diff/1/5 File samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/DayFilterWidget.ui.xml (right): http://gwt-code-reviews.appspot.com/698802/diff/1/5#newcode17

[gwt-contrib] Re: Remove 1.6isms from RequestFactory, and fix DynaTableRf (id's (issue721804)

2010-08-02 Thread bobv
LGTM. http://gwt-code-reviews.appspot.com/721804/diff/1/2 File samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/domain/Person.java (right): http://gwt-code-reviews.appspot.com/721804/diff/1/2#newcode31 samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/domain/Person.java:31: id

[gwt-contrib] Finish modernizing the DynaTableRF sample to use an event-based application model. (issue733802)

2010-08-02 Thread bobv
Reviewers: Ray Ryan, Description: Finish modernizing the DynaTableRF sample to use an event-based application model. Patch by: bobv Review by: rjrjr Please review this at http://gwt-code-reviews.appspot.com/733802/show Affected files: M samples/dynatablerf/src/com/google/gwt/sample

[gwt-contrib] Re: Finish modernizing the DynaTableRF sample to use an event-based application model. (issue733802)

2010-08-02 Thread bobv
http://gwt-code-reviews.appspot.com/733802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Finish modernizing the DynaTableRF sample to use an event-based application model. (issue733802)

2010-08-02 Thread bobv
New patch uploaded. http://gwt-code-reviews.appspot.com/733802/diff/1/3 File samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/DayCheckBox.java (right): http://gwt-code-reviews.appspot.com/733802/diff/1/3#newcode38

[gwt-contrib] Re: Add two new ClientBundle annotations: (issue714801)

2010-08-03 Thread bobv
LGTM, just a couple of code style nits I saw re-reading the patch. http://gwt-code-reviews.appspot.com/714801/diff/48001/6003 File user/src/com/google/gwt/resources/client/DataResource.java (right): http://gwt-code-reviews.appspot.com/714801/diff/48001/6003#newcode35

[gwt-contrib] Deprecate the DeferredCommand API. (issue718802)

2010-08-09 Thread bobv
Reviewers: Ray Ryan, Description: Deprecate the DeferredCommand API. Patch by: bobv Review by: rjrjr Please review this at http://gwt-code-reviews.appspot.com/718802/show Affected files: M user/src/com/google/gwt/user/client/Command.java D user/src/com/google/gwt/user/client

[gwt-contrib] Re: Deprecate the DeferredCommand API. (issue718802)

2010-08-09 Thread bobv
http://gwt-code-reviews.appspot.com/718802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Deprecate the DeferredCommand API. (issue718802)

2010-08-09 Thread BobV
I already have that. Do you want it in the same patch? -- Bob Vawter Google Web Toolkit Team -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Deprecate the DeferredCommand API. (issue718802)

2010-08-09 Thread bobv
Added callsite updates to the patch. http://gwt-code-reviews.appspot.com/718802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Removed use of a global table (typeIdArray) for testing castability between types. This informa... (issue750801)

2010-08-11 Thread bobv
http://gwt-code-reviews.appspot.com/750801/diff/1/2 File dev/core/src/com/google/gwt/core/ext/linker/SymbolData.java (right): http://gwt-code-reviews.appspot.com/750801/diff/1/2#newcode86 dev/core/src/com/google/gwt/core/ext/linker/SymbolData.java:86: Object getCastableTypeMap(); What's the

Re: [gwt-contrib] Why is JClassType#getAnnotations() not public?

2010-08-11 Thread BobV
that would do exactly what I need, but they have default visibility and are indicated for testing purposes only. Is there any reason why these method couldn't be made public? Because the public API requires the use of class literals, it forces the .class file for the annotation to be on the

[gwt-contrib] Re: This is a bug in JSORestrictionsChecker

2010-08-11 Thread BobV
At first glance, this would appear to anger the SingleJSO gods. However, because NodeImpl contains implementations of all Node methods, there is no actual ambiguity as to which method implementation to bind to. The this is a bug wording in the error also raised my eyebrows a bit :) Is

[gwt-contrib] Re: Extends DynaTableRF with a client call to Person#persist. (issue755801)

2010-08-12 Thread bobv
LGTM, the comments are mostly questions to make sure that I understand what the code is intended to do. http://gwt-code-reviews.appspot.com/755801/diff/5001/6002 File samples/dynatablerf/src/com/google/gwt/sample/dynatablerf/client/CalendarProvider.java (right):

[gwt-contrib] Re: Removed use of a global table (typeIdArray) for testing castability between types. This informa... (issue750801)

2010-08-12 Thread bobv
@Miguel, FWIW, since we the time bounds of further optimizing this patch are not yet clear, I'd be in favor of landing it and then doing a second round of optimizations. This patch achieves its stated goal, although there are some code style issues that need to be addressed. @Scott, Do

Re: [gwt-contrib] Re: ImageResource to html

2010-08-13 Thread BobV
On Fri, Aug 13, 2010 at 6:31 AM, Thomas Broyer t.bro...@gmail.com wrote: AbstractImagePrototype.create(myImageResource).getHTML() Yes. There is no getHTML() method on the ImageResource interface because the choice of how to render the data is ultimately part of the UI toolkit. -- Bob Vawter

[gwt-contrib] RFC : Improving testability of CssResource

2010-08-16 Thread BobV
I've been working on a patch that improves test integration when using CssResource. The gist of the patch is that CssResource will have a getDebugInfo() method that provides additional metadata about the CssResource and all class selectors used in the input to a CssResource will be available on a

Re: [gwt-contrib] Generating Image with Generator

2010-08-16 Thread BobV
On Wed, Aug 4, 2010 at 6:10 AM, Moocar anthony.mar...@gmail.com wrote: I'm trying to generate a bunch of ClientBundles with the associated images in the same directory. I can't figure out how to write the image files to the same directory as the java files generated with

[gwt-contrib] Re: Add debugging information to CssResource. (issue770801)

2010-08-16 Thread bobv
, sourceClassName); It is a builder and should probably be named something like DebugInfoModel. Description: Add debugging information to CssResource. Patch by: bobv Review by: rjrjr Please review this at http://gwt-code-reviews.appspot.com/770801/show Affected files: A user/src/com/google/gwt/resources

[gwt-contrib] Re: Public: Move the validation metadata classes to client/metadata. (issue773801)

2010-08-17 Thread bobv
LGTM http://gwt-code-reviews.appspot.com/773801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix memory leaks in DevMode (issue766803)

2010-08-18 Thread bobv
http://gwt-code-reviews.appspot.com/766803/diff/1/8 File user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java (right): http://gwt-code-reviews.appspot.com/766803/diff/1/8#newcode50 user/src/com/google/gwt/resources/rebind/context/AbstractResourceContext.java:50: new

[gwt-contrib] RR : Add ui:import to UiBinder to allow access to static fields. (issue781801)

2010-08-19 Thread bobv
by: bobv Review by: rjrjr Suggested by: sonnyf Please review this at http://gwt-code-reviews.appspot.com/781801/show Affected files: M user/src/com/google/gwt/uibinder/rebind/UiBinderParser.java M user/src/com/google/gwt/uibinder/rebind/model/OwnerClass.java A user/test/com/google/gwt

[gwt-contrib] Re: Remove non-determinism in ImageRseourceGenerator. (issue769802)

2010-08-20 Thread bobv
LGTM http://gwt-code-reviews.appspot.com/769802/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Always use unix-style line endings in Generators. (issue776803)

2010-08-20 Thread bobv
Change LGTM, but why is this a problem in practice? Isn't the generated source transient? http://gwt-code-reviews.appspot.com/776803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: ClientBundleWithLookup.getResource(String) now uses a HashMap in DevMode. (issue789801)

2010-08-20 Thread bobv
http://gwt-code-reviews.appspot.com/789801/diff/1/2 File user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java (right): http://gwt-code-reviews.appspot.com/789801/diff/1/2#newcode702

[gwt-contrib] Re: Public: Support classes for a future generating GWT validators. (issue766802)

2010-08-23 Thread bobv
http://gwt-code-reviews.appspot.com/766802/diff/1/2 File user/src/com/google/gwt/validation/client/AbstractBeanDescriptor.java (right): http://gwt-code-reviews.appspot.com/766802/diff/1/2#newcode27 user/src/com/google/gwt/validation/client/AbstractBeanDescriptor.java:27: * Abstract

[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-23 Thread bobv
http://gwt-code-reviews.appspot.com/760802/diff/6001/1029 File samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml (right): http://gwt-code-reviews.appspot.com/760802/diff/6001/1029#newcode3 samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml:3: !--

[gwt-contrib] Re: Public: Start of a sample application showing GWT validation. (issue760802)

2010-08-25 Thread bobv
LGTM http://gwt-code-reviews.appspot.com/760802/diff/6001/1032 File samples/validation/src/com/google/gwt/sample/validation/client/Validation.java (right): http://gwt-code-reviews.appspot.com/760802/diff/6001/1032#newcode55

[gwt-contrib] Re: Add ability to use @UiChild annotation to specify how GWT should add a child element. (issue794801)

2010-08-25 Thread bobv
http://gwt-code-reviews.appspot.com/794801/diff/8001/9001 File dev/core/src/com/google/gwt/core/ext/typeinfo/JPrimitiveType.java (right): http://gwt-code-reviews.appspot.com/794801/diff/8001/9001#newcode43 dev/core/src/com/google/gwt/core/ext/typeinfo/JPrimitiveType.java:43: DESC_FLOAT, 0.0);

<    1   2   3   4   5   6   7   8   >