Re: Login Application

2009-07-22 Thread Paulo Coutinho
I use google api to login in my appengine, http://brfotolog.appspot.com 2009/7/22 sin kang jlc...@gmail.com: you can use google account in appengine. it's like as long as you have google account you are valid. which means google takes care of all those authentication. you just have to

Re: Handling Multiple Click Events

2009-07-22 Thread stymie
Thanks I used the third option and it worked fine. On Jul 21, 6:04 pm, Neha Chachra neha.chac...@gmail.com wrote: Oh, sure. Here's one that should work:               import relevant classes like Button, clickhandler, Window                 Button[] myButtons = new Button[2]; myButtons[0] =

Re: GWT 1.7.0 - gwt-dnd 2.6.5 (Drag-and-drop) / gwt-log 2.6.2 (Logging) / gwt-voices 1.6.0 (Sound)

2009-07-22 Thread David
Fred, Ik woon in Belgie, in het Vlaamse landsgedeelte. Dus inderdaad, mijn moedertaal is Nederlands. David On Tue, Jul 21, 2009 at 6:49 PM, Fred Sauerf...@allen-sauer.com wrote: I'm fluent in Dutch actually. I have family in the Netherlands and spent about 13 years there. Kun jij ook

Re: Command Pattern, MVP, EventBus

2009-07-22 Thread Kwhit
A short update on the original posting. I've now implemented the pattern I suggested in the original post in a reference application and it's running. My goals for doing the work were to address two issues: 1/ My GWT/GAE productivity: after a short learning curve it had sped up but it slowed

Re: Image Bundle not working in IE

2009-07-22 Thread Thomas Broyer
On 22 juil, 00:47, Sean slough...@gmail.com wrote: Yeah, that'd be great. I don't mean to link whore but:http://www.celticlock.com/ All the images on the left show up in FireFox and Chrome, but not in IE. Nor do the +',s and -'s of the tree under GWT Playground, Gallery or NFL. If anyone

Re: Eclipse plugin for Eclipse 3.5 (Galileo)

2009-07-22 Thread Nik
We're now heading towards months, not weeks. Any progress? On Jun 25, 10:17 pm, Alex Rudnick a...@google.com wrote: If you enjoyed this thread, you may also like

Re: Command Pattern, MVP, EventBus

2009-07-22 Thread Thomas Broyer
On 22 juil, 04:07, Jason A. Beranek jason.bera...@gmail.com wrote: I've been looking at the place service as well, but while I don't agree with exactly the structure in David Peterson's example, I'm not sure if the place service should fire an IssueEditEvent that drives some UI change. From

(i18n) Retrieving language from Language code

2009-07-22 Thread Neha Chachra
Hello, Quick question: I want to get the English name of a language using its language code. Something like, i18n.getLocalizedLanguageName(de, en) where I expect to get German. How can I do this in GWT? Unfortunately, I couldn't find an earlier discussion on this. Thanks a lot! -neha nay-ha

Re: ImageBundle question

2009-07-22 Thread David
Hi Parag, An com.google.gwt.user.client.ui.ImageBundle would be the best solution for your problem - as your own title suggests. The GWT docs contain a good explanation on how to use them David On Wed, Jul 22, 2009 at 4:47 AM, myapplicationquestionsparag.bhag...@cgi.com wrote: Hi All, I

where jetty home on HostedMode?

2009-07-22 Thread vetal
Hello! Can any one told where locate Jetty home directory during running in HostedMode? Thanks, vetal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Determining a specific cell in a FlexTable

2009-07-22 Thread David
Your question is not 100% clear to me... but I will answer the question as I understood it :-) If you want to know what the coordinates are for a Widget in a table then you will need to use the DOM API to find the TD and TR and determine the index of these. There is no API available that gives

Re: InfoWindowContent JavaScript Browsers

2009-07-22 Thread Eric Ayers
I'm sorry to hear you're still having trouble. I can give you some general tips. If you are unable to debug in hosted mode, you might try using a javascript debugger like Firebug or IE8's developer tools. When you compile, add the option -style PRETTY to the build and the javascript output will

Re: Generators don't work good with refresh button

