Re: Recent touch issues on mobiles?

2023-09-01 Thread Bruno Salmon
Please ignore my post, the problem was my underlying framework that was wrongly consuming touch events in some cases, sorry... On Friday, 1 September 2023 at 14:59:21 UTC+1 Bruno Salmon wrote: > hi, > > I noticed that some of my GWT demos are not reacting to some touch events

Recent touch issues on mobiles?

2023-09-01 Thread Bruno Salmon
hi, I noticed that some of my GWT demos are not reacting to some touch events anymore on mobiles (I haven't tried on desktops as I don't have a touch screen). For example, this demo reacts correctly to the first tap, but then the sliders are not reacting to touch events anymore:

Re: Partial super source? Possible?

2023-07-26 Thread Bruno Salmon
f not emulated by J2CL? On Tuesday, 25 July 2023 at 15:20:19 UTC+1 Thomas Broyer wrote: On Tuesday, July 25, 2023 at 2:26:14 PM UTC+2 Bruno Salmon wrote: The shadow super-source should work in my case, thank you. If later I want to move from GWT to J2CL, will I have a similar featu

Re: Partial super source? Possible?

2023-07-25 Thread Bruno Salmon
opy from GWT and patch; and make sure it >> appears before GWT's emulation in the source path – i.e. IIRC make sure the >> comes before any that would bring >> com.google.gwt.emul.Emulation). This means you'll have to update your >> version whenever GWT updates its own. &g

Partial super source? Possible?

2023-07-20 Thread Bruno Salmon
hi, If GWT emulates a Java class but not all methods, is it possible to provide a complement as a super source? For example, can I provide a super source for String.format() while keeping other String methods emulated by GWT? Thanks -- You received this message because you are subscribed to

Re: JavaFX for GWT

2022-11-10 Thread Bruno Salmon
on server > communications. > > Perhaps custom communication layers for various protocols and transports > could be added by contributors. > > On Wednesday, 9 November 2022 at 14:58:42 UTC Bruno Salmon wrote: > >> hi Jonathan, >> >> Unfortunately for your project

Re: JavaFX for GWT

2022-11-09 Thread Bruno Salmon
go-inc> > <https://www.youtube.com/channel/UC1HKa8IPofVRmeAFZ22m3HQ> * > > Jonathan Franchesco Torres Baca(@jofrantoba) > > CIO - Kiongo Technology > > *Jr Juan Voto Bernales 344 - La Victoria, Lima - Perú* > > Teléfono *+5116357857 <+51%201%206357857>* > > C

JavaFX for GWT

2022-11-08 Thread Bruno Salmon
Hi, I'm working on a JavaFX transpiler powered by GWT. It lets you use JavaFX as a UI toolkit in your GWT apps. The JavaFX API is far from completely covered, but you can already see some interesting results. The project is on GitHub for those who are interested.

Re: Is it possible to implement a web worker with GWT?

2020-10-05 Thread Bruno Salmon
e it in a *.gwt.xml though (define-linker then >> add-linker). >> Or there might be (IIRC, there are) libraries with such a linker >> specifically for workers. >> >> >> On Thursday, October 1, 2020 at 10:43:37 PM UTC+2, Bruno Salmon wrote: >>> >>>

Is it possible to implement a web worker with GWT?

2020-10-01 Thread Bruno Salmon
hi, I have a GWT web app that I would like to make more reactive by moving some heavy computation code into web workers. This code doesn't need the context of the application to run, I just need to pass it a few input parameters so it should be a good fit for a web worker. I see how the web

Re: [ANN] JRS gwt-time 1.4.10 release

2020-06-03 Thread Bruno Salmon
Hi Stas, Thanks for providing this java.time GWT emulation module. I'm gettiing GWT compilation errors in this last version. So I opened an issue for this: https://github.com/foal/gwt-time/issues/2 Thank you! -- You received this message because you are subscribed to the Google Groups "GWT

Re: How to pass a build number to a gwt app?

2018-03-13 Thread Bruno Salmon
Thanks Thomas, I'm using GWT 2.8.2 so I tried your first suggestion and it works :-) I just declared the property in my gwt.xml module file: and set its value (with the maven property which is set by Jenkins) when calling your plugin in the configuation section:

How to pass a build number to a gwt app?

