[gwt-contrib] Re: Adding drag and drop support to the mobile web app. The desktop TaskEditView now has a list of t... (issue1420811)

2011-05-01 Thread דניאל רייס
Yep. Dan On Sun, May 1, 2011 at 8:00 PM, wrote: > @rice - > > Will you have time to review this on Monday?  I'd like to get it > submitted this week. > > On 2011/04/27 18:14:47, Jeff Larsen wrote: >> >> On 2011/04/26 21:10:21, jlabanca wrote: >> > On Tue, Apr 26, 2011 at 4:57 PM, Jeff Larsen

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

2011-03-29 Thread דניאל רייס
I did the reimplementation. Being less familiar with the intricacies of JavaScript, it seems likely that I missed an opportunity to preserve the nativeness of the array. I'd be happy to take a look at this after the 2.3 release. On Mon, Mar 28, 2011 at 5:52 PM, Scott Blum wrote: > Something sm

[gwt-contrib] Re: Move com.google.gwt.requestfactory to com.google.requestfactory (issue1383808)

2011-03-24 Thread דניאל רייס
I spent a few days attempting this -- it's not so simple. For example: 1) Enums can't extend Enums. Several public types contain nested Enums. 2) If a type oldA extends newA, and a method in it returns an instance of oldA, you cant simply delegate to the implementation in newA since that will

[gwt-contrib] Re: Optimize redundant 'switch' statements (issue1311801)

2011-01-20 Thread דניאל רייס
Here's a manual diff. Is there some slick way to upload it to Mondrian or Rietveld that won't make them confused? Dan On Thu, Jan 20, 2011 at 3:52 PM, wrote: > Can you upload a diff relative to what you checked in before you rolled > it back?  I just want to see what you fixed relative to th

Re: [gwt-contrib] Re: Add optimizations for redundant and trivial 'switch' statements (issue1286801)

2011-01-18 Thread דניאל רייס
I saw 4.5% on the uncompressed size. Dan On Tue, Jan 18, 2011 at 4:39 PM, Ray Cromwell wrote: > I'm curious, has there been any measurement/data as to the effect this > has on output size? > > On Mon, Jan 17, 2011 at 1:18 PM,   wrote: >> LGTM, just nits.  No need to re-review. >> >> >> http://

[gwt-contrib] Re: Experimental version of GeoLocation API (issue1060801)

2010-10-29 Thread דניאל רייס
That would work for this package, but other HTML5 stuff involves additions to core GWT classes, unlike the situation we had with cell widgets last time. It seems like it would be tough for stuff in gwt-user to have dependencies on bikeshed, and even tougher to avoid such dependencies while still

Re: [gwt-contrib] Re: Add package.html files (issue1027801)

2010-10-19 Thread דניאל רייס
Sure, consistency Я we On Mon, Oct 18, 2010 at 6:13 PM, Ray Ryan wrote: > If you're really up for it Dan, us ♥ consistency. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add package.html files (issue1027801)

2010-10-18 Thread דניאל רייס
I'm wiling to switch everything over to package-info.java. FYI, right now I see only 12 instances of package-info.java. Dan On Mon, Oct 18, 2010 at 4:59 PM, wrote: > We have been using package-info.java instead, where we can also use > annotations and get refactoring support.  Why do we want

[gwt-contrib] Re: Add missing javadoc for Editor framework (issue1002801)

2010-10-14 Thread דניאל רייס
Made changes and re-uploaded to rietveld On Thu, Oct 14, 2010 at 12:58 PM, wrote: > Thanks for doing this. > > LGTM, with nits. > > > http://gwt-code-reviews.appspot.com/1002801/diff/1/2 > File user/src/com/google/gwt/editor/client/AutoBean.java (right): > > http://gwt-code-reviews.appspot.com/1

[gwt-contrib] Re: Fixing IE6 CellTree bugs. Child nodes disappear after the open animation completes, and images ... (issue997801)

2010-10-14 Thread דניאל רייס
LGTM Can you add a comment to that effect On Thu, Oct 14, 2010 at 10:09 AM, wrote: > > http://gwt-code-reviews.appspot.com/997801/diff/1/3 > File user/src/com/google/gwt/user/cellview/client/CellTree.java (right): > > http://gwt-code-reviews.appspot.com/997801/diff/1/3#newcode479 > user/src/com

