Strange issue

2017-10-24 Thread Kirill Prazdnikov
Hi, we have a strange error on our build server after migrate to 2.8.2: [18:51:49][Step 4/4] [INFO] --- gwt-maven-plugin:2.8.2:compile (default) @ cospaces-studio-gwt --- [18:51:52][Step 4/4] [INFO] Compiling module delightex.CoSpaces [18:52:30][Step 4/4] [INFO]Tracing compile failure path f

Re: Strange issue

2017-10-24 Thread Kirill Prazdnikov
It is strange that the problem is not reproducible on my working Windows PC. Also it work on a MAC. It seems to be kind of floating. -- 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

Very big performance problem with Long

2017-10-26 Thread Kirill Prazdnikov
Hi, the problem is that Long.rotateLeft is more then 10x times slower then its copy paste as private long rotateLeft(long w, int r) { return (w << r) | (w >>> -r); } can this be fixed ? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. T

Re: GWT 2.8.2 release

2017-10-27 Thread Kirill Prazdnikov
We also have a new regression with 2.8.2. We have some problems with String[] as generics argument, we will try to develop a test later. -- 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

Re: Dynamic values in json parsing with GWT

2017-11-15 Thread Kirill Prazdnikov
JSNI is not recommended. If you can assign types, go with JsInterop, if not -> then you have a map String->? -- 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 goog

Re: Submit POST data with no callback

2018-04-11 Thread Kirill Prazdnikov
What about JsInterop ? Use the new fetch or old school XMLHttpRequest -- 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.

Re: Out Of Memory error with huge payload in IE 11 + GWT

2018-04-11 Thread Kirill Prazdnikov
Fix what ? You app or IE11 ? Do you need random access to 2GB data in your web app ? How do you use this 2GB data ? as a JSON ? or as an ArrayBuffer ? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiv

Arrays and JSNI in J2CL

2018-07-13 Thread Kirill Prazdnikov
Hi, I've heard that mysterious J2CL does not support JSNI, good. But how then the Float32Array is implemented ? As far as I know, there is no JSIndexer-like (hello TeaVM) annotation in JsInterop ? Currently everyone is using JSNI llike public static native float getF(Float32Array data, in

Problem with replacing the class