2018-03-12 Thread Bruno Salmon
hi, I would like my gwt app to be able to identify its version itself, by providing a method that returns the build number. I'm using Jenkins, maven and the maven plugin for gwt to build my app. Jenkins generates the build number and I know how to

Re: How to debug a crash that occurs only when draftCompile=false?

2018-03-06 Thread Bruno Salmon
, so my app crash is now fixed :-) Thanks for you help Le lundi 5 mars 2018 22:03:36 UTC+1, Vassilis Virvilis a écrit : > > I would try to compile with -style DETAILED > > The generated js maps pretty well to the java code. > > Vassilis > > On Mon, Mar 5, 2018 at 5:52

How to debug a crash that occurs only when draftCompile=false?

2018-03-05 Thread Bruno Salmon
hi, I have a GWT application that runs ok when draftCompile=false but crashes when turning draftCompile to true (which is the case in production). How can I fix that? Can it be related to something wrong in my java code source? The browser reports an exception (a classical property access

Re: Elemental2 RC1: RegExp disappeared?

2018-02-06 Thread Bruno Salmon
I had'nt noticed indeed, thanks for this clarification -- 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

Elemental2 RC1: RegExp disappeared?

2018-02-05 Thread Bruno Salmon
hi, I would like to upgrade to the latest Elemental2 version (RC1) but I can't find RegExp anymore in the core library. Any idea where it has gone? Thanks -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop

Problem writing module-info.java for gwt modules using jsinterop

2017-11-06 Thread Bruno Salmon
hi, I'm moving a maven java/gwt multi-modules project to java 9 and would like to write module-info.java files also for gwt modules (why not?). I'm using GWT 2.8.2. Since it doesn't provide java 9 modules info, I need to rely on automatic module names. I wrote my module-info.java as follow:

Re: GWT 2.8.1 release

2017-06-07 Thread Bruno Salmon
> > Additionally, this supports the recent beta release of jsinterop.base and > elemental2, available from Maven Central. > > > Where can we find that elemental2 beta release (I can see only the June 2016 version on that page

Re: Strippable check system in GWT 2.8?

2017-02-03 Thread Bruno Salmon
project/gwt/blob/2.8.0/user/super/com/google/gwt/emul/Preconditions.gwt.xml > > On Friday, February 3, 2017 at 12:47:00 PM UTC+1, Bruno Salmon wrote: >> >> hi, >> >> I heard that the GWT 2.8 check system is strippable (source: >> https://www.youtube.com/wa

Strippable check system in GWT 2.8?

2017-02-03 Thread Bruno Salmon
hi, I heard that the GWT 2.8 check system is strippable (source: https://www.youtube.com/watch?v=P4VhPck5s_g=1337s). By defaut the check level would be normal, which means that the generated js code will do all checks (such as collections bounds checks, API usage checks, java type checks,

Re: My GWT 2.8 app stopped working with Chrome 54 (timers not working anymore)

2016-11-21 Thread Bruno Salmon
No I just remove all elements under except the

Re: My GWT 2.8 app stopped working with Chrome 54 (timers not working anymore)

2016-11-21 Thread Bruno Salmon
the memory as well. This is what caused my app stop working and even my timers programmed in the initialization step were finally not called after the scripts tags have been removed... On Thursday, 27 October 2016 13:17:35 UTC+2, Bruno Salmon wrote: > > hi, > > My Chrome updated ye

My GWT 2.8 app stopped working with Chrome 54 (timers not working anymore)

2016-10-27 Thread Bruno Salmon
hi, My Chrome updated yesterday from version 53 to 54 and this made my GWT 2.8 app stop working. There is no error message in the console but after some investigation, I noticed that the problem come from the timers which are not called anymore (whatever the method: GWT Timer / Elemental2 /

Latest version of Elemental2?

2016-10-17 Thread Bruno Salmon
hi, I would like to know if the last version of Elemental2 is still 16-06-30 or if there is a more recent release. I'm asking because I'm getting the following compilation error with 16-06-30 while trying to use the SVG API: [INFO]Errors in elemental2/SVGSVGElement.java [INFO]

Public and war folders in the maven project layout (tbroyer plugin)?

2016-09-01 Thread Bruno Salmon
Hi, The GWT documentation describes the project layout using Eclipse, but I have a couple of questions when transposing it into the maven project layout (using the tbroyer plugin): - where is the public

Re: How to declare standard java libraries dependencies to the GWT compiler with the tbroyer maven plugin?

2016-08-27 Thread Bruno Salmon
gt; the same, you should migrate if you can, so thanks Bruno Salmon to try it > out! > > On Friday, August 26, 2016 at 4:51:21 PM UTC+2, Thomas Broyer wrote: >> >> >> >> On Friday, August 26, 2016 at 3:36:52 PM UTC+2, Bruno Salmon wrote: >>> >>

How to declare standard java libraries dependencies to the GWT compiler with the tbroyer maven plugin?

2016-08-26 Thread Bruno Salmon
hi, Having read the deprecation notice , I'm trying to move from the mojo plugin to the new recommended plugin, the one written by Thomas. But I'm facing this problem: my GWT application uses some java libraries (standard jar

Re: Are there already some JSInterop repositories available somewhere?

2016-08-24 Thread Bruno Salmon
s opposed to the automated elementa2. > > Vassilis > > On Tue, Aug 23, 2016 at 10:26 PM, Bruno Salmon <dev.s...@gmail.com > > wrote: > >> I didn't know there was a DefinitelyTyped to JSInterop generator project >> in the pipeline, glad to he

Re: Are there already some JSInterop repositories available somewhere?

2016-08-23 Thread Bruno Salmon
I didn't know there was a DefinitelyTyped to JSInterop generator project in the pipeline, glad to hear about it, it's exactly what I was looking for :-) Thank you. On Tuesday, 23 August 2016 19:16:19 UTC+2, Jens wrote: > > A post from the thread I linked before: > > >

Re: Are there already some JSInterop repositories available somewhere?

2016-08-23 Thread Bruno Salmon
Thanks but Elemental only gives the basics (such as the DOM API and some HTML5 features). I'm more asking about a project that would expose many JS libraries. A kind of set like this one offered by JSweet. I would like for example use the pixi.js

Are there already some JSInterop repositories available somewhere?

2016-08-23 Thread Bruno Salmon
hi, I haven't used JSInterop yet but in all examples I watched, people are writing all their interfaces themselves including the DOM API... I guess this is a temporary situation because JSInterop is new and that some JSInterop repositories will appear in the future so we will have most of JS

Re: Runtime error when switching a GWT Polymer Elements project from 2.8.0-beta1 to 2.8.0-rc1/rc2

2016-08-12 Thread Bruno Salmon
I mainly wanted to check if it was a GWT issue and it seems from what you say it's rather a gwt-polymer-elements issue. I'm happy to stay with beta1 until this gwt-polymer-elements issue is resolved (I will open the issue once GWT 2.8.0 will be out). Thanks On Friday, 12 August 2016 17:26:57

Re: Runtime error when switching a GWT Polymer Elements project from 2.8.0-beta1 to 2.8.0-rc1/rc2

2016-08-12 Thread Bruno Salmon
gwt-polymer-starter-kit/commit/7ce3c9523e3e7955f87659f9fcc4d03ac8928a5e> > > If it does not work then you can open an issue, but you should now that > the project's contributors are very slow to respond... > > Le vendredi 12 août 2016 16:37:31 UTC+2, Bruno Salmon a écrit : >> >> Yes I

Re: Runtime error when switching a GWT Polymer Elements project from 2.8.0-beta1 to 2.8.0-rc1/rc2

2016-08-12 Thread Bruno Salmon
you using? > > Another advise is try not use whenPolymerLoaded() in Dev mode, comment it > out and take out the statements inside it, use it only when deploying to a > server. > > > Le vendredi 12 août 2016 11:39:41 UTC+2, Bruno Salmon a écrit : >> >> Hi, &

Runtime error when switching a GWT Polymer Elements project from 2.8.0-beta1 to 2.8.0-rc1/rc2

2016-08-12 Thread Bruno Salmon
Hi, I have a GWT Polymer Elements project that compiles and run ok with GWT 2.8.0-beta1. When switching to 2.8.0-rc1 or 2.8.0-rc2, it compiles ok but doesn't run due to the follow runtime error: Uncaught TypeError: ok_0_g$.call_1_g$ is not a functionPolymer.java:159 The Polymer.java:159

Is 2.8.0-rc2 GWT Maven Plugin available?

2016-08-12 Thread Bruno Salmon
Hi, Just reporting: Maven can find the 2.8.0-rc1 GWT Plugin but not the 2.8.0-rc2 one. Thanks. -- 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

Re: Compiling only what is needed to run?

2016-03-07 Thread Bruno Salmon
> > > It would be great if we had an option to tell GWT to not fail on >> compilation errors but automatically mark non compiling code as >> @GwtIncompatible. >> Is it a possible enhancement I can submit? >> > > But then you would hide real compilation issues. > Perhaps not if in this mode

Re: Compiling only what is needed to run?

2016-03-07 Thread Bruno Salmon
Annoting the second method with @GwtIncompatible fixed the problem indeed, good to know, thank you. And I noticed it could work at different levels (class, method and field). But this was a trivial example, my initial question was about third-party java libraries and I can't modify the code in

Re: Compiling only what is needed to run?

2016-03-07 Thread Bruno Salmon
Ok, great that GWT automatically removes dead code. I invoke the compiler using the maven plugin so I assume it is a production compile (right?). But this simple code fails on compilation: public class MyEntryPoint implements EntryPoint { @Override public void onModuleLoad() {

Compiling only what is needed to run?

2016-03-04 Thread Bruno Salmon
Hello, I would like to know if it's possible to tell the compiler to not compile all sources provided but only the classes and methods that are actually used. I already used another java to javascript transpiler that has a per-method dependency analyser from the initial entry point, that

Re: Maven can't load gwt-maven-plugin:2.8.0-SNAPSHOT

2016-01-12 Thread Bruno Salmon
Yes but I thought it was not coming from our Jenkin server because it has no other connectivity problem than this one. However I finally noticed that repo.maven.apache.org is not correctly resolved (the IP is wrong for any strange reason) so the problem is finally from our server side. Sorry

Maven can't load gwt-maven-plugin:2.8.0-SNAPSHOT

2016-01-11 Thread Bruno Salmon
hi, I have a maven project using GWT 2.8.0-beta1 and gwt-maven-plugin:2.8.0-SNAPSHOT which was working a mounth ago (last run was 2015/12/09) but is now reporting this error: [ERROR] Plugin org.codehaus.mojo:gwt-maven-plugin:2.8.0-SNAPSHOT or one of its dependencies could not be resolved:

Re: JsInterop Maven fail

2015-11-23 Thread Bruno Salmon
I tried with versions 2.8.0-20151119.055507-99 and 2.8.0-20151118.055323-98 but got the same problem about JSInterop. Earlier versions have no pom file (only pom.asc file) so maven can't load them. So I tried the other way you suggested and successfully built GWT locally. I finally got

Re: Mojo's maven-gwt-plugin or Thomas's maven-gwt-plugin?

2015-11-23 Thread Bruno Salmon
embre 2015 23:27:58 UTC+1, Thomas Broyer a écrit : > > > > On Friday, November 20, 2015 at 10:58:40 PM UTC+1, Bruno Salmon wrote: >> >> Hello, >> >> I'm trying to use the gwt-maven-plugin version 2.8.0-SNAPSHOT but it >> seems Maven can't load it: >

Re: Mojo's maven-gwt-plugin or Thomas's maven-gwt-plugin?

2015-11-23 Thread Bruno Salmon
Thanks Thomas, I will continue on that tread Le lundi 23 novembre 2015 10:44:15 UTC+1, Thomas Broyer a écrit : > > > > On Monday, November 23, 2015 at 10:29:20 AM UTC+1, Bruno Salmon wrote: >> >> Thanks Thomas, maven can now download the plugin with the correct >&

Re: Mojo's maven-gwt-plugin or Thomas's maven-gwt-plugin?

2015-11-20 Thread Bruno Salmon
Hello, I'm trying to use the gwt-maven-plugin version 2.8.0-SNAPSHOT but it seems Maven can't load it: Downloading: https://oss.sonatype.org/content/repositories/google-snapshots/org/codehaus/mojo/gwt-maven-plugin/2.8.0-SNAPSHOT/gwt-maven-plugin-2.8.0-SNAPSHOT.pom [WARNING] The POM for