[gwt-contrib] Re: Use a static packages.properties file on non-Unix OSes (issue983801)

2010-10-11 Thread דניאל רייס
I do plan to rewrite it, but this should unbreak the windows build for the time being. On Mon, Oct 11, 2010 at 4:14 PM, wrote: > Why not just rewrite the shell script as a Java app, like we did for > WebAppCreator/etc? > > If not, I would prefer to just have the static file used everywhere so

[gwt-contrib] Re: Avoid an infinite loop in toString() for collections that directly include themselves (issue962801)

2010-10-05 Thread דניאל רייס
This emulates JRE behavior, as pointed out in http://code.google.com/p/google-web-toolkit/issues/detail?id=5297. Dan On Tue, Oct 5, 2010 at 5:11 PM, wrote: > > http://gwt-code-reviews.appspot.com/962801/diff/1/2 > File user/super/com/google/gwt/emul/java/util/AbstractCollection.java > (right)

[gwt-contrib] Re: Use generics for EntityProxyId (issue888802)

2010-09-29 Thread דניאל רייס
Somehow a class like "P extends BlahBlahBlah" was being treated as real class, resulting in a generated "PImpl" class which broke all kinds of ways. I need to put a breakpoint at that line to see if it still happens and try to deal with the issue further upstream. Dan On Wed, Sep 29, 2010 at 7:5

[gwt-contrib] Re: Rename RequestObject->Request and pull the 'with' method into it (issue909801)

2010-09-21 Thread דניאל רייס
You got it. On Tue, Sep 21, 2010 at 8:47 PM, Ray Cromwell wrote: > > I'll review this after my patch lands, please don't commit it before then. > > On Tue, Sep 21, 2010 at 5:46 PM, wrote: >> >> Reviewers: rjrjr, cromwellian, >> >> Description: >> Rename RequestObject->Request and pull the 'with'

[gwt-contrib] Re: Rename PlaceChangeRequesteEvent to PlaceChangeRequestedEvent (issue894801)

2010-09-17 Thread דניאל רייס
Fixed and re-uploaded. On Fri, Sep 17, 2010 at 12:36 PM, wrote: > no suffix, please. It should be PlaceChangeRequest > > On 2010/09/17 16:32:11, rice wrote: > > > > > http://gwt-code-reviews.appspot.com/894801/show > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Rename PlaceChangeRequesteEvent to PlaceChangeRequestedEvent (issue894801)

2010-09-17 Thread דניאל רייס
Sorry, I took the lead from the pre-existing comment on line 35... Dan On Fri, Sep 17, 2010 at 12:36 PM, wrote: > no suffix, please. It should be PlaceChangeRequest > > On 2010/09/17 16:32:11, rice wrote: > > > > > http://gwt-code-reviews.appspot.com/894801/show > -- http://groups.google.co

Re: [gwt-contrib] Re: Add SafeHtml support to UI widgets (2) (issue847801)

2010-09-07 Thread דניאל רייס
Make sure you are changing all the users of the interface as well. Dan On Tue, Sep 7, 2010 at 5:23 PM, wrote: > In this case, setSafeHtml() is the method defined in the interface > HasSafeHtml. I am changing this to setHTML(SafeHtml), and the interface > as well. > > http://gwt-code-reviews.ap

[gwt-contrib] Re: Implement keyboard navigation for CellBrowser (issue843801)

2010-09-03 Thread דניאל רייס
This isn't really working in prod mode so you can hold off on reviewing if you'd prefer. Dan On Fri, Sep 3, 2010 at 4:16 PM, wrote: > Reviewers: jlabanca, > > Description: > Implement keyboard navigation for CellBrowser > > > Please review this at http://gwt-code-reviews.appspot.com/843801/sh

[gwt-contrib] Re: Use SafeHtml for Cell widgets (issue776804)

