[gwt-contrib] Re: Relaxing constraints on GWT.create()

2009-03-13 Thread Ray Cromwell
One concern I have is order of operations, since the GWT.create() is implicitly hoisted from its callsite, and I could see some crazy thing where code in the method depends on the deferred binding not being initialized early. It's kinda like the clinit() hoisting problem. I say we just define

[gwt-contrib] Re: Relaxing constraints on GWT.create()

2009-03-13 Thread Matt Mastracci
If you wanted to be guaranteed order-of-operations safety, you could pass a factory into the method instead of the object itself and replace the GWT.create() calls with a create() method on the factory. AFAICT, this would have the same sequence of side-effects as GWT.create() would.

[gwt-contrib] Re: GWT trunk compile errors rev5009

2009-03-13 Thread John Tamplin
On Fri, Mar 13, 2009 at 3:53 AM, Vitali Lovich vlov...@gmail.com wrote: Don't feel like you need to do this workaround just because I said I was using OpenJDK - that's just the default install. I have no qualms about installing Sun's version (it's just an apt-get away and I'm not a GPL

[gwt-contrib] Re: GWT trunk compile errors rev5009

2009-03-13 Thread Vitali Lovich
Ahh - gotcha. Wouldn't this be a backwards compatability issue with the JDK? I thought Sun took those seriously (or is that only for the JVM itself)? Also as an aside, for some reason update-alternatives for javac was insufficient. I have a feeling that ant looks at the java that it was run

[gwt-contrib] Re: Getting oophm working

2009-03-13 Thread Vitali Lovich
I'm getting the plugins from the gwt-oophm branch. The current install.rdf says 3.0.*. I manually set it to 3.1.*. Installs fine now in 3.1. I just built the thing from trunk, applied the previous patch for HostedMode, and now have my gwt 1.6 project running successfully on 64-bit Ubuntu 8.10.

[gwt-contrib] Re: Getting oophm working

2009-03-13 Thread Vitali Lovich
Oh - one question I had is if there's a way to set the browser path? On Fri, Mar 13, 2009 at 7:22 AM, Vitali Lovich vlov...@gmail.com wrote: I'm getting the plugins from the gwt-oophm branch. The current install.rdf says 3.0.*. I manually set it to 3.1.*. Installs fine now in 3.1. I just

[gwt-contrib] Re: dynamic module loading

2009-03-13 Thread lkcl
On Mar 11, 8:42 pm, Joel Webber ѯ(ټ)ѥ j...@google.com wrote: Code splitting, as inhttp://code.google.com/p/google-web-toolkit/wiki/CodeSplitting The particular design we're pursuing (and by we, I mean Lex) is one that will take asynchronous split-points you define in your application code

[gwt-contrib] Re: dynamic module loading

2009-03-13 Thread lkcl
On Mar 11, 8:56 pm, Kelly Norton knor...@google.com wrote: I was typing up an email and then Joel's response arrived covering much of what I was typing, so I'll just add to his points: The first thing I was going to mention is that, as I understand it, pyjamas loads modules by injecting a

[gwt-contrib] Re: dynamic module loading

2009-03-13 Thread lkcl
I'm curious why it doesn't just add a callback to the module script to avoid the timer? because in the way i've done it, several modules can be injected simultaneously. ... so even if you had a callback, you'd still need to go into a timer loop to wait for the first-level dependencies

[gwt-contrib] Re: Increase breadth of data available in exported symbol maps

2009-03-13 Thread jat
LGTM http://gwt-code-reviews.appspot.com/11802/diff/1/3 File dev/core/src/com/google/gwt/core/ext/linker/SymbolData.java (right): http://gwt-code-reviews.appspot.com/11802/diff/1/3#newcode48 Line 48: } If the class names are the same, should it then use other data for a more complete ordering,

[gwt-contrib] Re: dynamic module loading

2009-03-13 Thread John Tamplin
On Fri, Mar 13, 2009 at 8:55 AM, lkcl luke.leigh...@googlemail.com wrote: I'm curious why it doesn't just add a callback to the module script to avoid the timer? because in the way i've done it, several modules can be injected simultaneously. ... so even if you had a callback,

[gwt-contrib] Re: dynamic module loading

