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
+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
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
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
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
--~--~-~--~~~---~--~~
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
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
==
---
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:
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.
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
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
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
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
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)
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,
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
16 matches
Mail list logo