2010-08-30 Thread דניאל רייס
Fortunately, we never actually extend Cell in any of the bikeshed code. Dan On Mon, Aug 30, 2010 at 2:55 PM, wrote: > I'm pretty sure we extend Cell in the Expenses sample, and in the > Scaffold and Cookbook (what remains) in bikeshed. Please make sure to > update these too. > > > http://gwt

Re: [gwt-contrib] Re: Add @Override tags in order to be able to enable Eclipse warnings without being drowned (issue754801)

2010-08-11 Thread דניאל רייס
I've had it off but I noticed in one of the changes this morning that an @Override tag was (correctly) added and was curious enough to check the setting. I would like to be able to enable warnings in my own Eclipse since there are benefits to getting it right (namely avoiding accidental non-over

[gwt-contrib] Re: Adding missing keyboardSelected styles to CellTable.css sub classes used by ExpenseList and Expe... (issue713803)

2010-08-06 Thread דניאל רייס
LGTM On Fri, Aug 6, 2010 at 10:00 AM, wrote: > Reviewers: Dan Rice, > > Description: > Adding missing keyboardSelected styles to CellTable.css sub classes used > by ExpenseList and ExpenseDetails. > > > Please review this at http://gwt-code-reviews.appspot.com/713803/show > > Affected files: >

[gwt-contrib] Re: "De-bounce" built-in selection models (issue722802)

2010-08-05 Thread דניאל רייס
Yes, I'll upload it in a sec. Dan On Thu, Aug 5, 2010 at 1:12 PM, Ray Ryan wrote: > Ready for re-review? > > > On Wed, Aug 4, 2010 at 1:39 PM, wrote: > >> http://gwt-code-reviews.appspot.com/722802/show >> > > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: First pass at keyboard navigation (currently only for CellTable) (issue710802)

2010-08-02 Thread דניאל רייס
Actually CellTreeNodeView is still work in progress and won't be submitted as part of the current CL. Sorry for the confusion. On Mon, Aug 2, 2010 at 12:14 PM, wrote: > LGTM > > > http://gwt-code-reviews.appspot.com/710802/diff/1013/10009 > File user/src/com/google/gwt/user/cellview/client/Cell

[gwt-contrib] Re: Rolling back r8329 because it hands in IE8. (issue630802)

2010-06-29 Thread דניאל רייס
We probably don't need these tests to run in full for every test cycle. They would be useful, though, to run as smoke tests when new browser versions are released. If there is a way to keep the test code around but only invoke it infrequently I would be in favor of that. Dan On Tue, Jun 29, 2

[gwt-contrib] Re: Fix external issue 5052 - JSONParser.parse exceptions with some unicode characters (issue659801)

2010-06-28 Thread דניאל רייס
On Fri, Jun 25, 2010 at 6:18 PM, wrote: > > Just like in "plain JavaScript", the following would actually create an > "ab" property with no trace of (tested in Safari 5 on Windows): > var o = {}; > o['a\u2028b'] = 'c'; > That's a bug in JavaScriptCore that can hardly be worked around, so I >

Re: [gwt-contrib] mail patch

2010-06-21 Thread דניאל רייס
Looks like the code is still the same as what he is seeing -- I haven't seen the stack trace and don't know how to repo it but the fix seems reasonable. Dan On Mon, Jun 21, 2010 at 3:22 PM, Joel Webber wrote: > Thanks, Stephen. > @Dan: Is this still applicable, or has it been fixed already? >

[gwt-contrib] Re: Copy long<->base64 code to Base64Utils for server RPC code (issue639801)

2010-06-17 Thread דניאל רייס
Currently it's made by stripping things out of gwt-user.jar. I'll look into how to add a class from dev to it. Dan On Thu, Jun 17, 2010 at 4:50 PM, John Tamplin wrote: > On Thu, Jun 17, 2010 at 4:19 PM, Daniel Rice (דניאל רייס) > wrote: > >> Is there any place t

[gwt-contrib] Re: Copy long<->base64 code to Base64Utils for server RPC code (issue639801)

2010-06-17 Thread דניאל רייס
Is there any place that can be shared between dev and gwt-servlet.jar? Dan On Thu, Jun 17, 2010 at 4:18 PM, wrote: > LGTM, though the code duplication is ugly. > > > > http://gwt-code-reviews.appspot.com/639801/show > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: Improve wire format for primitive long values. Keep support for the previous format in server-s... (issue626801)

