[gwt-contrib] Re: Elemental2:1.0.0-beta-3 released

2017-12-05 Thread Slava Pankov
Why and what for "latest HEAD_SNAPSHOT release of GWT 
"
 
is requered?
I don't see any "serious" changes on GWT github comparing with 2.8.2


On Tuesday, December 5, 2017 at 9:54:28 AM UTC-8, Julien Dramaix wrote:
>
> I've released a Elemental2:1.0.0-beta-3 yesterday in order to fix the 
> maven issue.
>
> As usual, elemental2 is split into small jar files:
>
>  
>
> Jar file
>
> artifact-id
>
> GWT module
>
> elemental2-core.jar 
> 
>
> elemental2-core
>
> elemental2.core.Core
>
> elemental2-promise.jar 
> 
>
> elemental2-promise
>
> elemental2.promise.Promise
>
> elemental2-dom.jar 
> 
>
> elemental2-dom
>
> elemental2.dom.Dom
>
> elemental2-svg.jar 
> 
>
> elemental2-svg
>
> elemental2.svg.Svg
>
> elemental2-webgl.jar 
> 
>
> elemental2-webgl
>
> elemental2.webgl.WebGl
>
> elemental2-media.jar 
> 
>
> elemental2-media
>
> elemental2.media.Media
>
> elemental2-indexeddb.jar 
> 
>
> elemental2-indexeddb
>
> elemental2.indexeddb.IndexedDb
>
> elemental2-webstorage.jar 
> 
>
> elemental2-webstorage
>
> elemental2.webstorage.WebStorage
>
>  
>
>  
>
> You can try them by downloading the jar files or adding Maven dependencies:
>
>  
>
> 
>
> com.google.elemental2
>
> ${artifact-id}
>
> 1.0.0-beta-3
>
> 
>
>  
>
> Then inherit the right gwt module in your gwt.xml file.
>
>  
>
> This beta version works only with the latest HEAD_SNAPSHOT release of GWT 
> 
> .
>
>  
>
> Don’t hesitate to report any bugs, issues, concerns you have on the 
> github bug tracker .
>
>  
>
> Important note: This is a beta releases and future updates (up until the 
> final release) may break code!  
>
>  
>
> -Julien
>
>
> On Wed, Nov 22, 2017 at 5:59 PM Colin Alworth  > wrote:
>
>> It looks like the poms weren't correctly updated - they still depend on 
>> jsinterop-base 1.0.0-beta-1, tickling 
>> https://github.com/google/elemental2/issues/20 again. The gwt2 compiler 
>> fails on this with this sort of error:
>> [INFO][ERROR] Errors in 
>> 'jar:file:/Users/colin/.m2/repository/com/google/elemental2/elemental2-dom/1.0.0-beta-2/elemental2-dom-1.0.0-beta-2.jar!/elemental2/dom/Element.java'
>> [INFO]   [ERROR] Line 260: The method asString(Element.
>> ReplaceWithNodesUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 303: The method asBoolean(Element.
>> ScrollIntoViewTopUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 326: The method asBoolean(Element.
>> SetAttributeNSValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 331: The method asDouble(Element.
>> SetAttributeNSValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 336: The method asString(Element.
>> SetAttributeNSValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 364: The method asBoolean(Element.
>> SetAttributeValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 369: The method asDouble(Element.
>> SetAttributeValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 374: The method asString(Element.
>> SetAttributeValueUnionType) is undefined for the type Js
>>
>> Simple workaround, manually add excludes on jsinterop-base, and inherit 
>> the correct version in your project:
>> 
>>   com.google.elemental2
>>   elemental2-dom
>>   1.0.0-beta-2
>>   
>> 
>>   com.google.jsinterop
>>   base
>> 
>>   
>> 
>> 
>>   com.google.jsinterop
>>   base
>>   1.0.0-beta-3
>> 
>>
>> Julien, if you 

[gwt-contrib] Re: Elemental2:1.0.0-beta-3 released

2017-12-05 Thread Julien Dramaix
Correction of my previous email: Elemental2:1.0.0-beta-3 is working with
the current version of GWT. You don't need to use the HEAD_SNAPSHOT release
of GWT.

Sorry for the confusion.

-Julien

On Tue, Dec 5, 2017 at 9:54 AM Julien Dramaix 
wrote:

> I've released a Elemental2:1.0.0-beta-3 yesterday in order to fix the
> maven issue.
>
> As usual, elemental2 is split into small jar files:
>
>
>
> Jar file
>
> artifact-id
>
> GWT module
>
> elemental2-core.jar
> 
>
> elemental2-core
>
> elemental2.core.Core
>
> elemental2-promise.jar
> 
>
> elemental2-promise
>
> elemental2.promise.Promise
>
> elemental2-dom.jar
> 
>
> elemental2-dom
>
> elemental2.dom.Dom
>
> elemental2-svg.jar
> 
>
> elemental2-svg
>
> elemental2.svg.Svg
>
> elemental2-webgl.jar
> 
>
> elemental2-webgl
>
> elemental2.webgl.WebGl
>
> elemental2-media.jar
> 
>
> elemental2-media
>
> elemental2.media.Media
>
> elemental2-indexeddb.jar
> 
>
> elemental2-indexeddb
>
> elemental2.indexeddb.IndexedDb
>
> elemental2-webstorage.jar
> 
>
> elemental2-webstorage
>
> elemental2.webstorage.WebStorage
>
>
>
>
>
> You can try them by downloading the jar files or adding Maven dependencies:
>
>
>
> 
>
> com.google.elemental2
>
> ${artifact-id}
>
> 1.0.0-beta-3
>
> 
>
>
>
> Then inherit the right gwt module in your gwt.xml file.
>
>
>
> This beta version works only with the latest HEAD_SNAPSHOT release of GWT
> 
> .
>
>
>
> Don’t hesitate to report any bugs, issues, concerns you have on the
> github bug tracker .
>
>
>
> Important note: This is a beta releases and future updates (up until the
> final release) may break code!
>
>
>
> -Julien
>
>
> On Wed, Nov 22, 2017 at 5:59 PM Colin Alworth  wrote:
>
>> It looks like the poms weren't correctly updated - they still depend on
>> jsinterop-base 1.0.0-beta-1, tickling
>> https://github.com/google/elemental2/issues/20 again. The gwt2 compiler
>> fails on this with this sort of error:
>> [INFO][ERROR] Errors in
>> 'jar:file:/Users/colin/.m2/repository/com/google/elemental2/elemental2-dom/1.0.0-beta-2/elemental2-dom-1.0.0-beta-2.jar!/elemental2/dom/Element.java'
>> [INFO]   [ERROR] Line 260: The method asString(Element.
>> ReplaceWithNodesUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 303: The method asBoolean(Element.
>> ScrollIntoViewTopUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 326: The method asBoolean(Element.
>> SetAttributeNSValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 331: The method asDouble(Element.
>> SetAttributeNSValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 336: The method asString(Element.
>> SetAttributeNSValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 364: The method asBoolean(Element.
>> SetAttributeValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 369: The method asDouble(Element.
>> SetAttributeValueUnionType) is undefined for the type Js
>> [INFO]   [ERROR] Line 374: The method asString(Element.
>> SetAttributeValueUnionType) is undefined for the type Js
>>
>> Simple workaround, manually add excludes on jsinterop-base, and inherit
>> the correct version in your project:
>> 
>>   com.google.elemental2
>>   elemental2-dom
>>   1.0.0-beta-2
>>   
>> 
>>   com.google.jsinterop
>>   base
>> 
>>   
>> 
>> 
>>   com.google.jsinterop
>>   base
>>   1.0.0-beta-3
>> 
>>
>> Julien, if you do happen to release an updated beta to solve this,
>> perhaps also update jsinterop-annotations to 1.0.2, the version that was
>> released with GWT 2.8.2.
>>
>>
>>
>> On Wednesday, November 22, 2017 at 7:13:29

Re: [gwt-contrib] Re: Elemental2:1.0.0-beta-2 released

2017-12-05 Thread Julien Dramaix
So I think Thomas is right.
One of our change in this new release was to rename toString() method on
some objects to avoid confusion with java.lang.Object methods.
That broke Elemental with J2CL because java.lang.Object is a JsType in J2CL
and we need to lift up some jsinterop restriction to allows user to
override an implementation with a native override (something similar to
https://gwt-review.googlesource.com/c/gwt/+/20122)
But in GWT, Object is not a JsType and we don't have that problem. So we
dont need https://gwt-review.googlesource.com/c/gwt/+/20122 for Elemental
in GWT.

The good news is Elemental2:1.0.0-beta-3 is working with the current
version of GWT. Sorry for the confusion.

On Mon, Dec 4, 2017 at 11:08 PM Thomas Broyer  wrote:

> There must be some cases where it requires the current head, but so far I
> haven't had any issue with 2.8.2.
>
> --
> 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/bb66fed8-82a5-4b80-a36c-c223578d7e8c%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/CABb_3%3D7cdZwbC5uVHkBTQ%3DAr8vZ%2BgqMzDWoQ6_gS0AO43tU6ww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Elemental2:1.0.0-beta-3 released

2017-12-05 Thread Julien Dramaix
I've released a Elemental2:1.0.0-beta-3 yesterday in order to fix the maven
issue.

As usual, elemental2 is split into small jar files:



Jar file

artifact-id

GWT module

elemental2-core.jar


elemental2-core

elemental2.core.Core

elemental2-promise.jar


elemental2-promise

elemental2.promise.Promise

elemental2-dom.jar


elemental2-dom

elemental2.dom.Dom

elemental2-svg.jar


elemental2-svg

elemental2.svg.Svg

elemental2-webgl.jar


elemental2-webgl

elemental2.webgl.WebGl

elemental2-media.jar


elemental2-media

elemental2.media.Media

elemental2-indexeddb.jar


elemental2-indexeddb

elemental2.indexeddb.IndexedDb

elemental2-webstorage.jar


elemental2-webstorage

elemental2.webstorage.WebStorage





You can try them by downloading the jar files or adding Maven dependencies:





com.google.elemental2

${artifact-id}

1.0.0-beta-3





Then inherit the right gwt module in your gwt.xml file.



This beta version works only with the latest HEAD_SNAPSHOT release of GWT

.



Don’t hesitate to report any bugs, issues, concerns you have on the github
bug tracker .



Important note: This is a beta releases and future updates (up until the
final release) may break code!



-Julien


On Wed, Nov 22, 2017 at 5:59 PM Colin Alworth  wrote:

> It looks like the poms weren't correctly updated - they still depend on
> jsinterop-base 1.0.0-beta-1, tickling
> https://github.com/google/elemental2/issues/20 again. The gwt2 compiler
> fails on this with this sort of error:
> [INFO][ERROR] Errors in
> 'jar:file:/Users/colin/.m2/repository/com/google/elemental2/elemental2-dom/1.0.0-beta-2/elemental2-dom-1.0.0-beta-2.jar!/elemental2/dom/Element.java'
> [INFO]   [ERROR] Line 260: The method asString(Element.
> ReplaceWithNodesUnionType) is undefined for the type Js
> [INFO]   [ERROR] Line 303: The method asBoolean(Element.
> ScrollIntoViewTopUnionType) is undefined for the type Js
> [INFO]   [ERROR] Line 326: The method asBoolean(Element.
> SetAttributeNSValueUnionType) is undefined for the type Js
> [INFO]   [ERROR] Line 331: The method asDouble(Element.
> SetAttributeNSValueUnionType) is undefined for the type Js
> [INFO]   [ERROR] Line 336: The method asString(Element.
> SetAttributeNSValueUnionType) is undefined for the type Js
> [INFO]   [ERROR] Line 364: The method asBoolean(Element.
> SetAttributeValueUnionType) is undefined for the type Js
> [INFO]   [ERROR] Line 369: The method asDouble(Element.
> SetAttributeValueUnionType) is undefined for the type Js
> [INFO]   [ERROR] Line 374: The method asString(Element.
> SetAttributeValueUnionType) is undefined for the type Js
>
> Simple workaround, manually add excludes on jsinterop-base, and inherit
> the correct version in your project:
> 
>   com.google.elemental2
>   elemental2-dom
>   1.0.0-beta-2
>   
> 
>   com.google.jsinterop
>   base
> 
>   
> 
> 
>   com.google.jsinterop
>   base
>   1.0.0-beta-3
> 
>
> Julien, if you do happen to release an updated beta to solve this, perhaps
> also update jsinterop-annotations to 1.0.2, the version that was released
> with GWT 2.8.2.
>
>
>
> On Wednesday, November 22, 2017 at 7:13:29 PM UTC-6, Julien Dramaix wrote:
>>
>> The beta version of Elemental2 using the JsInterop specification has been
>> released on Sonatype today and is available on Maven central. This release
>> should be the last beta release and I expect to release the first RC in few
>> weeks.
>>
>>
>> This release introduces -- among others:
>>
>> - a better granularity for api with numbers. Config files list APIs using
>> integer instead of double.
>>
>> - usage of wildcard

Re: [gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-12-05 Thread Thomas Broyer


On Friday, November 17, 2017 at 5:37:59 PM UTC+1, Thomas Broyer wrote:
>
>
>
> On Friday, November 17, 2017 at 4:11:18 PM UTC+1, Colin Alworth wrote:
>>
>> Sounds like there is enough diversity of opinion that this discussion 
>> should go on - first step seems to be deciding if we think the CLA
>>
>
> Some links about CLAs:
> https://julien.ponge.org/blog/in-defense-of-contributor-license-agreements/ 
> & 
> https://julien.ponge.org/blog/developer-certificate-of-origin-versus-contributor-license-agreements/
>
> https://web.archive.org/web/20150917011232/http://www.computerworlduk.com/blogs/simon-says/should-open-source-communities-avoid-contributor-agreements-3569648/
> http://contributoragreements.org/
> Some tools to manage CLAs: https://cla-assistant.io/ (by SAP), 
> https://www.clahub.com/
>
> As a) purely "community-driven projects", that b) won't even be used by 
> Google (their original author), I would say that we don't need CLAs (also, 
> the choice of the Apache License protects the users from a lot of things 
> already).
> That said, IANAL, and I'm not doing any work here on behalf of my 
> employer; so people for whom CLAs are important should weigh in.
>

Fwiw, Gradle, as a project lead by a company (Gradle, Inc.), which is not 
our case, just ditched CLAs in favor of 
https://developercertificate.org: 
https://discuss.gradle.org/t/change-in-the-contribution-process/25011

-- 
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/e1f40067-65c5-4243-beb2-1c7fbbd1c4be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.