2009-07-22 Thread Alen Vrecko
Thanks. Good idea. I could have learned by now that there is usually user and dev lists... Will repost there. Cheers Alen On Jul 21, 4:11 pm, Thomas Broyer t.bro...@gmail.com wrote: On 21 juil, 14:30, Alen Vrečko alen_vre...@yahoo.com wrote: Hi. The generators are without a doubt a

Re: integrate GWT into existing project

2009-07-22 Thread Tobe
Maybe it seemed to easy for me but I think it's all I need :) On Jul 1, 1:48 pm, Ian Bambury ianbamb...@gmail.com wrote: I can't advise on the plugin as I don't use it, but the way I do GWT/PHP development is to set up a lightweight web server (I use Abyss) and point the document root at the

Re: InfoWindowContent JavaScript Browsers

2009-07-22 Thread lumo
ok, so i try to convert the custom html and js code to gwt code... note: i already got a way to get the data from topoGetAltitude() instead from js via a request like a form submit (php-java communication is already implemented!) i am courious if this will work in combination with gwt... ill try

Pre-Compress GWT compiler output for web server

2009-07-22 Thread martinhansen
Hello, I am evaluating some approaches to reduce the amount of data being transmitted to the client browser. I am using the Apache Tomcat web server. I successfully managed to enable GZIP output for the Tomcat server by editing the server config file. It works fine. However, this way the data is

Problem using Google Visualization with DockPanel

2009-07-22 Thread Rick
Hi all I am using GWT 1.6 and Google Visualizations to show graph in my application. I have to show multiple graphs to user. For this, I am adding my visualization graphs in a DockPanel with direction. Now If I add graphs before attaching DockPanel, all graphs are rendered properly in all

Project setup that allows working with both hosted mode and web mode side by side?

2009-07-22 Thread rintcius
Hi, I am looking for a project setup that allows me to work easily with both hosted mode and web mode (including RPC). I am getting the exception below, whenever I start up hosted mode after I have started it in web mode (i.e. war/myModule directory contains the compiled code for web mode). If I

Re: Project setup that allows working with both hosted mode and web mode side by side?

2009-07-22 Thread JonJ27
Hi Rintcius What IDE are you using and what is your J2EE contianer? I managed to use the -noserver -startupURL options... This allowed me to get my back end (services) debuggable on my servlet container (in this case websphere, which had already been started) and the front end in hosted mode.

Re: Pre-Compress GWT compiler output for web server

2009-07-22 Thread martinhansen
I've found an interesting tool for Java EE applications and Tomcat server: :-) http://www.xucia.com/#Resource%20Accelerate :-) ResourceAccelerate... it can cache the gzip output of tomcat and thereby reduces the need to re-compress files for every request. Great! What do you think of it? On

Re: ClassCastException only in Chrome and OBF mode

2009-07-22 Thread mars1412
ok - I think now I tracked it down first it turned out, that the ClassCastException occured only when I read a special Enum-Value from the database. which was strange, because it was an enum with 6 values: 5 worked, one had the ClassCastException when looking closer at the enum I noticed, that

How to configure Source path to use another project (jar) file

2009-07-22 Thread JonJ27
Hi all, I am very new to GWT and am trying to POC the way forward for new development. I am really hoping to be able to tell my boss this is the way we are going to do it from now on.. because GWT looks really neet even if the EventBus etc looks a little dauting. Anyway.. i digress I have

Re: How to test GWT MapWidget?

2009-07-22 Thread Dalla
Help pl :-) On 21 Juli, 19:17, Dalla dalla_man...@hotmail.com wrote: Hi all I´m trying my best to implement the MVP pattern to be able to create fast unit tests, using JUnit4 only instead of using GWTTestCase. I´ve trying to create a simple application using the GWTGoogleMaps API,

Re: extra Labels displaying in Panel

2009-07-22 Thread Josephine
Thomas - Thank you so much! Initializing ret was the problem! I was initializing it, but in the wrong place. Thank you again - this has been making me crazy! :) Josephine --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Modify PHP generated content from database by JavaScript

2009-07-22 Thread Tobe
Hi, I have a list of notes (data = ID, subject, description, date) which is generated by PHP from a MySQL database. Now I want the user to change the notes by using JavaScript. The user can click on a note to see all the data of it on a single page. By clicking on one of the data the label shall