2010-06-17 Thread דניאל רייס
wrote: > Why not change deRPC? > > On Thu, Jun 17, 2010 at 9:11 AM, Daniel Rice (דניאל רייס) > wrote: > >> We thought about this, but the conclusion was that it would be better >> not to expose yet another internal format. We do use this format for the >> deRPC

[gwt-contrib] Re: Improve wire format for primitive long values. Keep support for the previous format in server-s... (issue626801)

2010-06-17 Thread דניאל רייס
We thought about this, but the conclusion was that it would be better not to expose yet another internal format. We do use this format for the deRPC implementation. Dan On Thu, Jun 17, 2010 at 12:08 PM, wrote: > > If they're being eval'ed, why not transmit the long as a JSON triple, > like [

[gwt-contrib] Re: Restore deleted public method (issue604801)

2010-06-11 Thread דניאל רייס
d). I can give #4 a whirl. The only issue I have is whether this requires an RPC version bump, and if it needs to maintain backwards compatibility. Dan On Fri, Jun 11, 2010 at 3:11 PM, John Tamplin wrote: > On Fri, Jun 11, 2010 at 3:07 PM, Daniel Rice (דניאל רייס) > wrote: > >>

[gwt-contrib] Re: Restore deleted public method (issue604801)

2010-06-11 Thread דניאל רייס
Right now, the standard RPC format hasn't changed (although deRPC has, since the whole point if to be able to eval the payload into the client). So anyone who has a custom RPC system needs a way to generate a double[2] from a long. Longer term, I'd like to transmit longs as an int[3] instead,

[gwt-contrib] Re: Minor DevMode fixes (issue350803)

2010-04-20 Thread דניאל רייס
LGTM On Tue, Apr 20, 2010 at 4:39 AM, wrote: > Reviewers: Dan Rice, > > Description: > Two small fixes: >  - on my work laptop I would get lines way too big for the font size, > and on my home machine the underscores would get dropped because the > lines weren't quite large enough.  I'm not posi

[gwt-contrib] Re: Remove JDK 1.6-isms; fix a checkstyle warning (issue281801)

2010-03-30 Thread דניאל רייס
FYI this still needs review for the changes in IFrameLinker (checkstyle) and PrecompressLinkerTest (removing use of String.getBytes(Charset)). Dan On Mon, Mar 29, 2010 at 12:29 PM, wrote: > Reviewers: Lex, > > Description: > Remove JDK 1.6-isms; fix a checkstyle warning > > > Please review th

Re: [gwt-contrib] Re: Array implementation for Lightweight Collections. Pure Java implementation only. (issue232801)

2010-03-25 Thread דניאל רייס
implementation could still manage to share state between created instances in some cases. Dan On Thu, Mar 25, 2010 at 1:58 PM, Bruce Johnson wrote: > On 3/25/10, Daniel Rice (דניאל רייס) wrote: > > I disagree with point (1). The APIs are not the same, just almost the > > same. I

Re: [gwt-contrib] Re: Array implementation for Lightweight Collections. Pure Java implementation only. (issue232801)

2010-03-25 Thread דניאל רייס
I disagree with point (1). The APIs are not the same, just almost the same. IMHO the builder should have a freeze method while the MutableArray should not. This makes it clear that freezing is a build-time process. It seems to me that this could be done with a little interface inheritance and

[gwt-contrib] Re: Update bikeshed/eclipse.README based on feedback from Dan

2010-03-17 Thread דניאל רייס
LGTM On Tue, Mar 16, 2010 at 9:54 PM, wrote: > Can you look again? I've made a few updates. > > > http://gwt-code-reviews.appspot.com/224801 > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add build.xml file with checkstyle target; pass checkstyle

2010-03-16 Thread דניאל רייס
I did, checkstyle runs out of memory on the old version! Dan On Tue, Mar 16, 2010 at 4:13 PM, wrote: > LGTM, presuming that you meant to include the symbols change in this > patch > > > http://gwt-code-reviews.appspot.com/218801 > -- http://groups.google.com/group/Google-Web-Toolkit-Contrib