2009-03-13 Thread John Tamplin
On Fri, Mar 13, 2009 at 8:36 AM, lkcl luke.leigh...@googlemail.com wrote: i have a post-processing compile step in which i just go ok, let's assume everything was globally imported and make sure that the first thing an app does is dynamically load aaabsolutely everything (in the right order

[gwt-contrib] Re: dynamic module loading

2009-03-13 Thread lkcl
On Mar 13, 2:32 pm, John Tamplin j...@google.com wrote: On Fri, Mar 13, 2009 at 8:55 AM, lkcl luke.leigh...@googlemail.com wrote: I'm curious why it doesn't just add a callback to the module script to avoid the timer? because in the way i've done it, several modules can be

[gwt-contrib] Re: dynamic module loading

2009-03-13 Thread John Tamplin
On Fri, Mar 13, 2009 at 11:26 AM, lkcl luke.leigh...@googlemail.com wrote: i'm trying to get my head round that idea, in combination with firing off several script-injections (using scriptnode.src = ./ Window.cache.js etc. not scriptnode.text = ...) ... and it's not working - the

[gwt-contrib] Re: dynamic module loading

2009-03-13 Thread lkcl
On Mar 13, 2:39 pm, John Tamplin j...@google.com wrote: On Fri, Mar 13, 2009 at 8:36 AM, lkcl luke.leigh...@googlemail.com wrote: i have a post-processing compile step in which i just go ok, let's assume everything was globally imported and make sure that the first thing an app does is

[gwt-contrib] Re: Getting oophm working

2009-03-13 Thread Vitali Lovich
That's not the problem. I'm running FF3.1 beta which is firefox-3.1 on the path (MOZ_NO_REMOTE doesn't apply since they are different profiles). I'm probably just going to make a symlink in $HOME/bin have that prepended to the environment path when launching OOPHM. On Fri, Mar 13, 2009 at

[gwt-contrib] [google-web-toolkit commit] r5011 - Add additional convenience methods.

2009-03-13 Thread codesite-noreply
Author: j...@google.com Date: Fri Mar 13 09:15:58 2009 New Revision: 5011 Modified: changes/jat/ihm/dev/core/src/com/google/gwt/dev/util/Name.java Log: Add additional convenience methods. Modified: changes/jat/ihm/dev/core/src/com/google/gwt/dev/util/Name.java

[gwt-contrib] [google-web-toolkit commit] r5010 - Expand the amount of data exported by the symbol maps.

2009-03-13 Thread codesite-noreply
Author: b...@google.com Date: Fri Mar 13 08:31:38 2009 New Revision: 5010 Added: trunk/dev/core/src/com/google/gwt/core/ext/linker/SymbolData.java (contents, props changed) trunk/dev/core/src/com/google/gwt/core/ext/linker/impl/StandardSymbolData.java (contents, props changed)

[gwt-contrib] Re: Increase breadth of data available in exported symbol maps

2009-03-13 Thread BobV
On Fri, Mar 13, 2009 at 10:29 AM, j...@google.com wrote: LGTM Thanks or the review. Committed at r5010 If the class names are the same, should it then use other data for a more complete ordering, and therefore deterministc output? For the purposes of that comparator, the two class entries

[gwt-contrib] [google-web-toolkit commit] r5014 - Fixes the unfortunate situation with MouseEvent coordinates.

2009-03-13 Thread codesite-noreply
Author: j...@google.com Date: Fri Mar 13 11:42:58 2009 New Revision: 5014 Added: releases/1.6/user/src/com/google/gwt/dom/client/EventTarget.java Modified: releases/1.6/user/src/com/google/gwt/dom/client/DOMImpl.java releases/1.6/user/src/com/google/gwt/dom/client/DOMImplIE6.java

[gwt-contrib] [google-web-toolkit commit] r5013 - Cleanup Name, add tests.

2009-03-13 Thread codesite-noreply
Author: j...@google.com Date: Fri Mar 13 11:37:14 2009 New Revision: 5013 Added: changes/jat/ihm/user/test/com/google/gwt/dev/util/ changes/jat/ihm/user/test/com/google/gwt/dev/util/NameTest.java (contents, props changed) Modified: