[gwt-contrib] Re: com.google.gwt.view.client.Range why client only?

2013-12-09 Thread Patrick Tucker
Crickets...

On Friday, November 22, 2013 4:58:10 PM UTC-5, Patrick Tucker wrote:

 Why is Range not a shared class?  If for some strange reason it needs to 
 be client only, why does it implement Serializable?


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
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] JsArrayList - ListT implementation for OverlayTypes (wrapping JsArrayT)

2013-12-09 Thread Danilo Reinert
Em sexta-feira, 22 de novembro de 2013 16h16min06s UTC-3, Goktug Gokdogan 
escreveu:



 On Thu, Nov 21, 2013 at 6:46 PM, Danilo Reinert 
 danilo...@gmail.comjavascript:
  wrote:

 Hi all,

 Finally I've made an acceptable implementation of ListT for 
 JavaScriptObjects.

 Thanks to T. Broyer's suggestion on this 
 topichttps://groups.google.com/d/msg/google-web-toolkit/_8X9WPL6qwM/C8GfwAM0ItAJ
  I've 
 achieved a performant solution for it.


 Can you give more details?


Well, I've implemented all required methods of the List contract, 
performing over a JsArray instead of creating a new ArrayList and 
populating it. You can instantiate my JsArrayList implementation passing a 
JsArray as argument and it works as expected.

My main test has been the CellTable widget. I'm using this JsArrayList into 
the ListDataProvider and everything is working ok.

The only not supported methods yet are:
addAll (both)
removeAll
retainAll 

For implementing the iterators I've based my implementation on public 
source of ArrayList.

 

 The main problem was the toArray() method. Using this 
 classhttps://code.google.com/p/gwt-in-the-air/source/browse/trunk/src/net/ltgt/gwt/jscollections/client/JsArrays.java,
  
 It's possible to convert a JsArray to a Object[] without iterating over it. 


 The contract of toArray requires copy. How do you exactly handle that?


I'm using slice to produce a shallow copy of the array. I guess this 
approach meets the contract. What do you think?
 

  

 Now I finally can receive a json array from my RESTful backend 
 application and throw it into a CellTable directly.


 In order to make it possible I had to use the above mentioned JsArrays 
 class and an own extension of JsArray (used only as a internal of the 
 JsArrayList).


 Would it be interesting for GWT core?

 --
 D. Reinert

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




-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
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: 2.6.0-rc3

2013-12-09 Thread Colin Alworth
This system property isn't listed when either dev mode or the compiler runs
because it is a system property, not a program arg. It should be provided
with the other VM args when you start Java. These aren't listed as part of
the normal properties, but are documented here:
http://code.google.com/p/google-web-toolkit/wiki/JavaSystemPropertiesAndGwt

We probably should migrate that table (and expand it?), but for the most
part these are used to tweak internals that shouldn't normally be needed.
In the case of the issue I'm pointing out with java6, it appears that this
issue is only due to a build problem when the RC was originally compiled.
The only other flag I use in the list with any regularity is
gwt.jjs.traceMethods, which lets you see what the compiler is doing with
each method as it works.


On Sun, Dec 8, 2013 at 5:28 PM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 Thanks Thomas!


 2013/12/8 Thomas Broyer t.bro...@gmail.com



 On Sunday, December 8, 2013 2:12:31 PM UTC+1, Thomas Broyer wrote:


 On Saturday, December 7, 2013 7:42:42 PM UTC+1, juan_pablo_gardella
 wrote:

 HostedMode appears in http://www.gwtproject.org/doc/latest/
 DevGuideCompilingAndDebugging.html at the section Development Mode
 Options.


 Will fix.


 See https://gwt-review.googlesource.com/5651

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT 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.


  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT 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.




-- 
218.248.6165
niloc...@gmail.com

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
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: 2.6.0-rc3

2013-12-09 Thread Juan Pablo Gardella
Thanks Colin


2013/12/9 Colin Alworth niloc...@gmail.com

 This system property isn't listed when either dev mode or the compiler
 runs because it is a system property, not a program arg. It should be
 provided with the other VM args when you start Java. These aren't listed as
 part of the normal properties, but are documented here:
 http://code.google.com/p/google-web-toolkit/wiki/JavaSystemPropertiesAndGwt

 We probably should migrate that table (and expand it?), but for the most
 part these are used to tweak internals that shouldn't normally be needed.
 In the case of the issue I'm pointing out with java6, it appears that this
 issue is only due to a build problem when the RC was originally compiled.
 The only other flag I use in the list with any regularity is
 gwt.jjs.traceMethods, which lets you see what the compiler is doing with
 each method as it works.


 On Sun, Dec 8, 2013 at 5:28 PM, Juan Pablo Gardella 
 gardellajuanpa...@gmail.com wrote:

 Thanks Thomas!


 2013/12/8 Thomas Broyer t.bro...@gmail.com



 On Sunday, December 8, 2013 2:12:31 PM UTC+1, Thomas Broyer wrote:


 On Saturday, December 7, 2013 7:42:42 PM UTC+1, juan_pablo_gardella
 wrote:

 HostedMode appears in http://www.gwtproject.org/doc/latest/
 DevGuideCompilingAndDebugging.html at the section Development Mode
 Options.


 Will fix.


 See https://gwt-review.googlesource.com/5651

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google
 Groups GWT 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.


  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT 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.




 --
 218.248.6165
 niloc...@gmail.com

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT 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.


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
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: 2.6.0-rc3