[gwt-contrib] Re: Update bikeshed/eclipse.README based on feedback from Dan

2010-03-16 Thread דניאל רייס
What is 'com.google.gwt.*' in the file/dir list referring to? Dan On Tue, Mar 16, 2010 at 3:00 PM, wrote: > Reviewers: Dan Rice, > > Description: > Update bikeshed/eclipse.README based on feedback from Dan > Review by: r...@google.com > > Please review this at http://gwt-code-reviews.appspot.

[gwt-contrib] Re: HTMLTable.Cell.getElement() calls getCellFormatter().getElement() with row and column swapped

2010-01-26 Thread דניאל רייס
LGTM On Tue, Jan 26, 2010 at 12:26 PM, wrote: > Reviewers: Dan Rice, > > Description: > As the title says. > http://code.google.com/p/google-web-toolkit/issues/detail?id=3757 > > Fix: > I swapped the row and column. > > Testing: > I added a unit test to test this. > > Please review this at http:

[gwt-contrib] Re: Provide better error messages for incorrect -runStyle argument

2010-01-14 Thread דניאל רייס
Agreed, the worst case is that the error message will be less than fully helpful. On Thu, Jan 14, 2010 at 12:01 PM, wrote: > On 2010/01/14 16:02:34, Dan Rice wrote: > >> LGTM >> > > I'm trying to think if this will encounter a problem in the Turkish >> > locale but I > >> think it should be O

[gwt-contrib] Re: Use log(...) instead of log(..., null) for GWT and servlet logs (not TreeLogger)

2009-12-22 Thread דניאל רייס
No, I thought it would avoid a warning in Eclipse but Eclipse seems fine with it. Dan On Tue, Dec 22, 2009 at 11:55 AM, wrote: > LGTM > > > http://gwt-code-reviews.appspot.com/126816/diff/1/7 > File user/src/com/google/gwt/core/client/GWT.java (right): > > http://gwt-code-reviews.appspot.com/

[gwt-contrib] Re: Provide better exceptions for bad values in an RPC stream (not for 2.0)

2009-12-03 Thread דניאל רייס
No, what do I need to do for that? Dan On Thu, Dec 3, 2009 at 11:09 AM, wrote: > Did you test this case with the deRPC code base? > > http://gwt-code-reviews.appspot.com/118802 > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] [google-web-toolkit] r6973 committed - Adds additional icon sizes so Alt-Tab (etc) doesn't try and scale up t...

2009-11-18 Thread דניאל רייס
Window.setIconImages was introduced in Java 1.6. This doesn't compile on 1.5. Dan On Tue, Nov 17, 2009 at 5:52 PM, wrote: > Revision: 6973 > Author: j...@google.com > Date: Tue Nov 17 14:51:47 2009 > Log: Adds additional icon sizes so Alt-Tab (etc) doesn't try and scale up > the 16x16 > icon

[gwt-contrib] Re: Improve NumberFormat.format to avoid weird rounding issues

2009-11-17 Thread דניאל רייס
A quick and dirty test on Mac/Safari shows that the output of "Hello World! " + 3.1415926535E-20 + " " + 123456789 is not sensitive to the system locale setting. The numerical output uses a '.' and a lower-case 'e'. Dan On Tue, Nov 17, 2009 at 8:09 PM

[gwt-contrib] Re: Improve NumberFormat.format to avoid weird rounding issues

2009-11-17 Thread דניאל רייס
My thinking is that unless we provide an implementation of Double.toString, we are best off trying to be consistent with the implementation at hand. If we use Double.toString (i.e., just Javascript native double-to-string conversion) some of the time, and use arithmetic ops to extract fractional

Re: [gwt-contrib] adding new names to the blackout list

2009-11-17 Thread דניאל רייס
> // "future reserved words" > "abstract", "int", "short", "boolean", "interface", "static", "byte", > "long", "char", "final", "native", "synchronized", "float", "package", > "throws", "goto", "private", "transient", "implements", "protected", > "volatile", "double", "public", What a future it

[gwt-contrib] Re: Fix an ordering problem in SwingTreeLogger