Re: Image Bundle not working in IE

2009-07-22 Thread Sean
So, I seemed to have two problems, one my Server is not logging errors, I should have seen that 403 error, but didn't. But I was able on your suggestion mess around with IE's Developer's tools. I figured out how to use the pointer to figure out the call made and I figured out the problem. The

Re: waiting for DOM to be ready

2009-07-22 Thread mike
Ah, thanks. -Mike On Jul 22, 12:02 am, Nuno brun...@gmail.com wrote: the onModuleLoad method should be invoked only after all the page has been loaded.Give a look at the webtoolkit pagehttp://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects  says. On Tue, Jul 21, 2009 at

Solution to GWT hosted mode not working in debug mode in eclipse

2009-07-22 Thread Ralph
I figured this might be useful to someone. If you are experiencing a deadlock (not responding) in GWT 1.5 hosted mode specifically in eclipse debug mode and not in run mode, make sure that you did not set any method breakpoints (as opposed to a line breakpoint). Ralph

GWT Compile Error when using JPA managers in another project.

2009-07-22 Thread JonJ27
I have solved my original issue by creating a module.gwt.xml in the project i wish to reference and then use the inherits name in my main GWT project which sorts out my own class compile errors. Howvere there is now another issue. My other project is a JPA project and now when i do the GWT

Re: Eclipse plugin for Eclipse 3.5 (Galileo)

2009-07-22 Thread Rajeev Dayal
Hi, Yes, this has taken longer than expected, but we're now on the finishing touches. We should have something out there within the week. Thanks, Rajeev On Tue, Jul 21, 2009 at 10:28 PM, Nik nikcol...@gmail.com wrote: We're now heading towards months, not weeks. Any progress? On Jun 25,

Re: Hyperlinks in Dockpanel

2009-07-22 Thread salk31
I think the GWT Showcase (source comes in distribution) has a hyperlink example and the whole left nav uses them. On Jul 18, 5:25 am, Jeremiah Moses jeremiah.mo...@gmail.com wrote: i did play around a bit with click handler but is there any working examples for something similar to wht i am

Re: Gmail this is taking longer than usual message

2009-07-22 Thread Juraj Vitko
How do you plan to implement the timer? I assume it will be external to the GWT application - so perhaps the app will make a change on a predefined spot in the host page DOM, and the script with the timer will check for it? It's an interesting problem - I definitelly don't want my potential

Using SOYC

2009-07-22 Thread kuvera
Hi, I have just built GWT from trunk, and I would like to inspect the component sizes in one of my modules with SOYC, using it for the first time. The only specification I found was in the wiki named CodeSplitting, so I set it up as specified there. I found that using GWTCompiler class the -aux

Re: Using SOYC

2009-07-22 Thread davidRoe
I believe this was changed to -extra extradir On Jul 22, 9:23 am, kuvera bors...@gmail.com wrote: Hi, I have just built GWT from trunk, and I would like to inspect the component sizes in one of my modules with SOYC, using it for the first time. The only specification I found was in the

Re: Generators don't work good with refresh button

2009-07-22 Thread Juraj Vitko
Hi Alen, I'm new in GWT, but I successfully use my own source code generation tools to handle dynamic things on the client in a static way. I'm not sure how exactly the JTypeOracle stuff works, but I like to be able to see and/or debug through the generated code, plus there's no extra

GWT version of LibKML

2009-07-22 Thread ben
Is there any thoughts about GWT version of Google's LibKML? This would be very handy, so we wouldn't have to maintain our own kml libraries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group.

Suggestion: Toggle style name

2009-07-22 Thread Célio
Eventually I find my self doing this: toggleStyleName = !toggleStyleName; if (toggleStyleName) { widget.addStyleName(SomeStyleName); } else { widget.removeStyleName(SomeStyleName); } So here goes my 2 cents:

Re: JSNI issues

2009-07-22 Thread wsaleem
Hi, Adam. Thanks a lot for your effort! I found a way to eliminate the problem, namely by directly compiling for web mode, and not for hosted mode (I am still on GWT 1.5. I know, it is high time I ported!). I do not understand it though. When I include raw JS files from the Google Visualization