2013-12-09 Thread Matthew Dempsky
Hm, so is building with Java 6 a new requirement due to how we implemented
Java 7 support in GWT?  I thought I used Java 7 to build the GWT 2.5.1
release too, but I can make sure to use Java 6 instead going forward to
build releases/release candidates/snapshots.


On Mon, Dec 9, 2013 at 7:40 AM, Colin Alworth niloc...@gmail.com wrote:

 This system property isn't listed when either dev mode or the compiler
 runs because it is a system property, not a program arg. It should be
 provided with the other VM args when you start Java. These aren't listed as
 part of the normal properties, but are documented here:
 http://code.google.com/p/google-web-toolkit/wiki/JavaSystemPropertiesAndGwt

 We probably should migrate that table (and expand it?), but for the most
 part these are used to tweak internals that shouldn't normally be needed.
 In the case of the issue I'm pointing out with java6, it appears that this
 issue is only due to a build problem when the RC was originally compiled.
 The only other flag I use in the list with any regularity is
 gwt.jjs.traceMethods, which lets you see what the compiler is doing with
 each method as it works.


 On Sun, Dec 8, 2013 at 5:28 PM, Juan Pablo Gardella 
 gardellajuanpa...@gmail.com wrote:

 Thanks Thomas!


 2013/12/8 Thomas Broyer t.bro...@gmail.com



 On Sunday, December 8, 2013 2:12:31 PM UTC+1, Thomas Broyer wrote:


 On Saturday, December 7, 2013 7:42:42 PM UTC+1, juan_pablo_gardella
 wrote:

 HostedMode appears in http://www.gwtproject.org/doc/latest/
 DevGuideCompilingAndDebugging.html at the section Development Mode
 Options.


 Will fix.


 See https://gwt-review.googlesource.com/5651

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google
 Groups GWT 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.


  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT 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.




 --
 218.248.6165
 niloc...@gmail.com

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT 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.


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
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: 2.6.0-rc3

2013-12-09 Thread Roberto Lublinerman
It seems that the build script needs to pass -sourceLevel 6 when compiling
.gwtars (which we seem to ship incompiled form). I think I saw a patch or
email regarding that issue.


On Mon, Dec 9, 2013 at 8:17 AM, Matthew Dempsky mdemp...@google.com wrote:

 Hm, so is building with Java 6 a new requirement due to how we implemented
 Java 7 support in GWT?  I thought I used Java 7 to build the GWT 2.5.1
 release too, but I can make sure to use Java 6 instead going forward to
 build releases/release candidates/snapshots.


 On Mon, Dec 9, 2013 at 7:40 AM, Colin Alworth niloc...@gmail.com wrote:

 This system property isn't listed when either dev mode or the compiler
 runs because it is a system property, not a program arg. It should be
 provided with the other VM args when you start Java. These aren't listed as
 part of the normal properties, but are documented here:
 http://code.google.com/p/google-web-toolkit/wiki/JavaSystemPropertiesAndGwt

 We probably should migrate that table (and expand it?), but for the most
 part these are used to tweak internals that shouldn't normally be needed.
 In the case of the issue I'm pointing out with java6, it appears that this
 issue is only due to a build problem when the RC was originally compiled.
 The only other flag I use in the list with any regularity is
 gwt.jjs.traceMethods, which lets you see what the compiler is doing with
 each method as it works.


 On Sun, Dec 8, 2013 at 5:28 PM, Juan Pablo Gardella 
 gardellajuanpa...@gmail.com wrote:

 Thanks Thomas!


 2013/12/8 Thomas Broyer t.bro...@gmail.com



 On Sunday, December 8, 2013 2:12:31 PM UTC+1, Thomas Broyer wrote:


 On Saturday, December 7, 2013 7:42:42 PM UTC+1, juan_pablo_gardella
 wrote:

 HostedMode appears in http://www.gwtproject.org/doc/latest/
 DevGuideCompilingAndDebugging.html at the section Development Mode
 Options.


 Will fix.


 See https://gwt-review.googlesource.com/5651

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google
 Groups GWT 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.


  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google
 Groups GWT 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.




 --
 218.248.6165
 niloc...@gmail.com

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT 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.


  --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT 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.


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
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] support for JSR 310 / java.time created

2013-12-09 Thread Jörg Hohwiller
http://code.google.com/p/google-web-toolkit/issues/detail?id=8486

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
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.