2009-11-04 Thread דניאל רייס
LGTM On Wed, Nov 4, 2009 at 12:22 PM, wrote: > Reviewers: Ray Ryan, bruce, Dan Rice, > > Description: > SwingWorker uses a pool of threads to run background tasks, and we > weren't actually using the background portion of this. Having multiple > threads processing SwingWorker calls made orderin

[gwt-contrib] Re: Fix a daylight saving bug

2009-11-04 Thread דניאל רייס
What is an SSW? Dan On Wed, Nov 4, 2009 at 2:24 PM, wrote: > LGTM, just nits. > > > http://gwt-code-reviews.appspot.com/90802/diff/1004/2001 > File user/super/com/google/gwt/emul/java/util/Date.java (right): > > http://gwt-code-reviews.appspot.com/90802/diff/1004/2001#newcode110 > Line 110: *

[gwt-contrib] Re: Fix some checkstyle warnings

2009-11-03 Thread דניאל רייס
They show up as severity="info" which doesn't break the build. But at least the @param names seem worth fixing... Dan On Tue, Nov 3, 2009 at 3:21 PM, wrote: > Thanks. > > Why is ant checkstyle passing for me? > > > http://gwt-code-reviews.appspot.com/89816 > --~--~-~--~~

[gwt-contrib] Re: Fix a daylight saving bug

2009-10-30 Thread דניאל רייס
I'm not sure how to so this -- my testing involved manually setting the machine's time zone. Ultimately the bug is in the fact that the native Javascript Date functions deal with the missing hour differently that Java's Date class, and I don't know that I can coerce the Javascript functions into

[gwt-contrib] Re: Server side I18N

2009-10-20 Thread דניאל רייס
Is there something smaller than a full JDK-compatible String.format that would work? Dan On Tue, Oct 20, 2009 at 11:32 AM, John Tamplin wrote: > On Tue, Oct 20, 2009 at 11:21 AM, Ray Ryan wrote: > >> I'll bet a lot that the cross section of "40+ languages" and "nuanced >> pluralized translati

[gwt-contrib] Re: Move check for 32-bit VM from HostedModeBase to SwtHostedModeBase

2009-09-22 Thread דניאל רייס
O.K., I'll stick with the one-line version for non-Mac platforms. On Tue, Sep 22, 2009 at 3:39 PM, John Tamplin wrote: > On Tue, Sep 22, 2009 at 3:27 PM, Daniel Rice (דניאל רייס) > wrote: > >> You say "more generic" but your comment seems to be suggesting greate

[gwt-contrib] Re: Move check for 32-bit VM from HostedModeBase to SwtHostedModeBase

2009-09-22 Thread דניאל רייס
Hi John - You say "more generic" but your comment seems to be suggesting greater specificity ("use" versus ""). Do you have some language in mind? Dan On Tue, Sep 22, 2009 at 3:18 PM, wrote: > LGTM assuming you have tested it on all platforms, with minor nits. > > > http://gwt-code-reviews.a

[gwt-contrib] Re: Insert -d32 flag only when os == mac and vm is 64-bit

2009-09-21 Thread דניאל רייס
I think this turned out not to be necessary: 1) The script uses the gwt install path to decide whether to generate the mac stuff 2) Because the ant script now uses , it no longer differs between platforms; only the Eclipse files differ. Dan On Mon, Sep 21, 2009 at 5:45 PM, wrote: > > http://g

[gwt-contrib] Re: Fix issue 3815 - LinkedHashMap RPC serialization error in AppEngine

2009-08-03 Thread דניאל רייס
document how to deal with the interaction between custom field serialization and subclassing? Dan On Mon, Aug 3, 2009 at 2:43 PM, BobV wrote: > > On Mon, Aug 3, 2009 at 2:24 PM, Daniel Rice (דניאל רייס) > wrote: > > That could still theoretically fail if removeEldestEntry did s

[gwt-contrib] Re: Fix issue 3815 - LinkedHashMap RPC serialization error in AppEngine

2009-08-03 Thread דניאל רייס
That could still theoretically fail if removeEldestEntry did something weird that mutated the entries. But that seems pretty unlikely to be the case. Dan On Mon, Aug 3, 2009 at 2:17 PM, John Tamplin wrote: > On Mon, Aug 3, 2009 at 2:13 PM, Daniel Rice (דניאל רייס) > wrote: > >&