2018-07-19 Thread Kirill Prazdnikov
Hi I`m having troubles to replace one class by another This is the class I want to replace: package delightex.math.fp; public class FloatBits { public static int floatToRawIntBits(float v) { return Float.floatToIntBits(v); } public static float intBitsToFloat(int v) { return Float.intBitsT

Re: Problem with replacing the class

2018-07-23 Thread Kirill Prazdnikov
> > What you want to achieve can be done through "super sourcing". See > “Overriding one package implementation with another” at > http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml > Thanks, that works. -- You received this message because you are subscri

Why the GWT complier used so much memory?

2018-09-04 Thread Kirill Prazdnikov
GWT is a Java application. JVM use all memory you allow it to use. -- 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.

Re: First application working as both J2CL and gwt2 at the same time

2018-11-27 Thread Kirill Prazdnikov
I agree, if you compare GWT vs J2CL program, then it is fair to switch GWT to single permutation single-script linker before to measure. And even more fair is to compare all if the compilers [GWT, J2CL, TeaVM], in terms of script size (compressed) and in terms of code performance (not DOM perfor

Re: First application working as both J2CL and gwt2 at the same time

2018-11-27 Thread Kirill Prazdnikov
I mean different. Not collapsed, but single perm with sso linker. -- 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.

Generate user.agent independent code

2018-12-21 Thread Kirill Prazdnikov
I prefer to select the one single permutation: -- 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 gro

Re: Jsinterop: java arrays, native arrays, JsArray and strings

2019-12-18 Thread Kirill Prazdnikov
> > So > >- Arrays, double are mapped to native types. > > Not really, for float[] or for double[] there is corresponding Float32Array and Float64Array, or Int32Array for int[]. But the GWT uses JsArray of JsObjects and use JsNumber (boxed double) for any primitive types. As result, any ge

Re: Rewriting GWT java project to another framework

2015-09-30 Thread Kirill Prazdnikov
Looks like http://teavm.org/ is one that can replace GWT. среда, 30 сентября 2015 г., 11:54:51 UTC+3 пользователь Vladislav Borisov написал: > > Hi all, > > > i'm doing research which is the best solution to rewrite my CRM, which is > written on google web toolkit. Can you please give me some id

Re: GWT 2.8.0 RC1

2015-11-06 Thread Kirill Prazdnikov
It seems that the maven central have not got this version yet http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.google.gwt%22%20AND%20a%3A%22gwt%22 On Thursday, November 5, 2015 at 9:49:05 PM UTC+3, steve Zara wrote: > > As 2.8.0 RC1 is out this week, would it be possible to say where this w

Re: GWT issue list of OPEN bugs/requests

2015-11-16 Thread Kirill Prazdnikov
This is a JVM native crash, GWT compiler can not do anything with this. It does not have any JNI code in it (as far as I know). Please try the latest JVM 8. On Monday, November 16, 2015 at 1:29:23 PM UTC+3, Anantha Bhople wrote: > > Hi Friends Please Help Me... > > "I am facing the

Re: Getting rid of Dev mode for future GWT releases

2015-12-10 Thread Kirill Prazdnikov
Hi Liraz, I get that this is impossible to keep maintaining the previous Dev mode, > but without it GWT cannot be debugged properly anymore. > I can debug apps in SDM, I can set Java breakpoints on code and on exceptions. It works for me under IDEA + Chrome. > See the following for example:

Re: GWT 2.7 Dev mode and JDK6 Error

2015-12-15 Thread Kirill Prazdnikov
Is there any reason using JDK 6 ? Why not JDK 5 or 4 ? -- 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

Re: Compile a Java application into a single JavaScript file?

2015-12-25 Thread Kirill Prazdnikov
Is there a possibility to generate a single script (not a few perms bundled into a one JS) will be added soon ? Today if I make a one perm, I`ll see a blank screen for different browser. Is there and reasonable point of having different perms now days (assuming we use the latest Chrome and FF o

Re: GWT 3.0 Question

2016-01-12 Thread Kirill Prazdnikov
понедельник, 11 января 2016 г., 18:13:58 UTC+3 пользователь Eric Nissan написал: > > I keep reading that GWT 3.0 will not have uibinder or widgets. I don't > understand what that means for future versions > No one knows the future. > Will all my existing code that uses uiBinder, and all m

Re: How to avoid rounding problems when working with doubles

2016-01-12 Thread Kirill Prazdnikov
Hi Javascript has some serious problems when working with floating numbers. > Javascript has no serious problems when working with floating numbers > Like if you enter the following into a javascript in any browser : 7.3 - 7 > There is not such number 7.3 in floating point. > These will al

java typed arrays compilation to browser TypedArrays

2016-01-13 Thread Kirill Prazdnikov
Hi, I have much data processing with big typed arrays in portable code. Is there an option to compile java byte[] to native Int8ArrayNative or to Uint8ArrayNative ? Thanks -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from t

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-14 Thread Kirill Prazdnikov
Canvas is an DOM Element. It can render Image Elements to itself in any resolution. However it may produce not nice results. It depends on what you need. On Thursday, January 14, 2016 at 9:17:36 PM UTC+3, Julio Heitor Nobrega wrote: > > Hi guys, > > thanks everyone for the answers! > > Greg, is

Re: The method getMouseWheelVelocityY() is broken on IE 11 in GWT 2.7.0

2016-01-14 Thread Kirill Prazdnikov
Dont use GWT, write you own code in JS and wrap it. On Thursday, January 14, 2016 at 11:54:57 AM UTC+3, Himabindu Gurla wrote: > > The method getMouseWheelVelocityY() is broken on IE 11 in GWT 2.7.0. It > worked fine in 2.4.0. Is there a fix or work around for checking the mouse > wheel directi

Re: Are there any currently developed GWT Widget Libraries?

2016-01-18 Thread Kirill Prazdnikov
What about portable frameworks ? > > - GWT - Android - iOS -- 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.

Re: JsInterop and indexed types

2016-01-21 Thread Kirill Prazdnikov
Yes, this is really needed. Also it is needed to have a compiler switch that compiles all java arrays an native typed arrays. So that I can write code in Java, and use native platform arrays when needed in Graphics and Sound (expect all java arrays to be native typed arrays in JS) Famous TeaV

Re: Is there any GWT library to be used in client side that does the same thing as Scalr (scale and reduze image file sizes)?

2016-01-27 Thread Kirill Prazdnikov
How do you use AWT code in client GWT code ? On Wednesday, January 27, 2016 at 12:19:15 PM UTC+3, claudio sergio Goncalves wrote: > > Hi julio > > i use this routine to redimensione my images > > public static BufferedImage redimensionarImagem(BufferedImage img, int > maltura, int mlargura) thro

Re: JsInterop and indexed types

2016-01-27 Thread Kirill Prazdnikov
On Saturday, January 23, 2016 at 11:09:50 AM UTC+3, Alexey Andreev wrote: > > >> Famous TeaVM also can`t do that, unfortunately. >> > You are wrong. You can do that via @JSIndexer > > > annotation. >

Re: JsInterop and indexed types

2016-01-27 Thread Kirill Prazdnikov
Hi Alex, really thanks for excellent answers. I'm writing portable code. This is the reason why I can not use JS TypedArrays directly. My code must work in GWT, RoboVM and Android. I'm looking for writing code in Java once and run it with best possible efficiency on all platforms. In RoboVM plat

Re: SuperDevMode & java long value in debugger

2016-02-08 Thread Kirill Prazdnikov
There is no such type long in JavaScript. On Thursday, February 4, 2016 at 10:56:05 AM UTC+3, Jack Thompson wrote: > > Hello, > > In SuperDevMode browser JS debugger console shows long values as JS object > having properties l,h and m. > > Is there any convenient way to get the actual long value

Re: How to protect IP in GWT.

2016-02-18 Thread Kirill Prazdnikov
I do not think it is possible. GWT does not translate java code to JS code, it compiles *whole* program from java source to JS. It can not translate a module for example. On Tuesday, February 16, 2016 at 4:20:09 AM UTC+3, David wrote: > > > > I like to prevent my regular developers from viewing

Re: GWT vs AngularJS

2016-02-19 Thread Kirill Prazdnikov
My 2 cents. We write portable code. We build it for GWT, iOS, Android. GWT is a java compiler, a way to have portable logic. More portable logic, less code to maintain, less bugs. -Kirill -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubsc

Js Interop question

2016-02-19 Thread Kirill Prazdnikov
Hi how can I code the following with JS Interop ? public static native float devicePixelRatio() /*-{ > return $wnd.window.devicePixelRatio || 1; > }-*/; thanks -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group an

Re: Js Interop question

2016-02-19 Thread Kirill Prazdnikov
It means it is much simpler and faster in RT just to leave it as is in JSNI. Right ? On Friday, February 19, 2016 at 12:56:06 PM UTC+3, Jens wrote: > I think you either have to create a custom JS function that does the > default value thing so you can call that function using JsInterop or you

Re: How to protect IP in GWT.

2016-02-19 Thread Kirill Prazdnikov
This is my app build by GWT: http://kp219.ru/GraphicsTest.html#12 How can one view original Java source code? -Kirill On Friday, February 19, 2016 at 2:43:47 PM UTC+3, David wrote: > > I am not working in USA. Here IP is not protected well. I need to protect > IP by myself. I need to figure out

Re: ProjectStruture

2016-02-19 Thread Kirill Prazdnikov
Can you avoid rewriting the server code at all ? It might be possible to just rewrite a client in GWT and leave the protocol as is. On Friday, February 19, 2016 at 10:17:36 PM UTC+3, Sam Wootton wrote: > > Thank you Gilberto, good advice. Im not sure it will reduce work or > achieve the 'minima

Re: How to protect IP in GWT.

2016-02-19 Thread Kirill Prazdnikov
UTC+3, Ed wrote: > > Use developer tools in your Browser edit and resend the call to the js > files > > Ed > > On Fri, Feb 19, 2016 at 11:11 AM, Kirill Prazdnikov > wrote: > >> This is my app build by GWT: http://kp219.ru/GraphicsTest.html#12 >> How can one v

Re: ProjectStruture

2016-02-20 Thread Kirill Prazdnikov
nt with my old xml / servlet based server - then great! id be > very happy indeed. I should also mention that my application uses > multi-part file uploads too. > > Regards, Sam > > > On 20 February 2016 at 06:22, Kirill Prazdnikov > wrote: > >> Can you avoid rewriting

Re: ProjectStruture

2016-02-20 Thread Kirill Prazdnikov
Hi Sam, Think of it differently. GWT is a java compiler at first. You live in a HTML5 system. This system supports String operations (so that JSON+XML). It supports File Download\Uploads (and binary). It supports HTTP requests. It supports DOM, Canvas rendering, WebGL + 3D VR + Web 3d Audio, e,

Re: ProjectStruture

2016-02-23 Thread Kirill Prazdnikov
pefully > it's saved me lots of blood, sweat and tears. If I get stuck, ill be sure > to ask. > > Regards, Sam > > On 20 February 2016 at 17:08, Kirill Prazdnikov > wrote: > >> Hi Sam, >> >> Think of it differently. >> GWT is a java compiler at

Re: Context Types

2016-02-24 Thread Kirill Prazdnikov
Hi, You don't need GWT to support it. You need JsInterop bindings for WebGL IDL. Unfortunately I do not know any public link to such binding. But I saw a generator project in this forum. We have our own JSNI bindings, however I would recommend you binding using JsInterop as more efficient.

Re: MVP, UIBuilder and View update from the code

2016-02-24 Thread Kirill Prazdnikov
Try to use Chrome Dev tools to see what happens with your Elements on the page. We have no issues adding Elements to the Web page with GWT On Monday, February 22, 2016 at 10:11:14 PM UTC+3, va...@ant.ee wrote: > > Hello, > > I have View created by UIBuilder withing MVP framework. After i

Re: The point of splitting application into multiple modules

2016-02-24 Thread Kirill Prazdnikov
We have decided to not use code splitting. Our problem was the performance. New dynamically loading modules are huge strings and parsed by eval. This causes serious performance problems. Consider you are in the web-app and open a new tool window that loads 10M of one string code. This will hang

Re: How to protect IP in GWT.

2016-02-24 Thread Kirill Prazdnikov
Do you want them to link a JS library? As far s I know GWT does not support creating a JS library. On Tuesday, February 23, 2016 at 3:47:16 AM UTC+3, David wrote: > > Please see my previous answer. I don't want my company Java developers to > see my original Java code in Eclipse. > >> >> -- Y

Re: Several GWT modules on one page and RootPanel.get().addDomHandler()

2016-03-01 Thread Kirill Prazdnikov
> > My current solution is to add all handler for the body element using JSNI > which is a little bit ugly! This is very good. We also trying to remove usage of GWT library and use raw HTML5 api. We have to detach the compiler form libraries, this is the goal to GWT 3.0. You are on the right

Re: Device Type

2016-03-03 Thread Kirill Prazdnikov
Do you know how to do that in JS ? On Friday, March 4, 2016 at 9:27:58 AM UTC+3, Marteijn Nouwens wrote: > > Hello, > > I have a question. > > Currently In all projects we are using mgwt to do device type detection. > So we can find out if we the application is loaded on a phone, table or > des

Re: GWT suitable as a general purpose Java to JavaScript translator?

2016-03-08 Thread Kirill Prazdnikov
If your code is portable pure java code - no problem. As a possible performance issue is that float or byte GWT array is an array of JsObjets (JsNumbers). On Tuesday, March 8, 2016 at 6:38:53 PM UTC+3, Jeff Wu wrote: > > We have some Java programs that we would like to translate to JavaScript.

Re: GWT and Kotlin

2016-03-08 Thread Kirill Prazdnikov
There are other java->JS compiles which support Kotlin. On Sunday, March 6, 2016 at 1:38:28 AM UTC+3, Juan Liska wrote: > > I have used GWT since 2007 not because i like java more than javascript, > but because it gave me: > - type safety > - refactoring > - intelligent i18n > - automatic sprite

Re: JsInterop: Set length of native JavaScript array?

2016-03-19 Thread Kirill Prazdnikov
One of the problems is that it is impossible to use JsInterop for "optional values" like "x || 0" On Wednesday, March 16, 2016 at 9:28:20 PM UTC+3, Michael Zhou wrote: > > Thanks Goktug, the patch is free of JSNI methods now :) > -- You received this message because you are subscribed to the G

Re: JsInterop and Sencha Ext js framework

2016-03-19 Thread Kirill Prazdnikov
https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit#heading=h.o7amqk9edhb9 -- 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-w

Differences between permutations

2016-03-24 Thread Kirill Prazdnikov
Where can I find the differences in runtime for code generated for chrome and firefox ? I`m looking for a way to have the only permutation for all browsers, is there a significant reason having many of them ? Thanks -- You received this message because you are subscribed to the Google Grou

Re: Differences between permutations

2016-03-24 Thread Kirill Prazdnikov
Thanks, I know that I can collapse, but I want to execute the only one everywhere (Edge, Chrome, FF) I will look at On Thursday, March 24, 2016 at 3:28:42 PM UTC+3, Jens wrote: > > You have to go through all *.gwt.xml files of GWT SDK and search for > deferred binding rules that match the user.

Re: Differences between permutations

2016-03-26 Thread Kirill Prazdnikov
One more question about this. Assume I selected only 1 configuration by Then how can I ask GWT load it on every browser ? -- 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

Re: GWT app as includable javascript library

2016-04-23 Thread Kirill Prazdnikov
What is $entry ? Why not just $wnd.myJsMethod = function(str) ... ? четверг, 21 апреля 2016 г., 9:53:57 UTC+3 пользователь Vassilis Virvilis написал: > > > public static native void exportJSNI(MyJavaObject that) /*-{ > $wnd.myJsMethod = $entry(function(str) { > > th...@c

Re: Compile a Java application into a single JavaScript file?

2016-04-24 Thread Kirill Prazdnikov
> I tried that and this is great. Now I have the only script file and this is not a string like with the xsf linker, this is a normal JS file. More, I do not need to collapse all perms since I use the only default one for all browsers. It does all I need. However I have to switch to xsf wh

Re: jsinterop: converting a jre collection to a jsArray

2016-05-19 Thread Kirill Prazdnikov
It would be nice to have a way to convert arrays and string to\from Js shipped by the compiler A documented way to pass java.lang.String or byte[] to JS. On Thursday, May 19, 2016 at 11:06:12 AM UTC+3, Vassilis Virvilis wrote: > > I agree > > I am just saying that java String is not the same

Re: How to sort a list of objects from the shared folder on server-side?

2016-05-19 Thread Kirill Prazdnikov
> > Is it possible to move the compareTo-code to server-side somehow and still > use Collections.sort? > I think you can move any part of you project to another part. For example it is possible to move or copy-paste a class from the client code to the serve code. Isn`t it ? -- You received t

Re: How to sort a list of objects from the shared folder on server-side?

2016-05-19 Thread Kirill Prazdnikov
Collections.sort requires only Comparable On Thursday, May 19, 2016 at 7:57:39 PM UTC+3, natan aguiar wrote: > > There is something strictly gwt / js is easily possible. Being only be > required to have "extends IsSerializable" > > -- You received this message because you are subscribed to the

String a == String b

2016-05-26 Thread Kirill Prazdnikov
Hello I have two different strings built by new String(char data[]) with identical content. GWT generates "==" (com.google.gwt.lang.Cast:229) static native boolean jsEquals(Object a, Object b) /*-{ return a == b; }-*/; Should it generate "===" ? Thanks -- You received this message bec

Re: String a == String b

2016-05-26 Thread Kirill Prazdnikov
. Should it be "===" ? Thanks On Thursday, May 26, 2016 at 7:59:38 PM UTC+3, Kirill Prazdnikov wrote: > > Hello > I have two different strings built by new String(char data[]) with > identical content. > GWT generates "==" (com.google.gwt.lang.Cast:229) &g

Re: Convert Bytes from byte[] to data types

2016-05-30 Thread Kirill Prazdnikov
We work with binary using Int8ArrayNative, Float32ArrayNative, and Float64ArrayNative It is easy to convert utf-8 to String via String(byte[]) Binary file access is very fast and efficient. You can transfer native binary data and load mesh with millions of triangles in few milliseconds (from ca

Unknown property: checks.type

2016-05-31 Thread Kirill Prazdnikov
I'm getting [INFO] --- gwt-maven-plugin:2.8.0-SNAPSHOT:compile (default) @ demo --- [INFO] [ERROR] Unexpected internal compiler error [INFO] java.lang.IllegalArgumentException: Unknown property: checks.type [INFO] at com.google.gwt.dev.cfg.Properties.setProperties(Properties.java:132) What am I

Re: Unknown property: checks.type

2016-06-01 Thread Kirill Prazdnikov
This is strange. I use maven and the project compiles perfectly well with 2.8.0-beta1, also SDM starts and works. I use org.codehaus.mojo gwt-maven-plugin ${gwt.version} But when I change to 2.8.0-SNAPSHOT it crashes with: [INFO] --- gwt-maven-plugin

Re: Unknown property: checks.type

2016-06-01 Thread Kirill Prazdnikov
when I switch to another plugin net.ltgt.gwt.maven gwt-maven-plugin it shows: [INFO] --- gwt-maven-plugin:1.0-SNAPSHOT:compile (compile) @ demo --- [WARNING] Error: Could not find or load main class com.google.gwt.dev.Compiler -- You received this message because you are subscribed to the

Re: Unknown property: checks.type

2016-06-01 Thread Kirill Prazdnikov
Thanks for help, I really was surprised when switch from beta1 to SNAPSHOT breaks everything with org.codehaus.mojo. I managed to build with net.ltgt plugin. Thanks четверг, 2 июня 2016 г., 0:42:29 UTC+3 пользователь Jens написал: > > With the plugin from codehaus you probably have to use 2.8-

Re: JsInterop and Java collections?

2016-06-06 Thread Kirill Prazdnikov
> > Let me try to explain the issue better: > > All we need is the JsInterop to map an List (or Java array) from the Java > world into plain array in the JavaScript world. *Transparently**.* > I do not agree. About transparency. Conversion form Java List (see Linked list)to plain Js array is

Re: Issues with GWT 2.8 snapshot

2016-06-09 Thread Kirill Prazdnikov
I`m getting the same error messages with our project [INFO]Errors in gen/com/google/gwt/lang/delightex_00046UiTest__EntryMethodHolder.java [INFO]Errors in com/google/gwt/emul/java/lang/Object.java . more and more and finally [INFO]Compiling 1 permutation [INFO] Compiling

Re: JsInterop and Java collections?

2016-06-10 Thread Kirill Prazdnikov
Hi Thomas Lets forget about java.util, what about simple arrays ? It seems that we already have java [] array -> JS Array marshalling. And It would be very nice if we had these type of marshalling with zero performance penalty: java byte[] -> Int8ArrayNative java short[] -> Int16ArrayNative

Re: JsInterop and Java collections?

2016-06-10 Thread Kirill Prazdnikov
SNI contact. And we use SSO, the only one and default implementation. On Friday, June 10, 2016 at 1:33:19 PM UTC+3, Thomas Broyer wrote: > > > > On Friday, June 10, 2016 at 11:12:27 AM UTC+2, Kirill Prazdnikov wrote: >> >> Hi Thomas >> >> Lets forget ab

Re: Issues with GWT 2.8 snapshot

2016-06-12 Thread Kirill Prazdnikov
This is true. As I reported allready above all our projects been built succesfully and working. And debug works great. Except little noise in the buildlog -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop rec

Re: GWT test case failing in dev mode due to UnableToComplete exception

2016-06-27 Thread Kirill Prazdnikov
Have you tried super-dev-mode ? On Monday, June 27, 2016 at 5:42:59 PM UTC+3, ved...@ainosoft.com wrote: > > I have created GWT test case in my project, I am using GWT 2.7. When I > try to run the test case in Dev mode I am getting following exception, > > [ERROR] Unable to initialize static

Re: using Generics in GWT JsInterop: Uncaught java.lang.ClassCastException

2016-07-27 Thread Kirill Prazdnikov
And after the release it will be possible to remove old deprecated stuff like legacy devmode and old IE support, right ? On Wednesday, July 27, 2016 at 6:28:17 PM UTC+3, Thomas Broyer wrote: > > > The final release will likely be the same as the current SNAPSHOT, unless > blockers are found in

Re: load js problem in IE11

2016-08-26 Thread Kirill Prazdnikov
We don`t have any difficulties with IE-11 and edge running SSO output from 2.8 -- 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...@googl

Re: Is GWT is Dead?

2016-09-06 Thread Kirill Prazdnikov
I dont think that the Groups in built by GWT 2.8. It might be some kind of internal release or using a private linker. For example, The Groups-JS does not have var $gwt_version. Also there are some other differences in the script structure. On Tuesday, September 6, 2016 at 11:09:37 PM UTC+3, Va

JS Interop + indexing

2016-09-06 Thread Kirill Prazdnikov
Hi How can I map a Native JS Array with JS Interop ? How to implement indexing ? Is there some kind of @JsIndexer ? 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

Re: GWT 2.8.0 RC2 is here!

2016-09-08 Thread Kirill Prazdnikov
All that sounds very good. Is there any place where I can read about j2cl ? It source is closed, right ? -- 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-

Could not find artifact com.google.jsinterop:jsinterop-annotations

2016-09-08 Thread Kirill Prazdnikov
Hi, I`m using maven build and use GWT master. Today I`m getting this error: [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.8.0-SNAPSHOT:resources (default) on project cospaces-studio-gwt: Execution default of goal org.codehaus.mojo:gwt-maven-plugin:2.8.0-SNAPSHOT:resources

Re: Could not find artifact com.google.jsinterop:jsinterop-annotations

2016-09-08 Thread Kirill Prazdnikov
After cleaning .m2 i`m getting this error: Failed to collect dependencies at com.google.gwt:gwt-user:jar:2.8.0-SNAPSHOT: Failed to read artifact descriptor for com.google.gwt:gwt-user:jar:2.8.0-SNAPSHOT: Could not find artifact com.google.jsinterop:jsinterop:pom:1.0.0-SNAPSHOT in snapshots-re

Re: Could not find artifact com.google.jsinterop:jsinterop-annotations

2016-09-08 Thread Kirill Prazdnikov
It is still there. I cleared .m2, it did not help. What else I can do ? четверг, 8 сентября 2016 г., 16:54:48 UTC+3 пользователь Klaus Gradinger написал: > > Yeah they seem to be gone (again). however they were there yesterday I > think... > >> >>> -- You received this message because you are

jsinterop with browser-specific api

2016-09-09 Thread Kirill Prazdnikov
But above sample doing the name. Or you can create a baseclss and 3 impl and instantiate the correct one. -- 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-w

jsinterop with browser-specific api

2016-09-09 Thread Kirill Prazdnikov
Doing the same -- 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-tool

Strange (BAD?) code generated

2016-09-13 Thread Kirill Prazdnikov
Hi, I have the following code: public static Vec2i elementSizeToDeviceSize(Element element) { > float devicePixelRatio = devicePixelRatio(); > ClientRect rect = GwtNativeUtil.getBoundingClientRect(element); > float x0 = (float) (rect.getLeft() * devicePixelRatio); > float x1 = (float) (rec

Re: Strange (BAD?) code generated

2016-09-13 Thread Kirill Prazdnikov
I was trying to build with the latest master version, but it fails with Execution default of goal org.codehaus.mojo:gwt-maven-plugin:2.8.0-SNAPSHOT:resources failed: Plugin org.codehaus.mojo:gwt-maven-plugin:2.8.0-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifa

Re: Strange (BAD?) code generated

2016-09-13 Thread Kirill Prazdnikov
> > > I`m using -Dgwt.style=PRETTY > > > Sorry, typo here. This Bug exists without gwt.style=PRETTY. -- 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-t

Re: Strange (BAD?) code generated

2016-09-13 Thread Kirill Prazdnikov
> > > See https://github.com/gwtproject/gwt/issues/9330 > You must be missing an isNative=true on ClientRect > Ok, but what does it mean when a type has a @JsProperty but it is not "isNative=true" ? Must each class with JsProperties be "isNative=true" ? -- You received this message because

Re: Strange (BAD?) code generated

2016-09-13 Thread Kirill Prazdnikov
This means that the compiler must throw an error: If a type is not isNative=true and the type is never instantiated and the type is returned form JSNI\JsInterop right ? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from

Re: GWT2.8RC2 : compile time user.agent value (safari) does not match the runtime user.agent value (gecko1_8) ?

2016-09-16 Thread Kirill Prazdnikov
I dont see any need for permutations today for new apps. All modern bfowsers run default perm perfectly well. -- 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 googl

Re: GWT2.8RC2 : compile time user.agent value (safari) does not match the runtime user.agent value (gecko1_8) ?

2016-09-16 Thread Kirill Prazdnikov
"safari", I think it is one that used for chrome. -- 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 g

Extending native JsTypes from Java with GWT 2.8.0-rc2

2016-09-21 Thread Kirill Prazdnikov
Do you override methods ? -- 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 goog

Very slow debugging form IDEA

2016-09-23 Thread Kirill Prazdnikov
Hi, our team is facing real issue with debugging last days. For some reason Chrome takes all CPU and JS executes very slowly if IDEA debugger is attached to Chrome JS execution. It might be many reasons: IDEA updated, Chrome updated, GWT updated, we have started using JsInteop and lambdas, e,t,c

JsInterop and constants

2016-09-27 Thread Kirill Prazdnikov
Hi, It is not clear why GWT disallow scalar and String constants in JsInterop interfaces Previously it was public final class MediaError extends JavaScriptObject { public static final int MEDIA_ERR_ABORTED = 1; Now it is impossible to declare the constant in the API declaration: @JsType(is

Re: JsInterop and constants

2016-09-27 Thread Kirill Prazdnikov
> > or you want a Java-only field in that interface (like you had in your JSO > previously), and then you need to use @JsOverlay. > Yes, I want Java-only scalars. Web GL constant pool has about 150 fields. Should I add JsOverlay 150 times ? Is it possible for GWT to automatically look at scala

Re: JsInterop and constants

2016-09-27 Thread Kirill Prazdnikov
> or you can move your constants to another class since they are not js > visibile... Thats what am I doing: @JsType(isNative = true, namespace = JsPackage.GLOBAL) public interface JsObject { @JsProperty int getMyInt(); interface Const { int ONE = 1; } } -- You received this message

chrome 53 freezes my GWT 2.7 app

2016-09-30 Thread Kirill Prazdnikov
Debugging in Chrome is broken for me. It consumes 100% cpu and hangs. I use an old Chrome to work. -- 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-toolk

Re: JsInterop and constants

2016-10-01 Thread Kirill Prazdnikov
> Well, it could be (feel free to file an issue) https://github.com/gwtproject/gwt/issues/9438 I`m not sure I express what I need exactly. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails

Re: JsInterop and constants

2016-10-01 Thread Kirill Prazdnikov
> Well, it could be (feel free to file an issue) https://github.com/gwtproject/gwt/issues/9438 I`m not sure I express what I need exactly. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails

best practices for modular GWT app

2016-10-12 Thread Kirill Prazdnikov
As far as I know you need only one GWT maven module that builds the app. The rest modules are just regular (platform independent) modules (jar) and the gwt-app module depends on it. So for the client app u have 2: main GWT module (A) with GWT specific code and GWT dependencies and a plain jar m

best practices for modular GWT app

2016-10-12 Thread Kirill Prazdnikov
As far as I know you need only one GWT maven module that builds the app. The rest modules are just regular (platform independent) modules (jar) and the gwt-app module depends on it. So for the client app u have 2: main GWT module (A) with GWT specific code and GWT dependencies and a plain jar m

  1   2   3   >