[gwt-contrib] Re: Experimental release of Elemental2

2016-08-11 Thread Luke Last
What's the best way to type cast objects? I get a ClassCastException in 
super dev mode with the following.

ArrayBuffer ab = (ArrayBuffer) fileReader.result;

The exception stems from com.google.gwt.lang.Cast#castToNative

If I use JSNI to perform the cast it works fine.

Thanks for working on Elemental2. I think it's super important for GWT.
-Luke


On Wednesday, June 29, 2016 at 8:23:51 PM UTC-4, Julien Dramaix wrote:
>
> A new experimental version of Elemental2 using the new JsInterop 
> specification has been pushed on Sonatype today.
>
> You can try it by downloading the jar file 
> 
>  
> or adding this following maven dependency:
>
> 
>
>  com.google.gwt
>
>  elemental2-experimental
>
>  16-06-30
>
> 
>
> Then, inherits the elemental2 module:
>
> 
>
> This experimental version works only with the last 2.8-snapshot release of 
> GWT.
>
> The goal of this release is to get feedback so don’t hesitate to report 
> any bugs, issues, concerns you have on this mailing list.
>
>
> Important note: This is an experimental release and without doubt the 
> future updates until the final release are going to break code!  
>
> - Julien
>
>

-- 
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/e0b5ae3d-e987-40e4-9d70-dfde08f1ffc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


GWT 2.8.0 RC2 is here!

2016-08-11 Thread 'Daniel Kurka' via GWT Users

Hi all,

I just build the GWT 2.8.0 RC2 and pushed it to maven central. The complete 
SDK is also available from here .

Please start testing and let us know if you run into any trouble and file 
bugs .

We are planing to release this as GWT 2.8.0 if we do not here about any 
serious issues within the next two weeks. The release notes for RC 
2
 will 
be made available shortly after this notice, in the mean time you can take 
a look at the github repository 

.

Daniel,
on behalf of the GWT team

-- 
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.


[gwt-contrib] GWT 2.8.0 RC2 is here!

2016-08-11 Thread 'Daniel Kurka' via GWT Contributors
Hi all,

I just build the GWT 2.8.0 RC2 and pushed it to maven central. The complete 
SDK is also available from here .

Please start testing and let us know if you run into any trouble and file 
bugs .

We are planing to release this as GWT 2.8.0 if we do not here about any 
serious issues within the next two weeks. The release notes for RC 
2
 will 
be made available shortly after this notice, in the mean time you can take 
a look at the github repository 

.

Daniel,
on behalf of the GWT team



-- 
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/af652b4a-7e1c-4c33-8b75-5c12033908ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problem with 2.8.0 rc1 SDM

2016-08-11 Thread Alberto Mancini
Hello,
in the attempt of porting an internal project from beta1 to rc1 we faced an
issue i do not understand how to debug.

The project uses errai but my feeling is that the problem is not related to
it because similar projects with errai work without problems.

Essentially SDM fails during the first compilation and the problem seems in
the generation of the source maps.

The relevant error log follows.

[INFO] GET /recompile/it.e.u.Application
[INFO]Job it.e.u.Application_1_0
[INFO]   starting job: it.e.u.Application_1_0
[INFO]   binding: user.agent=safari
[INFO]   Compiling module it.e.u.Application
...

[INFO]  Unification traversed 54946 fields and methods and
5256 types. 5210 are considered part of the current module and 5210
had all of their fields and methods traversed.
[INFO]  Compiling 1 permutation
[INFO] Compiling permutation 0...
[INFO] Linking per-type JS with 5190 new/changed types.
[INFO] Source Maps Enabled
[INFO]  Compile of permutations succeeded
[INFO]  Compilation succeeded -- 35.850s
[INFO]   Linking into
/var/folders/63/qxvnlkdn7yq2n689wbryx_vwrfzqfp/T/gwt-codeserver-2706361954965741673.tmp/it.e.u.Application/compile-2/war/it.e.u.Application;
Writing extras to
/var/folders/63/qxvnlkdn7yq2n689wbryx_vwrfzqfp/T/gwt-codeserver-2706361954965741673.tmp/it.e.u.Application/compile-2/extras/it.e.u.Application*[INFO]
 [WARN] Can't write source map
