[gwt-contrib] Feature idea

2009-04-27 Thread Vitali Lovich
Kinda like with GCC, allow detection of constant values (i.e. __builtin_constant_phttp://developer.apple.com/documentation/developertools/gcc-4.0.1/gcc/Other-Builtins.html). This way, you could do something like void addParameter (HashMap h, int size, String key, Object value) { if

[gwt-contrib] Re: Feature idea

2009-04-27 Thread Ray Cromwell
+1 I suggested a similar feature a few days ago privately, I called it GWT.isLiteral(), since the underlying check is if its an AST literal in the compiler, although in my example, you can't do value comparisons, just assertions on the literal. The value checks would be done via traditional

[gwt-contrib] Re: Feature idea

2009-04-27 Thread Vitali Lovich
Yeah, probably from a compiler's perspective, the value check may be more complicated (the value may only be available after the AST stage depending on when optimization is done) It can possibly bloat the resultant code (since I believe you may have to build different implementations of each

[gwt-contrib] Re: New shopping new life!

2009-04-27 Thread Joel Webber
I'm assuming you probably didn't actually send this -- might want to check your Hotmail password :) On Sun, Apr 26, 2009 at 2:53 PM, Ed Bras post2edb...@hotmail.com wrote: Dear friend, I would like to introduce a really good company that mainly do the electornic products trade. Now the

[gwt-contrib] Re: New shopping new life!

2009-04-27 Thread Ed
He Joel, Sorry for the trouble. Last night I came home and all of sudden my whole hotmail was changed and got all kind of failed mail deliveries :(... Yep, changed my password already. -- Ed --~--~-~--~~~---~--~~

[gwt-contrib] Re: Feature idea

2009-04-27 Thread Joel Webber
Cool, I had no idea GCC provided that information. I won't claim to be one of the compiler gurus, but this sounds pretty feasible to me, and to Ray's point, might be a useful way of loosening the GWT.create() magic a bit. @Lex, Scott: What do you think? Is this relatively easy and useful? On

[gwt-contrib] [google-web-toolkit commit] r5283 - Edited wiki page through web user interface.

2009-04-27 Thread codesite-noreply
Author: j...@google.com Date: Mon Apr 27 06:36:54 2009 New Revision: 5283 Modified: wiki/UserAgentCleanup.wiki Log: Edited wiki page through web user interface. Modified: wiki/UserAgentCleanup.wiki == ---

[gwt-contrib] [google-web-toolkit commit] r5284 - Reorder method to avoid checkstyle warning.

2009-04-27 Thread codesite-noreply
Author: j...@google.com Date: Mon Apr 27 08:07:01 2009 New Revision: 5284 Modified: trunk/user/src/com/google/gwt/jsonp/client/JsonpRequest.java Log: Reorder method to avoid checkstyle warning. Patch by: jat Unreviewed Modified:

[gwt-contrib] Re: IE8 support

2009-04-27 Thread jgw
http://gwt-code-reviews.appspot.com/29803/diff/1/5 File user/src/com/google/gwt/dom/DOM.gwt.xml (right): http://gwt-code-reviews.appspot.com/29803/diff/1/5#newcode56 Line 56: when-property-is name=user.agent value=ie6/ On 2009/04/24 20:34:56, jlabanca wrote: too many spaces Done.

[gwt-contrib] [google-web-toolkit commit] r5285 - Edited wiki page through web user interface.

2009-04-27 Thread codesite-noreply
Author: j...@google.com Date: Mon Apr 27 09:25:42 2009 New Revision: 5285 Modified: wiki/IE8Support.wiki Log: Edited wiki page through web user interface. Modified: wiki/IE8Support.wiki == --- wiki/IE8Support.wiki

[gwt-contrib] Re: Feature idea

2009-04-27 Thread Bruce Johnson
It seems like the general functionality (i.e. GWT.isLiteral()) ought to be implemented at the same time as method cloning. That's what makes me excited about the whole thing. Otherwise, at least for me, it's hard to wrap my head around how you could usefully emit different code for the same method

[gwt-contrib] Re: New shopping new life!

2009-04-27 Thread Vitali Lovich
Wow that takes me back. I've stopped using my hotmail actively for already about 2-3 years. I have my thunderbird on my desktop occassionally download filter through all the spam for archival purposes. It just annoys me how locked down it is. With gmail (not a plug, just the best web-based

[gwt-contrib] Re: Feature idea

2009-04-27 Thread Ray Cromwell
One possibility is to use hidden method parameters. Let L = {the set of all method parameters which are referenced by GWT.isLiteral() in the body} For each parameter P in L, add a new parameter to the method, PiL (P is Literal). that is, in Vitali's example: void addParameter (HashMap h, int

[gwt-contrib] [google-web-toolkit commit] r5286 - Test the scenario where GWT.runAsync() fails to load a code fragment due to a

2009-04-27 Thread codesite-noreply
Author: r...@google.com Date: Mon Apr 27 11:47:26 2009 New Revision: 5286 Added: trunk/user/test/com/google/gwt/dev/jjs/RunAsyncFailure.gwt.xml trunk/user/test/com/google/gwt/dev/jjs/test/RunAsyncFailureTest.java (contents, props changed)

[gwt-contrib] Comment on MultiValuedConfigProperties in google-web-toolkit

2009-04-27 Thread codesite-noreply
Comment by sco...@google.com: Recording that I think the simplest approach is actually {{{append-configuration-property}}}. I think there are sane answers to all the question raised: * Should a delimiter be added automatically? If not, what happens if the string was previously empty,

[gwt-contrib] [google-web-toolkit commit] r5287 - Add protected accessors so more specific subclasses of NumberFormat can access

2009-04-27 Thread codesite-noreply
Author: j...@google.com Date: Mon Apr 27 15:50:59 2009 New Revision: 5287 Modified: trunk/user/src/com/google/gwt/i18n/client/NumberFormat.java Log: Add protected accessors so more specific subclasses of NumberFormat can access parsed format values. Patch by: mikeward Review by: jat