Re: Working with xml nodes gives exceptions in google chrome only

2009-07-22 Thread mihai007
The error is: Uncaught exception in http://localhost:/bla/0B85277F02991E2394B9BF24DE3642D0.cache.html:1366 throw com_google_gwt_xml_client_impl_DOMNodeException_

Re: Pre-Compress GWT compiler output for web server

2009-07-22 Thread Bob Rozelle
A solution for the *.cache.html files is to gzip them to .cache.html.gz files. If you are using Apache as your web server you can then modify the mime.conf file (found at /etc/apache2/mods-enabled/mime.conf) by uncommenting: AddEncoding x-gzip .gz .tgz and commenting: #AddType

Hosted Mode RPC Throws Error During Compile

2009-07-22 Thread Chris
In hosted mode I am getting an error when compiling the RPC method. See below for the stack trace. I am using XP, GWT 1.6. It appears to be some type of concurrent access to the same file. I found an old thread that talked a bit about this but no solutions. see the last message in this

Re: Profiling memory usage for large gwt application

2009-07-22 Thread ankur jain
hi joel...do u hav any suggestion regarding this?? On Tue, Jul 21, 2009 at 10:57 PM, ankuur xs4an...@gmail.com wrote: hi We are using the gwt 2.0 code from gwt trunk.And we hav seen a drastic improvement in the page loading especially in case of IE(6 and 7).Actully breaking the compiled

Re: Login Application

2009-07-22 Thread Sean
I don't use the Google App engine, so I built my own login. I have a database with user name's and passwords. I take what's in the text boxes, send it via RPC to the server, have the server select the password from the db for the submitted username and check it against what was sent. IF either

Re: not able to deploy to tomcat server

2009-07-22 Thread Sean
Is this a shared tomcat server? Something I experienced and several other people who've e-mailed me experienced is that some shared TOMCAT servers require certain prefixes for tomcat to actually handle the servlet request. For instance, all my RPC calls have to have /servlet in it or TOMCAT

Re: Getting a simple GWT project to gwt-compile in maven2

2009-07-22 Thread Charlie Collins
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/bf6d77a59c886e19/ And you might get more/better response on the gwt-maven-plugin mailing list. On Jul 21, 3:08 pm, Yaakov yaakov.chai...@gmail.com wrote: Hi, I am trying to get a very simple GWT project to gwt-compile

Re: JSNI: window vs $wnd

2009-07-22 Thread mike
Cool, thanks again for the help. I am confused by the last paragraph but I think it's because you're looking at the code at the first URL rather than the second one: http://code.google.com/webtoolkit/tutorials/1.6/Xsite.html The code at that URL uses 'window' instead of $wnd. So I think this

jetty classpath in hosted mode?

2009-07-22 Thread Daniel
how can the classpath for the embedded jetty in hosted mode be configured? problem is that i need to read and write files from an rpc server implementation on the server side. as long as these files are located in the war directory everything is working fine. but i'm not able to put them into

Re: gwt 1.6 and oophm, how to?

2009-07-22 Thread denis56
Thanks for reply, I actually did get oophm work with gwt 1.6/1.7. Wanted to share some feedback. Building from trunk, I first run into issue #3556 (http:// code.google.com/p/google-web-toolkit/issues/detail?id=3556) which luckily had a workaround documented.

Selection of Widgets

2009-07-22 Thread Ewald Pankratz
Hi When I create a widget e.g. a HTML widget and go with the mouse over the widget and press the left mouse button and move the mouse somewhere else the widget or part of the widget will be selected. How can I get rid of this selection. I don't want any selection instead I want to draw a line

Open a word document online for view and edit with GWT

2009-07-22 Thread AGharbawi
Hello All, I'm trying to build a page that can open a word document inside the browser for editing and viewing. The document will be saved in a database. is it possible to use google docs, or zoho to do that. or do u have any other suggestions ... Please help... Alaa G

How does sinkevents works by default?

2009-07-22 Thread Kriptonis Azullis
Hello, I'm developing an application using gwt . I never used events before so I am still learning how they work in GWT. The sinkEvents() as I understand it is used if you want your widget to react to events. But what does it do to events if it doesn't handle them? Does it bubble them up so that

