Re: GWT Material - Video tutorial #1

2016-06-13 Thread Cristian Rinaldi
Great work!!! 
One question, with new version of JsInterop, you have intension of migrate 
all library to JsInterop, and all UiBinder and Widget, to HTML pure 
template and native Elements?

El viernes, 10 de junio de 2016, 5:00:53 (UTC-3), mark kevin ringor 
escribió:
>
> We've just released our gwt-material  first video tutorial - Project Setup 
> using gwt-material-archetype with Eclipse IDE and Intelij IDEA.
> Also during weeked we will do some shooting to provide the next tutorial 
> series.
>
> https://www.youtube.com/watch?v=sEVqfqDUOpE
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: JsInterop and Java collections?

2016-06-13 Thread Thomas Broyer


On Tuesday, June 7, 2016 at 12:58:53 AM UTC+2, Thomas Broyer wrote:
>
>
>
> On Monday, June 6, 2016 at 9:15:43 PM UTC+2, Hristo Stoyanov wrote:
>>
>> Kirrill,
>> I did not suggest to *convert*, but *map*. That means that if/when a 
>> JSInter-oped class is exported into the JS Engine (let's say V8) , the JS 
>> developer will see plain old js arrays, so s/he can work with them as they 
>> have been for ages. When Java/JsInterop developers work with the same 
>> structure, they can chose to view it as java.util.ArrayList, java array or 
>> some other java.util.Collection, thus using familiar Java APIs. It is the 
>> same structure in the JS Engine memory, but viewed differently. But no 
>> conversion involved.
>>
>
> Some of those might work, but not all.
> I.e. "seeing" a JS Array as a java.util.List might work, but not the 
> reverse; at least not with any java.util.List, only the one implementing 
> type(s) that directly map (@JsType(isNative=true)) to a JS Array. More 
> precisely, that means using that specific JsType on setting (and on 
> getting, though possibly JsInterop could special-case it; I think that's 
> what you're asking for); specifically, a setter taking any java.util.List 
> wouldn't work, as you could pass, say, a LinkedList, and GWT would be 
> unable to simply "map" it to a JS Array: we're compiling to JS here, 
> there's no boundary like with a plugin.
> Currently, you could use elemental.util.ArrayOf, and I believe there will 
> be equivalents in due time (either GWT 2.8 proper, or Elemental 2). This is 
> more or less what Jens and Vassilis were talking about already.
>

FWIW: https://github.com/gwtproject/gwt/issues/9364 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: GWT 2.8 rc1 work items

2016-06-13 Thread Thomas Broyer


On Monday, June 13, 2016 at 11:37:05 AM UTC+2, Daniel Kurka wrote:
>
> Also keep in mind that we need a green build before cutting RC1 in open 
> source (and this only runs daily), so we should not be merging lots of 
> patches at the last minute.
>

Maybe we could change it to run twice a day during that "sprint"?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/b44fceef-13a9-4bda-ab1a-6434958da9b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: GWT 2.8 rc1 work items

2016-06-13 Thread 'Daniel Kurka' via GWT Contributors
I went through the issue tracker and curated the 2.8 mile stone.

Currently we have 22 open issues:
https://github.com/gwtproject/gwt/milestones/2.8

I assigned all unassigned issues and asked clarifying questions, *please go
through your assigned issues and respond to those questions*.
If you feel that you have been wrongly assigned, please assign me back
stating so. I'll try to make sure that the right person will start working
on this.

As for volunteers (to speed up 2.8), please go through the list and see if
you want to help (just because something is assigned does not mean its
getting worked on right now). *Come and ping me about work you want to do!*

*As for adding more work to the 2.8 milestone:*
At this state we want to ship, so anything that is not a critical bug fix
(or is very trivial) will probably not get included. For the work that Jens
mentioned, I'd say if these reviews make it before we cut RC1 they can go
in otherwise I will hold them until after we have shipped 2.8.0.
Also keep in mind that we need a green build before cutting RC1 in open
source (and this only runs daily), so we should not be merging lots of
patches at the last minute.

-Daniel

On Sun, Jun 12, 2016 at 8:28 PM Thomas Broyer  wrote:

>
>
> On Wednesday, June 8, 2016 at 11:06:26 AM UTC+2, Daniel Kurka wrote:
>
>> Hi all,
>>
>> in the last steering committee meeting we agreed that making the next
>> version of Guava work (which contains a lot of Java8 usage) was the goal
>> for RC1.
>>
>> We have gotten significantly closer to this now and I am happy to report
>> that as of now we pass all of Guavas tests.
>> However there are a few work items left to do:
>>
>>  - Make sure we actually run all of the java8 tests in the open source
>> build
>>  - Go through the github issue tracker and look for things missing for
>> the 2.8 milestone
>>  - Discuss the fate of the Jettty upgrades (Google was not able to garden
>> these in yet, so the are not really verified).
>>  - Anything else I might have missed?
>>
>> Do you guys have anything else to add to the list?
>>
>
> I'd like to include https://gwt-review.googlesource.com/15161 in RC1 so
> we have time to test it and possibly revert it or fix it before GA.
>
>> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/ec6380bc-29ce-43c4-9b84-951ecc2e35fd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CALLujir-WOKaKhKe0yEYF%2Bc83oeC1rrD5-pWGgwEiavWSqr0Og%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Newbie Help - how to retrieve data from another website?

2016-06-13 Thread Thomas Broyer


On Monday, June 13, 2016 at 9:40:34 AM UTC+2, Hans Dampf wrote:
>
> Hi everyone,
>
> opening an URL like http://randomserver.com/file?get=randomXML returns a 
> XML-file. I don't have access to the server.
> Now i am trying to receive this data and give it out in my gwt-app.
> I have tried modifying the code from this tutorial : 
> http://www.gwtproject.org/javadoc/latest/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
>  
> but i failed miserably.
> Can anyone kindly give me a hint on what to implement / how to do it 
> properly in order to read the XML and put its content in an object that i 
> can modify / give out in my gwt-app?
> Thanks in advance!
>

If the other server sends CORS headers in the response, then you can just 
use XMLHttpRequest or RequestBuilder: http://caniuse.com/#feat=cors
Otherwise, you'll have to make the request from your server (acting as a 
proxy) to workaround the same-origin policy.
JSON-P, despite what its name suggests, is simply about retrieving a 
JavaScript and having it executed in the current web page using a 

Re: Closure compiler removal ?

2016-06-13 Thread Max Fromberger
Just curious: Why do you keep calling him Jen? :D

Am Sonntag, 12. Juni 2016 20:46:51 UTC+2 schrieb Hristo Stoyanov:
>
> Thanks Jen,
> Well, if the option is dropped, we'd better fix gradle/maven plugins. If 
> the closure compiler is not good in 2.8, it probably was not any better in 
> 2.7 either... and was always marked "experimental". I already fixed my 
> scripts.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Newbie Help - how to retrieve data from another website?

2016-06-13 Thread Hans Dampf
Hi everyone,

opening an URL like http://randomserver.com/file?get=randomXML returns a 
XML-file. I don't have access to the server.
Now i am trying to receive this data and give it out in my gwt-app.
I have tried modifying the code from this tutorial : 
http://www.gwtproject.org/javadoc/latest/com/google/gwt/jsonp/client/JsonpRequestBuilder.html
 
but i failed miserably.
Can anyone kindly give me a hint on what to implement / how to do it 
properly in order to read the XML and put its content in an object that i 
can modify / give out in my gwt-app?
Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.