[gwt-contrib] Re: Fix issue 3815 - LinkedHashMap RPC serialization error in AppEngine

2009-08-03 Thread דניאל רייס
What sort of opt-in mechanisms do you have in mind? Dan On Mon, Aug 3, 2009 at 2:02 PM, wrote: > As much as I hate to say it, this approach isn't suitable for general > use. We should never mutate objects passed into the serialization > system, especially since the mutation isn't completely

[gwt-contrib] Re: GWTCanvas status?

2009-07-29 Thread דניאל רייס
Hi Ray - You can take a look at my work-in-progress at https://mondrian.corp.google.com/changelist/10864395. It's a retained-mode API that translates into SVG or VML depending on browser type. Retained-mode drawing uses a Graphics interface: public interface Graphics { ShapeElement circle(dou

[gwt-contrib] Re: Proposal for improving JDO/JPA RPC support

2009-07-27 Thread דניאל רייס
econd point, I agree with you that storing the extra-data on > the client is better to ensure that you are stateless architecture > compliant. You will probably get complains coming from people that have a > pretty complex object graph to serialize. > > Sami > > > > On Mon,

[gwt-contrib] Re: Proposal for improving JDO/JPA RPC support

2009-07-27 Thread דניאל רייס
ry and impl you have used) -> > https://www.hibernate.org/hib_docs/v3/api/org/hibernate/proxy/ProxyFactory.html. > Serializing those data in a String based representation could be potentially > harmful in term of bandwith and payload. Why not providing a way to store > this client

[gwt-contrib] Re: Proposal for improving JDO/JPA RPC support

2009-07-20 Thread דניאל רייס
nstance > > b) the client data is populated using setXXX() method invocations > rather > > than by directly setting field values > > Is this introducing a requirement that all serializable fields have > setters? Or will direct field access be used where a setter can

[gwt-contrib] Proposal for improving JDO/JPA RPC support

2009-07-20 Thread דניאל רייס
Hi all - I've been working on a patch to improve support for RPC of persistence-enhanced objects that would replace the one I recently submitted as trunk revision 5672. I'd like to give those of you who are interested in the interaction between RPC and persistence a chance to help me validate th

[gwt-contrib] Re: Fix issue 3756: getRel() and setRel() in AnchorElement access the wrong JavaScript property

2009-07-16 Thread דניאל רייס
I'll give it a shot. Dan On Thu, Jul 16, 2009 at 4:17 PM, Ray Ryan wrote: > Dan, can you add the test that would have caught that for you? > > > On Thu, Jul 16, 2009 at 10:47 AM, Daniel Rice (דניאל רייס) < > r...@google.com> wrote: > >> Sorry, fixed. >

[gwt-contrib] Re: Fix issue 3353: java.util.LinkedHashMap cannot deserialize because of broken custom serializer.

2009-07-16 Thread דניאל רייס
Please ignore this, I now see that there is not a problem with the existing code. Dan On Thu, Jul 16, 2009 at 2:20 PM, wrote: > Reviewers: robertvawter_google.com, > > > > Please review this at http://gwt-code-reviews.appspot.com/47819 > > Affected files: > > > user/src/com/google/gwt/user/c

[gwt-contrib] Re: Fix issue 3756: getRel() and setRel() in AnchorElement access the wrong JavaScript property

2009-07-16 Thread דניאל רייס
Sorry, fixed. Dan On Thu, Jul 16, 2009 at 1:35 PM, Joel Webber wrote: > Seems I'm blind; thanks Ian. Mind changing that, Dan? We really need tests > for this stuff sometime soon -- of course, other than syntax bugs like this, > it's damned near impossible to test this sort of thing, because so

[gwt-contrib] Re: Allow detached JDO objects to be transferred via RPC

2009-06-30 Thread דניאל רייס
Hi Bruno - I've uploaded a new patch that's more along these lines. Hopefully it will do what you are looking for. Thanks, Dan On Tue, Jun 30, 2009 at 4:15 AM, bruno wrote: > > Hi Bod and Dan, > > Very happy to see that this issue is on its way to be solved :) > Nevertheless, I think it wou

