Re: Order of instantiation in UI-Binder?

2013-05-08 Thread Kody
OK that would be possible in general, though I require my stuff in the
g:center as it should just take all space that is left in the window. South
would require a fixed size...


2013/5/8 Thad thad.humphr...@gmail.com

 You may have to wait for the entire panel to render before making a call
 on any panel.

 One technique might be to not have a north. Call your current north center
 and put your current center in south. IIRC, you can have multiple souths,
 easts, etc. That might allow everything to layout without intervention.

 On Tuesday, May 7, 2013 7:12:09 AM UTC-4, membersound wrote:

 Hi,

 I have a SplitLayoutPanel with g:center and g:north.

 The north element depends on the center element, and uses it in the
 contructor after initWidget() has been called.
 Problem: I always get a NullPointerException for the center element used
 in the north element.

 How can I force object creation to be first the center, and then the
 north element? I assume the default is just the other way around?

 Thanks

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/7fNeQwaaAZ4/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Call .NET ( asmx webservice )

2013-05-08 Thread Ibrahim Abd Said Hanna
* I use *this code to request URL and then parse xml
but the problem is that status code returned is zero ??


 RequestBuilder rb =
 new RequestBuilder(RequestBuilder.GET, 
URL.encode(http://www.w3schools.com/webservices/tempconvert.asmx/CelsiusToFahrenheit?Celsius=50;));



 
 try{
 
 

rb.sendRequest(null, new RequestCallback() {


@Override
public void onResponseReceived(Request request, Response response) {
// TODO Auto-generated method stub


   
 if(response.getStatusCode() == 200){
String aid = response.getText(); //this just parses the 
response in order to get the string I need
   Window.alert(Sucess: + aid);
 
   }
 
   
 
}

@Override
public void onError(Request request, Throwable exception) {
// TODO Auto-generated method stub
System.out.print(Error Occure );
}
});
 }
 
 catch(Exception ex){
 System.out.print(ex);
 }
 
 
   * is there any another code or classes used to call webservice ??*



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




WebAppCreator failed

2013-05-08 Thread Nigel Smith
Hi,

I'm running Eclipse Juno / WIndows 7 / Java jdk1.7.0_21 / GWT - 2.5.1 / App 
Engine 1.7.7 and I'm getting the Invocation of 
com.google.gwt.user.tools.WebAppCreator failed error message. A quick 
browse offered up 3 solutions as below, each of which I have tried to no 
avail. 

1. Remove classpath - I don't have a classpath set
2. Add gwt-dev.jar  gwt-user.jar to classpath - tried this but it made no 
difference.
3. Workspace folder is read-only - opened up all permissions, but still no 
difference.

As expected from a quick read of the error message, removing GWT from the 
equation solves the problem, but I want GWT!

Also, unclicking Generate sample code solves the problem, but it leaves 
me with concerns that I'm going to come up against other problems down the 
road if this isn't configured properly.

Is there a solution to this, or should I just try and revert to the old 
versions of Eclipse, GWT etc., that I know (used) to work?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Order of instantiation in UI-Binder?

2013-05-08 Thread Jens
SplitLayoutPanel is a DockLayoutPanel and a DockLayoutPanel requirement is 
that the center layer is added last. Once the center layer is added you can 
not add anything else. Thats because the center panel takes the remaining 
space and thus the panel needs to know what is already inside that panel to 
calculate the remaining space.

So using stock GWT classes there is no way to change that behavior. You 
would need to implement it yourself. Your best bet is probably writing a 
custom composite that is backed by a SplitLayoutPanel and provides @UiChild 
methods for north/east/south/center. These methods just store the widgets 
you add, and in Composite.onLoad() you would build the SplitLayoutPanel 
based on the added panels. That way the @UiChild methods can be called in 
any order and in onLoad() you can still build the SplitLayoutPanel with the 
center panel added last to satisfy DockLayoutPanel requirements.

http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/uibinder/client/UiChild.html


As an alternative try to refactor your code so that you dont need to access 
the center panel inside the constructor of the north panel. You could add a 
ui:field to the north and center panel and in your UiBinder's Java file 
connect both panels *after* binder.createAndBindUi(this) is called. With 
your current constructor approach you are trying to connect both panels 
*during 
the execution* of binder.createAndBindUi(this).


-- J.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Designer crashes Eclipse when i switch the editor-tab to Design...

2013-05-08 Thread Costis Aivalis
Hello Michael! Thank you for your suggestions. I have done some 10 fresh 
installs on empty work-spaces.
There seems to be an incompatibility with xulrunner. GWT designer needs 
1.9.1.x or 1.9.2.x, while these versions may be incompatible with Ubuntu 
13.04. 
I have Icedtea-plugin 1.3.2-1ubuntu1, installed which should include 
xulrunner 1.9.2.

I get this message as soon as the Designer tries to render:
GWT Designer uses the SWT Browser widget to render the GWT UI. SWT Browser 
requires a compatible xulrunner version installed: it should be 1.9.1.x or 
1.9.2.x version and meet the current environment architecture. See 
http://www.eclipse.org/swt/faq.php#whatisbrowser and related topics for 
more information.


On Saturday, May 4, 2013 1:03:10 AM UTC+3, Michael Prentice wrote:

 Have you tried uninstalling them and reinstalling the GPE w/ the latest 
 and matching GWT Designer? It looks like your install might have left stuff 
 around or didn't fully complete.

 Many people have had this kind of issue with the installer in 4.2. Most 
 people recommend just starting with a new Eclipse install completely when 
 you hit this, rather than trying to fix your existing install. 

 You may need to export/import your preferences (including external tools, 
 run configs, debug configs, etc that you don't store in .settings) but some 
 of that will come over if you use the same workspace.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT 2.4 - problems with space key handling and FieldUpdater for TextInputCell inside CompositeCell in CellTree

2013-05-08 Thread Michael Altmann
I am facing the same issue and cannot figure out how the original poster 
set up event handling to get this working.  Any help would be greatly 
appreciated.  Right now my CellTree with TextInputCells will not accepts 
spaces.

On Wednesday, August 29, 2012 5:30:10 AM UTC-5, BhaskerT wrote:

 Hi James,
 Thanks for the post and reply.
 I am facing similar issue. I am not able to type the white space character 
 in the MyEditCell extends AbstractInputCell.
 i have also over ridden the below method:

 *public* SetString getConsumedEvents() {

 SetString events = *new* HashSetString();

 events.add(focus);

 events.add(blur);

 events.add(keydown);

 events.add(change);

 *return* events;
 }
 But, Still no luck.
 Can you please suggest something.
  
 Thanks,
 Bhasker

 On Thursday, 29 December 2011 21:38:09 UTC+5:30, James Scott wrote:

 Looks like it boils down to events. After looking at the TextInputCell 
 and AbstractInputCell source, I added focus and change events to 
 the list of events consumed by the CompositeCell, and that addressed 
 both issues. 

 Incidentally, I tried out the EditTextCell in the CompositeCell, and 
 to get that working, I needed to add keyup and keydown events to 
 the CompositeCell. 

 Clearly I do not yet have my mind wrapped around how the events are 
 propagated in a CompositeCell, but at least I've solved my immediate 
 problems. 

 JLS 

 On Dec 28, 3:49 pm, James Scott j...@jls.cx wrote: 
  Hi all- 
  
  I feel like I'm missing something obvious here, but I haven't been 
  able to figure this out. In short, I have a CellTree whose leaf nodes 
  are populated with CompositeCells. Each CompositeCell has an 
  ImageResourceCell, a TextCell, and a TextInputCell. These are 
  displaying in the tree correctly. I have attached an onClick event to 
  the ImageResourceCell that deletes the item from the tree, and that 
  works as expected. The intent for the TextInputCell is to display a 
  field from the entity associated with the cell, and update the field 
  on the entity when the user changes the value in the TextInputCell. 
  
  However, I'm having a couple of problems with the TextInputCell. 
  First, when I type in the TextInputCell, the space key is ignored - 
  well, it's probably being consumed by something else but the upshot is 
  that when I type a space character, it doesn't appear in the 
  TextInputCell. I thought this might have to do with the SelectionModel 
  or KeyboardSelectionPolicy on the CellTree, but I've set the tree to 
  KeyboardSelectionPolicy.DISABLED and the TreeViewModel to 
  NoSelectionModel and it's still happening.[snip]



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: RequestFactory sending entire list even when nothing changed in the list

2013-05-08 Thread Thomas Broyer


On Tuesday, May 7, 2013 6:28:00 PM UTC+2, Yan wrote:

 Hi there, 

 Using GWT 2.4 request factory, but observed this. 

 I have an EntityProxy (parent) containing a list of EntityProxy 
 (children). I put the parent in edit mode, update an attribute on the 
 parent and then persist the parent, I noticed that the entire list of 
 children are sent across the wire, resulting JPA is reloading the children 
 from database. 

 Is this expected behavior?


It's been fixed in 
2.5.0: https://code.google.com/p/google-web-toolkit/issues/detail?id=5952

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Asynchronous Form Calls

2013-05-08 Thread Thomas Broyer
FormPanel by defaults submits to an iframe, and will notify you with the 
FormPanel.SubmitCompleteHandler; as such it *is* already asynchronous.

On Tuesday, May 7, 2013 11:53:23 PM UTC+2, Robson Braga wrote:

 Hi everyone,

 I'm developing a GWT App based on forms (FormPanel) where forms's actions 
 points to RESTful webservices (Jersey).

 Since Google GWT Team recommend embrace asynchronicity, is this 
 combination automatically asynchronous or do I have to do something to make 
 it asynchronous, like write the whole communication between form and 
 webservice by hand?

 I'm using Eclipse Indigo Service Release 2 and Google Web Toolkit SDK 
 2.5.1.

 Thanks in advance.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: mouse over tab (TabLayoutPanel) to select

2013-05-08 Thread Patrick Tucker
Instead of using add(Widget, String) to add tabs use add(Widget,Widget).  
Your second argument will be a widget that you have added a mouse over 
handler to that will instruct the TabLayoutPanel to select the appropriate 
tab by calling selectTab(int) or selectTab(Widget).

On Tuesday, May 7, 2013 1:51:49 PM UTC-4, Weihua wrote:

 Yes I meant mouseover instead of clicking. Can you provide some example 
 codes?

 Thank you very much.


 On Tue, May 7, 2013 at 7:41 PM, Patrick Tucker tuck...@gmail.comjavascript:
  wrote:

 You mean instead of clicking?  There is no reason you couldn't add that 
 capability.  It is not out of the box though. 



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Order of instantiation in UI-Binder?

2013-05-08 Thread Patrick Tucker
Have you tried providing, in the java code, the widget that is being added 
to the center?  That is assuming the widget that you are adding is what you 
are calling to get the NPE.
 
Some code would probably go a long way in getting better guidance...

On Tuesday, May 7, 2013 7:12:09 AM UTC-4, membersound wrote:

 Hi,

 I have a SplitLayoutPanel with g:center and g:north.

 The north element depends on the center element, and uses it in the 
 contructor after initWidget() has been called.
 Problem: I always get a NullPointerException for the center element used 
 in the north element.

 How can I force object creation to be first the center, and then the north 
 element? I assume the default is just the other way around?

 Thanks


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




SubmitCompleteEvent.getResults() always returns null

2013-05-08 Thread Robson Braga
Hi guys,

I've a RESTful webservice that returns xml/json and it works properly. 

If I submit a HTML form to that webservice, Firefox and Chrome shows the 
XML file, but when I try to submit a GWT FormPanel, on the onSubmitComplete 
callback, SubmitCompleteEvent.getResults() always returns null.

Here is my HTML code:

html
body
form method=POST 
action=http://localhost:8080/myWebService/entry;
input type=email id=email name=email width=10br
input type=password id=password name=password 
width=10br
input type=submit value=Test
/form
/body
/html

Here is my GWT Code:

public void onModuleLoad() {
final FormPanel formPanel = new FormPanel();
formPanel.setEncoding(FormPanel.ENCODING_URLENCODED);
formPanel.setMethod(FormPanel.METHOD_POST);

VerticalPanel verticalPanel = new VerticalPanel();

verticalPanel.add(new Label(Username));
TextBox userid = new TextBox();
userid.setName(email);
verticalPanel.add(userid);

verticalPanel.add(new Label(Password));
PasswordTextBox passwd = new PasswordTextBox();
passwd.setName(password);
verticalPanel.add(passwd);

verticalPanel.add(new Button(Submit, new ClickHandler() {
public void onClick(ClickEvent event) {
formPanel.submit();
}
}));

formPanel.add(verticalPanel);
formPanel.setAction(http://localhost:8080/myWebService/entry;);
formPanel.addSubmitCompleteHandler(new 
FormPanel.SubmitCompleteHandler() {
public void onSubmitComplete(SubmitCompleteEvent event) {
   Window.alert(event.getResults());
}
});

RootPanel.get().add(formPanel);
}

What am I doing wrong? Am I forgetting something? Is there any SOP 
restriction? How do I bypass this issue?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: mouse over tab (TabLayoutPanel) to select

2013-05-08 Thread Jens


Am Mittwoch, 8. Mai 2013 17:08:10 UTC+2 schrieb Weihua:

 Thank you very much. how to do it in UIBinder then??


Instead of g:headertext/g:header you would use 
g:customheadermy:Widget //g:customheader

-- J. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: mouse over tab (TabLayoutPanel) to select

2013-05-08 Thread Chen Weihua
thank you very much!!


On Wed, May 8, 2013 at 5:21 PM, Jens jens.nehlme...@gmail.com wrote:



 Am Mittwoch, 8. Mai 2013 17:08:10 UTC+2 schrieb Weihua:

 Thank you very much. how to do it in UIBinder then??


 Instead of g:headertext/g:header you would use
 g:customheadermy:Widget //g:customheader

 -- J.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/Pks49qkijSo/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Designer crashes Eclipse when i switch the editor-tab to Design...

2013-05-08 Thread Thad
Yeah, don't feel like the Lone Ranger. :)  I've had this problem on both 
openSUSE Linux and Windows 7. I've seen others complaining about it also.

Fortunately (I guess) I never found GWT Designer very useful for 
drag-and-drop GUI building. However I do miss it for quick glimpses into 
how my edits in the XML work. It saved time over running DevMode.

On Wednesday, May 8, 2013 5:54:26 AM UTC-4, Costis Aivalis wrote:

 Hello Michael! Thank you for your suggestions. I have done some 10 fresh 
 installs on empty work-spaces.
 There seems to be an incompatibility with xulrunner. GWT designer needs 
 1.9.1.x or 1.9.2.x, while these versions may be incompatible with Ubuntu 
 13.04. 
 I have Icedtea-plugin 1.3.2-1ubuntu1, installed which should include 
 xulrunner 1.9.2.

 I get this message as soon as the Designer tries to render:
 GWT Designer uses the SWT Browser widget to render the GWT UI. SWT 
 Browser requires a compatible xulrunner version installed: it should be 
 1.9.1.x or 1.9.2.x version and meet the current environment architecture. 
 See http://www.eclipse.org/swt/faq.php#whatisbrowser and related topics 
 for more information.


 On Saturday, May 4, 2013 1:03:10 AM UTC+3, Michael Prentice wrote:

 Have you tried uninstalling them and reinstalling the GPE w/ the latest 
 and matching GWT Designer? It looks like your install might have left stuff 
 around or didn't fully complete.

 Many people have had this kind of issue with the installer in 4.2. Most 
 people recommend just starting with a new Eclipse install completely when 
 you hit this, rather than trying to fix your existing install. 

 You may need to export/import your preferences (including external tools, 
 run configs, debug configs, etc that you don't store in .settings) but some 
 of that will come over if you use the same workspace.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: SubmitCompleteEvent.getResults() always returns null

2013-05-08 Thread Robson Braga
OK,

I realized what I'm doing is a cross-domain call, thanks to @tip, the 
result html can be null as a result of submitting a form to a different 
domain.

However, how do I solve this thing out? I really don't know what to do...


Em quarta-feira, 8 de maio de 2013 12h09min56s UTC-3, Robson Braga escreveu:

 Hi guys,

 I've a RESTful webservice that returns xml/json and it works properly. 

 If I submit a HTML form to that webservice, Firefox and Chrome shows the 
 XML file, but when I try to submit a GWT FormPanel, on the onSubmitComplete 
 callback, SubmitCompleteEvent.getResults() always returns null.

 Here is my HTML code:

 html
 body
 form method=POST action=
 http://localhost:8080/myWebService/entry;
 input type=email id=email name=email width=10br
 input type=password id=password name=password 
 width=10br
 input type=submit value=Test
 /form
 /body
 /html

 Here is my GWT Code:

 public void onModuleLoad() {
 final FormPanel formPanel = new FormPanel();
 formPanel.setEncoding(FormPanel.ENCODING_URLENCODED);
 formPanel.setMethod(FormPanel.METHOD_POST);

 VerticalPanel verticalPanel = new VerticalPanel();

 verticalPanel.add(new Label(Username));
 TextBox userid = new TextBox();
 userid.setName(email);
 verticalPanel.add(userid);

 verticalPanel.add(new Label(Password));
 PasswordTextBox passwd = new PasswordTextBox();
 passwd.setName(password);
 verticalPanel.add(passwd);

 verticalPanel.add(new Button(Submit, new ClickHandler() {
 public void onClick(ClickEvent event) {
 formPanel.submit();
 }
 }));

 formPanel.add(verticalPanel);
 formPanel.setAction(http://localhost:8080/myWebService/entry;);
 formPanel.addSubmitCompleteHandler(new 
 FormPanel.SubmitCompleteHandler() {
 public void onSubmitComplete(SubmitCompleteEvent event) {
Window.alert(event.getResults());
 }
 });

 RootPanel.get().add(formPanel);
 }

 What am I doing wrong? Am I forgetting something? Is there any SOP 
 restriction? How do I bypass this issue?

 Thanks in advance.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Designer crashes Eclipse when i switch the editor-tab to Design...

2013-05-08 Thread Costis Aivalis
Thank you Kimosabe! I rather feel like Tonto... 
I do like the Designer, when it works, and seem to miss it. Fortunately It 
still works in Ubuntu 12.10 and in Windows 7. I have spent too much time 
trying to get it to work...

On Wednesday, May 8, 2013 8:57:03 PM UTC+3, Thad wrote:

 Yeah, don't feel like the Lone Ranger. :)  I've had this problem on both 
 openSUSE Linux and Windows 7. I've seen others complaining about it also.

 Fortunately (I guess) I never found GWT Designer very useful for 
 drag-and-drop GUI building. However I do miss it for quick glimpses into 
 how my edits in the XML work. It saved time over running DevMode.

 On Wednesday, May 8, 2013 5:54:26 AM UTC-4, Costis Aivalis wrote:

 Hello Michael! Thank you for your suggestions. I have done some 10 fresh 
 installs on empty work-spaces.
 There seems to be an incompatibility with xulrunner. GWT designer needs 
 1.9.1.x or 1.9.2.x, while these versions may be incompatible with Ubuntu 
 13.04. 
 I have Icedtea-plugin 1.3.2-1ubuntu1, installed which should include 
 xulrunner 1.9.2.

 I get this message as soon as the Designer tries to render:
 GWT Designer uses the SWT Browser widget to render the GWT UI. SWT 
 Browser requires a compatible xulrunner version installed: it should be 
 1.9.1.x or 1.9.2.x version and meet the current environment architecture. 
 See http://www.eclipse.org/swt/faq.php#whatisbrowser and related topics 
 for more information.


 On Saturday, May 4, 2013 1:03:10 AM UTC+3, Michael Prentice wrote:

 Have you tried uninstalling them and reinstalling the GPE w/ the latest 
 and matching GWT Designer? It looks like your install might have left stuff 
 around or didn't fully complete.

 Many people have had this kind of issue with the installer in 4.2. Most 
 people recommend just starting with a new Eclipse install completely when 
 you hit this, rather than trying to fix your existing install. 

 You may need to export/import your preferences (including external 
 tools, run configs, debug configs, etc that you don't store in .settings) 
 but some of that will come over if you use the same workspace.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT compilation failed

2013-05-08 Thread Mike
I had this same issue, and deleting the gwt-unitCache worked for me.
Thanks

On Tuesday, April 30, 2013 2:29:52 AM UTC-4, Magnus wrote:

 Hi,

 solved.
 I tried around several things. I think deleting the files in the 
 gwt-unitCache folder solved it.

 Thanks
 Magnus


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Designer crashes Eclipse when i switch the editor-tab to Design...

2013-05-08 Thread Michael Prentice
You may be able to get some more info or help at the Eclipse WindowBuilder 
forums here: http://www.eclipse.org/forums/index.php/f/214/

Eric Clayberg is usually monitoring those forums and responding to issues. 
There are some posts there that mention Ubuntu.



On Wednesday, May 8, 2013 3:31:13 PM UTC-4, Costis Aivalis wrote:

 Thank you Kimosabe! I rather feel like Tonto... 
 I do like the Designer, when it works, and seem to miss it. Fortunately It 
 still works in Ubuntu 12.10 and in Windows 7. I have spent too much time 
 trying to get it to work...

 On Wednesday, May 8, 2013 8:57:03 PM UTC+3, Thad wrote:

 Yeah, don't feel like the Lone Ranger. :)  I've had this problem on both 
 openSUSE Linux and Windows 7. I've seen others complaining about it also.

 Fortunately (I guess) I never found GWT Designer very useful for 
 drag-and-drop GUI building. However I do miss it for quick glimpses into 
 how my edits in the XML work. It saved time over running DevMode.

 On Wednesday, May 8, 2013 5:54:26 AM UTC-4, Costis Aivalis wrote:

 Hello Michael! Thank you for your suggestions. I have done some 10 fresh 
 installs on empty work-spaces.
 There seems to be an incompatibility with xulrunner. GWT designer needs 
 1.9.1.x or 1.9.2.x, while these versions may be incompatible with Ubuntu 
 13.04. 
 I have Icedtea-plugin 1.3.2-1ubuntu1, installed which should include 
 xulrunner 1.9.2.

 I get this message as soon as the Designer tries to render:
 GWT Designer uses the SWT Browser widget to render the GWT UI. SWT 
 Browser requires a compatible xulrunner version installed: it should be 
 1.9.1.x or 1.9.2.x version and meet the current environment architecture. 
 See http://www.eclipse.org/swt/faq.php#whatisbrowser and related topics 
 for more information.


 On Saturday, May 4, 2013 1:03:10 AM UTC+3, Michael Prentice wrote:

 Have you tried uninstalling them and reinstalling the GPE w/ the latest 
 and matching GWT Designer? It looks like your install might have left 
 stuff 
 around or didn't fully complete.

 Many people have had this kind of issue with the installer in 4.2. Most 
 people recommend just starting with a new Eclipse install completely when 
 you hit this, rather than trying to fix your existing install. 

 You may need to export/import your preferences (including external 
 tools, run configs, debug configs, etc that you don't store in .settings) 
 but some of that will come over if you use the same workspace.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Order of instantiation in UI-Binder?

2013-05-08 Thread Kody
OK I see that's not as easy as I thought.
Probably I should refactor my code instead of trying a hacky solution.
Thansk!


2013/5/8 Patrick Tucker tucker...@gmail.com

 Have you tried providing, in the java code, the widget that is being added
 to the center?  That is assuming the widget that you are adding is what you
 are calling to get the NPE.

 Some code would probably go a long way in getting better guidance...

 On Tuesday, May 7, 2013 7:12:09 AM UTC-4, membersound wrote:

 Hi,

 I have a SplitLayoutPanel with g:center and g:north.

 The north element depends on the center element, and uses it in the
 contructor after initWidget() has been called.
 Problem: I always get a NullPointerException for the center element used
 in the north element.

 How can I force object creation to be first the center, and then the
 north element? I assume the default is just the other way around?

 Thanks

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-web-toolkit/7fNeQwaaAZ4/unsubscribe?hl=en
 .
 To unsubscribe from this group and all its topics, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to dynamically fullsize a Canvas to a Dock-center?

2013-05-08 Thread Kara Marie Rawson
read this, 
http://stackoverflow.com/questions/11750268/how-to-get-the-width-height-of-a-canvas

its surprising not what you think. Why google, why???

kara m

On Sunday, April 28, 2013 9:13:32 AM UTC-5, membersound wrote:

 Hi,

 I have a canvas within the following layout:
 DockLayoutPanel
  center
   ResizeLayoutPanel
AbsolutePanel
 Canvas

 How can I set the coordinateSpace height/width always according to the 
 actual size? How can I get the center size of the dock when creating the 
 canvas?

 I thought I could just walk up the parent tree from the canvas and get the 
 clientwidth, but it is always = 0

 canvas.getElement().getParentElement().getParentElement().getParentElement().getClientWidth()

 What is wrong here?


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Image editing

2013-05-08 Thread Kara Marie Rawson
yep, use canvas it will work smoother, especially if you plan on allowing 
the user to drag to position image B at some point. Honestly if you plan 
on not using canvas, atleast use dynamic CSS to handle the image position 
overlay and just stick the images in a simple LayoutContainer. I dont 
believe AbPanel is resize friendly.

kara

On Tuesday, April 30, 2013 10:26:41 AM UTC-5, Thad wrote:

 In an earlier app, I put Image inside an AbsolutePanel then added 
 MouseDownHandler and MouseUpHandler to the image. When I got one and the 
 other at the same point, I drew an icon at that point (actually merging 
 them into one image came later, on the server).

 You can also try the Canvas object. That's a neat widget.

 On Monday, April 29, 2013 10:57:46 AM UTC-4, Luis Costa wrote:

 Hi all,

 I’m using GWT 2.5.1, and I’m trying to create a component that allows the 
 application user to edit an image, the workflow is:

 1.   User can perform a mouse click on a certain part of the image 
 “A” (that was previously uploaded);

 2.   This event will put in the image clicked coordinates (X and Y) 
 another image “B”, the final image “C” (“A” + “B”) can then be saved.

 Can anyone give me some feedback about what will be the best approach to 
 do this?

  

 Many thanks,

 Luis.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Image editing

2013-05-08 Thread Kara Marie Rawson
forgot the link sorry,

http://www.html5canvastutorials.com/tutorials/html5-canvas-images/

On Wednesday, May 8, 2013 4:31:27 PM UTC-5, Kara Marie Rawson wrote:

 yep, use canvas it will work smoother, especially if you plan on allowing 
 the user to drag to position image B at some point. Honestly if you plan 
 on not using canvas, atleast use dynamic CSS to handle the image position 
 overlay and just stick the images in a simple LayoutContainer. I dont 
 believe AbPanel is resize friendly.

 kara

 On Tuesday, April 30, 2013 10:26:41 AM UTC-5, Thad wrote:

 In an earlier app, I put Image inside an AbsolutePanel then added 
 MouseDownHandler and MouseUpHandler to the image. When I got one and the 
 other at the same point, I drew an icon at that point (actually merging 
 them into one image came later, on the server).

 You can also try the Canvas object. That's a neat widget.

 On Monday, April 29, 2013 10:57:46 AM UTC-4, Luis Costa wrote:

 Hi all,

 I’m using GWT 2.5.1, and I’m trying to create a component that allows 
 the application user to edit an image, the workflow is:

 1.   User can perform a mouse click on a certain part of the image 
 “A” (that was previously uploaded);

 2.   This event will put in the image clicked coordinates (X and Y) 
 another image “B”, the final image “C” (“A” + “B”) can then be saved.

 Can anyone give me some feedback about what will be the best approach to 
 do this?

  

 Many thanks,

 Luis.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Deploying GWT 2.5 on Resin 2.1.17

2013-05-08 Thread alankamp2...@yahoo.com
Hi, 
  I am working on a project for a professor's class and that involves 
converting old jsp pages to GWT code. I have been able to run my 
application in the hosted mode and have also been able to run it on the 
production server which is Resin 2.1.17, without writing any calls to the 
server. I have written some code to make calls to a servlet and it runs 
just fine in hosted mode but on Resin I get messages along the lines of 
404 URL not found. The way I am deploying to the server is to create a 
war file from the folder war created by compiling the project using the 
GWT pluggin in Eclipse. So I am wondering if the gwt.xml file inside the 
war supposed to be enough for Resin to know where to find the servlets or 
are you supposed to make any changes to Resin's configuration to make the 
app work. I apologize if someone gets offended by the lack of information 
in this post. Since I couldn't find any specific information on the web 
about running GWT on Resin, I wasn't sure if anyone uses this configuration 
so I didn't want to post too much. But again, I sincerely apologize again, 
if anyone gets upset over this attitude. I can provide more information 
about the structure of my project and configuration files if someone is 
willing to help out.
Thanks,
Alankar

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Re: Re-enabling commits in Gerrit

2013-05-08 Thread Thomas Broyer
Just to clarify: does that mean the SVN is now dead? (except for 
GWT_TOOLS)

Anyway, thanks a lot for your work Matthew!

On Wednesday, May 8, 2013 2:27:17 AM UTC+2, Matthew Dempsky wrote:

 FYI, this is now live.  Members of the gwt-maintainers group have +2 
 code-review and submit permissions again.


 On Tue, May 7, 2013 at 3:49 PM, Matthew Dempsky 
 mdem...@google.comjavascript:
  wrote:

 *tl;dr:* We’re enabling commits in Gerrit, so you’ll be able to land 
 patches directly on gwt.googlesource.com instead of needing a Googler to 
 merge them internally for you.

 We’ve finally gotten things in place internally so we can change the 
 mirroring strategy from “google - subversion - git” to “git - google - 
 subversion”.  (We’re going to keep Subversion around in the interim in case 
 something goes wrong and we need to switch back.)

 As such, we'll soon re-enable +2’s in Gerrit and start allowing commits 
 directly to Git.  Since this is a big change from the current workflow, 
 we’re going to try to take things slowly to start just so we can make sure 
 everything’s working how we envision.  We’ll also work on formalizing some 
 development practices.  As we feel more confident in the process, I expect 
 things will speed up and contributing should be much easier.

 Also, we still plan to re-spin the Git repository in the near future to 
 clean up some accumulated history cruft (e.g., the old plugins binaries). 
  We’ll send out more announcements about that once we’re prepared to make 
 that change.

 Thanks for your patience!




-- 
-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [gwt-contrib] Re: Re-enabling commits in Gerrit

2013-05-08 Thread Matthew Dempsky
On Wed, May 8, 2013 at 4:31 AM, Thomas Broyer t.bro...@gmail.com wrote:

 Just to clarify: does that mean the SVN is now dead? (except for
 GWT_TOOLS)


Pretty much, unless something really serious comes up that forces us to
temporarily switch back.  We'll continue mirroring to subversion for the
time being, but developers and contributors should switch to using Git if
they haven't already.

-- 
-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: dummy testing commit

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has uploaded a new change for review.

  https://gwt-review.googlesource.com/2660


Change subject: dummy testing commit
..

dummy testing commit

Change-Id: If0881f00eaafbb05190a0640f82559dda09545d6
---
M build.xml
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/build.xml b/build.xml
index c783631..7bc237e 100755
--- a/build.xml
+++ b/build.xml
@@ -1,3 +1,4 @@
+!-- testing --
 project name=GWT default=dist basedir=.
   property name=gwt.root location=. /
   property name=project.tail value= /

--
To view, visit https://gwt-review.googlesource.com/2660
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0881f00eaafbb05190a0640f82559dda09545d6
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky mdemp...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: dummy testing commit

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has uploaded a new change for review.

  https://gwt-review.googlesource.com/2670


Change subject: dummy testing commit
..

dummy testing commit

Change-Id: If0881f00eaafbb05190a0640f82559dda09545d7
---
M build.xml
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/build.xml b/build.xml
index c783631..7bc237e 100755
--- a/build.xml
+++ b/build.xml
@@ -1,3 +1,4 @@
+!-- testing --
 project name=GWT default=dist basedir=.
   property name=gwt.root location=. /
   property name=project.tail value= /

--
To view, visit https://gwt-review.googlesource.com/2670
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0881f00eaafbb05190a0640f82559dda09545d7
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky mdemp...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: dummy testing commit

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has abandoned this change.

Change subject: dummy testing commit
..


Abandoned

Testing.

--
To view, visit https://gwt-review.googlesource.com/2670
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: If0881f00eaafbb05190a0640f82559dda09545d7
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky mdemp...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Testing again.

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has uploaded a new change for review.

  https://gwt-review.googlesource.com/2671


Change subject: Testing again.
..

Testing again.

Change-Id: Ic927ad9a06e7ca780045b4255b1a2577e9b3f291
---
M build.xml
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/build.xml b/build.xml
index c783631..7bc237e 100755
--- a/build.xml
+++ b/build.xml
@@ -1,3 +1,4 @@
+!-- testing --
 project name=GWT default=dist basedir=.
   property name=gwt.root location=. /
   property name=project.tail value= /

--
To view, visit https://gwt-review.googlesource.com/2671
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic927ad9a06e7ca780045b4255b1a2577e9b3f291
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky mdemp...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Testing again.

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has abandoned this change.

Change subject: Testing again.
..


Abandoned

Abandon.

--
To view, visit https://gwt-review.googlesource.com/2671
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Ic927ad9a06e7ca780045b4255b1a2577e9b3f291
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky mdemp...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Adds part of Java 7 new language features.

2013-05-08 Thread Roberto Lublinerman

Roberto Lublinerman has uploaded a new patch set (#5).

Change subject: Adds part of Java 7 new language features.
..

Adds part of Java 7 new language features.

Adds the Java 7 new language features: namely, the diamond operator, new  
numerical

literal formats, and switch/case on string literals.

Adds a new flag -source to select source level compatibility (java 6 or  
java 7);

-source defaults to java 6.

Fixes issue 6633.

Change-Id: I91c1f39ff20a2e7ac131d647bf4c96e34ce47a70
Review-Link: https://gwt-review.googlesource.com/#/c/2650/
---
M dev/codeserver/java/com/google/gwt/dev/codeserver/CodeServer.java
M dev/codeserver/java/com/google/gwt/dev/codeserver/CompilerOptionsImpl.java
M dev/codeserver/java/com/google/gwt/dev/codeserver/Options.java
M dev/codeserver/java/com/google/gwt/dev/codeserver/Recompiler.java
M  
dev/codeserver/java/com/google/gwt/dev/codeserver/UnmodifiableCompilerOptions.java

M dev/core/src/com/google/gwt/dev/CompileModule.java
M dev/core/src/com/google/gwt/dev/CompileTaskOptions.java
M dev/core/src/com/google/gwt/dev/CompileTaskOptionsImpl.java
M dev/core/src/com/google/gwt/dev/Compiler.java
M dev/core/src/com/google/gwt/dev/DevMode.java
M dev/core/src/com/google/gwt/dev/DevModeBase.java
M dev/core/src/com/google/gwt/dev/Precompile.java
M dev/core/src/com/google/gwt/dev/cfg/ModuleDef.java
M dev/core/src/com/google/gwt/dev/javac/CompilationStateBuilder.java
M dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
M dev/core/src/com/google/gwt/dev/javac/testing/GeneratorContextBuilder.java
M dev/core/src/com/google/gwt/dev/javac/testing/impl/JavaResourceBase.java
M dev/core/src/com/google/gwt/dev/jjs/JJSOptions.java
M dev/core/src/com/google/gwt/dev/jjs/JJSOptionsImpl.java
A dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerSource.java
A dev/core/src/com/google/gwt/dev/util/arg/OptionSource.java
M dev/core/test/com/google/gwt/dev/CompilerTest.java
M dev/core/test/com/google/gwt/dev/javac/CompilationStateTestBase.java
M dev/core/test/com/google/gwt/dev/javac/JavaCompilationSuite.java
M dev/core/test/com/google/gwt/dev/javac/JdtBehaviorTest.java
A dev/core/test/com/google/gwt/dev/javac/JdtJava7Test.java
M dev/core/test/com/google/gwt/dev/jjs/impl/CodeSplitter2Test.java
M dev/core/test/com/google/gwt/dev/jjs/impl/JJSTestBase.java
A dev/core/test/com/google/gwt/dev/jjs/impl/Java7AstTest.java
M user/src/com/google/gwt/junit/JUnitShell.java
A  
user/test-super/com/google/gwt/dev/jjs/super/com/google/gwt/dev/jjs/test/Java7Test.java

M user/test/com/google/gwt/dev/jjs/CompilerSuite.java
A user/test/com/google/gwt/dev/jjs/Java7Test.gwt.xml
A user/test/com/google/gwt/dev/jjs/test/Java7Test.java
34 files changed, 944 insertions(+), 45 deletions(-)


--
To view, visit https://gwt-review.googlesource.com/2650
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I91c1f39ff20a2e7ac131d647bf4c96e34ce47a70
Gerrit-PatchSet: 5
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: John Stalcup stal...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Ray Cromwell cromwell...@google.com
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Adds the remaining (and more complex) Java 7 new language fe...

2013-05-08 Thread Roberto Lublinerman

Roberto Lublinerman has abandoned this change.

Change subject: Adds the remaining (and more complex) Java 7 new language  
features.

..


Abandoned

Redid as dependent patch.

--
To view, visit https://gwt-review.googlesource.com/2680
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Ic46ae3c9ee49518cfddc6f6f329b721e6645802d
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Upgrade JDT to 3.8.3.

2013-05-08 Thread Roberto Lublinerman

Roberto Lublinerman has abandoned this change.

Change subject: Upgrade JDT to 3.8.3.
..


Abandoned

Submitted, thanks!

--
To view, visit https://gwt-review.googlesource.com/2361
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: If7d533adcb953de614ea071cfd7e57560b664ce0
Gerrit-PatchSet: 3
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Ray Cromwell cromwell...@google.com
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Adds the remaining (and more complex) Java 7 new language fe...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Adds the remaining (and more complex) Java 7 new language  
features.

..


Patch Set 1: Verified-1

Oops, this change failed the build and/or style presubmit. :(  More details  
at http://gwt-ci.dempsky.org:8080/job/gwt.presubmit/46


--
To view, visit https://gwt-review.googlesource.com/2681
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If973b8c847d1202aca794221f32ae4b33b616f9c
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: John Stalcup stal...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Ray Cromwell cromwell...@google.com
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Adds part of Java 7 new language features.

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Adds part of Java 7 new language features.
..


Patch Set 5: Verified+1

Hoorays, this change passed the build and style presubmit. :D  More details  
at http://gwt-ci.dempsky.org:8080/job/gwt.presubmit/45


--
To view, visit https://gwt-review.googlesource.com/2650
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I91c1f39ff20a2e7ac131d647bf4c96e34ce47a70
Gerrit-PatchSet: 5
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: John Stalcup stal...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Ray Cromwell cromwell...@google.com
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Adds the remaining (and more complex) Java 7 new language fe...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Adds the remaining (and more complex) Java 7 new language  
features.

..


Patch Set 1:

(1 comment)


File user/super/com/google/gwt/emul/java/lang/Throwable.java
Line 19: import com.google.gwt.lang.Array;
Unused import.


--
To view, visit https://gwt-review.googlesource.com/2681
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If973b8c847d1202aca794221f32ae4b33b616f9c
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: John Stalcup stal...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Ray Cromwell cromwell...@google.com
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com
Gerrit-HasComments: Yes

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Adds the remaining (and more complex) Java 7 new language fe...

2013-05-08 Thread Goktug Gokdogan

Goktug Gokdogan has posted comments on this change.

Change subject: Adds the remaining (and more complex) Java 7 new language  
features.

..


Patch Set 1:

(9 comments)


File user/src/com/google/gwt/core/shared/SerializableThrowable.java
Line 34:  * NOTE: Does not serialize suppressed exceptions to remain  
compatible with Java 6 and below.

Don't forget to create a thread on this issue =)



File user/super/com/google/gwt/emul/java/lang/AutoCloseable.java
Line 3:  *
nit: spaces here


Line 19:  * Indicates that a class implements codeclose()/code and can  
be used in a try-with-resources
Can you just refer to jdk documentation like the other classes in this  
package?



Line 26:* @throws Exception
remove empty @throws



File user/super/com/google/gwt/emul/java/lang/Exception.java
Line 38:   }
I guess this class is not intended to be here :)



File user/super/com/google/gwt/emul/java/lang/Throwable.java
Line 40:* SerializabilityUtil.fieldQualifiesForSerialization(Field)  
method.

can you put a todo item for missing stuff related to suppressed exceptions?
Also can you create an issue to follow up on this?


Line 44:   private transient Throwable[] suppressed = new Throwable[0];
it is better to instantiate this lazily.


Line 74:
asserts are just like javadocs, nothing more. In this kind of scenarios we  
want guaranteed checks. (see go/java-practices/assertions).



Line 78: }
you don't need the whole array copy. This will only run in script mode.  
just set the array. The whole method can look something like:


 public final void addSuppressed(Throwable exception) {
   if (exception == null) {
 throw new NPE();
   }

   if (exception == this) {
 throw new IllegalArgumentException(Self-suppress not permitted);
   }

   if (suppressed == null ) {
 suppressed = new Throwable[] { exception };
   } else {
 suppressed[suppressed.length] = exception;
   }
 }


--
To view, visit https://gwt-review.googlesource.com/2681
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If973b8c847d1202aca794221f32ae4b33b616f9c
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Goktug Gokdogan gok...@google.com
Gerrit-Reviewer: John Stalcup stal...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Ray Cromwell cromwell...@google.com
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com
Gerrit-HasComments: Yes

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: A

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has uploaded a new change for review.

  https://gwt-review.googlesource.com/2661


Change subject: A
..

A

Change-Id: Ia518ca4bdac81eaf863ebf6f193de87abb115851
---
M build.xml
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/build.xml b/build.xml
index c783631..3f393de 100755
--- a/build.xml
+++ b/build.xml
@@ -1,3 +1,4 @@
+!-- A --
 project name=GWT default=dist basedir=.
   property name=gwt.root location=. /
   property name=project.tail value= /

--
To view, visit https://gwt-review.googlesource.com/2661
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia518ca4bdac81eaf863ebf6f193de87abb115851
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky mdemp...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: B

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has uploaded a new change for review.

  https://gwt-review.googlesource.com/2662


Change subject: B
..

B

Change-Id: I507c952ef6a914e08682918e986406271b7cec8f
---
M build.xml
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/build.xml b/build.xml
index 3f393de..b4ea0ce 100755
--- a/build.xml
+++ b/build.xml
@@ -1,4 +1,5 @@
 !-- A --
+!-- b --
 project name=GWT default=dist basedir=.
   property name=gwt.root location=. /
   property name=project.tail value= /

--
To view, visit https://gwt-review.googlesource.com/2662
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I507c952ef6a914e08682918e986406271b7cec8f
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky mdemp...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: B

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has uploaded a new patch set (#2).

Change subject: B
..

B

Change-Id: I507c952ef6a914e08682918e986406271b7cec8f
---
M build.xml
1 file changed, 1 insertion(+), 0 deletions(-)


--
To view, visit https://gwt-review.googlesource.com/2662
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I507c952ef6a914e08682918e986406271b7cec8f
Gerrit-PatchSet: 2
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky mdemp...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Adds the remaining (and more complex) Java 7 new language fe...

2013-05-08 Thread Roberto Lublinerman

Hello Matthew Dempsky,

I'd like you to reexamine a change.  Please visit

https://gwt-review.googlesource.com/2681

to look at the new patch set (#2).

Change subject: Adds the remaining (and more complex) Java 7 new language  
features.

..

Adds the remaining (and more complex) Java 7 new language features.

Adds the remaining Java 7 new language features: namely, multiexception
catch and try-with-resources.

Fixes issue 7999, issue 6960.

Change-Id: If973b8c847d1202aca794221f32ae4b33b616f9c
---
M dev/core/src/com/google/gwt/dev/jjs/ast/JTryStatement.java
M dev/core/src/com/google/gwt/dev/jjs/impl/CatchBlockNormalizer.java
M dev/core/src/com/google/gwt/dev/jjs/impl/DeadCodeElimination.java
M dev/core/src/com/google/gwt/dev/jjs/impl/GenerateJavaScriptAST.java
M dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java
M dev/core/src/com/google/gwt/dev/jjs/impl/ToStringGenerationVisitor.java
M dev/core/src/com/google/gwt/dev/jjs/impl/TypeTightener.java
M dev/core/src/com/google/gwt/dev/jjs/impl/UnifyAst.java
M dev/core/src/com/google/gwt/dev/jjs/impl/gflow/cfg/CfgBuilder.java
M  
dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Exceptions.java

M dev/core/test/com/google/gwt/dev/jjs/impl/Java7AstTest.java
M user/src/com/google/gwt/core/shared/SerializableThrowable.java
A user/super/com/google/gwt/emul/java/lang/AutoCloseable.java
M user/super/com/google/gwt/emul/java/lang/Exception.java
M user/super/com/google/gwt/emul/java/lang/Throwable.java
M  
user/test-super/com/google/gwt/dev/jjs/super/com/google/gwt/dev/jjs/test/Java7Test.java

M user/test/com/google/gwt/dev/jjs/test/Java7Test.java
M user/test/com/google/gwt/emultest/java/lang/ThrowableTest.java
18 files changed, 922 insertions(+), 78 deletions(-)


--
To view, visit https://gwt-review.googlesource.com/2681
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If973b8c847d1202aca794221f32ae4b33b616f9c
Gerrit-PatchSet: 2
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Goktug Gokdogan gok...@google.com
Gerrit-Reviewer: John Stalcup stal...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Ray Cromwell cromwell...@google.com
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Adds the remaining (and more complex) Java 7 new language fe...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Adds the remaining (and more complex) Java 7 new language  
features.

..


Patch Set 2: Verified+1

Hoorays, this change passed the build and style presubmit. :D  More details  
at http://build.gwtproject.org/job/gwt.presubmit/47


--
To view, visit https://gwt-review.googlesource.com/2681
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If973b8c847d1202aca794221f32ae4b33b616f9c
Gerrit-PatchSet: 2
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Goktug Gokdogan gok...@google.com
Gerrit-Reviewer: John Stalcup stal...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Ray Cromwell cromwell...@google.com
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow line breaks and other whitespace in jsni method refere...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Allow line breaks and other whitespace in jsni method  
references.

..


Patch Set 2: Verified+1

Hoorays, this change passed the build and style presubmit. :D  More details  
at http://build.gwtproject.org/job/gwt.presubmit/48


--
To view, visit https://gwt-review.googlesource.com/2640
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I64426b03f4cde2c84c2faf27a2e38aba4720f401
Gerrit-PatchSet: 2
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Kelly Campbell kelly.a.campb...@gmail.com
Gerrit-Reviewer: Kelly Campbell kelly.a.campb...@gmail.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Thomas Broyer t.bro...@gmail.com
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: reduces Java AST optimization time by bailing out when the r...

2013-05-08 Thread John Stalcup

John Stalcup has abandoned this change.

Change subject: reduces Java AST optimization time by bailing out when the  
rate of change slows to a crawl (only applies on optimization levels less  
than 9)

..


Abandoned

submitted

--
To view, visit https://gwt-review.googlesource.com/2580
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Iabf844d6a02f694e8d14103377f74f46e4e01915
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: John Stalcup stal...@google.com
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: preparation for turning off Dataflow Optimizer to speed up o...

2013-05-08 Thread John Stalcup

John Stalcup has abandoned this change.

Change subject: preparation for turning off Dataflow Optimizer to speed up  
optimized compiles (at optimization levels less than 9)

..


Abandoned

submitted

--
To view, visit https://gwt-review.googlesource.com/2610
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I2f33700566e97672b2e570fc5f75293bd6b2fb9f
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: John Stalcup stal...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Roberto Lublinerman

Roberto Lublinerman has uploaded a new change for review.

  https://gwt-review.googlesource.com/2683


Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..

Allow GWT to continue even in presence of internal JDT compiler Errors.

Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
---
M dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
1 file changed, 22 insertions(+), 5 deletions(-)



diff --git a/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java  
b/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java

index 716e2c6..51749eb 100644
--- a/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
+++ b/dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
@@ -375,6 +375,12 @@
 }
   }

+  /**
+   * Maximun number of JDT compiler errors or abort requests before it  
actually returns

+   * a fatal error to the user.
+   */
+  private static final double ABORT_COUNT_MAX = 100;
+
   private class CompilerImpl extends Compiler {
 private TreeLogger logger;
 private int abortCount = 0;
@@ -420,9 +426,14 @@
 JDT aborted:  + filename + :  + e.problem.getMessage());
 return; // continue without it; it might be a server-side class.
   } catch (RuntimeException e) {
+abortCount++;
+String filename = new String(cud.getFileName());
 logger.log(TreeLogger.Type.ERROR,
-JDT died after  + abortCount +  previous errors, e);
-throw new AbortCompilation(cud.compilationResult, e);
+JDT threw an exception:  + filename + e);
+if (abortCount = ABORT_COUNT_MAX) {
+  throw new AbortCompilation(cud.compilationResult, e);
+}
+return; // continue without it; it might be a server-side class.
   }
   ClassFile[] classFiles = cud.compilationResult().getClassFiles();
   MapClassFile, CompiledClass results = new LinkedHashMapClassFile,  
CompiledClass();

@@ -458,6 +469,10 @@
   new CompiledClass(classFile.getBytes(), enclosingClass,  
isLocalType(classFile),

   internalName);
   results.put(classFile, result);
+}
+
+int getAbortCount() {
+  return abortCount;
 }
   }

@@ -922,15 +937,17 @@
 try {
   compilerImpl.compile(icus.toArray(new  
ICompilationUnit[icus.size()]));

 } catch (AbortCompilation e) {
+  final String compilerAborted = String.format(JDT compiler aborted  
after %d errors,

+  compilerImpl.getAbortCount());
   if (e.problem == null) {
-logger.log(TreeLogger.Type.ERROR, JDT compiler aborted);
+logger.log(TreeLogger.Type.ERROR, compilerAborted + .);
   } else if (e.problem.getOriginatingFileName() == null) {
-logger.log(TreeLogger.Type.ERROR, JDT compiler aborted:  +  
e.problem.getMessage());
+logger.log(TreeLogger.Type.ERROR, compilerAborted + :  +  
e.problem.getMessage());

   } else {
 String filename = new String(e.problem.getOriginatingFileName());
 TreeLogger branch = logger.branch(TreeLogger.Type.ERROR,
 At  + filename + :  + e.problem.getSourceLineNumber());
-branch.log(TreeLogger.Type.ERROR, JDT compiler aborted:  +  
e.problem.getMessage());
+branch.log(TreeLogger.Type.ERROR, compilerAborted + :  +  
e.problem.getMessage());

   }
   throw new UnableToCompleteException();
 } finally {

--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..


Patch Set 1: Verified+1

Hoorays, this change passed the build and style presubmit. :D  More details  
at http://build.gwtproject.org/job/gwt.presubmit/49


--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Roberto Lublinerman

Hello Matthew Dempsky,

I'd like you to reexamine a change.  Please visit

https://gwt-review.googlesource.com/2683

to look at the new patch set (#3).

Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..

Allow GWT to continue even in presence of internal JDT compiler Errors.

Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
---
M dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
1 file changed, 25 insertions(+), 5 deletions(-)


--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 3
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..


Patch Set 2: Verified+1

Hoorays, this change passed the build and style presubmit. :D  More details  
at http://build.gwtproject.org/job/gwt.presubmit/50


--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 2
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Roberto Lublinerman

Hello Matthew Dempsky,

I'd like you to reexamine a change.  Please visit

https://gwt-review.googlesource.com/2683

to look at the new patch set (#4).

Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..

Allow GWT to continue even in presence of internal JDT compiler Errors.

Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
---
M dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
1 file changed, 25 insertions(+), 5 deletions(-)


--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 4
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Roberto Lublinerman

Hello Matthew Dempsky, Matthew Dempsky,

I'd like you to reexamine a change.  Please visit

https://gwt-review.googlesource.com/2683

to look at the new patch set (#5).

Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..

Allow GWT to continue even in presence of internal JDT compiler Errors.

Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
---
M dev/core/src/com/google/gwt/dev/javac/JdtCompiler.java
1 file changed, 25 insertions(+), 5 deletions(-)


--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 5
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..


Patch Set 3: Verified+1

Hoorays, this change passed the build and style presubmit. :D  More details  
at http://build.gwtproject.org/job/gwt.presubmit/51


--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 3
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..


Patch Set 4: Verified+1

Hoorays, this change passed the build and style presubmit. :D  More details  
at http://build.gwtproject.org/job/gwt.presubmit/52


--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 4
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[gwt-contrib] Change in gwt[master]: Allow GWT to continue even in presence of internal JDT compi...

2013-05-08 Thread Matthew Dempsky

Matthew Dempsky has posted comments on this change.

Change subject: Allow GWT to continue even in presence of internal JDT  
compiler Errors.

..


Patch Set 5: Verified+1

Hoorays, this change passed the build and style presubmit. :D  More details  
at http://build.gwtproject.org/job/gwt.presubmit/53


--
To view, visit https://gwt-review.googlesource.com/2683
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Id7df86271fc64ac75e0857d17e557e79d870854a
Gerrit-PatchSet: 5
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Roberto Lublinerman rlu...@google.com
Gerrit-Reviewer: Brian Slesinsky skybr...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@google.com
Gerrit-Reviewer: Matthew Dempsky mdemp...@gwtproject.org
Gerrit-Reviewer: Roberto Lublinerman rlu...@google.com
Gerrit-HasComments: No

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups Google Web Toolkit Contributors group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.