Google Maps, user could add their markers.

2009-07-22 Thread pennfoli0
Hi, can this be possible that users could also add their own marker, for example in this site http://gmaps-samples.googlecode.com/svn/trunk/manymarkers/markerhash.html they could also insert their own marker and also insert their details. What approach should I use? How will be their data be

GWT compiler doesn't ignore (java.xml) annotations

2009-07-22 Thread Pauli
Hello, I was under the impression that GWT compiler ignores unrecognized annotations. Well, I have a simple test class with some java.xml annotations on it. The source for those annotations is not on the classpath. I read that if I put the source there, I should have no problems, but for this

Programmatically resize browser window

2009-07-22 Thread Pandaman
For the GWT app I'm developing, I need to programmatically change the height of the browser window. Is there a way to do this in GWT? I've tried the following: public static native void setWindowHeight(final int height) /*-{ $wnd.resizeTo($wnd.outerWidth, height); }-*/; But this does not

Re: Image Bundle not working in IE

2009-07-22 Thread Thomas Broyer
On 22 juil, 16:57, Sean slough...@gmail.com wrote: So, I seemed to have two problems, one my Server is not logging errors, I should have seen that 403 error, but didn't. But I was able on your suggestion mess around with IE's Developer's tools. I figured out how to use the pointer to figure

Re: JSNI: window vs $wnd

2009-07-22 Thread Thomas Broyer
On 22 juil, 20:28, mike mikebannis...@gmail.com wrote: Cool, thanks again for the help. I am confused by the last paragraph but I think it's because you're looking at the code at the first URL rather than the second one: http://code.google.com/webtoolkit/tutorials/1.6/Xsite.html The code

Re: Programmatically resize browser window

