Re: JSNI and resizeTo(height,width)
So, to summarize what I discovered is that, again, it is my fault and not GWT's (sorry GWT team). The resizeTo method relates to a single tab opened window and it refers to the whole window size and not only the content size. These two points failed me. That's it, hope someone will benefit from this Ittai On Oct 12, 10:58 pm, Ittai etai...@gmail.com wrote: Interesting, I did compile again and now I get the alerts on my IE also, which does explain one voodoo behaviour, but now I still don't understand why the line: $wnd.resizeTo(width, height); doesn't get executed in the function when the very similar line: window.resizeTo(width, height); does work in actual native javascript. Has anyone actually tried using this before in GWT? Because I saw a lot of posts and article refer to it but I don't understand what's different about this. Maybe someone from the gwt team can shed some light? Ittai On Oct 12, 10:50 pm, Ittai etai...@gmail.com wrote: Hi Chris, First of all thanks for your feedback. I think I did try that but I'm not sure as I've tried several things and it's been a few long hours but still what you're saying is new to me. If I target from an external browser while in hosted mode then that browser will see other compiled code then the hosted mode browser? I thought that there was no difference between the browsers in that since Ittai On Oct 12, 10:29 pm, Chris Ramsdale cramsd...@google.com wrote: You may want to trying recompiling your application with the GWT compiler. Keep in mind that making changes and running in hosted mode won't automatically update the deployable code (that you target from an external, non hosted mode browser) which is generated when you do a full GWT compile. - Chris On Mon, Oct 12, 2009 at 3:22 PM, Ittai etai...@gmail.com wrote: Hi, I have a web-app which requires resizing the browser window when certain actions occur. I have a JSNI function which goes like this: public static native void resizeWindowTo(final int height,final int width) /*-{ $wnd.alert(width); $wnd.alert(height); $wnd.resizeTo(width, height); }-*/; Now, I know that the function is executed as the alert do pop up (only in hosted mode browser) but no resizing happens. From a lot of reading I understand that the hosted mode browser does not support window.resizeTo but what did surprise me was when I started my app in hosted mode and then entered the page from my IE (like I do many times) no resizing happened and no alerts splashed on the screen. I tested my IE (v.8) with a simple html file which had a JS function utilizing the resizeTo function and of course it worked perfectly fine. So now I'm not sure what can be done? On the one hand I get indication from the hosted mode browser that the JSNI function is being called but on the other hand the IE browser (which is the one I need to have working) does not give any signs. Does anyone have a clue? Please? Ittai --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT and used API
Hello rjcarr, Thanks for your reply. Well I was hoping not digging in sources actually :o) But that's where i've ended up anyway. I'll post the list soon. On Oct 12, 10:40 pm, rjcarr rjc...@gmail.com wrote: The project is open source so you can dig through and find exactly what APIs and libraries are used. Just search around on the main GWT site and you'll find out how to access the source code. On Oct 9, 2:19 am, Bolletta Mathieu mathieu.bolle...@gmail.com wrote: Hello, Does anybody know if GWT uses some specific Java API? For the Servlet API it's pretty obvious, but what about JAX-RPC, JAXP? Does anyone has the full list of all Java API used? Thanks for your answers!- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
How to add click handler to a panel?
Hi all, I want to listen to the click event for a panel, how can I catch this event? The Panel class doesn't have such methods like addClickHandler(). I don't want to use the sinkEvents() because in my case I just use this field panel as a button. Best Regards, Jie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
panel in tabpanel cannot be set to invisible
Hi, I'm adding panels to a tabpanel and I see some strange behavior. The code is something like this: TabPanel tabPanel= new TabPanel(); UIObject tabUI1 = createPanel(); UIObject tabUI2 = createPanel2(); tabPanel.add((Widget)tabUI1, title); tabUI2.setVisible(false); tabPanel.add((Widget)tabUI2, title2); The second tab is still shown and fully active, while I made it invisible. BTW, imagine that tabUI2 can later on be activated and become visible again! Can anyone help ? Seems like this issue was posted before, but no one really gave an answer. Is this a flaw in the tabpanel ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Is it possible to reuse the script generated by one module with other
Hi rjcarr, Thx for the reply that helped solving my code issues. --bala On Tue, Oct 13, 2009 at 11:00 AM, rjcarr rjc...@gmail.com wrote: Hi Bala- I understand about 85% of what you wrote, but there are a few things I don't understand. Here's what I know: * You can use as many modules as you want, but one module mush have an Entry Point, and you can only use one per application. * Say you have two applications with two entry points that share common modules, as far as I know there is no way to do one compile over the shared modules and share the result. I haven't looked into this recently, and I know the compiler has changed a bit since I last looked, so it might be possible now. Sorry if I completely misunderstood your question. On Oct 10, 2:05 am, balachandra maddina chandu2...@gmail.com wrote: Hi There, Im wondering if i could share a common classes with two different modules and when these two modules are loaded into browser after getting converted as script they use only one set of the common script rather than carrying then independently with each other. i.e. when each module is generated the common script is embedded along with each of the module while compiling the code into javascript so when i load these two modules in the browser in a single application the common classes(script) will load twice and increase the payload that i have to transfer from server when each module is loaded. is there a solution for the above case? your help is appreciated. Thank you, bala. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: OOPHM and Mac OSX
Hi, in the meantime I tried the milestone one, but I have the same issue. The Swing window opens but is frozen. The cursor is the funny coloured sprinning wait ball. In the console I get: 2009-10-13 12:18:41.881 java[11686:903] [Java CocoaComponent compatibility mode]: Enabled 2009-10-13 12:18:41.883 java[11686:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.10 2009-10-13 12:18:43.106 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001a17c0 '(null)') unlocked when not locked 2009-10-13 12:18:43.108 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.226 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dba4b70 '(null)') unlocked when not locked 2009-10-13 12:18:43.227 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.328 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db23ec0 '(null)') unlocked when not locked 2009-10-13 12:18:43.328 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.436 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x100141b60 '(null)') unlocked when not locked 2009-10-13 12:18:43.441 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.548 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db04120 '(null)') unlocked when not locked 2009-10-13 12:18:43.548 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.751 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x100133ce0 '(null)') unlocked when not locked 2009-10-13 12:18:43.752 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.882 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001aa470 '(null)') unlocked when not locked 2009-10-13 12:18:43.883 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.995 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001aae70 '(null)') unlocked when not locked 2009-10-13 12:18:43.995 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.154 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dbac5c0 '(null)') unlocked when not locked 2009-10-13 12:18:44.155 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.306 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db9ebc0 '(null)') unlocked when not locked 2009-10-13 12:18:44.307 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.419 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dbace60 '(null)') unlocked when not locked 2009-10-13 12:18:44.425 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.534 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001ab8a0 '(null)') unlocked when not locked 2009-10-13 12:18:44.534 java[11686:db03] *** Break on _NSLockError() to debug. Using a browser with the GWT Development Plugin, please browse to the following URL: http://localhost:8080/MyApp.html?gwt.hosted=192.168.15.206:9997 2009-10-13 12:18:44.985 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001ad120 '(null)') unlocked when not locked 2009-10-13 12:18:44.986 java[11686:db03] *** Break on _NSLockError() to debug. Any help? Anyone got this working from a Mac? brgds, Papick On 21 Sep., 17:48, Jason Parekh jasonpar...@gmail.com wrote: Hi Papick, Where does it exactly break when you start from Eclipse? Do you have any logs? (One place to check is WORKSPACE/.metadata/.log) thanks jason On Mon, Sep 21, 2009 at 8:02 AM, P.G.Taboada pgtabo...@googlemail.comwrote: Hi, it's working on my Mac Snow Leopard as long as I don't start the shell from Eclipse. I have seen some posts about doing this and that but it looks like they are all out of date. Any help/ tips here for the current trunk? brgds, Papick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Announcing GWT 2.0 Milestone 1
Barring any last minute issues, we should have version 1.1.2 of the plugin ready to go by end of day today. It will be compatible with MS1 and it will also address this -XstartOnFirstThread issue which causes the beach ball. Please see issue http://code.google.com/p/google-web-toolkit/issues/detail?id=3923 for more details. In the meantime, you could create a java launch configuration in Eclipse and specify the entry point, GWT arguments and tweak the classpath. The following links should help get you setup: http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html, http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM. HTH, On Tue, Oct 13, 2009 at 12:02 AM, miller millermich...@gmail.com wrote: I am using Snow Leopard w/ Eclipse Plugin. When I run in Development mode, my development mode window is under constant beach ball. How do you work around this issue? are there directions anywhere? thanks- Mike On Oct 9, 5:36 pm, Ben benzhe...@gmail.com wrote: Hey, Guys, Thanks for the reply. I just found out that it is an open bug for OOPHM on Mac OS X. If you are curious, the bug is here: http://code.google.com/p/google-web-toolkit/issues/detail?id=3923. cheers Ben On Oct 9, 2:01 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: I did the same trick as Sky to get my project to work. But I still have to problems. First : When I lauch it in development mode, I can't close the development mode hosted window without closing eclipse, that's anoying because I can't switch to debug mode... So now, I just run it in debug without brake point to make sure I'm able to stop it and close the development mode hosted window. Second : I have the new project html files instead of the one I'm using with my project ! That's really weird, because on top of my application I have everything from the new project html file, but my JS files, css files ar linked correctly ! LOL Christian On Fri, Oct 9, 2009 at 1:36 PM, Ben benzhe...@gmail.com wrote: Sky, thanks for you reply. I am using Eclipse 3.5.0 (I am not sure updating to 3.5.1 matters) and my google eclipse plugin is uptodate.It still throws that exception if I just use default google plugin launch configuration. On Oct 8, 5:39 pm, Sky myonceinalifet...@gmail.com wrote: Ben, with 2.0 my projects launch the development shell when using the Google plugin launch options. It launched for me even when I just changed a project from 1.7.1 to 2.0, but you could try creating a whole new project with 2.0 from the start and copy the files over from the old project. Make sure the google plugin and the appengine is fully up to date. What version of Ecipse are you using? Try downloading the new 3.5.1 version. Sorry I can't help any more than that. gl On Oct 8, 3:50 pm, Ben benzhe...@gmail.com wrote: I have noticed that if you use Google Plugin to launch your project with 2.0 jar. The development shell does not launch at all. You have to launch it as a Java Application and set up some parameters by yourself, then you are able to see that GWT Develop Mode popup shell window. Is my observation correct? On Oct 8, 1:33 pm, Sky myonceinalifet...@gmail.com wrote: I got debugging to work! I created a new GWT web app with the Eclipse google plugin using GWT 2.0MS1 as the SDK. This is what most likely solved my problem. Simply changing a project from GWT 1.7.1 to 2.0 must not be making all the necessary changes to the auto generated files to be properly compatible. Obviously this sort of thing will be ironed out for release. Then I needed to first launch (not a debug launch) the newly created GWT web app (with the default app still intact). I tried this with a browser that did not have the plugin installed (FF3.5) and when navigating to the URL it auto directed me to the plugin install web page and after installing the plugin the web app was rendered correctly. Note that at this point I have not compiled the app so the plugin is indeed doing its job! The java code is what is interacting synchronously with the browser instead of the compiled JS! Note that I had first attempted to launch the app in debug mode which gave me 3 errors related to the Appengine (com.google.apphosting.utils.jetty... yet eclipse could not resolve com.google.apphosting.utils.jetty) but those errors went away as soon as I did a non debug launch. In other words, the app was able to do a debug launch only after doing a regular launch. With the debug launch successful I was able to hit a breakpoint in the onModuleLoad method of this default web app! I then copied all the required files from my
Re: OOPHM and Mac OSX
I think that this is issue 3923http://code.google.com/p/google-web-toolkit/issues/detail?id=3923. We should have a plugin update by end of day today. On Tue, Oct 13, 2009 at 6:32 AM, P.G.Taboada pgtabo...@googlemail.comwrote: Hi, in the meantime I tried the milestone one, but I have the same issue. The Swing window opens but is frozen. The cursor is the funny coloured sprinning wait ball. In the console I get: 2009-10-13 12:18:41.881 java[11686:903] [Java CocoaComponent compatibility mode]: Enabled 2009-10-13 12:18:41.883 java[11686:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.10 2009-10-13 12:18:43.106 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001a17c0 '(null)') unlocked when not locked 2009-10-13 12:18:43.108 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.226 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dba4b70 '(null)') unlocked when not locked 2009-10-13 12:18:43.227 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.328 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db23ec0 '(null)') unlocked when not locked 2009-10-13 12:18:43.328 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.436 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x100141b60 '(null)') unlocked when not locked 2009-10-13 12:18:43.441 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.548 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db04120 '(null)') unlocked when not locked 2009-10-13 12:18:43.548 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.751 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x100133ce0 '(null)') unlocked when not locked 2009-10-13 12:18:43.752 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.882 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001aa470 '(null)') unlocked when not locked 2009-10-13 12:18:43.883 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.995 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001aae70 '(null)') unlocked when not locked 2009-10-13 12:18:43.995 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.154 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dbac5c0 '(null)') unlocked when not locked 2009-10-13 12:18:44.155 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.306 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db9ebc0 '(null)') unlocked when not locked 2009-10-13 12:18:44.307 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.419 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dbace60 '(null)') unlocked when not locked 2009-10-13 12:18:44.425 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.534 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001ab8a0 '(null)') unlocked when not locked 2009-10-13 12:18:44.534 java[11686:db03] *** Break on _NSLockError() to debug. Using a browser with the GWT Development Plugin, please browse to the following URL: http://localhost:8080/MyApp.html?gwt.hosted=192.168.15.206:9997 2009-10-13 12:18:44.985 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001ad120 '(null)') unlocked when not locked 2009-10-13 12:18:44.986 java[11686:db03] *** Break on _NSLockError() to debug. Any help? Anyone got this working from a Mac? brgds, Papick On 21 Sep., 17:48, Jason Parekh jasonpar...@gmail.com wrote: Hi Papick, Where does it exactly break when you start from Eclipse? Do you have any logs? (One place to check is WORKSPACE/.metadata/.log) thanks jason On Mon, Sep 21, 2009 at 8:02 AM, P.G.Taboada pgtabo...@googlemail.com wrote: Hi, it's working on my Mac Snow Leopard as long as I don't start the shell from Eclipse. I have seen some posts about doing this and that but it looks like they are all out of date. Any help/ tips here for the current trunk? brgds, Papick -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: OOPHM and Mac OSX
That sounds really good. Thx. On 13 Okt., 12:44, Miguel Méndez mmen...@google.com wrote: I think that this is issue 3923http://code.google.com/p/google-web-toolkit/issues/detail?id=3923. We should have a plugin update by end of day today. On Tue, Oct 13, 2009 at 6:32 AM, P.G.Taboada pgtabo...@googlemail.comwrote: Hi, in the meantime I tried the milestone one, but I have the same issue. The Swing window opens but is frozen. The cursor is the funny coloured sprinning wait ball. In the console I get: 2009-10-13 12:18:41.881 java[11686:903] [Java CocoaComponent compatibility mode]: Enabled 2009-10-13 12:18:41.883 java[11686:903] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.10 2009-10-13 12:18:43.106 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001a17c0 '(null)') unlocked when not locked 2009-10-13 12:18:43.108 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.226 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dba4b70 '(null)') unlocked when not locked 2009-10-13 12:18:43.227 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.328 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db23ec0 '(null)') unlocked when not locked 2009-10-13 12:18:43.328 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.436 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x100141b60 '(null)') unlocked when not locked 2009-10-13 12:18:43.441 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.548 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db04120 '(null)') unlocked when not locked 2009-10-13 12:18:43.548 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.751 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x100133ce0 '(null)') unlocked when not locked 2009-10-13 12:18:43.752 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.882 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001aa470 '(null)') unlocked when not locked 2009-10-13 12:18:43.883 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:43.995 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001aae70 '(null)') unlocked when not locked 2009-10-13 12:18:43.995 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.154 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dbac5c0 '(null)') unlocked when not locked 2009-10-13 12:18:44.155 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.306 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12db9ebc0 '(null)') unlocked when not locked 2009-10-13 12:18:44.307 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.419 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x12dbace60 '(null)') unlocked when not locked 2009-10-13 12:18:44.425 java[11686:db03] *** Break on _NSLockError() to debug. 2009-10-13 12:18:44.534 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001ab8a0 '(null)') unlocked when not locked 2009-10-13 12:18:44.534 java[11686:db03] *** Break on _NSLockError() to debug. Using a browser with the GWT Development Plugin, please browse to the following URL: http://localhost:8080/MyApp.html?gwt.hosted=192.168.15.206:9997 2009-10-13 12:18:44.985 java[11686:db03] *** -[NSConditionLock unlock]: lock (NSConditionLock: 0x1001ad120 '(null)') unlocked when not locked 2009-10-13 12:18:44.986 java[11686:db03] *** Break on _NSLockError() to debug. Any help? Anyone got this working from a Mac? brgds, Papick On 21 Sep., 17:48, Jason Parekh jasonpar...@gmail.com wrote: Hi Papick, Where does it exactly break when you start from Eclipse? Do you have any logs? (One place to check is WORKSPACE/.metadata/.log) thanks jason On Mon, Sep 21, 2009 at 8:02 AM, P.G.Taboada pgtabo...@googlemail.com wrote: Hi, it's working on my Mac Snow Leopard as long as I don't start the shell from Eclipse. I have seen some posts about doing this and that but it looks like they are all out of date. Any help/ tips here for the current trunk? brgds, Papick -- Miguel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
Warning when run with GWT 2 ms1 and gwt-presenter
Hi I'm using GWT 2.0 milestone 1 and gwt-presenter. I observed the following warning when run in development mode: 00:00:45.407 [WARN] Warnings in 'transient source for net.customware.gwt.dispatch.client.service.DispatchService_TypeSerializer' 00:00:45.407 [WARN] Line 20: Referencing deprecated class 'com.google.gwt.user.client.rpc.SerializableException' 00:00:45.423 [INFO] See snapshot: ...\Temp\net.customware.gwt.dispatch.client.service.DispatchService_TypeSerializer7560914274574951570.java Am I correct to assume that these warnings are caused by gwt-presenter, and nothing to do in my application? -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
MVP: One page with many views and presenters?
Hi Until recently, I realised that I'm wrong to assume that one page is corresponding to one view and presenter. Instead, a page can contains several views and presenters right? -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Image/Absolute panel...how to make the clickhandlers fire on the abs, ignoreing the image?
Ok, for anyone still looking at this thread, I found the solution. Its quite simple; Image.addMouseDownHandler(new MouseDownHandler(){ public void onMouseDown(MouseDownEvent event) { event.preventDefault(); } }); This will stop Firefox trying to drag the image itself, thus letting the application act like googlemaps, and scroll correctly on its own. Thanks everyone :) On Oct 11, 9:43 am, ThomasWrobel darkfl...@gmail.com wrote: Ok, one last thing, I -think- I found the solution, but someone will have to help me in how to adapt it for gwt; http://develobert.blogspot.com/2008/10/disable-firefox-image-drag.html On Oct 10, 1:20 pm, ThomasWrobel darkfl...@gmail.com wrote: oh, and I made a more simple sample file here; http://www.lostagain.nl/Panelstreamer%20Demo/panelstreamer.html#File=... This just has 1 layer, and 2 objects on it...making it a bit easier to test in firebug. Note if you delete the element helper, you will then get stuck on the other image object. So it seems any image object is draggable by firefox. On Oct 8, 10:10 am, ThomasWrobel darkfl...@gmail.com wrote: Yes, the sample might be a bit too complex to pin down. Currently the one online consists of; 1xAbsolute panel tied to the ID (InfiniteCanvas) on the html page. This absolute panel I have made extend FocusPanel and implemented to have MouseListener and MouseWheelListener and gave it the code to handel the dragging. This absolute panel also can contain multiple other absolute panels (1 for each layer of the file) Each of those panels contain various contents, but normal image files with pngs loaded. (other possibilities include frames of text,html or canvas objects). So thats DraggableAbsolutePanel Absolute Panel (s) Image widgets. The background of space is just set as a texture on the first layers element (background-image:url(images/BACKGROUND.jpg);). The square in the middle is just the center of the html's table, which contains the draggable abs panel. The rest of the widgets in the tables over cell's are just text, buttons, and a custom dropdown box. None overlay the center, so I suspect the surrounding elements arnt effecting it. The event handlers as specified above are just on the center draggable absolute panel, I havnt specified anything else myself. I'm using onMouse Up/Leave/Enter/Down and MouseWheel. My overall goal is just to have a google-mappish interface to a collection of abstractly arranged (and sized) widgets. Those widgets and layers being arranged by a standard format XML-like file. In this example I'm showing it of as a type of comic. The specific idea is described in Scott McClouds Reinventing Comics, although I think it will be useful beyond just comics. The interface currently seems to work nicely in Opera and even (tolerably) well in IE. Chrome doesn't seem to load anything at the moment, but I think thats a separate issue. I suspect what Thomas Broyer suggested might still be the problem, as looking in FF when the image is dragged (rather then the background), you can actually see the image being dragged completely outside the frame. Like you'd see from dragging any image in FF. This clearly isnt from my code. I have set draggable to false (see above) but FF seems to be ignoring this. (or it wasnt the right setting to use). Thanks. -Thomas Wrobel On Oct 8, 12:41 am, Chris Ramsdale cramsd...@google.com wrote: Thomas W, While I am able to reproduce the stuck behavior that you describe above, I would like to put together a smaller code sample to further pinpoint what is going on under the hood. From a high level it appears that at the heart of the issue is a FocusPanel that contains one or more AbsolutePanels. That said, I have a couple of more specific questions: 1. In regards to the last link that you posted (http://www.lostagain.nl//PanelstreamerDemo/panelstreamer.html), could you be more clear on which widgets make up the UI? 2. What are you using to wrap the background/space image? 3. Is the square in the middle of the page the a FocusPanel or some other widget? 4. What CSS or event handlers do you have hooked up to these widgets? Also, what overall goal are you trying to achieve? Maybe there is a different way to approach the problem. Thanks, Chris On Tue, Oct 6, 2009 at 3:00 PM, ThomasWrobel darkfl...@gmail.com wrote: Scratch that, I tried using -moz-user-select:none; and it stops being selected in Firefox (looks neater), but it still gets stuck to the mouse I just think that mouse up isnt being fired on the underlaying abs panel when the user releases the mouse after a drag. On Oct 6, 8:51 pm, ThomasWrobel darkfl...@gmail.com wrote: Good idea but no
Re: Google Webmasters: A proposal for making AJAX crawlable
I'm not sure what to make of this, seeing as I was half way into making my site work without javascript for web crawlers. On Oct 8, 12:27 pm, Thomas Broyer t.bro...@gmail.com wrote: On 7 oct, 21:11, Peter Ondruska peter.ondru...@gmail.com wrote: This is interesting as this topic has been discussed many times in the past: http://googlewebmastercentral.blogspot.com/2009/10/proposal-for-makin... ...and work is underway to make it work out-of-the-box in GWT:http://code.google.com/p/google-web-toolkit/source/browse/branches/cr... You'd have to use the IndexableHyperlink widget instead of Hyperlink to have the ! prepended automatically for you (opt-in for crawlability on a link-by-link basis); a servlet is included to handle requests from crawlers with the added _escaped_fragment_=query-string parameter. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
need some help
Hi, I'm a newbie and I'm looking for an orientation on what I'm trying to do: When I push a button on my toolbar, I want to hang an icon on the cursor when I move the mouse the work area of my page. It is similar to the behaviour of a tool like mspaint. So I think that when the button is clicked, I have to send my own event to the work area, in order to hang an icon on the cursor when I move the mouse to the work area. So my cuestions are: Is it possible to create my own event and send it to the work area? And also, is it possible to hang an icon on the cursor so both icon and pointer remains visible? If there is any example on that or someone can help me I would be very grateful Thanks and regards, Jorge --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
DateBox giving time 1hr previous to server between Oct 25-Nov 1st
So I wanted to post this so that others won't deal with the same issue I came across. Basically, clients were putting dates/times into a datebox, saving it, and when it got to the database, it was 1 hr less than it should have been, but only between Oct 25 and Nov 1st Our servers run linux which gives the time information to Java at /etc/ localtime. If you ask java what the time is, it will know what timezone it is by looking there. However, when Java processes times coming in (specifically the way GWT passes Dates between client and server) it looks for a symlink there to find the file with the accurate timezone. Now this is a known bug in Java, but if it can't find that symlink (most linux systems just copy the file there instead of having a symlink) it finds the first timezone file it can and uses that. In our case, it was CET (central european time) which ends its daylight savings time on Oct 25, while we here on the East Coast end it on Nov. 1st. http://davidwinterbourne.com/?p=37 That is the link that was literally a gift from God. Hope this helps someone else. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
GWT 2.0: development mode without gwt.hosted in URL
Hi, I'm developing a GWT 1.7 app that must be able to work in any website. I tried to switch to 2.0 milestone 1, but the new dev mode requires gwt.hosted in the URL. This is an issue for me since every time I change page in the test site, I loose the gwt.hosted parameter. Is there really no other way to pass that parameter to the browser plugin? I know that it is not a problem for most GWT apps that just need a URL to load a page that will host the GWT module, but some other apps might be affected by this change. In the meanwhile, I'm sticking with 1.7, although the new dev mode definitely rocks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
How to launch a website with my GWT application?
Hi all, I am new to the world of Java. I learnt GWT and have created my own GWT application. I now want to create a website and give access to other people to access my application. I am familiar with Tomcat and all that stuff but I dont know how to create a website and call my application from there. Can someone provide any useful link which gives out the method to do this or any set of standard steps to be followed to launch my website and make it accessible to everyone. Thanks and Regards, Prakash --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: panel in tabpanel cannot be set to invisible
You are just making the content of the deckpanel invisible, not the tab. Ian http://examples.roughian.com 2009/10/13 Rockster rjan...@gmail.com Hi, I'm adding panels to a tabpanel and I see some strange behavior. The code is something like this: TabPanel tabPanel= new TabPanel(); UIObject tabUI1 = createPanel(); UIObject tabUI2 = createPanel2(); tabPanel.add((Widget)tabUI1, title); tabUI2.setVisible(false); tabPanel.add((Widget)tabUI2, title2); The second tab is still shown and fully active, while I made it invisible. BTW, imagine that tabUI2 can later on be activated and become visible again! Can anyone help ? Seems like this issue was posted before, but no one really gave an answer. Is this a flaw in the tabpanel ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: A CMS made with GWT?
Thanks Andy for reporting back. I'll check the issue. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Avoiding RPC Coming in to an inactive client from the server.
rjcarr, Hey! I was looking for some magic GWT answer, not good old programming logic. Thanks very much, Danny On Oct 13, 1:43 am, rjcarr rjc...@gmail.com wrote: Just keep a count of your service calls. So, when your expiry timer rings, make sure you don't send out any more requests, and keep your client alive until it has received its last response (bringing your count to 0). On Oct 8, 11:13 am, Danny dhho...@gmail.com wrote: My application has a timeout on the client side that often causes the client to go away while there is a pendingRPCreturn from the server. Nothing comes crashing down, but Tomcat fills its log with: org.apache.catalina.core.ApplicationContext log SEVERE: Exception while dispatching incomingRPCcall java.io.IOException... followed by a stack printout. Does anyone know how to relieve Tomcat of this burden and my having to dump its log file more frequently that I would like? Thanks, Danny --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: UiBinder i18n Example
I am also stuck on this one for some time. ui:msg is fine, and I am able to see the property files that get generated based on those; but I am yet to figure out how I can supply property files for other languages. --Sri P.S. And I agree, UiBinder *is the* greatest thing that has happened to GWT. 2009/10/13 Japi elj...@gmail.com I finally gave up... I know how to use Messages, and i figured out how to use the UiBinder (which is IMHO the greatest thing that could happend to GWT), But UiBinderi18n just won't get trhough this thick skull of mine. I've searched forums, and mailist and browsed through the source code samples and I just cannot link Message objects to all those ui:msg tags. How do you link a Binder to a properties file? how is it that the parser figures out which property to use for each ui:msg tag? Is there anyone wise enough to point the way with a simple example / use case ??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Link to other site
Yes, you are thinking right! That means, there is always only one single page! And the content there changes dynamically through the inner live Ok, that helps, i was not sure if this is the right thinking by me! brgd manfred On 13 Okt., 07:25, rjcarr rjc...@gmail.com wrote: Hi Manfred- Your question isn't completely clear to me. I think you're asking how to link from one GWT page to another GWT page. The problem with this is you can't really think of GWT as a collection of web pages but more of a web application. Typically, your GWT app will have a single page that is manipulated dynamically. You probably want to review the tutorials for more info. If I totally misunderstood your question and you just want to link to another page, you could use the Anchor widget. On Oct 12, 12:41 am, Manfred manfred.fettin...@gmail.com wrote: Hi! I am new in GWT and have following question: Until now i have only played around with only one Class and one HTML- Site. My question is, how do i implement a link to another HTML Site, which has its own class behind? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How To Unlock Locked iPod
AFAIK, GWT can't do that Forum wrote: How To Unlock Locked iPod http://bit.ly/hddpp http://bit.ly/hddpp How To Unlock Locked iPod --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Triggering an event upon completion of onModuleLoad
Have you looked at how history is handled in gwt? It seems like a more appropriate solution to this kind of issue. On Oct 12, 3:33 pm, Suri sviswanad...@gmail.com wrote: Hi all, I have a question for GWT 1.6. I'm currently building a bookmarkable page. To take an example of a search module, 1) We can go to a search index page and search by providing some criteria. Then we can bookmark the results as a link. 2) Upon loading the bookmarked link, the results would now be automatically rendered, bypassing the index page. In my current design with GWT both the index page and search results page are the same page. Currently when a user heads to the index page, the page loads completely and user would enter search criteria after which search results are rendered. However, when the bookmarked link is used, I'm detecting the query params and automatically calling the search function. The problem here is that it seems like the results return faster than the page loads, causing the page to be distorted. Is there a way to maybe instead, trigger an event upon completion of the onModuleLoad() (i.e completing the rendering of the original page) or some sort of detection mechanism which then moves to check the query params and render the results so that the initial page has been laid out before the results are called. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to add different css for each tab in the TabPanel
On Oct 11, 11:13 pm, Kamal Chandana Mettananda lka...@gmail.com wrote: You do not need to hard code the values here, instead use CSS rules. You should use setStyleName() method. http://lkamal.blogspot.com/2007/08/add-css-style-for-gwt-widgets.html Normally, I'd agree, but if the tabs are created when the user acts, CSS will not be sufficient. I'd grant that few users will create more than 16 tabs at once, but that's certainly possible, and many testers would enjoy breaking a GWT application that way. If you want to guarantee different tab colors, and you will not restrict the number of tabs, then you cannot restrict yourself to a fixed palette of CSS style names. I'm thinking of a popular Firefox plugin, 'Colorful Tabs'. Of course, those tabs are at a higher level than the ones discussed here. Respectfully, Eric Jablow --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: OOPHM GWT 2.0 Milestone 1 on Mac
Yes, the windows is frozen and I'm running on Mac Os X 10.6.1 My sources are always higher than anything else, the only thing I moved was the SDK sources, that was beneath everything. I moved that up right after my project's sources. My new Eclipse is simply a new instance of Eclipse. When I created a new project with GWT 2.0, it worked fine (Minus de development mode window that was still bugued). So, after that, I ran the other instance of my eclipse that have my projects that I'm working on and odly now every time I run my application, I get the html file of the project I ran on the new instance of eclipse ! That's really weird because my app is running below the html of that html file ! Hope I'm more clear :) Christian On Mon, Oct 12, 2009 at 6:24 PM, Rajeev Dayal rda...@google.com wrote: Hi, On Thu, Oct 8, 2009 at 11:03 AM, Christian Goudreau goudreau.christ...@gmail.com wrote: Here's some update : I installed another instance of eclipse, installed the GWT plugin and then added GWT 2.0. I create a new project, runned it and everything worked fine exept that the development mode window is bugued and I can't close it without closing Eclipse... Debug is working fine tought and when I stop it, the development mode window is closing properly. Is the Window frozen? What platform are you running on? So I inspected the build order, I came back to my old eclipse with my project that didn't want to work, I put GWT sources on top of everything but the project sources. I runned it and... it RAN ! But their is a BIG weird thing... I created a new project in my new Eclipse... and now I get the new project html page instead of the old one ! The java is fine, but not what was in the WAR folder. LOL Sorry, didn't understand this. Did you put GWT's source folders higher than your project's source folders? Did you do this by creating a new launch configuration, or editing an old one? When you say that created a new project in my new Eclipse... and now I get the new project html page instead of the old one, what exactly do you mean? Are you saying that the default HTML page looks different than what you expect? I'll run other test, but I think the only error that I had what the source's order. Christian On Wed, Oct 7, 2009 at 3:13 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Thanks, but It wasn't saying that for me. It's saying that I need to re-compile my module and even when I do it, I still get that message ! I tryed you trick, but even when the plugin isnt even there, I get the message to re-compile.. Thanks anyway, Christian On Wed, Oct 7, 2009 at 11:24 AM, Dominik Steiner dominik.j.stei...@googlemail.com wrote: Hi Christian, I moved to the ms1 yesterday but had been playing around with OOPHM with a version that i built from the trunk before and also got into problems when FF 3.5 came out and broke the OOPHM mode that i was using. Now yesterday with the ms1 release and the plugin already installed i tried to connect to the url that the OOPHM gave me but it always told me that there was no plugin available. I first tried to deactivate the plugin and reinstall it, but with no luck. So what I did was to remove the plugin from FF 3.5 first and then reinstall it from the link that the no plugin available page gave me. After that the OOPHM is now working fine. HTH Dominik On Oct 6, 1:02 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: Hi, I'm always getting an error while trying to run in OOPHM. First they ask me to copy and URL to a browser with the plugin, after doing that, they always ask me to re-compile. I have the plugin and using Firefox 3.5. Anyone know how to get it work properly ? Thanks Christian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Announcing GWT 2.0 Milestone 1
Looking forward to that, Miguel! -Ben On Oct 13, 6:34 am, Miguel Méndez mmen...@google.com wrote: Barring any last minute issues, we should have version 1.1.2 of the plugin ready to go by end of day today. It will be compatible with MS1 and it will also address this -XstartOnFirstThread issue which causes the beach ball. Please see issuehttp://code.google.com/p/google-web-toolkit/issues/detail?id=3923for more details. In the meantime, you could create a java launch configuration in Eclipse and specify the entry point, GWT arguments and tweak the classpath. The following links should help get you setup:http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html,http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM. HTH, On Tue, Oct 13, 2009 at 12:02 AM, miller millermich...@gmail.com wrote: I am using Snow Leopard w/ Eclipse Plugin. When I run in Development mode, my development mode window is under constant beach ball. How do you work around this issue? are there directions anywhere? thanks- Mike On Oct 9, 5:36 pm, Ben benzhe...@gmail.com wrote: Hey, Guys, Thanks for the reply. I just found out that it is an open bug for OOPHM on Mac OS X. If you are curious, the bug is here: http://code.google.com/p/google-web-toolkit/issues/detail?id=3923. cheers Ben On Oct 9, 2:01 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: I did the same trick as Sky to get my project to work. But I still have to problems. First : When I lauch it in development mode, I can't close the development mode hosted window without closing eclipse, that's anoying because I can't switch to debug mode... So now, I just run it in debug without brake point to make sure I'm able to stop it and close the development mode hosted window. Second : I have the new project html files instead of the one I'm using with my project ! That's really weird, because on top of my application I have everything from the new project html file, but my JS files, css files ar linked correctly ! LOL Christian On Fri, Oct 9, 2009 at 1:36 PM, Ben benzhe...@gmail.com wrote: Sky, thanks for you reply. I am using Eclipse 3.5.0 (I am not sure updating to 3.5.1 matters) and my google eclipse plugin is uptodate.It still throws that exception if I just use default google plugin launch configuration. On Oct 8, 5:39 pm, Sky myonceinalifet...@gmail.com wrote: Ben, with 2.0 my projects launch the development shell when using the Google plugin launch options. It launched for me even when I just changed a project from 1.7.1 to 2.0, but you could try creating a whole new project with 2.0 from the start and copy the files over from the old project. Make sure the google plugin and the appengine is fully up to date. What version of Ecipse are you using? Try downloading the new 3.5.1 version. Sorry I can't help any more than that. gl On Oct 8, 3:50 pm, Ben benzhe...@gmail.com wrote: I have noticed that if you use Google Plugin to launch your project with 2.0 jar. The development shell does not launch at all. You have to launch it as a Java Application and set up some parameters by yourself, then you are able to see that GWT Develop Mode popup shell window. Is my observation correct? On Oct 8, 1:33 pm, Sky myonceinalifet...@gmail.com wrote: I got debugging to work! I created a new GWT web app with the Eclipse google plugin using GWT 2.0MS1 as the SDK. This is what most likely solved my problem. Simply changing a project from GWT 1.7.1 to 2.0 must not be making all the necessary changes to the auto generated files to be properly compatible. Obviously this sort of thing will be ironed out for release. Then I needed to first launch (not a debug launch) the newly created GWT web app (with the default app still intact). I tried this with a browser that did not have the plugin installed (FF3.5) and when navigating to the URL it auto directed me to the plugin install web page and after installing the plugin the web app was rendered correctly. Note that at this point I have not compiled the app so the plugin is indeed doing its job! The java code is what is interacting synchronously with the browser instead of the compiled JS! Note that I had first attempted to launch the app in debug mode which gave me 3 errors related to the Appengine (com.google.apphosting.utils.jetty... yet eclipse could not resolve com.google.apphosting.utils.jetty) but those errors went away as soon as I did a non debug launch. In other words, the app was able to do a debug launch only after doing a regular launch.
Re: Warning when run with GWT 2 ms1 and gwt-presenter
I think judging from the error message the error is from gwt- dispatcher project. -Ben On Oct 13, 6:52 am, hezjing hezj...@gmail.com wrote: Hi I'm using GWT 2.0 milestone 1 and gwt-presenter. I observed the following warning when run in development mode: 00:00:45.407 [WARN] Warnings in 'transient source for net.customware.gwt.dispatch.client.service.DispatchService_TypeSerializer' 00:00:45.407 [WARN] Line 20: Referencing deprecated class 'com.google.gwt.user.client.rpc.SerializableException' 00:00:45.423 [INFO] See snapshot: ...\Temp\net.customware.gwt.dispatch.client.service.DispatchService_TypeSer ializer7560914274574951570.java Am I correct to assume that these warnings are caused by gwt-presenter, and nothing to do in my application? -- Hez --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Calling GWT service from native Java application
On Oct 10, 6:17 am, Karel Zabloudil karel.zablou...@gmail.com wrote: Hi, is it possible to call GWT service from a native Java application ? It's better not to try. After all, now your native application has to include all the GWT jars and initialization processes. Instead, take all the business- related code out of your RemoteServiceServlet and put it into a plain Java class. Now, your RemoteServiceServlet and your Java application both call the same code. In fact, split your projects to cut down on your dependencies. People have been writing here about having client, server, and shared projects; do the same sort of thing here. Respectfully, Eric Jablow --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to launch a website with my GWT application?
Hi newbie, to publish your created GWT app, you only have to create and deploy the WAR-file to a running productive tomcat (or other servlet container) environment. Use this ant-target to create the WAR-file. target name=war depends=build description=Create a war file zip destfile=mycoolapp.war basedir=war / /target Have a lot of fun! regards, gwtfanb0y On 13 Okt., 11:39, newbie prakashreddy0...@gmail.com wrote: Hi all, I am new to the world of Java. I learnt GWT and have created my own GWT application. I now want to create a website and give access to other people to access my application. I am familiar with Tomcat and all that stuff but I dont know how to create a website and call my application from there. Can someone provide any useful link which gives out the method to do this or any set of standard steps to be followed to launch my website and make it accessible to everyone. Thanks and Regards, Prakash --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: How to add click handler to a panel?
On Tue, Oct 13, 2009 at 2:37 PM, Jie kgds...@tianya.cn wrote: Hi all, I want to listen to the click event for a panel, how can I catch this event? The Panel class doesn't have such methods like addClickHandler(). I don't want to use the sinkEvents() because in my case I just use this field panel as a button. Best Regards, Jie by implementing that class ClickHandler interface you can do it. adding the following code to ur class public HandlerRegistration addClickHandler(ClickHandler handler) { return addDomHandler(handler, ClickEvent.getType()); } u can implement like any handlers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
GWT internationalization [ERROR] No resource found for key 'cycleID'
Hi I use GWT 7.1 I have created two .properties files for localization. but that does not work. of course i can run the program and it works correctly in hosted mode but when I want to make a war file I get this error : Compiling module com.douran.portal.Portal Scanning for additional dependencies: file:/D:/Portal/src/com/ douran/portal/client/module/totalCycle/TotalCycleViewfrm.java Computing all possible rebind results for 'com.douran.portal.client.module.totalCycle.TotalCycleI18N' Rebinding com.douran.portal.client.module.totalCycle.TotalCycleI18N Invoking generate-with class='com.google.gwt.i18n.rebind.LocalizableGenerator'/ Processing interface com.douran.portal.client.module.totalCycle.TotalCycleI18N Generating method body for cycleID() [ERROR] No resource found for key 'cycleID' com.google.gwt.i18n.rebind.AbstractResource$MissingResourceException: No resource found for key 'cycleID' at com.google.gwt.i18n.rebind.AbstractResource $ResourceList.getRequiredStringExt(AbstractResource.java:206) at com.google.gwt.i18n.rebind.SimpleValueMethodCreator.createMethodFor (SimpleValueMethodCreator.java:93) at com.google.gwt.i18n.rebind.AbstractLocalizableImplCreator.delegateToCreator (AbstractLocalizableImplCreator.java:307) at com.google.gwt.i18n.rebind.ConstantsImplCreator.emitMethodBody (ConstantsImplCreator.java:160) at com.google.gwt.user.rebind.AbstractGeneratorClassCreator.genMethod (AbstractGeneratorClassCreator.java:263) at com.google.gwt.user.rebind.AbstractGeneratorClassCreator.emitMethods (AbstractGeneratorClassCreator.java:231) at com.google.gwt.user.rebind.AbstractGeneratorClassCreator.emitClass (AbstractGeneratorClassCreator.java:114) at com.google.gwt.i18n.rebind.AbstractLocalizableImplCreator.generateConstantOrMessageClass (AbstractLocalizableImplCreator.java:134) at com.google.gwt.i18n.rebind.LocalizableGenerator.generate (LocalizableGenerator.java:118) at com.google.gwt.dev.cfg.RuleGenerateWith.realize (RuleGenerateWith.java:49) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.tryRebind(StandardRebindOracle.java:113) at com.google.gwt.dev.shell.StandardRebindOracle $Rebinder.rebind(StandardRebindOracle.java:62) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:172) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:161) at com.google.gwt.dev.Precompile $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers (Precompile.java:204) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds (WebModeCompilerFrontEnd.java:128) at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.process (AbstractCompiler.java:151) at org.eclipse.jdt.internal.compiler.Compiler.compile (Compiler.java:444) at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile (AbstractCompiler.java:85) at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.compile (AbstractCompiler.java:181) at com.google.gwt.dev.jdt.AbstractCompiler$CompilerImpl.access $400(AbstractCompiler.java:71) at com.google.gwt.dev.jdt.AbstractCompiler.compile (AbstractCompiler.java:473) at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations (WebModeCompilerFrontEnd.java:73) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile (JavaToJavaScriptCompiler.java:259) at com.google.gwt.dev.Precompile.precompile(Precompile.java: 300) at com.google.gwt.dev.Compiler.run(Compiler.java:170) at com.google.gwt.dev.Compiler$1.run(Compiler.java:124) at com.google.gwt.dev.CompileTaskRunner.doRun (CompileTaskRunner.java:88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger (CompileTaskRunner.java:82) at com.google.gwt.dev.Compiler.main(Compiler.java:131) [WARN] Searched the following resources: [ERROR] Errors in 'file:/D:/Portal/src/com/douran/portal/client/ module/totalCycle/TotalCycleViewfrm.java' [ERROR] Line 50: Failed to resolve 'com.douran.portal.client.module.totalCycle.TotalCycleI18N' via deferred binding [ERROR] Cannot proceed due to previous errors Here is my source code : -TotalCycleI18N_en.properties cycleID=Cycle ID -TotalCycleI18N_fa.properties cycleID=Cycle ID 123 -TotalCycleI18N public interface TotalCycleI18N extends Constants { String cycleID(); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at
Re: A new Netbeans 'UPDATED' Plugin, please!!
The GWT4NB plugin was not created by Google, nor has it ever been maintained by them. This question is probably better raised at http://gwt4nb.dev.java.net/ (Either by filing specific issues in the issue tracking system, or by posting on the web forum there.) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Using terracotta with gwt eclipse plugin
Hello, I'm trying to embed terracotta 3.1.1 in my application to share objects between my different application modules. When I run the gwt application, using eclipse plugin, my application loads very slowly (8-10 minutes). If I don't use terracotta(I use gms to share cached objects) It runs quicker(1 minute to load application). In order to run my application using eclipse I use the following vm arguments: -Xbootclasspath/p:c:\myWorkspace\openblox\dso-boot- hotspot_win32_160_10-beta.jar -Dtc.install-root=c:\Program Files \terracotta\terracotta-3.1.1\bin\.. - Dcom.tc.loader.system.name=Standard.system -Dtc.config=c:\myWorkspace \openblox\tc-config.xml -Djava.awt.Window.locationByPlatform=true When I deploy my application to tomcat and I'm using terracotta, It loads very quickly as well, so it leads me to think there's a problem in gwt eclipse plugin. Has anyone tried to use gwt with terracotta and eclipse? Any help or hint would be appreciated. Thanks, Edo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: GWT 1.7.1 don't show app in hosted mode (Jetty bug: FULL head)
OS is Windows Vista (Business edition). Do you know if GXT sets some sort of cookie? Is your application code setting cookies? I don't work with cookies in code, my task can be made without low- level programming. In general, I did not expect that I will configure jetty... But... It is demonstation of the law of leaky abstractions in action. =/ How did you try and clear the cookies? I clear folder Cookies in my OS. Then I clear cookies, using GUI of browsers that installed in the OS. Finally, I drop eclipse workspace (eclipse possibly saves wrong cookies in workspace.. right?) and recreate it. Could you tell me where I made a mistake? How can I fix this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
History (browser): works differently across browsers
GWT's History object, which allows you to create browser history within a GWT ajax app, works differently across browsers. Within IE, FF and Safari calling History.newItem(String historyToken, boolean issueEvent) for the first time adds a browser history state on top of the history event of navigating to the GWT web app. ie. Start at site http://google.com then navigate to http://myapp.appspot.com (made up site) then interact with the site to go to http://myapp.appspot.com#page2 and your history will look like: myapp - page2 myapp - home Google Within Opera and Chrome (normal channel as well as dev channel) calling History.newItem() for the first time replaces the history state of navigating to the GWT web app. The above example results in the following history: myapp page2 Google While this may be a bug, I don't care because I just need a way to detect (with javascript or GWT) which way the browser will behave. Does anyone know how I could detect this? The only thing I can think of is to detect which browser the user is using in order to process this situation. This obviously would be terrible programming because if any of the browsers change their behavior I would need to change my app. Many many thanks! p.s. the url to myapp.appspot.com is made up, I have no idea if it is real. It was just for example. If you really need to see an example I could make an example site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Including static resources in my compiler output??
Hi, How can I include static resources, like css/html files that are located in the war folder, in my gwt output, just like toke place following the public layout instead of the new war layout? At this moment GWT simple ignores it and only uses it during Hosted mode... BTW: My gwt compiler output is separated from the war input, that is: the input (=war) isn't the same as the output (!= war). I migrated to gwt 2.0 and use the new war folder layout. My war contains some static resources, like style stheets, that are directly included in the html file that loads the module. In the past they ware located in the public folder and the GWT compiler automatically included them in the output. Currently this doesn't happen anymore. Why is this and how can I acomplisch this ? I read in the article http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html I read that this should be done through a Ant task, but I find that very hard to belief and I am not sure of the doc is up2date as it concerns the 1.6 version. Ed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
url question, hosted/web mode
Hi, In hosted mode, my url looks like: http://localhost:8090/xyz.html but when deployed looks like: http://localhost:8090/zzz/xyz.html Because of this slight difference, I'm having a mapping issue. In my web.xml, I have a servlet mapping for a regular, ordinary servlet (not GWT-RPC): /servletRequest and when I try: Window.open(url, _blank, status=0); when the app is deployed, everything is ok, and url looks like: http://localhost:8090/zzz/servletRequest but when I try to access in hosted mode, the zzz causes problems (because in hosted mode there isn't a contextpath, which I find a bit weird and don't know exactly how to handle). What is best/easiest way to deal with this with gwt 1.7? Thanks Mark --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
incubator gen2 vs. widgetideas
There is a SliderBar in both com.google.gwt.gen2.picker.client and com.google.gwt.widgetideas.client. Which one should I use? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: incubator gen2 vs. widgetideas
Also, I had to include the following in my GWT XML to get the slider to look right. stylesheet src=SliderBar.css/ Shouldn't there be instructions for this somewhere? On Oct 13, 3:25 pm, mrpantsuit kevin.peter.w...@gmail.com wrote: There is a SliderBar in both com.google.gwt.gen2.picker.client and com.google.gwt.widgetideas.client. Which one should I use? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Debuuging GWT with PHP as the back end cant talk to the server
Hi, I am writing a program using gwt for the ui and PHP for tbhe back end. I use the RequestBuilder to communicate with the back end. At first I had a simple text file to see if the RequestBuilder would worked, worked fine. I then change the url to point to my Apache webserver so I could test the PHP file. The GWT no longer worked and a RequestException went off. Is this because the UI must be talking to the same server? Is there a work around for this Ted --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Debuuging GWT with PHP as the back end cant talk to the server
Yes, UI must talk to the same server. There are a few workarounds. You can use hidden iFrames or other techniques to load data from a different server. Or you can setup a proxy server. Or you can use flash to handle the communication for you. Just google up Same Origin Policy Workarounds -- you are likely to get a lot of advice. --Sri 2009/10/13 tedpottel tedpot...@gmail.com Hi, I am writing a program using gwt for the ui and PHP for tbhe back end. I use the RequestBuilder to communicate with the back end. At first I had a simple text file to see if the RequestBuilder would worked, worked fine. I then change the url to point to my Apache webserver so I could test the PHP file. The GWT no longer worked and a RequestException went off. Is this because the UI must be talking to the same server? Is there a work around for this Ted --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: Debuuging GWT with PHP as the back end cant talk to the server
The easiest way to develop with PHP that I've found is to use -noserver and -port to point to a lightweight web server with the document root set to your war directory. I use Abyss, but anything would work. That way, you keep everything in the project structure, don't have to use any workarounds, and you can just deploy the whole war structure when Ian http://examples.roughian.com 2009/10/13 Sripathi Krishnan sripathi.krish...@gmail.com Yes, UI must talk to the same server. There are a few workarounds. You can use hidden iFrames or other techniques to load data from a different server. Or you can setup a proxy server. Or you can use flash to handle the communication for you. Just google up Same Origin Policy Workarounds -- you are likely to get a lot of advice. --Sri 2009/10/13 tedpottel tedpot...@gmail.com Hi, I am writing a program using gwt for the ui and PHP for tbhe back end. I use the RequestBuilder to communicate with the back end. At first I had a simple text file to see if the RequestBuilder would worked, worked fine. I then change the url to point to my Apache webserver so I could test the PHP file. The GWT no longer worked and a RequestException went off. Is this because the UI must be talking to the same server? Is there a work around for this Ted --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
UiBinderi18n Example
I am following example on wiki: http://code.google.com/p/google-web-toolkit/wiki/UiBinderI18n to try out UiBinderi18n in the latest 2.0 MS 1 release. I wrote a sample ui.xml file like this: ?xml version=1.0 encoding=UTF-8? ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui' ui:defaultLocale=en_us ui:generateKeys=com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator ui:generateFormat=com.google.gwt.i18n.rebind.format.PropertiesFormat ui:generateFilename=myapp_translate_source ui:generateLocales=default g:HTMLPanel table align=center tbody tr td style=font-weight: bold; colspan=2 ui:msg key=enterYourNamePlease enter your name:/ui:msg /td /tr tr td id=nameFieldContainer g:TextBox ui:field=nameField / /td td id=sendButtonContainer g:Button ui:field=sendButton text=Send / /td /tr /tbody /table /g:HTMLPanel /ui:UiBinder But it does not generate any file, shall I do something extra to make it work? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Announcing GWT-Unite version 1.0
Hi, Up until now, it's only been possible to run GWT applications on the client, but not any more. I'm please to announce the GWT-Unite (http://gwt-unite.googlecode.com) project has now released version 1.0. GWT-Unite provides a framework and set of API's that make it possible to write Opera Unite server applications (http://www.operaunite.com) using Google Web Toolkit. More information can be found on the projects Google Code page. A lot of work as gone into getting this far, so I'd appreciate any comments/feedback that you have. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Trouble with Entity Beans in GWT
Hi all, I have a problem with GWT. I've imported my EJB's jar and I put in it the *.gwt.xml with source equals to my entities folder and then I add in the Main.gwt.xml -- inherits name=.. When I compile I've always the same error -- No source code is available for type ... and it doesn't find my entity. Could you help me? Thanks a lot --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Re: History (browser): works differently across browsers
Well, this problem might be the 1016 Chromium issue http://code.google.com/p/chromium/issues/detail?id=1016 My situation is not exactly the same, because the 1016 issue appears to only affect history that should be there for hash changes. My issue is that the history state for the website prior to making the first hash change is lost. I can think of no way to test a browser with JS to detect whether it will behave this way. I can only think that I should detect the browser being used and process accordingly. Thankfully doing that can and will solve my particular problem with this behavior (you would need to understand what my app is doing to know why) but it is not a general solution to the problem. It is also very much a hack solution because as soon as chrome is patched to fix this issue I will have to modify my app to not act specially for chrome. If anyone has any further insight to help me or questions please let me know. Thanks On Oct 13, 1:21 pm, Sky myonceinalifet...@gmail.com wrote: GWT's History object, which allows you to create browser history within a GWT ajax app, works differently across browsers. Within IE, FF and Safari calling History.newItem(String historyToken, boolean issueEvent) for the first time adds a browser history state on top of the history event of navigating to the GWT web app. ie. Start at sitehttp://google.comthen navigate tohttp://myapp.appspot.com (made up site) then interact with the site to go tohttp://myapp.appspot.com#page2 and your history will look like: myapp - page2 myapp - home Google Within Opera and Chrome (normal channel as well as dev channel) calling History.newItem() for the first time replaces the history state of navigating to the GWT web app. The above example results in the following history: myapp page2 Google While this may be a bug, I don't care because I just need a way to detect (with javascript or GWT) which way the browser will behave. Does anyone know how I could detect this? The only thing I can think of is to detect which browser the user is using in order to process this situation. This obviously would be terrible programming because if any of the browsers change their behavior I would need to change my app. Many many thanks! p.s. the url to myapp.appspot.com is made up, I have no idea if it is real. It was just for example. If you really need to see an example I could make an example site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
Cannot display the uploaded file into frame
Hi all, i have a problem to display a uploaded file into frame, it is workable in hosted mode but not in tomcat (after compilation), i not sure is my tomcat configuration issue or need to put extra code for including the host (http://localhost:8080/), the following is my client side code, hope someone can help me. - Code -- private Frame mainFrameLocalFile = new Frame(); String fileName = GWT.getHostPageBaseURL() + images\\ + fileName; mainFrameLocalFile.setUrl(fileName); -- Error occurred - HTTP Status 404 - /readme/readmesystem/images/Example.txt type Status report message /readme/readmesystem/images/Example.txt description The requested resource (/readme/readmesystem/images/ Example.txt) is not available. Apache Tomcat/5.5.26 - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
env-entry in jetty...NoInitialContextException...
I have some gwt code which worked fine in hosted mode ( with the tomcat container ). I had some env-entry defined in web.xml and this was read in fine. But now with gwt 1.7, I get the error below. Is there something specific to jetty container I got to do ? ie what do i set java.naming.factory.initial to and where ( jetty.xml ? ). javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] GWT app on App Engine not working since today
I've a big problem. My GWT app is not working any more since today. This is what I see from the logs: Let's say my app module is renamed to modulename and I want to access the app on myapp.appspot.com I have to specify /modulename/ index.html as welcome page in order to load the app. This worked fine until today as now the page is accessed properly, but all gwt resources will not be loaded anymore as they of course reside in /modulename/... but the gwt loader tries to load them from /... I don't know if this is because of the upcoming app engine 1.2.6 release handling this in a different way or if the gwt-2.x behavior of loading resources has changed. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: GWT app on App Engine not working since today
Ok, I double checked with my app on several customers domains. All apps running on the new 1.2.6 app engine backend are broken. So gwt is definitely working, but it's not working in conjunction with the new 1.2.6 backend. While 1.2.5 was serving the welcome-page using a real redirect, the new version seems to serve just the content of the welcome page so that all subsequent requests from the gwt locale detection are broken (they go to / instead of /modulename/). My workaround is to implement a RedirectServlet simulating the real redirect to the entry point html page. But this makes all url's look ugly and all of my customers will have to redeploy the app to their Google Apps domains :-( On 13 Okt., 11:42, dflorey daniel.flo...@gmail.com wrote: I've a big problem. My GWT app is not working any more since today. This is what I see from the logs: Let's say my app module is renamed to modulename and I want to access the app on myapp.appspot.com I have to specify /modulename/ index.html as welcome page in order to load the app. This worked fine until today as now the page is accessed properly, but all gwt resources will not be loaded anymore as they of course reside in /modulename/... but the gwt loader tries to load them from /... I don't know if this is because of the upcoming app engine 1.2.6 release handling this in a different way or if the gwt-2.x behavior of loading resources has changed. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Fixes IE bug in ScrollPanel at 100% width; Adds Requires/ProvidesResize.
FWIW, I used the old DOM methods so as not to conflate updating the class with this patch. We'll come back and do a mass-update to the newer DOM methods in a separate pass. On 2009/10/12 21:04:54, jlabanca wrote: LGTM http://gwt-code-reviews.appspot.com/78810/diff/1/2 File user/src/com/google/gwt/user/client/ui/ScrollPanel.java (right): http://gwt-code-reviews.appspot.com/78810/diff/1/2#newcode44 Line 44: DOM.setStyleAttribute(containerElem, position, relative); Might be better to use containerElem.getStyle().setPosition(Position.Relative) http://gwt-code-reviews.appspot.com/78810/diff/1/2#newcode49 Line 49: DOM.setStyleAttribute(containerElem, zoom, 1); You could use getStyle() here too http://gwt-code-reviews.appspot.com/78810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Fixes IE bug in ScrollPanel at 100% width; Adds Requires/ProvidesResize.
Committed at r6354. http://gwt-code-reviews.appspot.com/78810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6354 committed - Fixes IE bug in ScrollPanel at 100% width; Adds Requires/ProvidesResiz...
Revision: 6354 Author: j...@google.com Date: Tue Oct 13 05:52:22 2009 Log: Fixes IE bug in ScrollPanel at 100% width; Adds Requires/ProvidesResize. Review: http://gwt-code-reviews.appspot.com/78810 http://code.google.com/p/google-web-toolkit/source/detail?r=6354 Modified: /trunk/user/src/com/google/gwt/user/client/ui/ScrollPanel.java === --- /trunk/user/src/com/google/gwt/user/client/ui/ScrollPanel.java Tue May 12 11:20:32 2009 +++ /trunk/user/src/com/google/gwt/user/client/ui/ScrollPanel.java Tue Oct 13 05:52:22 2009 @@ -27,15 +27,26 @@ */ @SuppressWarnings(deprecation) public class ScrollPanel extends SimplePanel implements SourcesScrollEvents, -HasScrollHandlers { +HasScrollHandlers, RequiresResize, ProvidesResize { + + private Element containerElem; /** * Creates an empty scroll panel. */ public ScrollPanel() { setAlwaysShowScrollBars(false); + +containerElem = DOM.createDiv(); +getElement().appendChild(containerElem); + // Prevent IE standard mode bug when a AbsolutePanel is contained. -DOM.setStyleAttribute(getElement(), position, relative); +DOM.setStyleAttribute(containerElem, position, relative); + +// Hack to account for the IE6/7 scrolling bug described here: +// http://stackoverflow.com/questions/139000/div-with-overflowauto-and-a-100-wide-table-problem +DOM.setStyleAttribute(getElement(), zoom, 1); +DOM.setStyleAttribute(containerElem, zoom, 1); } /** @@ -89,6 +100,13 @@ public int getScrollPosition() { return DOM.getElementPropertyInt(getElement(), scrollTop); } + + public void onResize() { +Widget child = getWidget(); +if ((child != null) (child instanceof RequiresResize)) { + ((RequiresResize) child).onResize(); +} + } /** * @deprecated Use the {...@link HandlerRegistration#removeHandler} @@ -194,6 +212,10 @@ public void setWidth(String width) { super.setWidth(width); } + + protected Element getContainerElement() { +return containerElem; + } private native void ensureVisibleImpl(Element scroll, Element e) /*-{ if (!e) --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Fixed NPE in DockLayoutPanelParser
Reviewers: Ray Ryan, Please review this at http://gwt-code-reviews.appspot.com/78812 Affected files: M user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java Index: user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java diff --git a/user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java b/user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java index c336ee8d8d2b17519ffd47a1149224a56205985a..2ec3bb32039df0fca6d29261d34d5837309e20ed 100644 --- a/user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java +++ b/user/src/com/google/gwt/uibinder/parsers/DockLayoutPanelParser.java @@ -86,6 +86,9 @@ public class DockLayoutPanelParser implements ElementParser { // Consume the single widget element. XMLElement widget = child.consumeSingleChildElement(); + if (widget == null) { +writer.die(%s must have a single child widget, child); + } String childFieldName = writer.parseElementToField(widget); if (requiresSize(child)) { --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] test case for -soyc and SOYC dashboard
Reviewers: Lex, Description: Hi Lex, could you review this patch for me? It implements a simple test case that invokes the compiler with the -soyc flag, produces the dashboard files, and then checks whether the files exist. Getting this to work also required some build file magic (thanks to jlabanca). Thanks! Please review this at http://gwt-code-reviews.appspot.com/77815 Affected files: dev/core/build.xml dev/core/test/com/google/gwt/dev/CompilerTest.java --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Comment on UiBinderI18n in google-web-toolkit
Comment by rj...@google.com: @sami.jaber Stuff like setToken is handled by BeanParser For more information: http://code.google.com/p/google-web-toolkit/wiki/UiBinderI18n --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : Update user code to use $entry
LGTM, modulo one change I'd like to make in LayoutImplIE6. http://gwt-code-reviews.appspot.com/77813/diff/52/53 File user/src/com/google/gwt/http/client/Request.java (right): http://gwt-code-reviews.appspot.com/77813/diff/52/53#newcode266 Line 266: fireOnResponseReceivedImpl(callback); It is safe to not use $entry() here because it's being handled by XMLHttpRequest, right? http://gwt-code-reviews.appspot.com/77813/diff/52/55 File user/src/com/google/gwt/layout/client/LayoutImplIE6.java (right): http://gwt-code-reviews.appspot.com/77813/diff/52/55#newcode248 Line 248: parent.onresize = $entry(function() { Let's not use $entry() in these two cases. There is no chance of user code being called from this callback, and I don't want to allow the possibility of anything getting in the way of handling resize events here. http://gwt-code-reviews.appspot.com/77813/diff/52/57 File user/src/com/google/gwt/user/client/DOM.java (right): http://gwt-code-reviews.appspot.com/77813/diff/52/57#newcode1263 Line 1263: dispatchEventImpl(evt, elem, listener); $entry() will have already been called by DOMImpl*, right? http://gwt-code-reviews.appspot.com/77813 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry
Still LGTM, modulo the clarification on return values from event handlers. http://gwt-code-reviews.appspot.com/77810/diff/1007/30 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/1007/30#newcode166 Line 166: // What is the correct return value here or should we re-throw? On 2009/10/12 20:42:07, scottb wrote: Shouldn't this be a void method anyway? (and so on up the stack) I would argue the same thing, given that it's silly to return anything from event handlers in general (DOM events allow a boolean return value, but it's just a shortcut for preventDefault()). Except that there's exactly one case where the return value is necessary and vital: window.onbeforeunload(). Its return value must be either a string or undefined, and returning a string causes the browser to display the are you sure you want to leave this page message. So we have no choice but to forward the return value. In this case, 'undefined' is the appropriate response if an exception is thrown, and I think it's safe to say that we should always return undefined if the exception is caught, and point out that this behavior is possible (preferably with a suggestion to avoid return values in event handlers, because they're normally stupid). http://gwt-code-reviews.appspot.com/77810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: GWT app on App Engine not working since today
Hi Daniel, We're not aware of any changes for this functionality. Can you give us your app-id so we can investigate further? (Feel free to use a private reply). On Tue, Oct 13, 2009 at 6:30 AM, dflorey wrote: Ok, I double checked with my app on several customers domains. All apps running on the new 1.2.6 app engine backend are broken. So gwt is definitely working, but it's not working in conjunction with the new 1.2.6 backend. While 1.2.5 was serving the welcome-page using a real redirect, the new version seems to serve just the content of the welcome page so that all subsequent requests from the gwt locale detection are broken (they go to / instead of /modulename/). My workaround is to implement a RedirectServlet simulating the real redirect to the entry point html page. But this makes all url's look ugly and all of my customers will have to redeploy the app to their Google Apps domains :-( On 13 Okt., 11:42, dflorey daniel.flo...@gmail.com wrote: I've a big problem. My GWT app is not working any more since today. This is what I see from the logs: Let's say my app module is renamed to modulename and I want to access the app on myapp.appspot.com I have to specify /modulename/ index.html as welcome page in order to load the app. This worked fine until today as now the page is accessed properly, but all gwt resources will not be loaded anymore as they of course reside in /modulename/... but the gwt loader tries to load them from /... I don't know if this is because of the upcoming app engine 1.2.6 release handling this in a different way or if the gwt-2.x behavior of loading resources has changed. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6355 committed - Create type-safe callbacks for UI, moving UI types to a separate packa...
Revision: 6355 Author: j...@google.com Date: Tue Oct 13 09:24:19 2009 Log: Create type-safe callbacks for UI, moving UI types to a separate package. Patch by: jat Review by: rdayal (TBR) http://code.google.com/p/google-web-toolkit/source/detail?r=6355 Added: /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DevModeUI.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DoneCallback.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DoneEvent.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/RestartServerCallback.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/RestartServerEvent.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/UiCallback.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/UiEvent.java Deleted: /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/DevModeUI.java Modified: /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/HeadlessUI.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/HostedModeBase.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/SwingUI.java /changes/jat/abstractui/dev/oophm/overlay/com/google/gwt/dev/HostedMode.java === --- /dev/null +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DevModeUI.java Tue Oct 13 09:24:19 2009 @@ -0,0 +1,171 @@ +/* + * Copyright 2009 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.dev.ui; + +import com.google.gwt.core.ext.TreeLogger; +import com.google.gwt.core.ext.TreeLogger.Type; +import com.google.gwt.dev.util.log.PrintWriterTreeLogger; + +import java.util.HashMap; +import java.util.Map; + +/** + * Defines the interaction between DevelopmentMode and the UI, so that + * alternate UIs can be implemented. + */ +public abstract class DevModeUI { + + /** + * Opaque handle to a module - it is returned from loadModule and the client + * can only pass it to unloadModule or get a logger for messages about that + * module. + */ + public interface ModuleHandle { + +/** + * @return the logger for this module. + */ +TreeLogger getLogger(); + } + + /** + * Map of callbacks. + */ + private final MapUiEvent.Type?, UiCallback callbacks = new HashMap + UiEvent.Type?, UiCallback(); + + /** + * Log level for all logging in this UI. + */ + protected Type logLevel; + + /** + * A lazily-initialized console logger - see {...@link #getConsoleLogger()}. + */ + private PrintWriterTreeLogger consoleLogger = null; + + /** + * Create a top-level logger for messages which are not associated with the + * web server or any module. Defaults to logging to stdout. + * + * @return TreeLogger instance to use + */ + public TreeLogger getTopLogger() { +return getConsoleLogger(); + } + + /** + * Create the web server portion of the UI if not already created, and + * return its TreeLogger instance. + * + * pNote that the {...@link RestartServerEvent} should already have a callback + * registered when this is called -- the UI is not required to change the + * UI if it is registered later. + * + * @param serverName short name of the web server or null if only the icon + * should be used + * @param serverIcon byte array containing an icon (fitting into 24x24) to + * use for the server, or null if only the name should be used + * @return TreeLogger instance + */ + public abstract TreeLogger getWebServerLogger(String serverName, + byte[] serverIcon); + + /** + * Initialize the UI - must be called before any other method. + * + * pSubclasses should call super.initialize(logLevel). + * + * @param logLevel log level for all logging + */ + public void initialize(Type logLevel) { +this.logLevel = logLevel; + } + + /** + * Show that a module is loaded in the UI. + * + * @param userAgent full user agent name + * @param remoteSocket name of remote socket endpoint in host:port format + * @param url URL of top-level window + * @param tabKey stable browser tab identifier, or the empty string if no + * such identifier is available + * @param moduleName the name of the module loaded + * @param sessionKey a unique session key + * @param agentTag short-form user agent identifier, suitable for use in + * a
[gwt-contrib] abstractui changes to be merged into farewellSWT
Reviewers: rdayal, Description: This is a code review of jat's changes to abstract out the OOPHM UI from the Swing UI. This will make it far easier to provide other implementations of UIs for the OOPHM Server. Please review this at http://gwt-code-reviews.appspot.com/77817 Affected files: branch-info.txt dev/core/src/com/google/gwt/core/ext/TreeLogger.java dev/core/src/com/google/gwt/dev/DevModeUI.java dev/core/src/com/google/gwt/dev/HeadlessUI.java dev/core/src/com/google/gwt/dev/HostedModeBase.java dev/core/src/com/google/gwt/dev/SwingUI.java dev/core/src/com/google/gwt/dev/shell/BrowserWidgetHost.java dev/core/src/com/google/gwt/dev/shell/BrowserWindowController.java dev/core/src/com/google/gwt/dev/shell/CheckForUpdates.java dev/core/src/com/google/gwt/dev/shell/HostedHtmlVersion.java dev/core/src/com/google/gwt/dev/util/TemporaryBufferStream.java dev/core/test/com/google/gwt/dev/shell/BrowserChannelServerTest.java dev/core/test/com/google/gwt/dev/shell/FailErrorLogger.java dev/core/test/com/google/gwt/dev/shell/TestBrowserChannel.java dev/core/test/com/google/gwt/dev/util/TemporaryBufferStream.java dev/oophm/overlay/com/google/gwt/dev/GWTShell.java dev/oophm/overlay/com/google/gwt/dev/HostedMode.java dev/oophm/src/com/google/gwt/dev/ModuleTabPanel.java dev/oophm/src/com/google/gwt/dev/OophmHostedModeBase.java dev/oophm/src/com/google/gwt/dev/shell/BrowserChannel.java dev/oophm/src/com/google/gwt/dev/shell/BrowserChannelClient.java dev/oophm/src/com/google/gwt/dev/shell/BrowserChannelServer.java dev/oophm/src/com/google/gwt/dev/shell/BrowserListener.java dev/oophm/src/com/google/gwt/dev/shell/HostedModePluginObject.java dev/oophm/src/com/google/gwt/dev/shell/HtmlUnitSessionHandler.java dev/oophm/src/com/google/gwt/dev/shell/JavaObject.java dev/oophm/src/com/google/gwt/dev/shell/OophmSessionHandler.java dev/oophm/src/com/google/gwt/dev/util/BrowserInfo.java dev/oophm/test/com/google/gwt/dev/shell/BrowserChannelTest.java user/src/com/google/gwt/junit/BatchingStrategy.java user/src/com/google/gwt/junit/JUnitShell.java user/src/com/google/gwt/junit/RunStyleExternalBrowser.java user/src/com/google/gwt/junit/RunStyleHtmlUnit.java user/src/com/google/gwt/junit/RunStyleManual.java user/src/com/google/gwt/junit/RunStyleRemoteWeb.java user/src/com/google/gwt/junit/RunStyleSelenium.java --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Fixed NPE in DockLayoutPanelParser
Turns out we make that mistake a lot, and never ever take advantage of a null return for that method. So let me counter with http://gwt-code-reviews.appspot.com/77816 http://gwt-code-reviews.appspot.com/78812 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: DockLayoutPanel small improvement
Thanks for the patch. I disagree with adding the setCenter method, I think the override of add() is the right thing to do. Making the method more forgiving also seems wrong, with the potential to hide the user's mistakes. I agree that the must-add-center-last thing is annoying, but Joel will need to say whether this is the right fix for it. http://gwt-code-reviews.appspot.com/77809 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Fixed NPE in DockLayoutPanelParser
LVVGTM. But I can't edit the issue. On Tue, Oct 13, 2009 at 12:34 PM, rj...@google.com wrote: Turns out we make that mistake a lot, and never ever take advantage of a null return for that method. So let me counter with http://gwt-code-reviews.appspot.com/77816 http://gwt-code-reviews.appspot.com/78812 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group. To post to this group, send email to google-web-toolkit-contributors@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit-contributors+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit-contributors?hl=en -~--~~~~--~~--~--~---
[gwt-contrib] Re: abstractui changes to be merged into farewellSWT
Version 2 of your changes looks pretty good. I only had some small nits. You should have someone else review the JunitShell changes; I'm not familiar with that system at all. I question whether some of these classes should be in the dev.shell package. It seems like we've got a mishmash of related functionality scattered between the dev and dev.shell package; the line definitely seems blurry here. http://gwt-code-reviews.appspot.com/77817/diff/1/35 File dev/core/src/com/google/gwt/dev/DevModeUI.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode32 Line 32: * Callback interface for events from the UI. Nit: instead of from the UI, you could say initiated by the UI. http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode81 Line 81: protected Type logLevel; Could make this private, and expose the value via a protected getter. http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode146 Line 146: public void setCallback(String event, Callback callback) { Could this be final? http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode164 Line 164: protected void callback(String event, Object callbackData) { Could this be final? http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode174 Line 174: protected TreeLogger getConsoleLogger() { Could this be final? http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode188 Line 188: protected boolean hasCallback(String event) { Could this be final? http://gwt-code-reviews.appspot.com/77817/diff/1/30 File dev/core/src/com/google/gwt/dev/HostedModeBase.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/30#newcode69 Line 69: public class UiBrowserWidgetHostImpl extends BrowserWidgetHostImpl { Add some javadoc here. http://gwt-code-reviews.appspot.com/77817/diff/1/36 File dev/core/src/com/google/gwt/dev/SwingUI.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/36#newcode107 Line 107: static ImageIcon loadImageIcon(String name, boolean prependPackage) { Document the return behavior. http://gwt-code-reviews.appspot.com/77817/diff/1/36#newcode229 Line 229: tab.disconnect(); Is this thread-safe? http://gwt-code-reviews.appspot.com/77817/diff/1/36#newcode247 Line 247: return ++sessionCounter; Is this thread-safe? http://gwt-code-reviews.appspot.com/77817/diff/1/19 File dev/oophm/src/com/google/gwt/dev/shell/BrowserChannel.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/19#newcode1332 Line 1332: stream.flush(); spurious indent? http://gwt-code-reviews.appspot.com/77817/diff/1/4 File user/src/com/google/gwt/junit/BatchingStrategy.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/4#newcode51 Line 51: // TODO(jat): merge problem? Not sure what this refers to. http://gwt-code-reviews.appspot.com/77817/diff/1/6 File user/src/com/google/gwt/junit/JUnitShell.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/6#newcode2 Line 2: * Copyright 2008 Google Inc. Might be good to have someone else review this file; I'm not very familiar with this part of the code. http://gwt-code-reviews.appspot.com/77817 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: break up our too-large RPCSuite
What's the underlying motivation here? http://gwt-code-reviews.appspot.com/77814/diff/1/2 File user/test/com/google/gwt/user/DeRPCSuite.java (right): http://gwt-code-reviews.appspot.com/77814/diff/1/2#newcode16 Line 16: package com.google.gwt.user; Put this in gwt.rpc instead. http://gwt-code-reviews.appspot.com/77814/diff/1/2#newcode48 Line 48: import com.google.gwt.user.server.Base64Test; Fix imports. http://gwt-code-reviews.appspot.com/77814/diff/1/3 File user/test/com/google/gwt/user/RPCSuite.java (right): http://gwt-code-reviews.appspot.com/77814/diff/1/3#newcode91 Line 91: // moved to RpcValueSuite: suite.addTestSuite(ValueTypesTest.class); Are these comments part of the actual commit? http://gwt-code-reviews.appspot.com/77814 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6356 committed - Stricter XMLElement#consumeSingleChild, fixes NPE in DockLayoutPanelPa...
Revision: 6356 Author: rj...@google.com Date: Tue Oct 13 10:44:52 2009 Log: Stricter XMLElement#consumeSingleChild, fixes NPE in DockLayoutPanelParser. Also improves testing of XMLElement Reviewed by jgw http://code.google.com/p/google-web-toolkit/source/detail?r=6356 Modified: /trunk/user/src/com/google/gwt/uibinder/parsers/CellPanelParser.java /trunk/user/src/com/google/gwt/uibinder/parsers/DockPanelParser.java /trunk/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java /trunk/user/src/com/google/gwt/uibinder/rebind/XMLElement.java /trunk/user/test/com/google/gwt/uibinder/rebind/XMLElementTest.java === --- /trunk/user/src/com/google/gwt/uibinder/parsers/CellPanelParser.java Tue Sep 1 15:14:29 2009 +++ /trunk/user/src/com/google/gwt/uibinder/parsers/CellPanelParser.java Tue Oct 13 10:44:52 2009 @@ -87,9 +87,6 @@ if (ns.equals(elem.getNamespaceUri()) tagName.equals(CELL_TAG)) { // It's a cell element, so parse its single child as a widget. XMLElement widget = child.consumeSingleChildElement(); -if (widget == null) { - writer.die(Cell must contain a single child widget); -} String childFieldName = writer.parseElementToField(widget); writer.addStatement(%1$s.add(%2$s);, fieldName, childFieldName); === --- /trunk/user/src/com/google/gwt/uibinder/parsers/DockPanelParser.java Thu Oct 8 18:15:53 2009 +++ /trunk/user/src/com/google/gwt/uibinder/parsers/DockPanelParser.java Tue Oct 13 10:44:52 2009 @@ -68,9 +68,6 @@ // And they can only have a single child widget. XMLElement widget = child.consumeSingleChildElement(); - if (widget == null) { -writer.die(Dock must contain a single child widget.); - } String childFieldName = writer.parseElementToField(widget); writer.addStatement(%1$s.add(%2$s, %3$s);, fieldName, childFieldName, translated); === --- /trunk/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java Wed Oct 7 13:08:06 2009 +++ /trunk/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java Tue Oct 13 10:44:52 2009 @@ -1,12 +1,12 @@ /* * Copyright 2008 Google Inc. - * + * * Licensed under the Apache License, Version 2.0 (the License); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -21,6 +21,7 @@ import com.google.gwt.core.ext.typeinfo.JPackage; import com.google.gwt.core.ext.typeinfo.JParameter; import com.google.gwt.core.ext.typeinfo.TypeOracle; +import com.google.gwt.dev.shell.log.TreeItemLogger; import com.google.gwt.dom.client.TagName; import com.google.gwt.uibinder.client.UiBinder; import com.google.gwt.uibinder.parsers.AttributeMessageParser; @@ -60,10 +61,10 @@ /** * Writer for UiBinder generated classes. - * + * * TODO(rdamazio): Refactor this, extract model classes, improve ordering * guarantees, etc. - * + * * TODO(rjrjr): Improve error messages */ @SuppressWarnings(deprecation) @@ -160,7 +161,7 @@ /** * Returns a list of the given type and all its superclasses and implemented * interfaces in a breadth-first traversal. - * + * * @param type the base type * @return a breadth-first collection of its type hierarchy */ @@ -193,7 +194,7 @@ /** * Class names of parsers for values of attributes with no namespace prefix, * keyed by method parameter signatures. - * + * * TODO(rjrjr) Seems like the attribute parsers belong in BeanParser, which is * the only thing that uses them. */ @@ -281,12 +282,31 @@ handlerEvaluator = new HandlerEvaluator(ownerClass, logger, oracle); fieldManager = new FieldManager(logger); } + + /** + * Hack for testing. Die method works, nothing else does + */ + UiBinderWriter() { +this.baseClass = null; +this.implClassName = null; +this.oracle = null; +this.logger = new MortalLogger(new TreeItemLogger()); +this.templatePath = null; +this.messages = null; +uiRootType = null; +uiOwnerType = null; + +ownerClass = null; +bundleClass = null; +handlerEvaluator = null; +fieldManager = null; + } /** * Statements to be excuted right after the current attached element is * detached. This is useful for doing things that might be expensive while the * element is attached to the DOM. - * + * * @param format * @param args */ @@ -313,7 +333,7 @@ /** * Begin a section where a new attachable
[gwt-contrib] Stricter XMLElement#consumeSingleChild, fixes NPE in DockLayoutPanelParser
Reviewers: jgw, Message: Why did you want to edit the issue? Committed r6356 Please review this at http://gwt-code-reviews.appspot.com/77816 Affected files: M user/src/com/google/gwt/uibinder/parsers/CellPanelParser.java M user/src/com/google/gwt/uibinder/parsers/DockPanelParser.java M user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java M user/src/com/google/gwt/uibinder/rebind/XMLElement.java M user/test/com/google/gwt/uibinder/rebind/XMLElementTest.java --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Stricter XMLElement#consumeSingleChild, fixes NPE in DockLayoutPanelParser
On 2009/10/13 17:45:26, Ray Ryan wrote: Why did you want to edit the issue? Committed r6356 So I could say this: LGTM :) http://gwt-code-reviews.appspot.com/77816 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Stricter XMLElement#consumeSingleChild, fixes NPE in DockLayoutPanelParser
I thank you. Shouldn't need to edit for that, though. Did the Reply and Publish+Mail Comments links not work? On Tue, Oct 13, 2009 at 10:57 AM, j...@google.com wrote: On 2009/10/13 17:45:26, Ray Ryan wrote: Why did you want to edit the issue? Committed r6356 So I could say this: LGTM :) http://gwt-code-reviews.appspot.com/77816 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Stricter XMLElement#consumeSingleChild, fixes NPE in DockLayoutPanelParser
Nope. Go figure. On Tue, Oct 13, 2009 at 2:03 PM, Ray Ryan rj...@google.com wrote: I thank you. Shouldn't need to edit for that, though. Did the Reply and Publish+Mail Comments links not work? On Tue, Oct 13, 2009 at 10:57 AM, j...@google.com wrote: On 2009/10/13 17:45:26, Ray Ryan wrote: Why did you want to edit the issue? Committed r6356 So I could say this: LGTM :) http://gwt-code-reviews.appspot.com/77816 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: abstractui changes to be merged into farewellSWT
I committed the requested changes in abstractui at r6357, though some of them are rather different since the type-safe event changes. I also realized we need to add an event type for the user closing an active module. There is more work to do to enable this (we were waiting on removing SWT), but the idea is if the server registers a callback for CloseModule then the UI should allow the user to close an active module while still leaving the UI running. http://gwt-code-reviews.appspot.com/77817/diff/1/35 File dev/core/src/com/google/gwt/dev/DevModeUI.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode32 Line 32: * Callback interface for events from the UI. On 2009/10/13 17:06:12, rdayal wrote: Nit: instead of from the UI, you could say initiated by the UI. Done. http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode81 Line 81: protected Type logLevel; On 2009/10/13 17:06:12, rdayal wrote: Could make this private, and expose the value via a protected getter. Done. http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode146 Line 146: public void setCallback(String event, Callback callback) { On 2009/10/13 17:06:12, rdayal wrote: Could this be final? Done. http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode164 Line 164: protected void callback(String event, Object callbackData) { On 2009/10/13 17:06:12, rdayal wrote: Could this be final? Done. http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode174 Line 174: protected TreeLogger getConsoleLogger() { On 2009/10/13 17:06:12, rdayal wrote: Could this be final? Done. http://gwt-code-reviews.appspot.com/77817/diff/1/35#newcode188 Line 188: protected boolean hasCallback(String event) { On 2009/10/13 17:06:12, rdayal wrote: Could this be final? Done. http://gwt-code-reviews.appspot.com/77817/diff/1/30 File dev/core/src/com/google/gwt/dev/HostedModeBase.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/30#newcode69 Line 69: public class UiBrowserWidgetHostImpl extends BrowserWidgetHostImpl { On 2009/10/13 17:06:12, rdayal wrote: Add some javadoc here. Done. http://gwt-code-reviews.appspot.com/77817/diff/1/36 File dev/core/src/com/google/gwt/dev/SwingUI.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/36#newcode107 Line 107: static ImageIcon loadImageIcon(String name, boolean prependPackage) { On 2009/10/13 17:06:12, rdayal wrote: Document the return behavior. Done. http://gwt-code-reviews.appspot.com/77817/diff/1/36#newcode229 Line 229: tab.disconnect(); On 2009/10/13 17:06:12, rdayal wrote: Is this thread-safe? There is nothing here that isn't -- tab.disconnect() might need to protect any data structures it uses. http://gwt-code-reviews.appspot.com/77817/diff/1/36#newcode247 Line 247: return ++sessionCounter; On 2009/10/13 17:06:12, rdayal wrote: Is this thread-safe? I think it is not, but since this is existing code and the worst that could happen is a log file can be overwritten with another it should not be fixed here. I will add a TODO. http://gwt-code-reviews.appspot.com/77817/diff/1/19 File dev/oophm/src/com/google/gwt/dev/shell/BrowserChannel.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/19#newcode1332 Line 1332: stream.flush(); On 2009/10/13 17:06:12, rdayal wrote: spurious indent? Done. http://gwt-code-reviews.appspot.com/77817/diff/1/4 File user/src/com/google/gwt/junit/BatchingStrategy.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/4#newcode51 Line 51: // TODO(jat): merge problem? On 2009/10/13 17:06:12, rdayal wrote: Not sure what this refers to. Left-over - removed. http://gwt-code-reviews.appspot.com/77817/diff/1/6 File user/src/com/google/gwt/junit/JUnitShell.java (right): http://gwt-code-reviews.appspot.com/77817/diff/1/6#newcode2 Line 2: * Copyright 2008 Google Inc. On 2009/10/13 17:06:12, rdayal wrote: Might be good to have someone else review this file; I'm not very familiar with this part of the code. Ok. http://gwt-code-reviews.appspot.com/77817 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Abstract out UI interface
Reviewers: rdayal, jlabanca, Description: This allows the built-in Swing UI to be replaced by an external tool, such as the Eclipse plugin. @jlabanca: please review the JUnitShell portion of this change. This is relative to the farewellSwt branch (where it will be committed before that is merged down to trunk). Please review this at http://gwt-code-reviews.appspot.com/77818 Affected files: branch-info.txt dev/core/src/com/google/gwt/core/ext/TreeLogger.java dev/core/src/com/google/gwt/dev/HeadlessUI.java dev/core/src/com/google/gwt/dev/HostedModeBase.java dev/core/src/com/google/gwt/dev/SwingUI.java dev/core/src/com/google/gwt/dev/shell/BrowserWidgetHost.java dev/core/src/com/google/gwt/dev/shell/BrowserWindowController.java dev/core/src/com/google/gwt/dev/shell/CheckForUpdates.java dev/core/src/com/google/gwt/dev/shell/HostedHtmlVersion.java dev/core/src/com/google/gwt/dev/ui/CloseModuleCallback.java dev/core/src/com/google/gwt/dev/ui/CloseModuleEvent.java dev/core/src/com/google/gwt/dev/ui/DevModeUI.java dev/core/src/com/google/gwt/dev/ui/DoneCallback.java dev/core/src/com/google/gwt/dev/ui/DoneEvent.java dev/core/src/com/google/gwt/dev/ui/RestartServerCallback.java dev/core/src/com/google/gwt/dev/ui/RestartServerEvent.java dev/core/src/com/google/gwt/dev/ui/UiCallback.java dev/core/src/com/google/gwt/dev/ui/UiEvent.java dev/core/src/com/google/gwt/dev/util/TemporaryBufferStream.java dev/core/test/com/google/gwt/dev/shell/BrowserChannelServerTest.java dev/core/test/com/google/gwt/dev/shell/FailErrorLogger.java dev/core/test/com/google/gwt/dev/shell/TestBrowserChannel.java dev/core/test/com/google/gwt/dev/util/TemporaryBufferStream.java dev/oophm/overlay/com/google/gwt/dev/GWTShell.java dev/oophm/overlay/com/google/gwt/dev/HostedMode.java dev/oophm/src/com/google/gwt/dev/ModuleTabPanel.java dev/oophm/src/com/google/gwt/dev/OophmHostedModeBase.java dev/oophm/src/com/google/gwt/dev/shell/BrowserChannel.java dev/oophm/src/com/google/gwt/dev/shell/BrowserChannelClient.java dev/oophm/src/com/google/gwt/dev/shell/BrowserChannelServer.java dev/oophm/src/com/google/gwt/dev/shell/BrowserListener.java dev/oophm/src/com/google/gwt/dev/shell/HostedModePluginObject.java dev/oophm/src/com/google/gwt/dev/shell/HtmlUnitSessionHandler.java dev/oophm/src/com/google/gwt/dev/shell/JavaObject.java dev/oophm/src/com/google/gwt/dev/shell/OophmSessionHandler.java dev/oophm/src/com/google/gwt/dev/shell/log/SwingLoggerPanel.java dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java dev/oophm/src/com/google/gwt/dev/util/BrowserInfo.java dev/oophm/test/com/google/gwt/dev/shell/BrowserChannelTest.java user/src/com/google/gwt/junit/JUnitShell.java user/src/com/google/gwt/junit/RunStyleExternalBrowser.java user/src/com/google/gwt/junit/RunStyleHtmlUnit.java user/src/com/google/gwt/junit/RunStyleManual.java user/src/com/google/gwt/junit/RunStyleRemoteWeb.java user/src/com/google/gwt/junit/RunStyleSelenium.java --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6358 committed - Merge up to r6357 from farewellSwt....
Revision: 6358 Author: j...@google.com Date: Tue Oct 13 11:30:26 2009 Log: Merge up to r6357 from farewellSwt. svn merge --ignore-ancestry -r6325:6357 \ https://google-web-toolkit.googlecode.com/svn/branches/farewellSwt . http://code.google.com/p/google-web-toolkit/source/detail?r=6358 Modified: /changes/jat/abstractui/branch-info.txt /changes/jat/abstractui/tools/do-not-commit-to-trunk/README /changes/jat/abstractui/tools/do-not-commit-to-trunk/htmlunit-sources.jar /changes/jat/abstractui/tools/do-not-commit-to-trunk/htmlunit.jar === --- /changes/jat/abstractui/branch-info.txt Thu Oct 8 11:27:39 2009 +++ /changes/jat/abstractui/branch-info.txt Tue Oct 13 11:30:26 2009 @@ -8,3 +8,5 @@ == svn merge --ignore-ancestry -r6280:6325 \ https://google-web-toolkit.googlecode.com/svn/branches/farewellSwt . +svn merge --ignore-ancestry -r6325:6357 \ +https://google-web-toolkit.googlecode.com/svn/branches/farewellSwt . === --- /changes/jat/abstractui/tools/do-not-commit-to-trunk/README Thu Oct 8 11:27:39 2009 +++ /changes/jat/abstractui/tools/do-not-commit-to-trunk/README Tue Oct 13 11:30:26 2009 @@ -30,5 +30,5 @@ HtmlUnit's dependencies (not already in GWT_TOOLS/lib): nekohtml-1.9.13.jar -svn revision: 5053 - +svn revision: 5070 + === --- /changes/jat/abstractui/tools/do-not-commit-to-trunk/htmlunit-sources.jar Thu Oct 8 11:27:39 2009 +++ /changes/jat/abstractui/tools/do-not-commit-to-trunk/htmlunit-sources.jar Tue Oct 13 11:30:26 2009 Binary file, no diff available. === --- /changes/jat/abstractui/tools/do-not-commit-to-trunk/htmlunit.jar Thu Oct 8 11:27:39 2009 +++ /changes/jat/abstractui/tools/do-not-commit-to-trunk/htmlunit.jar Tue Oct 13 11:30:26 2009 Binary file, no diff available. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Integrates UiBinder with CssResource's imported scopes
Joel, can I turn this review over to you? Bob is swamped. Don't mind all the blather above about possible ClientBundle bugs, the patch works as is. http://gwt-code-reviews.appspot.com/78811 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6357 committed - More changes from review feedback and checkstyle fixes....
Revision: 6357 Author: j...@google.com Date: Tue Oct 13 11:08:52 2009 Log: More changes from review feedback and checkstyle fixes. Patch by: jat Review by: rdayal (TBR) http://code.google.com/p/google-web-toolkit/source/detail?r=6357 Added: /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/CloseModuleCallback.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/CloseModuleEvent.java Modified: /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/HostedModeBase.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/SwingUI.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/shell/BrowserWidgetHost.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DevModeUI.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DoneCallback.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/UiCallback.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/UiEvent.java /changes/jat/abstractui/dev/oophm/overlay/com/google/gwt/dev/HostedMode.java /changes/jat/abstractui/dev/oophm/src/com/google/gwt/dev/shell/BrowserChannel.java /changes/jat/abstractui/dev/oophm/src/com/google/gwt/dev/shell/OophmSessionHandler.java /changes/jat/abstractui/dev/oophm/src/com/google/gwt/dev/shell/log/SwingLoggerPanel.java /changes/jat/abstractui/dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java /changes/jat/abstractui/user/src/com/google/gwt/junit/BatchingStrategy.java === --- /dev/null +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/CloseModuleCallback.java Tue Oct 13 11:08:52 2009 @@ -0,0 +1,34 @@ +/* + * Copyright 2009 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.dev.ui; + +import com.google.gwt.dev.ui.DevModeUI.ModuleHandle; + +/** + * Callback for a request to close an active module from the UI. + */ +public interface CloseModuleCallback extends UiCallback { + + /** + * The user has requested the a module should be closed. In the event the + * user closes multiple modules at once (such as closing one window or tab in + * the UI), there will be separate calls for each one. + * + * @param moduleHandle module handle returned from + * {...@link DevModeUI#loadModule}. + */ + void onCloseModule(ModuleHandle moduleHandle); +} === --- /dev/null +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/CloseModuleEvent.java Tue Oct 13 11:08:52 2009 @@ -0,0 +1,33 @@ +/* + * Copyright 2009 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.dev.ui; + +/** + * Event used to request closing an active module. + * + * pRegistering a callback for this event instructs the UI it can allow the + * user to close active modules -- if no callback is registered it should not + * do so. + */ +public class CloseModuleEvent extends UiEventCloseModuleCallback { + + private static final TypeCloseModuleCallback TYPE = new TypeCloseModuleCallback( + close-module); + + public static TypeCloseModuleCallback getType() { +return TYPE; + } +} === --- /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/HostedModeBase.java Tue Oct 13 09:24:19 2009 +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/HostedModeBase.java Tue Oct 13 11:08:52 2009 @@ -23,6 +23,7 @@ import com.google.gwt.dev.cfg.ModuleDefLoader; import com.google.gwt.dev.jjs.JJSOptions; import com.google.gwt.dev.shell.ArtifactAcceptor; +import com.google.gwt.dev.shell.BrowserChannelServer; import com.google.gwt.dev.shell.BrowserListener; import com.google.gwt.dev.shell.BrowserWidgetHost; import com.google.gwt.dev.shell.BrowserWidgetHostChecker; @@ -68,12 +69,35 @@ */ abstract class HostedModeBase implements DoneCallback { - public
[gwt-contrib] right-click for tree items
Reviewers: jlabanca, Description: Hi John, could you review this patch for me? It's very small. The problem we were seeing was that for tree items, right- and middle-clicks were handled and the associated event were fired. This patch checks that only left-clicks fire such events. Thanks! kathrin Please review this at http://gwt-code-reviews.appspot.com/78813 Affected files: user/src/com/google/gwt/user/client/ui/Tree.java Index: user/src/com/google/gwt/user/client/ui/Tree.java === --- user/src/com/google/gwt/user/client/ui/Tree.java(revision 6346) +++ user/src/com/google/gwt/user/client/ui/Tree.java(working copy) @@ -541,7 +541,9 @@ // Currently, the way we're using image bundles causes extraneous events // to be sunk on individual items' open/close images. This leads to an // extra event reaching the Tree, which we will ignore here. -if (DOM.eventGetCurrentTarget(event) == getElement()) { +// Also, ignore middle and right clicks here. +if ((DOM.eventGetCurrentTarget(event) == getElement()) + (event.getButton() == Event.BUTTON_LEFT)) { elementClicked(DOM.eventGetTarget(event)); } break; --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: break up our too-large RPCSuite
Trying to let my test-parallelization work have a shorter long pole to gate timing. But this, although the longest test suite, seems not to make as drastic a difference as I'd expected---I have to work how to reduce the infrastructure overhead more. (@GWTC, even if successful, this is unlikely to help most external users, unless you happen to have an extra hundred machines available for a test run. Sorry. It should, however, let us break you less often, if only by shortening the build/test cycle of the robot builder.) On Tue, Oct 13, 2009 at 1:41 PM, b...@google.com wrote: What's the underlying motivation here? http://gwt-code-reviews.appspot.com/77814/diff/1/2 File user/test/com/google/gwt/user/DeRPCSuite.java (right): http://gwt-code-reviews.appspot.com/77814/diff/1/2#newcode16 Line 16: package com.google.gwt.user; Put this in gwt.rpc instead. http://gwt-code-reviews.appspot.com/77814/diff/1/2#newcode48 Line 48: import com.google.gwt.user.server.Base64Test; Fix imports. http://gwt-code-reviews.appspot.com/77814/diff/1/3 File user/test/com/google/gwt/user/RPCSuite.java (right): http://gwt-code-reviews.appspot.com/77814/diff/1/3#newcode91 Line 91: // moved to RpcValueSuite: suite.addTestSuite(ValueTypesTest.class); Are these comments part of the actual commit? http://gwt-code-reviews.appspot.com/77814 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Abstract out UI interface
JUnitShell and RunStyles LGTM Just a couple of nits. http://gwt-code-reviews.appspot.com/77818/diff/1/43 File user/src/com/google/gwt/junit/JUnitShell.java (left): http://gwt-code-reviews.appspot.com/77818/diff/1/43#oldcode557 Line 557: if (unitTestShell.thread != Thread.currentThread()) { This was added intentionally to ensure we don't run a test outside of the main thread that created JUnitShell. It may not matter anymore because it was handling an exception in SWT Display, which is now gone. http://gwt-code-reviews.appspot.com/77818/diff/1/42 File user/src/com/google/gwt/junit/RunStyleHtmlUnit.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/42#newcode198 Line 198: getLogger().log(TreeLogger.WARN, RunStyleHtmlUnit: Ignoring unknown This should throw an ERROR. The WARN can be lost in the output, and a user may not even realize that they accidently typed the wrong browser name. http://gwt-code-reviews.appspot.com/77818 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: right-click for tree items
LGTM http://gwt-code-reviews.appspot.com/78813 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : Update user code to use $entry
Patch updated. http://gwt-code-reviews.appspot.com/77813/diff/52/53 File user/src/com/google/gwt/http/client/Request.java (right): http://gwt-code-reviews.appspot.com/77813/diff/52/53#newcode266 Line 266: fireOnResponseReceivedImpl(callback); On 2009/10/13 15:47:14, jgw wrote: It is safe to not use $entry() here because it's being handled by XMLHttpRequest, right? Yes, this Request class is a wrapped around the xhr package. http://gwt-code-reviews.appspot.com/77813/diff/52/55 File user/src/com/google/gwt/layout/client/LayoutImplIE6.java (right): http://gwt-code-reviews.appspot.com/77813/diff/52/55#newcode248 Line 248: parent.onresize = $entry(function() { Updated JavaDoc to indicate that $entry is intentionally skipped. http://gwt-code-reviews.appspot.com/77813/diff/52/57 File user/src/com/google/gwt/user/client/DOM.java (right): http://gwt-code-reviews.appspot.com/77813/diff/52/57#newcode1263 Line 1263: dispatchEventImpl(evt, elem, listener); On 2009/10/13 15:47:14, jgw wrote: $entry() will have already been called by DOMImpl*, right? Yes. http://gwt-code-reviews.appspot.com/77813 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry
http://gwt-code-reviews.appspot.com/77810/diff/34/1016 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode54 Line 54: public static native JavaScriptObject entry(JavaScriptObject jsFunction) /*-{ I think this should be a public API on the GWT class, and referenced via JSNI rather than $entry; but I'm willing to defer to jgw. http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode148 Line 148: _ = jsFunction.apply(thisObj, arguments); What's the motivation for this change? http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode163 Line 163: if (hasEntered) { This solution is error-prone, but I'm not sure there's a good one. In particular, the event loop *can* get reentered-- in which case, you'd really want to treat the inner stack as its own thing, catch uncaught exceptions, etc. But this code is going to treat it like it's all one stack, when it might not be. I think it'd be better not to bother with worrying about reentrancy here and specialize FinallyCommand.flush() instead. http://gwt-code-reviews.appspot.com/77810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Integrates UiBinder with CssResource's imported scopes
On 2009/10/13 18:36:15, Ray Ryan wrote: Joel, can I turn this review over to you? Bob is swamped. Don't mind all the blather above about possible ClientBundle bugs, the patch works as is. Now that I finally understand it, LGTM. Crazy stuff, but powerful. http://gwt-code-reviews.appspot.com/78811 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Abstract out UI interface
LGTM, with a couple comments to consider. Also, if more classes are ever put into the dev.ui package, we may want to move all of the callback classes to dev.ui.events http://gwt-code-reviews.appspot.com/77818/diff/1/24 File dev/core/src/com/google/gwt/dev/HostedModeBase.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/24#newcode630 Line 630: * Callback for the UI to indicate it is down. down -- done, or exited. http://gwt-code-reviews.appspot.com/77818/diff/1/37 File dev/core/src/com/google/gwt/dev/ui/CloseModuleCallback.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/37#newcode26 Line 26: * The user has requested the a module should be closed. In the event the The user has requested the--that a module should be closed. In the event that the... http://gwt-code-reviews.appspot.com/77818/diff/1/33 File dev/core/src/com/google/gwt/dev/ui/DevModeUI.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/33#newcode47 Line 47: private final MapUiEvent.Type?, UiCallback callbacks = new HashMap You can use ? instead of UICallback, can't you? http://gwt-code-reviews.appspot.com/77818/diff/1/33#newcode149 Line 149: UiEvent.Type? eventType) { Can't you use UIcallback instead of ? here? http://gwt-code-reviews.appspot.com/77818/diff/1/33#newcode177 Line 177: protected final boolean hasCallback(UiEvent.Type? eventType) { Can't you use UICallback instead of ? here? http://gwt-code-reviews.appspot.com/77818/diff/1/32 File dev/core/src/com/google/gwt/dev/ui/UiEvent.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/32#newcode35 Line 35: private static int nextId = 0; Is this completely thread-safe? That is, are all instances of the Type object created by the same thread? http://gwt-code-reviews.appspot.com/77818/diff/1/32#newcode47 Line 47: // Since we require only one instance of each type object to be created, I agree with your invariant, but I could see someone making a mistake. Why not create a static map with names and ids and use that to assign the same id for those objects with the same names at construction time? http://gwt-code-reviews.appspot.com/77818 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry
http://gwt-code-reviews.appspot.com/77810/diff/34/1016 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode148 Line 148: _ = jsFunction.apply(thisObj, arguments); On 2009/10/13 19:13:43, scottb wrote: What's the motivation for this change? Declaring a temporary variable in the else block resulted in the following web-mode code: function apply() { return jsFunction.apply(thisObj, arguments); var toReturn; } Looks like we need something to reallocate js-local variables and prune unused ones. Is that something that RayC would be working on? http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode163 Line 163: if (hasEntered) { When we did the emulated JS stack trace work, we decided to treat the reentrancy situation as though it were one big stack. I think the same thing applies here. You might really, really hope that you're code doesn't hit a reentrancy situation, but we really can't mask what the browser is actually doing. If you really care about masking it, that could be done at a higher-level API. Re: FinallyCommand, the way Joel and I have been defining it, it's spec'ed to execute after all use code, but just before we release back to the browser's event queue. In my mind, that means that FinallyCommands enqueued in reentrant case execute in the same batch as those enqueued in the outermost execution context. @Joel, will you be the decider? What's going to make the most sense (if anything makes sense at all anymore)? http://gwt-code-reviews.appspot.com/77810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry
LGTM. http://gwt-code-reviews.appspot.com/77810/diff/34/1016 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode163 Line 163: if (hasEntered) { On 2009/10/13 19:26:24, bobv wrote: When we did the emulated JS stack trace work, we decided to treat the reentrancy situation as though it were one big stack. I think the same thing applies here. You might really, really hope that you're code doesn't hit a reentrancy situation, but we really can't mask what the browser is actually doing. If you really care about masking it, that could be done at a higher-level API. Re: FinallyCommand, the way Joel and I have been defining it, it's spec'ed to execute after all use code, but just before we release back to the browser's event queue. In my mind, that means that FinallyCommands enqueued in reentrant case execute in the same batch as those enqueued in the outermost execution context. @Joel, will you be the decider? What's going to make the most sense (if anything makes sense at all anymore)? Ah'm tha deecider today, yay! Seriously, I think the one big stack view of js reentrancy makes the most sense. It's almost definitely what's actually happening in most (all?) browsers in practice, and as you point out, it doesn't really matter much if a few FinallyCommands get executed slightly later under obscure circumstances. I expect this will pretty much never happen in practice anyway. http://gwt-code-reviews.appspot.com/77810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry
http://gwt-code-reviews.appspot.com/77810/diff/34/1016 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode148 Line 148: _ = jsFunction.apply(thisObj, arguments); Nasty. Yeah, cromwellian, or maybe spoon. http://gwt-code-reviews.appspot.com/77810/diff/34/1016#newcode163 Line 163: if (hasEntered) { On 2009/10/13 19:26:24, bobv wrote: When we did the emulated JS stack trace work, we decided to treat the reentrancy situation as though it were one big stack. I think the same thing applies here. That's fine for JS stack, but it's not fine for Uncaught EH. You really have to fire the Uncaught EH *even in the reentrancy case* because if you're inside a new event loop, the exception *won't* propagate to the outer stack, the browser will swallow / report it. Re: FinallyCommand, the way Joel and I have been defining it, it's spec'ed to execute after all use code, but just before we release back to the browser's event queue. In my mind, that means that FinallyCommands enqueued in reentrant case execute in the same batch as those enqueued in the outermost execution context. That makes complete sense, but I don't think it should be handled the same way as Uncaught EH. (That's why I make vague noise about moving it down into the FinallyCommand implementation, but I didn't think through it much and I guess you'd have to call something like FinallyCommand.enter() so it could do its own internal stack tracking.) http://gwt-code-reviews.appspot.com/77810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6359 committed - Final changes from review feedback....
Revision: 6359 Author: j...@google.com Date: Tue Oct 13 12:43:03 2009 Log: Final changes from review feedback. Patch by: jat Review by: rdayal, jlabanca http://code.google.com/p/google-web-toolkit/source/detail?r=6359 Modified: /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/HostedModeBase.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/SwingUI.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/CloseModuleCallback.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DevModeUI.java /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/UiEvent.java /changes/jat/abstractui/user/src/com/google/gwt/junit/RunStyleHtmlUnit.java === --- /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/HostedModeBase.java Tue Oct 13 11:08:52 2009 +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/HostedModeBase.java Tue Oct 13 12:43:03 2009 @@ -108,6 +108,7 @@ String remoteSocket = serverChannel.getRemoteEndpoint(); ModuleHandle module = ui.loadModule(userAgent, remoteSocket, url, tabKey, moduleName, sessionKey, agentTag, userAgentIcon, maxLevel); + // TODO(jat): add support for closing an active module logger = module.getLogger(); try { // Try to find an existing loaded version of the module def. @@ -627,7 +628,7 @@ } /** - * Callback for the UI to indicate it is down. + * Callback for the UI to indicate it is done. */ public void onDone() { setDone(); === --- /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/SwingUI.java Tue Oct 13 11:08:52 2009 +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/SwingUI.java Tue Oct 13 12:43:03 2009 @@ -210,6 +210,7 @@ public ModuleHandle loadModule(String userAgent, String remoteSocket, String url, String tabKey, String moduleName, String sessionKey, String agentTag, byte[] agentIcon, TreeLogger.Type logLevel) { +// TODO(jat): add support for closing an active module ModuleTabPanel tabPanel = null; ModulePanel tab = null; tabPanel = findModuleTab(userAgent, remoteSocket, url, tabKey, === --- /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/CloseModuleCallback.java Tue Oct 13 11:08:52 2009 +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/CloseModuleCallback.java Tue Oct 13 12:43:03 2009 @@ -23,7 +23,7 @@ public interface CloseModuleCallback extends UiCallback { /** - * The user has requested the a module should be closed. In the event the + * The user has requested that a module should be closed. In the event the * user closes multiple modules at once (such as closing one window or tab in * the UI), there will be separate calls for each one. * === --- /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DevModeUI.java Tue Oct 13 11:08:52 2009 +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/DevModeUI.java Tue Oct 13 12:43:03 2009 @@ -44,8 +44,8 @@ /** * Map of callbacks. */ - private final MapUiEvent.Type?, UiCallback callbacks = new HashMap - UiEvent.Type?, UiCallback(); + private final MapUiEvent.Type? extends UiCallback, UiCallback callbacks + = new HashMapUiEvent.Type? extends UiCallback, UiCallback(); /** * A lazily-initialized console logger - see {...@link #getConsoleLogger()}. @@ -99,6 +99,10 @@ /** * Show that a module is loaded in the UI. * + * pNote that the {...@link CloseModuleEvent} should already have a callback + * registered when this is called if needed -- the UI is not required to + * change the UI if it is registered later. + * * @param userAgent full user agent name * @param remoteSocket name of remote socket endpoint in host:port format * @param url URL of top-level window @@ -174,7 +178,8 @@ * @param eventType type of event * @return true if a callback has been registered for event */ - protected final boolean hasCallback(UiEvent.Type? eventType) { + protected final boolean hasCallback( + UiEvent.Type? extends UiCallback eventType) { return callbacks.get(eventType) != null; } } === --- /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/UiEvent.java Tue Oct 13 11:08:52 2009 +++ /changes/jat/abstractui/dev/core/src/com/google/gwt/dev/ui/UiEvent.java Tue Oct 13 12:43:03 2009 @@ -32,27 +32,11 @@ */ public static class TypeC { -private static int nextId = 0; - -private final int id; private final String name; protected Type(String name) { - id = nextId++; this.name = name; } - -@Override -public boolean equals(Object obj) { - //
[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry
That's fine for JS stack, but it's not fine for Uncaught EH. You really have to fire the Uncaught EH *even in the reentrancy case* because if you're inside a new event loop, the exception *won't* propagate to the outer stack, the browser will swallow / report it. Now I understand what you're getting at. I've updated the patch so that we always try the UCE. http://gwt-code-reviews.appspot.com/77810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Abstract out UI interface
Thanks for the reviews, committed to abstractui and merged down to farewellSwt in r6360. http://gwt-code-reviews.appspot.com/77818/diff/1/24 File dev/core/src/com/google/gwt/dev/HostedModeBase.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/24#newcode630 Line 630: * Callback for the UI to indicate it is down. On 2009/10/13 19:16:52, rdayal wrote: down -- done, or exited. Done. http://gwt-code-reviews.appspot.com/77818/diff/1/37 File dev/core/src/com/google/gwt/dev/ui/CloseModuleCallback.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/37#newcode26 Line 26: * The user has requested the a module should be closed. In the event the On 2009/10/13 19:16:52, rdayal wrote: The user has requested the--that a module should be closed. In the event that the... Done. http://gwt-code-reviews.appspot.com/77818/diff/1/33 File dev/core/src/com/google/gwt/dev/ui/DevModeUI.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/33#newcode47 Line 47: private final MapUiEvent.Type?, UiCallback callbacks = new HashMap On 2009/10/13 19:16:52, rdayal wrote: You can use ? instead of UICallback, can't you? ? extends UiCallback, done http://gwt-code-reviews.appspot.com/77818/diff/1/33#newcode149 Line 149: UiEvent.Type? eventType) { On 2009/10/13 19:16:52, rdayal wrote: Can't you use UIcallback instead of ? here? ? extends UiCallback, done http://gwt-code-reviews.appspot.com/77818/diff/1/33#newcode177 Line 177: protected final boolean hasCallback(UiEvent.Type? eventType) { On 2009/10/13 19:16:52, rdayal wrote: Can't you use UICallback instead of ? here? ? extends UiCallback, done http://gwt-code-reviews.appspot.com/77818/diff/1/32 File dev/core/src/com/google/gwt/dev/ui/UiEvent.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/32#newcode35 Line 35: private static int nextId = 0; On 2009/10/13 19:16:52, rdayal wrote: Is this completely thread-safe? That is, are all instances of the Type object created by the same thread? That could be an issue, and on further reflection we don't need the optimization that GwtEvent does, which is where this was copied from. Removing the id entirely and letting it fall back to the system identity hash code. http://gwt-code-reviews.appspot.com/77818/diff/1/32#newcode47 Line 47: // Since we require only one instance of each type object to be created, On 2009/10/13 19:16:52, rdayal wrote: I agree with your invariant, but I could see someone making a mistake. Why not create a static map with names and ids and use that to assign the same id for those objects with the same names at construction time? New UI events will not be created by users, but only by GWT developers as part of the GWT code base. I don't think we want to protect against this sort of error. Removing a custom hash code also means we don't need the equals here. http://gwt-code-reviews.appspot.com/77818/diff/1/43 File user/src/com/google/gwt/junit/JUnitShell.java (left): http://gwt-code-reviews.appspot.com/77818/diff/1/43#oldcode557 Line 557: if (unitTestShell.thread != Thread.currentThread()) { On 2009/10/13 18:59:27, jlabanca wrote: This was added intentionally to ensure we don't run a test outside of the main thread that created JUnitShell. It may not matter anymore because it was handling an exception in SWT Display, which is now gone. This is relative to the farewellSwt branch, where SWT has been removed, so this is no longer needed. http://gwt-code-reviews.appspot.com/77818/diff/1/42 File user/src/com/google/gwt/junit/RunStyleHtmlUnit.java (right): http://gwt-code-reviews.appspot.com/77818/diff/1/42#newcode198 Line 198: getLogger().log(TreeLogger.WARN, RunStyleHtmlUnit: Ignoring unknown On 2009/10/13 18:59:27, jlabanca wrote: This should throw an ERROR. The WARN can be lost in the output, and a user may not even realize that they accidently typed the wrong browser name. Done. http://gwt-code-reviews.appspot.com/77818 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: RR : GWT 2.0: Initial thoughts on $entry
LGTM http://gwt-code-reviews.appspot.com/77810/diff/41/1023 File user/src/com/google/gwt/core/client/impl/Impl.java (right): http://gwt-code-reviews.appspot.com/77810/diff/41/1023#newcode163 Line 163: boolean outermost; Nitpick: this is somewhat confusing. What about a static int entryDepth? http://gwt-code-reviews.appspot.com/77810 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: right-click for tree items
Thanks, committed at r6361. On Tue, Oct 13, 2009 at 3:01 PM, jlaba...@google.com wrote: LGTM http://gwt-code-reviews.appspot.com/78813 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: break up our too-large RPCSuite
(@GWTC, even if successful, this is unlikely to help most external users, unless you happen to have an extra hundred machines available for a test run. Sorry. It should, however, let us break you less often, if only by shortening the build/test cycle of the robot builder.) Now if only there were a huge server farm somewhere with a little spare CPU time to act as a build/test robot for the rest of us. Say, something that ran Python and Java web apps. Wouldn't that be awesome? ;D --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6361 committed - Tree now no longer fires events from left- and middle mouse button cli...
Revision: 6361 Author: kpro...@google.com Date: Tue Oct 13 13:09:57 2009 Log: Tree now no longer fires events from left- and middle mouse button clicks. http://code.google.com/p/google-web-toolkit/source/detail?r=6361 Modified: /trunk/user/src/com/google/gwt/user/client/ui/Tree.java === --- /trunk/user/src/com/google/gwt/user/client/ui/Tree.java Wed Sep 23 10:15:52 2009 +++ /trunk/user/src/com/google/gwt/user/client/ui/Tree.java Tue Oct 13 13:09:57 2009 @@ -541,7 +541,9 @@ // Currently, the way we're using image bundles causes extraneous events // to be sunk on individual items' open/close images. This leads to an // extra event reaching the Tree, which we will ignore here. -if (DOM.eventGetCurrentTarget(event) == getElement()) { +// Also, ignore middle and right clicks here. +if ((DOM.eventGetCurrentTarget(event) == getElement()) + (event.getButton() == Event.BUTTON_LEFT)) { elementClicked(DOM.eventGetTarget(event)); } break; --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: break up our too-large RPCSuite
Point, although CPU quotas is only the first of several reasons why AppEngine would actually be hard to use in practice for this. Maybe next quarter. (N.B.: that's a joke, neither a commitment nor a forever-refusal.) On Tue, Oct 13, 2009 at 4:11 PM, Isaac Truett itru...@gmail.com wrote: (@GWTC, even if successful, this is unlikely to help most external users, unless you happen to have an extra hundred machines available for a test run. Sorry. It should, however, let us break you less often, if only by shortening the build/test cycle of the robot builder.) Now if only there were a huge server farm somewhere with a little spare CPU time to act as a build/test robot for the rest of us. Say, something that ran Python and Java web apps. Wouldn't that be awesome? ;D --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6362 committed - Updated htmlunit to a 2.7 snapshot, containing many of the recent fixe...
Revision: 6362 Author: amitman...@google.com Date: Tue Oct 13 13:31:38 2009 Log: Updated htmlunit to a 2.7 snapshot, containing many of the recent fixes. Added a README file http://code.google.com/p/google-web-toolkit/source/detail?r=6362 Added: /tools/lib/htmlunit/README /tools/lib/htmlunit/htmlunit-core-js-r5070-sources.jar /tools/lib/htmlunit/htmlunit-core-js-r5070.jar /tools/lib/htmlunit/htmlunit-r5070-sources.jar /tools/lib/htmlunit/htmlunit-r5070.jar /tools/lib/nekohtml/nekohtml-1.9.13.jar === --- /dev/null +++ /tools/lib/htmlunit/README Tue Oct 13 13:31:38 2009 @@ -0,0 +1,28 @@ +The custom jars hold the HtmlUnit jars while we upgrade to HtmlUnit-2.7 and +beyond, and revisit all the Gwt tests that are currently ignored on HtmlUnit. +The htmlunit jar names are to be removed of all identifying information because +we don't want multiple copies. + +For updating HtmlUnit, here is the algorithm to use (vetted by HtmlUnit +committers): + +* Check the main Cl page (http://build.canoo.com/htmlunit/). Find the last +build that was successful. Find the svn revision (click on the XML Log File +tab, and scroll down to the last revision XML tag. search for revision). +Download the htmlunit.jar, htmlunit-sources.jar and htmlunit-core-js.jar (and +other dependencies if they have changed) from the artifacts page. Note that +SNAPSHOT artifacts only get generated if all unit tests pass. So the artifacts +correspond to the last successful build. + +* Download the htmlunit-core-js-sources.jar from +http://htmlunit.sourceforge.net/m2-repo-snapshots/net/sourceforge/htmlunit/htmlunit-core-js/2.7-SNAPSHOT/ +(verify that the core-js.jar are the same as in the previous step). + + +Files in this dir + htmlunit-rrevision.jar + htmlunit-rrevision-sources.jar + htmlunit-core-js-rrevision.jar + htmlunit-core-js-rrevision-sources.jar + +svn revision: 5070 === --- /dev/null +++ /tools/lib/htmlunit/htmlunit-core-js-r5070-sources.jar Tue Oct 13 13:31:38 2009 Binary file, no diff available. === --- /dev/null +++ /tools/lib/htmlunit/htmlunit-core-js-r5070.jar Tue Oct 13 13:31:38 2009 Binary file, no diff available. === --- /dev/null +++ /tools/lib/htmlunit/htmlunit-r5070-sources.jar Tue Oct 13 13:31:38 2009 Binary file, no diff available. === --- /dev/null +++ /tools/lib/htmlunit/htmlunit-r5070.jar Tue Oct 13 13:31:38 2009 Binary file, no diff available. === --- /dev/null +++ /tools/lib/nekohtml/nekohtml-1.9.13.jar Tue Oct 13 13:31:38 2009 Binary file, no diff available. --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] Re: Integrates UiBinder with CssResource's imported scopes
Committed r6363 http://gwt-code-reviews.appspot.com/78811 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---
[gwt-contrib] [google-web-toolkit] r6363 committed - UiBinder now understands CssResource's imported scopes, which...
Revision: 6363 Author: rj...@google.com Date: Tue Oct 13 13:41:12 2009 Log: UiBinder now understands CssResource's imported scopes, which is more than I can say for myself most of the time. Reviewed by jgw http://code.google.com/p/google-web-toolkit/source/detail?r=6363 Added: /trunk/user/src/com/google/gwt/uibinder/sample/client/CssImportScopeSample.css /trunk/user/src/com/google/gwt/uibinder/sample/client/CssImportScopeSample.java /trunk/user/src/com/google/gwt/uibinder/sample/client/CssImportScopeSample.ui.xml Deleted: /trunk/user/src/com/google/gwt/uibinder/client/AbstractUiBinder.java Modified: /trunk/user/src/com/google/gwt/uibinder/rebind/BundleWriter.java /trunk/user/src/com/google/gwt/uibinder/rebind/UiBinderParser.java /trunk/user/src/com/google/gwt/uibinder/rebind/UiBinderWriter.java /trunk/user/src/com/google/gwt/uibinder/rebind/model/ImplicitClientBundle.java /trunk/user/src/com/google/gwt/uibinder/rebind/model/ImplicitCssResource.java /trunk/user/src/com/google/gwt/uibinder/sample/client/WidgetBasedUi.java /trunk/user/src/com/google/gwt/uibinder/sample/client/WidgetBasedUi.ui.xml /trunk/user/test/com/google/gwt/uibinder/sample/client/UiBinderTest.java === --- /dev/null +++ /trunk/user/src/com/google/gwt/uibinder/sample/client/CssImportScopeSample.css Tue Oct 13 13:41:12 2009 @@ -0,0 +1,3 @@ +.body { + background-color: pink; +} === --- /dev/null +++ /trunk/user/src/com/google/gwt/uibinder/sample/client/CssImportScopeSample.java Tue Oct 13 13:41:12 2009 @@ -0,0 +1,83 @@ +/* + * Copyright 2009 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the License); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.google.gwt.uibinder.sample.client; + +import com.google.gwt.core.client.GWT; +import com.google.gwt.dom.client.DivElement; +import com.google.gwt.dom.client.Element; +import com.google.gwt.resources.client.ClientBundle; +import com.google.gwt.resources.client.CssResource; +import com.google.gwt.resources.client.CssResource.ImportedWithPrefix; +import com.google.gwt.uibinder.client.UiBinder; +import com.google.gwt.uibinder.client.UiField; +import com.google.gwt.user.client.ui.HasText; +import com.google.gwt.user.client.ui.Widget; + +/** + * Odd widget demonstrates UiBinder's integration with CssResource's obscure but + * crucial imported scopes feature. + */ +public class CssImportScopeSample extends Widget implements HasText { + interface Binder extends UiBinderDivElement, CssImportScopeSample { + } + private static final Binder binder = GWT.create(Binder.class); + + interface Bundle extends ClientBundle { +@Source(CssImportScopeSample.css) +InnerStyle innerStyle(); + +@Source(CssImportScopeSample.css) +OuterStyle style(); + } + + @ImportedWithPrefix(inner) + interface InnerStyle extends Style { + } + + @ImportedWithPrefix(outer) + interface OuterStyle extends Style { + } + + interface Style extends CssResource { +String body(); + } + + @UiField(provided = true) + Bundle bundle = GWT.create(Bundle.class); + @UiField + Element inner; + + @UiField + Element outer; + + CssImportScopeSample() { +bundle.style().ensureInjected(); +bundle.innerStyle().ensureInjected(); +setElement(binder.createAndBindUi(this)); + } + + public String getText() { +return outer.getInnerText(); + } + + public void setText(String text) { +outer.setInnerText(text); + } + + public void setWrappedText(String text) { +inner.setInnerText(text); + } +} === --- /dev/null +++ /trunk/user/src/com/google/gwt/uibinder/sample/client/CssImportScopeSample.ui.xml Tue Oct 13 13:41:12 2009 @@ -0,0 +1,26 @@ +!-- Copyright 2009 Google Inc. -- +!-- Licensed under the Apache License, Version 2.0 (the License); you-- +!-- may not use this file except in compliance with the License. You may -- +!-- may obtain a copy of the License at-- +!-- -- +!-- http://www.apache.org/licenses/LICENSE-2.0 -- +!-- -- +!-- Unless required by applicable law or agreed to in writing, software-- +!-- distributed under the License is distributed on an AS IS BASIS, -- +!--
[gwt-contrib] [google-web-toolkit] r6364 committed - Reverted c6310 (which created a temporary directory for updating HtmlU...
Revision: 6364 Author: amitman...@google.com Date: Tue Oct 13 13:52:35 2009 Log: Reverted c6310 (which created a temporary directory for updating HtmlUnit, possibly multiple times, without polluting TOOLS) svn merge -r6310:6309 . and (a) updated all references to htmlunit-2.5 to htmlunit-r5070, (b) updated the nekohtml depedency. Patch by: amitmanjhi http://code.google.com/p/google-web-toolkit/source/detail?r=6364 Deleted: /branches/farewellSwt/tools/do-not-commit-to-trunk Modified: /branches/farewellSwt/dev/build.xml /branches/farewellSwt/eclipse/dev/.classpath /branches/farewellSwt/eclipse/user/.classpath === --- /branches/farewellSwt/dev/build.xml Tue Oct 6 19:22:44 2009 +++ /branches/farewellSwt/dev/build.xml Tue Oct 13 13:52:35 2009 @@ -7,7 +7,6 @@ property name=alldeps.jar location=${project.build}/alldeps.jar / property name=gwt.junit.testcase.dev.core.includes value=**/com/google/**/*Test.class / property name=gwt.junit.testcase.dev.core.excludes value= / - property name=htmlunit.libs.temp location=${gwt.root}/tools/do-not-commit-to-trunk / target name=clean description=Cleans this project's intermediate and output files delete dir=${project.build} failonerror=false / @@ -75,6 +74,9 @@ include name=apache/commons/commons-io-1.4.jar / include name=apache/commons/commons-lang-2.4.jar / include name=cssparser/cssparser-0.9.5.jar / + include name=htmlunit/htmlunit-r5070.jar / + include name=htmlunit/htmlunit-core-js-r5070.jar / + include name=nekohtml/nekohtml-1.9.13.jar / include name=xalan/xalan-2.7.1.jar / include name=xerces/xerces-2_9_1/serializer.jar / include name=xerces/xerces-2_9_1/xercesImpl-NoMetaInf.jar / @@ -84,11 +86,6 @@ include name=sun/swingworker/swing-worker-1.1.jar / /fileset fileset file=build.xml/ -fileset dir=${htmlunit.libs.temp} - include name=htmlunit.jar / - include name=htmlunit-core-js.jar / - include name=nekohtml-1.9.13.jar / -/fileset /sourcefiles targetfiles fileset file=${alldeps.jar}/ @@ -132,9 +129,9 @@ zipfileset src=${gwt.tools.lib}/apache/commons/commons-io-1.4.jar / zipfileset src=${gwt.tools.lib}/apache/commons/commons-lang-2.4.jar / zipfileset src=${gwt.tools.lib}/cssparser/cssparser-0.9.5.jar / - zipfileset src=${htmlunit.libs.temp}/htmlunit.jar / - zipfileset src=${htmlunit.libs.temp}/htmlunit-core-js.jar / - zipfileset src=${htmlunit.libs.temp}/nekohtml-1.9.13.jar / + zipfileset src=${gwt.tools.lib}/htmlunit/htmlunit-r5070.jar / + zipfileset src=${gwt.tools.lib}/htmlunit/htmlunit-core-js-r5070.jar / + zipfileset src=${gwt.tools.lib}/nekohtml/nekohtml-1.9.13.jar / zipfileset src=${gwt.tools.lib}/xalan/xalan-2.7.1.jar / zipfileset src=${gwt.tools.lib}/xerces/xerces-2_9_1/serializer.jar / zipfileset src=${gwt.tools.lib}/xerces/xerces-2_9_1/xercesImpl-NoMetaInf.jar / === --- /branches/farewellSwt/eclipse/dev/.classpathTue Oct 6 19:22:44 2009 +++ /branches/farewellSwt/eclipse/dev/.classpathTue Oct 13 13:52:35 2009 @@ -40,7 +40,7 @@ classpathentry kind=var path=GWT_TOOLS/lib/tomcat/tomcat-jk2-2.1.jar/ classpathentry kind=var path=GWT_TOOLS/lib/tomcat/tomcat-util-5.1.jar/ classpathentry kind=var path=GWT_TOOLS/lib/sun/swingworker/swing-worker-1.1.jar/ - classpathentry kind=var path=GWT_TRUNK/tools/do-not-commit-to-trunk/htmlunit-core-js.jar sourcepath=/GWT_TRUNK/tools/do-not-commit-to-trunk/htmlunit-core-js-sources.jar/ - classpathentry kind=var path=GWT_TRUNK/tools/do-not-commit-to-trunk/htmlunit.jar sourcepath=/GWT_TRUNK/tools/do-not-commit-to-trunk/htmlunit-sources.jar/ + classpathentry kind=var path=GWT_TOOLS/lib/htmlunit/htmlunit-core-js-r5070.jar sourcepath=/GWT_TOOLS/lib/htmlunit/htmlunit-core-js-r5070-sources.jar/ + classpathentry kind=var path=GWT_TOOLS/lib/htmlunit/htmlunit-r5070.jar sourcepath=/GWT_TOOLS/lib/htmlunit/htmlunit-r5070-sources.jar/ classpathentry kind=output path=bin/ /classpath === --- /branches/farewellSwt/eclipse/user/.classpath Tue Oct 6 19:22:44 2009 +++ /branches/farewellSwt/eclipse/user/.classpath Tue Oct 13 13:52:35 2009 @@ -16,7 +16,7 @@ classpathentry kind=var path=GWT_TOOLS/lib/tomcat/commons-logging-1.0.jar/ classpathentry kind=var path=GWT_TOOLS/lib/apache/commons/commons-io-1.4.jar/ classpathentry kind=var path=GWT_TOOLS/lib/cssparser/cssparser-0.9.5.jar/ - classpathentry kind=var path=GWT_TRUNK/tools/do-not-commit-to-trunk/nekohtml-1.9.13.jar/ + classpathentry kind=var