CCA06A04193EDF5B35BDE836DF1FABBE_sourceMap0.json
[INFO] java.lang.NullPointerException*
[INFO]  at 
com.google.gwt.thirdparty.debugging.sourcemap.SourceMapConsumerV3.parse(SourceMapConsumerV3.java:101)
[INFO]  at 
com.google.gwt.thirdparty.debugging.sourcemap.SourceMapConsumerV3.parse(SourceMapConsumerV3.java:88)
[INFO]  at 
com.google.gwt.thirdparty.debugging.sourcemap.SourceMapConsumerV3.parse(SourceMapConsumerV3.java:78)
[INFO]  at 
com.google.gwt.thirdparty.debugging.sourcemap.SourceMapGeneratorV3.mergeMapSection(SourceMapGeneratorV3.java:311)
[INFO]  at 
com.google.gwt.core.linker.SymbolMapsLinker.link(SymbolMapsLinker.java:316)
[INFO]  at 
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLinkForOnePermutation(StandardLinkerContext.java:384)
[INFO]  at com.google.gwt.dev.Link.finishPermutation(Link.java:483)
[INFO]  at com.google.gwt.dev.Link.doSimulatedShardingLink(Link.java:445)
[INFO]  at com.google.gwt.dev.Link.link(Link.java:178)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:244)
[INFO]  at 
com.google.gwt.dev.codeserver.Recompiler.doCompile(Recompiler.java:362)
[INFO]  at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:175)
[INFO]  at 
com.google.gwt.dev.codeserver.Recompiler.recompile(Recompiler.java:134)
[INFO]  at com.google.gwt.dev.codeserver.Outbox.recompile(Outbox.java:135)
[INFO]  at com.google.gwt.dev.codeserver.JobRunner.recompile(JobRunner.java:113)
[INFO]  at com.google.gwt.dev.codeserver.JobRunner.access$000(JobRunner.java:37)
[INFO]  at com.google.gwt.dev.codeserver.JobRunner$2.run(JobRunner.java:90)
[INFO]  at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[INFO]  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[INFO]  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[INFO]  at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[INFO]  at java.lang.Thread.run(Thread.java:745)
[INFO]  Invoking Linker Export CompilationResult symbol maps
[INFO] [ERROR] Failed to link
[INFO] java.lang.NullPointerException
[INFO]  at java.util.TreeMap.put(TreeMap.java:563)
[INFO]  at java.util.TreeSet.add(TreeSet.java:255)
[INFO]  at 
com.google.gwt.thirdparty.guava.common.collect.ForwardingCollection.add(ForwardingCollection.java:84)
[INFO]  at 
com.google.gwt.core.ext.linker.TypeIndexedSet.add(TypeIndexedSet.java:101)
[INFO]  at com.google.gwt.core.ext.linker.ArtifactSet.add(ArtifactSet.java:42)
[INFO]  at 
com.google.gwt.core.linker.SymbolMapsLinker.link(SymbolMapsLinker.java:330)
[INFO]  at 
com.google.gwt.core.ext.linker.impl.StandardLinkerContext.invokeLinkForOnePermutation(StandardLinkerContext.java:384)
[INFO]  at com.google.gwt.dev.Link.finishPermutation(Link.java:483)
[INFO]  at com.google.gwt.dev.Link.doSimulatedShardingLink(Link.java:445)
[INFO]  at com.google.gwt.dev.Link.link(Link.java:178)
[INFO]  at com.google.gwt.dev.Compiler.compile(Compiler.java:244)
[INFO]  at 
com.google.gwt.dev.codeserver.Recompiler.doCompile(Recompiler.java:362)
[INFO]  at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:175)
[INFO]  at 
com.google.gwt.dev.codeserver.Recompiler.recompile(Recompiler.java:134)
[INFO]  at com.google.gwt.dev.codeserver.Outbox.recompile(Outbox.java:135)
[INFO]  at com.google.gwt.dev.codeserver.JobRunner.recompile(JobRunner.java:113)
[INFO]  at com.google.gwt.dev.codeserver.JobRunner.access$000(JobRunner.java:37)
[INFO]  at 

Re: GWT 2.7 - MultiModule Setup and SDM recompilation

2016-08-11 Thread Daniel Kurka
Even at Google for really large projects recompile times do not exceed
15seconds. So something is wrong in your setup since we only do recompile
changed files after the first compile.

Are you giving enough ram to SDM?
Are you really only changing a few files (or is something else updating
timestamp on these files)?


On Thu, Aug 11, 2016 at 1:08 AM Lars  wrote:

> Try to use 2.8 snapshot for SDM and the stable 2.7 release for production,
> because 2.8 has more SDM optimizations to speed up the development cycle!
>
> --
> 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.
>

-- 
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.


Poker Fighter: Project coded in GWT

2016-08-11 Thread Guy Sela
Hi Guys,

You're welcome to explore and comment about my product which was almost 
100% coded in GWT:
http://www.poker-fighter.com

This link leads to the homepage, and clicking "Play Now" will lead you to 
the game itself, which was built in GWT.
If you have any questions about the design or implementation, feel free to 
ask!

-- 
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.


[gwt-contrib] Last call for GWT 2.8.0 RC2

2016-08-11 Thread Kirill Prazdnikov
I would be nice to have performance of String(char[],int,int) fixed as 
suggested.

-- 
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/857a4c39-147e-4810-a511-49b069c026ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


GWT 2.7 - Multi-module project and Super Dev mode recompilation

2016-08-11 Thread Lars
Try to use 2.8 snapshot for SDM and the stable 2.7 release for production, 
because 2.8 has more SDM optimizations to speed up the development cycle!

-- 
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.


GWT 2.7 - MultiModule Setup and SDM recompilation

2016-08-11 Thread Lars
Try to use 2.8 snapshot for SDM and the stable 2.7 release for production, 
because 2.8 has more SDM optimizations to speed up the development cycle!