2009-07-22 Thread Pandaman
Edit: this actually does not interfere with the width of most browsers - it resizes to the previous width and new height. It does mess up the width in my Google hosted mode browser though for some reason. I actually would prefer something that would resize the client area of the browser (i.e.

Re: How does sinkevents works by default?

2009-07-22 Thread Thomas Broyer
On 22 juil, 21:07, Kriptonis Azullis kripto...@gmail.com wrote: Hello, I'm developing an application using gwt . I never used events before so I am still learning how they work in GWT. The sinkEvents() as I understand it is used if you want your widget to react to events. First, starting

Re: JSNI: window vs $wnd

2009-07-22 Thread mike
Got ya. Thank you for the hand holding. Much appreciated. -Mike On Jul 22, 6:01 pm, Thomas Broyer t.bro...@gmail.com wrote: On 22 juil, 20:28, mike mikebannis...@gmail.com wrote: Cool, thanks again for the help. I am confused by the last paragraph but I think it's because you're looking at

gwt hijacked javamail?

2009-07-22 Thread jimbolaya
I want to send smtp from server side? wtf -jim --~--~-~--~~~---~--~~ 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

Re: RPC host mode fail ...

2009-07-22 Thread elpato
any idea? --~--~-~--~~~---~--~~ 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

GWT 1.7 Now Available

2009-07-22 Thread Bruce Johnson
Hi everyone, (Most people are probably already quite aware of the new GWT 1.7 release, but we wanted to send out an official announcement we could pin to the top of the message list.) GWT 1.7 is a minor update that adds better support for Internet Explorer 8, Firefox 3.5, and Safari 4. Each of

History -- invalidating a page

2009-07-22 Thread John Ivens
I hope that this is an easy question for all of you. I apologize if this has been answered before. I have set up security with LDAP and ACEGI, using jsp pages that are called when requests are intercepted via ACEGI. It works great. Upon successful login and determining that the user has the

Re: Interface not RPC serializable

2009-07-22 Thread Nathan Wells
I don't think so, as I believe that is how it's supposed to work. From the docs (http://code.google.com/webtoolkit/doc/1.6/ DevGuideServerCommunication.html#DevGuideSerializableTypes): A type is serializable and can be used in a service interface if one of the following is true: The type is

Re: Pre-Compress GWT compiler output for web server

2009-07-22 Thread hazy1
It is dead simple to create a simple in-memory cache in your web application for gzipped data. Gzip the web page in memory the first time it is created and then use this for subsequent requests to that resource. On Jul 22, 7:06 am, martinhansen martin.hanse...@googlemail.com wrote: Hello, I

Re: Command Pattern, MVP, EventBus

2009-07-22 Thread Jason A. Beranek
On Jul 22, 3:51 am, Thomas Broyer t.bro...@gmail.com wrote: They're IMO as easy to parse as path-like tokens like Gmail uses; it's just a matter of taste (and how you'd like to model your internal API) Agree that the implementation depends on the model for an applications internal API. Part

Re: Command Pattern, MVP, EventBus

2009-07-22 Thread Jason A. Beranek
On Jul 22, 6:59 am, Daniel Wellman etl...@gmail.com wrote: So it seems it's a tradeoff in how much test coverage you need -- expose the low-level HasXyz interfaces in your view if you need more automated test code coverage, or use a gateway interface to the view which exposes higher-level

Re: Google Maps, user could add their markers.

2009-07-22 Thread lumo
create a new mar 2009/7/22 pennfoli0 pennfo...@gmail.com Hi, can this be possible that users could also add their own marker, for example in this site http://gmaps-samples.googlecode.com/svn/trunk/manymarkers/markerhash.html they could also insert their own marker and also insert their

Re: Login Application

2009-07-22 Thread Shane
Do you send over HTTPS? On Jul 23, 4:03 am, Sean slough...@gmail.com wrote: I don't use the Google App engine, so I built my own login. I have a database with user name's and passwords. I take what's in the text boxes, send it via RPC to the server, have the server select the password from

Re: Google Maps, user could add their markers.

2009-07-22 Thread lumo
(i love it when my browser gets crazy...) create a new marker when the onclick-event is fired and add some textboxes so the user cann fill data? or create a form where users cam specify their informations and use this form to create a new marker... 2009/7/23 lumo lumo2...@gmail.com create a new

Re: Selection of Widgets

2009-07-22 Thread Adam T
Hi Ewald, Sounds like you want to prevent the default event handling of the browser. You'll need to add some event handlers to your HTML widget and the call the preventDefault() method in them. For example: HTML widget = new HTML();

[gwt-contrib] Problems after upgrading to trunk

2009-07-22 Thread dflorey
After upgrading to trunk my app stopped working. In hosted mode in don't get any error msg, but the hosted mode browser stays empty. When compiling I get this error: [ERROR] Unexpected java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference at

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

2009-07-22 Thread Sami Jaber
Hi Dan, That sounds to be a really good step in the right direction. This mecanisms seems to cover all the nominal use cases that we would face regarding the different o/r mapping impl. I would just make a few remarks : 1) When you call all the setXX() methods when the object is sent back to the

[gwt-contrib] Generators and hosted mode refresh

2009-07-22 Thread Alen Vrecko
Hi, continuing from http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/c65457fa4df351c1 . Sorry for the added garbage could have known better to post it here in the first place. I see generators as en extension to client code therefore I expect them to behave a bit like

[gwt-contrib] Re: Problems after upgrading to trunk

2009-07-22 Thread Scott Blum
This is after ant clean? On Wed, Jul 22, 2009 at 5:14 AM, dflorey daniel.flo...@gmail.com wrote: After upgrading to trunk my app stopped working. In hosted mode in don't get any error msg, but the hosted mode browser stays empty. When compiling I get this error: [ERROR] Unexpected

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-22 Thread Brian Stoler
Hi Scott, Gin uses reflection because it reuses the heavy lifting from Guice, which is not GWT-aware. Seems like both issues could be resolved if generators were loaded in the client code ClassLoader. Is there a technical or philosophical problem with doing so? I can understand it might not be at

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-22 Thread Bruce Johnson
@Scott: Hasn't there been a subtle shift in this regard? With GWT 1.5, didn't we conclude that loading classes at least for annotations would make the most sense? I think now that we have enhanced the CCL, for deRPC, to delegate to grey area classes that aren't strictly in the client space, maybe

[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-22 Thread mescali...@gmail.com
John Tamplin wrote: On Tue, Jul 21, 2009 at 9:51 AM, mescali...@gmail.com mailto:mescali...@gmail.com mescali...@gmail.com mailto:mescali...@gmail.com wrote: so I did I. I repeated the above steps today. ant (1.7.1) run up to some point, then I get this error: [gwt.javac]

[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-22 Thread mescali...@gmail.com
John Tamplin wrote: Can you svn up in the tools directory? It sounds like perhaps you are missing the more recent JDT. btw, feder...@gentoo64 ~/gwt-trunk/tools $ ls -1 lib/eclipse/jdt* lib/eclipse/jdt-3.1.1.jar lib/eclipse/jdt-3.1.1-src.zip lib/eclipse/jdt-3.3.1.jar

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-22 Thread Scott Blum
But there is no CCL when running the compiler. We never go through the trouble of constructing a client class loader environment for generators to access, they just run in the system class loader. Supposing we did build a client classloader and run the generators there, how would generators then

[gwt-contrib] Re: GWT emulation of HTML5/CSS3 features

2009-07-22 Thread Arthur Kalmenson
This would definitely be a killer feature. A common API for something like Web Workers and App Cache (maybe wrapper for http://code.google.com/p/webstorageportabilitylayer/) that can seamlessly switch talk to Gears or native HTML 5 implementation would be very nice. I think it's a lot easier to

[gwt-contrib] Re: RR : Emulate JS stack traces (phase 1)

2009-07-22 Thread spoon
This patch took me hours to absorb. It sounds simple to modify the compiler to emulate stacks, but understanding precisely where the stack updates need to happen is difficult! The implementation is very clean. There are just two nits in the comments. The line number recording looks like it

[gwt-contrib] Re: Problems after upgrading to trunk

2009-07-22 Thread dflorey
I get this error when gwt-compiling my app. gwt trunk compiles just fine. On Jul 22, 4:13 pm, Scott Blum sco...@google.com wrote: This is after ant clean? On Wed, Jul 22, 2009 at 5:14 AM, dflorey daniel.flo...@gmail.com wrote: After upgrading to trunk my app stopped working. In hosted

[gwt-contrib] Re: RR : Emulate JS stack traces (phase 1)

2009-07-22 Thread rice
http://gwt-code-reviews.appspot.com/47816/diff/1/5 File dev/core/src/com/google/gwt/dev/js/JsStackEmulator.java (right): http://gwt-code-reviews.appspot.com/47816/diff/1/5#newcode174 Line 174: * exitingEarly $stackDepeth = stackIndex - 1; There's a typo here: stackDep_e_th On 2009/07/22

[gwt-contrib] Re: Problems after upgrading to trunk

2009-07-22 Thread Scott Blum
I'm suggesting that ant clean and recompiling trunk from scratch might fix this. Also, make sure you svn up your tools directory, just in case. On Wed, Jul 22, 2009 at 11:27 AM, dflorey daniel.flo...@gmail.com wrote: I get this error when gwt-compiling my app. gwt trunk compiles just fine.

[gwt-contrib] Re: Problems after upgrading to trunk

2009-07-22 Thread dflorey
Update: - When gwt-compiling using the Eclipse-plugin I get the error pasted above. - When starting hosted mode the browser page is empty with no errors - When compiling from hosted mode browser everything works fine - Launching compiled app in external browser works fine On Jul 22, 5:27 pm,

[gwt-contrib] Re: RR : Emulate JS stack traces (phase 1)

2009-07-22 Thread bobv
I don't think getting this thing wrapped up will take too much more work. http://gwt-code-reviews.appspot.com/47816/diff/1/5 File dev/core/src/com/google/gwt/dev/js/JsStackEmulator.java (right): http://gwt-code-reviews.appspot.com/47816/diff/1/5#newcode132 Line 132: // $stack[$stackDepth =

[gwt-contrib] Re: GWT emulation of HTML5/CSS3 features

2009-07-22 Thread dflorey
I think it is helpful if we distinguish between optional and mandatory features. If GWT would come with a set of widgets or library components that behave slightly different on different browsers this might not be bad in general. I'm aware that the general approach of GWT is to write software

[gwt-contrib] Re: Problems after upgrading to trunk

2009-07-22 Thread dflorey
Hmmm, very strange. After deleting all the *.jdt.prefs* files in my .settings directory everything works fine again. No idea, never created these files but they seem to be harmful under certain circumstances ;-) On Jul 22, 5:37 pm, dflorey daniel.flo...@gmail.com wrote: Update: - When

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-22 Thread Alen Vrecko
Hey guys. Imho having Generators in the CCL club is icing on the cake...very cool but not really essential. I can confirm using JavaRebel solves both problems (generator code change, and gin module changes, @Inject added etc). For the time being I think this is a reasonable compromise for

[gwt-contrib] Re: RR : Emulate JS stack traces (phase 1)

2009-07-22 Thread spoon
http://gwt-code-reviews.appspot.com/47816/diff/1/5 File dev/core/src/com/google/gwt/dev/js/JsStackEmulator.java (right): http://gwt-code-reviews.appspot.com/47816/diff/1/5#newcode184 Line 184: * the stack depth. Oh, right, the pop for a return has to be placed in the enclosing finally, and it

[gwt-contrib] Re: Generators and hosted mode refresh

2009-07-22 Thread Scott Blum
Brian, do you know if Guice allows you to specify a ClassLoader other than the active one? In principle, I would be okay with GeneratorContext providing a special other ClassLoader to generators that contained only client code; it would have exactly what TypeOracle does.and just be another way to

[gwt-contrib] fix a buffer overflow in AsyncFragmentLoader

2009-07-22 Thread spoon
Reviewers: bobv, Description: Freelend (fabbott) ran our test suite with assertions enabled, and found an assertion failure in AsyncFragmentLoader. Curiously, the code likely works in a browser, due to arrays not being bounds checked when compiling to JavaScript, but certainly the code is not

[gwt-contrib] Re: RR : Emulate JS stack traces (phase 1)

2009-07-22 Thread bobv
Ready for another look. Major changes: - No special handling for throw statements. - Force all try/finally to be try/catch/finally to ensure that a caught JavaScriptException would have the correct stack data as well as code running in the finally block. - Locations always record when

[gwt-contrib] Re: fix a buffer overflow in AsyncFragmentLoader

2009-07-22 Thread bobv
LGTM. http://gwt-code-reviews.appspot.com/54803 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: RR : Emulate JS stack traces (phase 1)

2009-07-22 Thread spoon
LGTM. http://gwt-code-reviews.appspot.com/47816/diff/3008/1037 File dev/core/src/com/google/gwt/dev/js/JsStackEmulator.java (right): http://gwt-code-reviews.appspot.com/47816/diff/3008/1037#newcode68 Line 68: private class Bootstrap extends JsVisitor { Bootstrap took me a few minutes to figure

[gwt-contrib] Force emulated stack traces when running JUnit tests?

2009-07-22 Thread BobV
Should running a web-mode test case always turn on the emulated stack trace code? You would get stack traces entries like: Unknown.bx(YourClass.java:1234) regardless of which browser you're on and the type of exception, Java-derived or native. The cost is code bloat: 64k versus 108k for the

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-22 Thread Scott Blum
On Wed, Jul 22, 2009 at 4:46 PM, BobV b...@google.com wrote: Should running a web-mode test case always turn on the emulated stack trace code? You would get stack traces entries like: Unknown.bx(YourClass.java:1234) regardless of which browser you're on and the type of exception,

[gwt-contrib] Re: Force emulated stack traces when running JUnit tests?

2009-07-22 Thread Bruce Johnson
On Wed, Jul 22, 2009 at 4:57 PM, Scott Blum sco...@google.com wrote: On Wed, Jul 22, 2009 at 4:46 PM, BobV b...@google.com wrote: Should running a web-mode test case always turn on the emulated stack trace code? Would always on mean that it generates code even for browsers that have native

[gwt-contrib] [google-web-toolkit] r5774 commited - Temporary commit, which comments out 3 assertions I believe are flaky,...

2009-07-22 Thread codesite-noreply
Revision: 5774 Author: amitman...@google.com Date: Wed Jul 22 18:24:34 2009 Log: Temporary commit, which comments out 3 assertions I believe are flaky, to find out how long tests take in batching mode. Will continue to investigate these commented out assertions. Patch by: amitmanjhi

  1   2   >