[gwt-contrib] Re: Allow detached JDO objects to be transferred via RPC

2009-06-26 Thread דניאל רייס
1) According to Bob, the extra field shouldn't cost anything unless it's used. 2) The code sets the 'modified' bits when the data is deserialized on the server, i.e., it marks all the fields as dirty so the object will be fully updated when the user calls makePersistent on it. I think this is suffi

[gwt-contrib] Re: Speed up compilation by rewriting for loops to avoid iterators

2009-06-05 Thread דניאל רייס
day and age still > impose such performance overhead. > > -Ray > > > On Fri, Jun 5, 2009 at 8:16 PM, Daniel Rice (דניאל רייס) > wrote: >>  It would not be easy to force all of these lists to have some >> particular concrete implementation ("FinalArrayList") alth

[gwt-contrib] Re: Speed up compilation by rewriting for loops to avoid iterators

2009-06-05 Thread דניאל רייס
In this case, the code is the GWT compiler itself, so it doesn't get translated ot JavaScript. Dan On Fri, Jun 5, 2009 at 10:15 AM, TazmanianD wrote: > > There is an additional benefit to this optimization that goes beyond > speeding up the compiler.  It should produce faster Javascript as > w

[gwt-contrib] Re: Speed up compilation by rewriting for loops to avoid iterators

2009-06-05 Thread דניאל רייס
It would not be easy to force all of these lists to have some particular concrete implementation ("FinalArrayList") although some could. I can repeat the analysis with a larger number of runs just to be sure, but the speedup was seen in the context of the actual compiler rather than a microbenc

[gwt-contrib] Re: Speed up compilation by rewriting for loops to avoid iterators

2009-06-04 Thread דניאל רייס
: ints) >  i.intValue(); > > What am I missing? Probably just some super naive testing on my part. :) > > On Thu, Jun 4, 2009 at 12:32 PM, Daniel Rice (דניאל רייס) > wrote: >> >>  The speedup was measured over 3 non-JProfiler runs, invoked within >> Eclipse.  It&#x

[gwt-contrib] Re: Speed up compilation by rewriting for loops to avoid iterators

2009-06-04 Thread דניאל רייס
The speedup was measured over 3 non-JProfiler runs, invoked within Eclipse. It's certainly possible that some of the difference is normal runtime fluctuation but each optimized run was faster than any of the non-optimized runs. Dan On Thu, Jun 4, 2009 at 3:28 PM, Scott Blum wrote: > On Thu,

[gwt-contrib] Re: Speedups for -soyc compilation

2009-06-01 Thread דניאל רייס
I have verified that the xml files for a single-permutation Showcase build are identical modulo whitespace to a set of "golden" xml files. I would be happy to run the dashboard on a larger compile -- how do I run it? I already submitted a CL, so I will make this changes in a follow-up CL. Da

[gwt-contrib] Re: Removal of JMethod & JParameter constructors

2009-06-01 Thread דניאל רייס
I think simply because they were unreferenced. I'll restore them. Dan On Mon, Jun 1, 2009 at 12:29 PM, Scott Blum wrote: > Dan, can you shed some light?  I think you removed them in r5410. > > On Sun, May 31, 2009 at 9:40 PM, Amir wrote: >> >> It looks like the following constructors were r

[gwt-contrib] Re: Speedups for -soyc compilation

2009-05-26 Thread דניאל רייס
I see around 2x for the story generation phase. It's hard to measure at the moment because I haven't been able to get a working "before" build so I am estimating based on some numbers jotted down earlier. Dan On Tue, May 26, 2009 at 2:27 PM, Bruce Johnson wrote: > Any numbers on the amount o

[gwt-contrib] Re: Problems with trunk @r5358

2009-05-14 Thread דניאל רייס
The point of removing the calls was correctness (for future subclasses), not performance. Dan On Thu, May 14, 2009 at 10:57 AM, John Tamplin wrote: > On Thu, May 14, 2009 at 10:31 AM, Lex Spoon wrote: > >> Any compile error about overriding a final method indicates that we >> need to call th