-- 
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: Last call for GWT 2.8.0 RC2

2016-08-11 Thread Kay-Uwe Janssen
> I just tested your example. THIS compiles and works but when trying to 
add a default (or static) i get the said errors. maybe the requestfactory 
apt processor is not correctly updated to the new features?

fixed missing words:
I just tested your example. THIS compiles and works but when trying to add 
a default (or static) to a requestfactory proxy i get the said errors. 
maybe the requestfactory apt processor is not correctly updated to the new 
features?


e.g. this inteface:
@ProxyFor(value = Test.class)
public interface TextProxy extends ValueProxy {

default String getTest() {
return "";
}

static String getTest2() {
return "";
}

}


generates the following errors:
Could not find domain method similar to java.lang.String getTest() 
Could not find domain method similar to java.lang.String getTest2() 

when removing the "get" ( having "test()" and "test2()") it has those 
errros:
Could not find domain method similar to java.lang.String test()
Could not find domain method similar to java.lang.String test2()
Only getters and setters allowed
Only getters and setters allowed



Am Donnerstag, 11. August 2016 08:46:01 UTC+2 schrieb Kay-Uwe Janssen:
>
> I just tested your example. THIS compiles and works but when trying to add 
> a default (or static) i get the said errors. maybe the requestfactory apt 
> processor is not correctly updated to the new features?
>
> I have checked that I have all gwt-* dependencies (including 
> requestfactory-apt and requestfactory-server) with version 2.8-rc1. 
>
> Am Mittwoch, 10. August 2016 18:25:05 UTC+2 schrieb Colin Alworth:
>>
>> Kay, can you offer a reproducible example of this, and confirm that you 
>> have no older copy of GWT (like gwt-user/gwt-dev from 2.8.0-beta1) on your 
>> classpath? To test this, I just built some quick autobeans in a simple 
>> project (so that I didn't need a full server to back it):
>>
>> public DefaultMethodInGeneratorTest implements EntryPoint {
>> @Override
>> public void onModuleLoad() {
>> ABF abf = GWT.create(ABF.class);
>> abf.bean().as().buildName();
>> }
>>
>> public interface ABF extends AutoBeanFactory {
>> AutoBean bean();
>> }
>>
>>
>> public interface SampleBean {
>> String getFirstName();
>> String getLastName();
>> default String buildName() {
>> return getLastName() + ", " + getFirstName();
>> }
>> }
>> }
>>
>> This compiles correctly (for me, with 2.8.0-RC1), even though in prior 
>> GWT versions you would need to list buildName() as a @Category.
>>
>> On Wed, Aug 10, 2016 at 3:13 AM Jens  wrote:
>>
>>>
>>> If you feel strongly that something should make RC2 please raise this on 
 this thread. I will be cutting RC2 tomorrow PST time.

>>>
>>> To avoid incorrect warnings: 
>>> https://gwt-review.googlesource.com/#/c/16540/ 
>>>
>>> -- 
>>> 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/0f8eca73-e432-4074-bb26-019f12b724a3%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/527e2c57-afdc-4601-aef6-bb17a04b1a6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: Last call for GWT 2.8.0 RC2

2016-08-11 Thread Kay-Uwe Janssen
I just tested your example. THIS compiles and works but when trying to add 
a default (or static) i get the said errors. maybe the requestfactory apt 
processor is not correctly updated to the new features?

I have checked that I have all gwt-* dependencies (including 
requestfactory-apt and requestfactory-server) with version 2.8-rc1. 

Am Mittwoch, 10. August 2016 18:25:05 UTC+2 schrieb Colin Alworth:
>
> Kay, can you offer a reproducible example of this, and confirm that you 
> have no older copy of GWT (like gwt-user/gwt-dev from 2.8.0-beta1) on your 
> classpath? To test this, I just built some quick autobeans in a simple 
> project (so that I didn't need a full server to back it):
>
> public DefaultMethodInGeneratorTest implements EntryPoint {
> @Override
> public void onModuleLoad() {
> ABF abf = GWT.create(ABF.class);
> abf.bean().as().buildName();
> }
>
> public interface ABF extends AutoBeanFactory {
> AutoBean bean();
> }
>
>
> public interface SampleBean {
> String getFirstName();
> String getLastName();
> default String buildName() {
> return getLastName() + ", " + getFirstName();
> }
> }
> }
>
> This compiles correctly (for me, with 2.8.0-RC1), even though in prior GWT 
> versions you would need to list buildName() as a @Category.
>
> On Wed, Aug 10, 2016 at 3:13 AM Jens  
> wrote:
>
>>
>> If you feel strongly that something should make RC2 please raise this on 
>>> this thread. I will be cutting RC2 tomorrow PST time.
>>>
>>
>> To avoid incorrect warnings: 
>> https://gwt-review.googlesource.com/#/c/16540/ 
>>
>> -- 
>> 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/0f8eca73-e432-4074-bb26-019f12b724a3%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/a9be92a9-ec07-4081-9c5c-51d676897769%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.