[codenameone-discussions] WebSocket Server

2018-08-03 Thread remonkroep
We need to have a WebSocket Server running on both iOS and Android. How can 
we get this accomplished using CodenameOne? Is there a library you 
recommend?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a4c2b4cc-1e67-4f41-9f11-27256804507e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: WebSocket Server

2018-08-03 Thread remonkroep
Websockets cn1libn has server side socket support? I though it only 
supports client side websockets.

On Friday, August 3, 2018 at 4:37:59 PM UTC-4, Thomas wrote:
>
> use the websockets cn1lib
>
> On Friday, August 3, 2018 at 3:19:03 PM UTC+2, remon...@ordyx.com wrote:
>>
>> We need to have a WebSocket Server running on both iOS and Android. How 
>> can we get this accomplished using CodenameOne? Is there a library you 
>> recommend?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/bc4fef20-17af-464e-9c49-c30ec21b1ca7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Mirah compile error using Java Templates.

2018-08-13 Thread remonkroep
Steve,

It moved along further now, however still errors. Here is the next one:

Failed to get signature for method 
private boolean isUpdated(Iterable serializables) {
boolean isUpdated = false;
for (Serializable o : serializables) {
if (o.isUpdated()) {
isUpdated = true;
break;
}
}
return isUpdated;
} message: Could not find class ? extends Serializable
Failed to get signature for method 
private Date getLatestUpdatedDate(Iterable 
serializables, Date date) {
Date lastUpdate = date;
for (Serializable o : serializables) {
Date isUpdated = o.getDateUpdated();
if (isUpdated.after(lastUpdate)) {
lastUpdate = isUpdated;
}
}
return lastUpdate;
} message: Could not find class ? extends Serializable
interface DeleteVetoListener
interface Dto
Failed to get signature for method 
public T get(String url, Store store, Class type, long id) throws 
Exception; message: Could not find class T
D:\Project\NetBeans\OrdyxMobileStage\nbproject\mirah-build-cn1.xml:152: 
java.lang.RuntimeException: Could not find class K
at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:173)
at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:188)
at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:113)
at ca.weblite.asm.TypeUtil.getClassSignature(TypeUtil.java:102)
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitClass(JavaExtendedStubCompiler.java:747)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
at 
com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120)
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitCompilationUnit(JavaExtendedStubCompiler.java:278)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compile(JavaExtendedStubCompiler.java:855)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileFile(JavaExtendedStubCompiler.java:176)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:213)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:195)
at ca.weblite.asm.WLMirahCompiler.compile(WLMirahCompiler.java:208)
at ca.weblite.mirah.ant.MirahcTask.execute(MirahcTask.java:158)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)




On Monday, August 13, 2018 at 9:11:06 AM UTC-4, Steve Hannah wrote:
>
> OK.  I have made another change that should fix this issue.  Please give 
> this version a try.
>
>
> https://github.com/shannah/mirah-nbm/blob/master/bin/ca-weblite-netbeans-mirah.nbm
>
> Steve
>
> On Fri, Aug 10, 2018 at 2:20 PM, > wrote:
>
>> Here is the Dto interface:
>>
>> public interface Dto
>> {
>> }
>>
>>
>> Here is the class it complains about:
>>
>> public interface DtoClient
>> {
>> public  T get(String url, Class type, long id) throws Exception;
>> }
>>
>>
>> Both are in the same package.
>>
>> Here is the error:
>>
>> interface Dto
>> Failed to get signature for method 
>> public T get(String url, Class type, long id) throws Exception; 
>> message: Could not find class T
>> interface Dto
>> D:\Project\NetBeans\OrdyxMobileStage\nbproject\mirah-build-cn1.xml:152: 
>> java.lang.RuntimeException: Cannot find interface Iterator while 
>> visiting class FilterIterator
>> at 

Re: [codenameone-discussions] Re: Mirah compile error using Java Templates.

2018-08-13 Thread remonkroep
The following class caused the "java.lang.RuntimeException: Could not find 
class K" exception.

package com.restoware.ordyximpl;

import java.util.AbstractMap;
import java.util.Map;
import java.util.Set;

public class ConcurrentHashMap extends AbstractMap
{
@Override
public Set> entrySet()
{
throw new RuntimeException("Not supported yet."); //To change body 
of generated methods, choose Tools | Templates.
}
}


On Monday, August 13, 2018 at 5:05:57 PM UTC-4, remon...@ordyx.com wrote:
>
> Steve,
>
> It moved along further now, however still errors. Here is the next one:
>
> Failed to get signature for method 
> private boolean isUpdated(Iterable serializables) {
> boolean isUpdated = false;
> for (Serializable o : serializables) {
> if (o.isUpdated()) {
> isUpdated = true;
> break;
> }
> }
> return isUpdated;
> } message: Could not find class ? extends Serializable
> Failed to get signature for method 
> private Date getLatestUpdatedDate(Iterable 
> serializables, Date date) {
> Date lastUpdate = date;
> for (Serializable o : serializables) {
> Date isUpdated = o.getDateUpdated();
> if (isUpdated.after(lastUpdate)) {
> lastUpdate = isUpdated;
> }
> }
> return lastUpdate;
> } message: Could not find class ? extends Serializable
> interface DeleteVetoListener
> interface Dto
> Failed to get signature for method 
> public T get(String url, Store store, Class type, long id) throws 
> Exception; message: Could not find class T
> D:\Project\NetBeans\OrdyxMobileStage\nbproject\mirah-build-cn1.xml:152: 
> java.lang.RuntimeException: Could not find class K
> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:173)
> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:188)
> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:113)
> at ca.weblite.asm.TypeUtil.getClassSignature(TypeUtil.java:102)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler$2.visitClass(JavaExtendedStubCompiler.java:747)
> at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
> at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
> at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
> at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
> at 
> com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler$2.visitCompilationUnit(JavaExtendedStubCompiler.java:278)
> at 
> com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550)
> at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
> at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compile(JavaExtendedStubCompiler.java:855)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileFile(JavaExtendedStubCompiler.java:176)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:213)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:195)
> at ca.weblite.asm.WLMirahCompiler.compile(WLMirahCompiler.java:208)
> at ca.weblite.mirah.ant.MirahcTask.execute(MirahcTask.java:158)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
> at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at 
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:435)
> at org.apache.tools.ant.Target.performTasks(Target.java:456)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
> at 
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
> at 
> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
> at 
> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
> at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
>
>
>
>
> On Monday, August 13, 2018 at 9:11:06 AM UTC-4, Steve Hannah wrote:
>>
>> OK.  I have made another change that should fix this issue.  Please give 
>> this version a try.
>>
>>
>> https://github.com/shannah/mirah-nbm/blob/master/bin/ca-weblite-netbeans-mirah.nbm
>>
>> Steve
>>
>> On Fri, Aug 10, 2018 at 2:20 PM,  wrote:

Re: [codenameone-discussions] Re: Mirah compile error using Java Templates.

2018-08-07 Thread remonkroep
Steve,

I upgraded the plugin through Netbeans. This did not fix the issue, however 
it did change the error message a bit. It now shows 2 extra lines:

Type params is T
Type kind is IDENTIFIER



Failed to get signature for method 
public T get(String url, Class type, long id) throws Exception; 
message: Could not find class T
Type params is T
Type kind is IDENTIFIER
D:\Project\NetBeans\OrdyxMobileStage\nbproject\mirah-build-cn1.xml:152: 
java.lang.RuntimeException: Could not find class for T
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitMethod(JavaExtendedStubCompiler.java:486)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:800)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:133)
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitClass(JavaExtendedStubCompiler.java:806)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
at 
com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120)
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitCompilationUnit(JavaExtendedStubCompiler.java:278)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compile(JavaExtendedStubCompiler.java:838)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileFile(JavaExtendedStubCompiler.java:176)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:213)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:195)
at ca.weblite.asm.WLMirahCompiler.compile(WLMirahCompiler.java:208)
at ca.weblite.mirah.ant.MirahcTask.execute(MirahcTask.java:158)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor178.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)


On Tuesday, August 7, 2018 at 9:37:34 AM UTC-4, Steve Hannah wrote:
>
> It looks like your Mirah Netbeans plugin is a little out of date.  I just 
> did a rebuild with the latest and posted on github. 
>
> https://github.com/shannah/mirah-nbm/blob/master/bin/ca-weblite-netbeans-mirah.nbm
>
> You should also be able to update through the netbeans update center.
>
> Steve
>
> On Fri, Aug 3, 2018 at 9:49 PM, Shai Almog  > wrote:
>
>> I don't know, this will have to wait for Steve who has a holiday on 
>> Monday...
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to codenameone-discussions+unsubscr...@googlegroups.com 
>> .
>> Visit this group at 
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/f25851a6-c815-48ea-bc03-6afbfaae8313%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" 

Re: [codenameone-discussions] Re: Mirah compile error using Java Templates.

2018-08-09 Thread remonkroep
Steve,

After updating the plugin there is still an issue. Here is the error:

interface Dto
Failed to get signature for method 
public T get(String url, Class type, long id) throws Exception; 
message: Could not find class T
interface Dto
D:\Project\NetBeans\OrdyxMobileStage\nbproject\mirah-build-cn1.xml:152: 
java.lang.NullPointerException
at ca.weblite.asm.JavaStubFactory$1.visitClass(JavaStubFactory.java:188)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:81)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:133)
at ca.weblite.asm.JavaStubFactory$1.visitClass(JavaStubFactory.java:199)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
at 
com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120)
at 
ca.weblite.asm.JavaStubFactory$1.visitCompilationUnit(JavaStubFactory.java:110)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at ca.weblite.asm.JavaStubFactory.createStubs(JavaStubFactory.java:213)
at 
ca.weblite.asm.JavaSourceClassLoader.findStub(JavaSourceClassLoader.java:107)
at ca.weblite.asm.BaseClassLoader.findStub(BaseClassLoader.java:41)
at ca.weblite.asm.MirahClassLoader.findStub(MirahClassLoader.java:321)
at ca.weblite.asm.ClassFinder.findFQNStub(ClassFinder.java:131)
at ca.weblite.asm.ClassFinder.findStub(ClassFinder.java:226)
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitMethodImpl(JavaExtendedStubCompiler.java:432)
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitMethod(JavaExtendedStubCompiler.java:384)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:800)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:81)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:133)
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitClass(JavaExtendedStubCompiler.java:818)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
at 
com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120)
at 
ca.weblite.asm.JavaExtendedStubCompiler$2.visitCompilationUnit(JavaExtendedStubCompiler.java:278)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550)
at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compile(JavaExtendedStubCompiler.java:850)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileFile(JavaExtendedStubCompiler.java:176)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:213)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
at 
ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:195)
at ca.weblite.asm.WLMirahCompiler.compile(WLMirahCompiler.java:208)
at ca.weblite.mirah.ant.MirahcTask.execute(MirahcTask.java:158)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)

Re: [codenameone-discussions] Re: Mirah compile error using Java Templates.

2018-08-14 Thread remonkroep
Perfect. Thanks again.

On Tuesday, August 14, 2018 at 10:04:48 AM UTC-4, shannah wrote:
>
> Thanks.  That's just some print statements I put in to help debugging.  I 
> need to remove those.
>
>
> On Tue, Aug 14, 2018 at 7:00 AM, > wrote:
>
>> Thank you for your help Steve,
>>
>> It went through now. It still shows what I imagine are warning but it 
>> does move forward and compiles now.
>>
>> Here is part of the output:
>>
>> Failed to get signature for method 
>> @Override()
>> public Set> entrySet() {
>> throw new RuntimeException("Not supported yet.");
>> } message: Could not find class Entry
>> interface Executor
>> Failed to get signature for method 
>> public Class defaultImpl() default None.class; message: Could not find 
>> class ?
>> interface AutoCloseable
>>
>>
>> On Tuesday, August 14, 2018 at 8:06:39 AM UTC-4, Steve Hannah wrote:
>>>
>>> Thanks for your patience and for providing these valuable test cases.  
>>> Same routine.  Please try this new version
>>>
>>>
>>> https://github.com/shannah/mirah-nbm/blob/master/bin/ca-weblite-netbeans-mirah.nbm
>>>
>>> Steve
>>>
>>> On Mon, Aug 13, 2018 at 6:52 PM,  wrote:
>>>
 The following class caused the "java.lang.RuntimeException: Could not 
 find class K" exception.

 package com.restoware.ordyximpl;

 import java.util.AbstractMap;
 import java.util.Map;
 import java.util.Set;

 public class ConcurrentHashMap extends AbstractMap
 {
 @Override
 public Set> entrySet()
 {
 throw new RuntimeException("Not supported yet."); //To change 
 body of generated methods, choose Tools | Templates.
 }
 }


 On Monday, August 13, 2018 at 5:05:57 PM UTC-4, remon...@ordyx.com 
 wrote:
>
> Steve,
>
> It moved along further now, however still errors. Here is the next one:
>
> Failed to get signature for method 
> private boolean isUpdated(Iterable 
> serializables) {
> boolean isUpdated = false;
> for (Serializable o : serializables) {
> if (o.isUpdated()) {
> isUpdated = true;
> break;
> }
> }
> return isUpdated;
> } message: Could not find class ? extends Serializable
> Failed to get signature for method 
> private Date getLatestUpdatedDate(Iterable 
> serializables, Date date) {
> Date lastUpdate = date;
> for (Serializable o : serializables) {
> Date isUpdated = o.getDateUpdated();
> if (isUpdated.after(lastUpdate)) {
> lastUpdate = isUpdated;
> }
> }
> return lastUpdate;
> } message: Could not find class ? extends Serializable
> interface DeleteVetoListener
> interface Dto
> Failed to get signature for method 
> public T get(String url, Store store, Class type, long id) 
> throws Exception; message: Could not find class T
>
> D:\Project\NetBeans\OrdyxMobileStage\nbproject\mirah-build-cn1.xml:152: 
> java.lang.RuntimeException: Could not find class K
> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:173)
> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:188)
> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:113)
> at ca.weblite.asm.TypeUtil.getClassSignature(TypeUtil.java:102)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler$2.visitClass(JavaExtendedStubCompiler.java:747)
> at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
> at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
> at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
> at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
> at 
> com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler$2.visitCompilationUnit(JavaExtendedStubCompiler.java:278)
> at 
> com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550)
> at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
> at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compile(JavaExtendedStubCompiler.java:855)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileFile(JavaExtendedStubCompiler.java:176)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:213)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
> at 
> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:195)
> at 

Re: [codenameone-discussions] Re: Mirah compile error using Java Templates.

2018-08-14 Thread remonkroep
Thank you for your help Steve,

It went through now. It still shows what I imagine are warning but it does 
move forward and compiles now.

Here is part of the output:

Failed to get signature for method 
@Override()
public Set> entrySet() {
throw new RuntimeException("Not supported yet.");
} message: Could not find class Entry
interface Executor
Failed to get signature for method 
public Class defaultImpl() default None.class; message: Could not find 
class ?
interface AutoCloseable


On Tuesday, August 14, 2018 at 8:06:39 AM UTC-4, Steve Hannah wrote:
>
> Thanks for your patience and for providing these valuable test cases.  
> Same routine.  Please try this new version
>
>
> https://github.com/shannah/mirah-nbm/blob/master/bin/ca-weblite-netbeans-mirah.nbm
>
> Steve
>
> On Mon, Aug 13, 2018 at 6:52 PM, > wrote:
>
>> The following class caused the "java.lang.RuntimeException: Could not 
>> find class K" exception.
>>
>> package com.restoware.ordyximpl;
>>
>> import java.util.AbstractMap;
>> import java.util.Map;
>> import java.util.Set;
>>
>> public class ConcurrentHashMap extends AbstractMap
>> {
>> @Override
>> public Set> entrySet()
>> {
>> throw new RuntimeException("Not supported yet."); //To change 
>> body of generated methods, choose Tools | Templates.
>> }
>> }
>>
>>
>> On Monday, August 13, 2018 at 5:05:57 PM UTC-4, remon...@ordyx.com wrote:
>>>
>>> Steve,
>>>
>>> It moved along further now, however still errors. Here is the next one:
>>>
>>> Failed to get signature for method 
>>> private boolean isUpdated(Iterable 
>>> serializables) {
>>> boolean isUpdated = false;
>>> for (Serializable o : serializables) {
>>> if (o.isUpdated()) {
>>> isUpdated = true;
>>> break;
>>> }
>>> }
>>> return isUpdated;
>>> } message: Could not find class ? extends Serializable
>>> Failed to get signature for method 
>>> private Date getLatestUpdatedDate(Iterable 
>>> serializables, Date date) {
>>> Date lastUpdate = date;
>>> for (Serializable o : serializables) {
>>> Date isUpdated = o.getDateUpdated();
>>> if (isUpdated.after(lastUpdate)) {
>>> lastUpdate = isUpdated;
>>> }
>>> }
>>> return lastUpdate;
>>> } message: Could not find class ? extends Serializable
>>> interface DeleteVetoListener
>>> interface Dto
>>> Failed to get signature for method 
>>> public T get(String url, Store store, Class type, long id) throws 
>>> Exception; message: Could not find class T
>>> D:\Project\NetBeans\OrdyxMobileStage\nbproject\mirah-build-cn1.xml:152: 
>>> java.lang.RuntimeException: Could not find class K
>>> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:173)
>>> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:188)
>>> at ca.weblite.asm.TypeUtil.getTypeSignature(TypeUtil.java:113)
>>> at ca.weblite.asm.TypeUtil.getClassSignature(TypeUtil.java:102)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler$2.visitClass(JavaExtendedStubCompiler.java:747)
>>> at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:720)
>>> at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
>>> at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
>>> at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:99)
>>> at 
>>> com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:120)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler$2.visitCompilationUnit(JavaExtendedStubCompiler.java:278)
>>> at 
>>> com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:550)
>>> at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
>>> at com.sun.source.util.TreeScanner.scan(TreeScanner.java:91)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler.compile(JavaExtendedStubCompiler.java:855)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler.compileFile(JavaExtendedStubCompiler.java:176)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:213)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:216)
>>> at 
>>> ca.weblite.asm.JavaExtendedStubCompiler.compileDirectory(JavaExtendedStubCompiler.java:195)
>>> at ca.weblite.asm.WLMirahCompiler.compile(WLMirahCompiler.java:208)
>>> at ca.weblite.mirah.ant.MirahcTask.execute(MirahcTask.java:158)
>>> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
>>> at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
>>> at 
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> at 
>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>> 

[codenameone-discussions] How to use iOS Seessions App

2018-10-26 Thread remonkroep
I want to be able to store app preferences that work on both Android and 
iOS where in iOS the preferences can be set through the "Settings App". How 
can this be accomplished using CodenameOne without writing native code?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9105efd6-680e-4fdc-a0f8-7575a96a5b40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] iOS Settings App

2018-10-26 Thread remonkroep
I want to be able to store app preferences that work on both Android and 
iOS where in iOS the preferences can be set through the "Settings App". How 
can this be accomplished using CodenameOne without writing native code?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/aeff4734-3b6f-475e-819b-b0cf6a4d340d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Connect timeout on WebSocket

2018-11-05 Thread remonkroep
Added a new issue to github:

https://github.com/codenameone/CodenameOne/issues/2600


On Monday, November 5, 2018 at 12:05:54 AM UTC-5, Shai Almog wrote:
>
> I suggest filing an RFE in the issue tracker where this can be assigned 
> and evaluated: http://github.com/codenameone/CodenameOne/issues/
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0613c978-dfdd-4004-83b4-391d00f12ad8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: EasyThread Bug?

2018-11-05 Thread remonkroep
Thank you for your response.

Do you think this static is the whole issue?

On Monday, November 5, 2018 at 12:08:10 AM UTC-5, Shai Almog wrote:
>
> That makes sens, we'll remove the static modifier for the next update.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7bdaa277-8ab9-4ad6-93cd-d93834653ccf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Connect timeout on WebSocket

2018-11-04 Thread remonkroep
I cannot find a way to specify a connect timeout on a WebSocket. Can this 
functionality please be added?

Even when trying to connect to an IP that is not reachable the call to 
connect takes forever.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f9eac8c0-b478-475d-aeca-4ba24eb85462%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] EasyThread Bug?

2018-11-04 Thread remonkroep
I think EasyThread has a bug where a Runnable is never executed. 

Here is the simplest code to reproduce the problem. Add the following code 
in the start() method of the app:

EasyThread et1 = EasyThread.start("et1");

et1.run(()->java.lang.System.out.println(" 
EASYTHREAD1"));

EasyThread et2 = EasyThread.start("et2");

et2.run(()->java.lang.System.out.println(" 
EASYTHREAD2"));

In the simulator in my case it only shows the following in the log:

 EASYTHREAD1

The second one never shows. This could be different on different machines 
and you might need to add more threads for this to show however on my 
computer it always produces the same result.

Looking at the source for EasyThread the first thing I noticed was that 
"LOCK" is a static final. Why would lock be static? Why would each instance 
of EasyThread share the same LOCK?

However I don't think "LOCK" being static is what causes the issue.

Please let me know what is the issue and how it can be fixed.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f8388070-9dc4-4f45-b61e-5bbefe68daf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Autoreconnect still active after explicit call to close the WebSocket

2018-12-29 Thread remonkroep
https://github.com/shannah/cn1-websockets/issues/14

I have not received any updates on the issue. Any idea when this will be 
fixed?


On Sunday, November 25, 2018 at 11:23:13 PM UTC-5, Shai Almog wrote:
>
> In that case Steve should follow up in the issue.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0d93ecd0-9ff2-409e-b429-2ade3bee23ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: desktop.fullScreen = true in combination with BrowserComponent not working on 1920 x 1080

2018-12-14 Thread remonkroep
Netbeans does not show any updates for the Codenameone plugin.

On Friday, December 14, 2018 at 12:34:39 AM UTC-5, Shai Almog wrote:
>
> The fix went in last week so if it wasn't fixed it means that this wasn't 
> the issue.
> Can you send a build with include source and check whether the application 
> stub java file has the line: JavaSEPort.setFullScreen(APP_FULLSCREEN); ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/5b4aa041-0d33-4fff-8208-2556726f1b15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: desktop.fullScreen = true in combination with BrowserComponent not working on 1920 x 1080

2018-12-13 Thread remonkroep
Any update on this issue?


On Saturday, December 1, 2018 at 12:54:51 AM UTC-5, Shai Almog wrote:
>
> I think one of our fixes to black screen issues collided with this. We'll 
> fix that.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/50f965df-66ca-4014-bad6-650714cc2a95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] desktop.fullScreen = true in combination with BrowserComponent not working on 1920 x 1080

2018-11-30 Thread remonkroep
When building "Windows Desktop Build" using a BrowserComponent in full 
screen mode is not working. The window sizes at first is full screen and 
then when app is fully loaded it resizes to smaller than the full screen.

This behavior happens on screens that are 1920 x 1080.

Build Hint: desktop.fullScreen = true

See attached minimized code so you can see the issue.


-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ce9e16a2-bce7-4dcd-a1f3-5969eada640c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
package com.cn1test;

import com.codename1.io.Log;
import static com.codename1.ui.CN.*;
import com.codename1.ui.Dialog;
import com.codename1.ui.Form;
import com.codename1.ui.Toolbar;
import com.codename1.ui.plaf.UIManager;
import com.codename1.ui.util.Resources;

/**
 * This file was generated by https://www.codenameone.com/;>Codename
 * One for the purpose of building native mobile applications using Java.
 */
public class MyApplication
{

private Form current;
private Resources theme;

public void init(Object context)
{
// use two network threads instead of one
updateNetworkThreadCount(2);

theme = UIManager.initFirstTheme("/theme");

// Enable Toolbar on all Forms by default
Toolbar.setGlobalToolbar(true);

// Pro only feature
Log.bindCrashProtection(true);
}

public void start()
{
if (current != null)
{
current.show();
}
else
{
BrowserForm browserForm = new BrowserForm();

current = browserForm;
browserForm.show();

browserForm.setPage("HELLO WORLD");
}
}

public void stop()
{
current = getCurrentForm();
if (current instanceof Dialog)
{
((Dialog) current).dispose();
current = getCurrentForm();
}
}

public void destroy()
{
}
}
package com.cn1test;

import com.codename1.ui.BrowserComponent;
import com.codename1.ui.Form;
import com.codename1.ui.layouts.BorderLayout;

public class BrowserForm extends Form
{
protected BrowserComponent browser;

public BrowserForm()
{
super(new BorderLayout());

setUIID("Browser");
getContentPane().setUIID("Container");
getToolbar().setUIID("Container");
browser = new BrowserComponent();
add(BorderLayout.CENTER, browser);
}

public void setPage(String page)
{
browser.setPage(page, null);
}

public void setPage(String page, String baseUrl)
{
browser.setPage(page, baseUrl);
}

public void setURL(String url)
{
browser.setURL(url);
}
}


[codenameone-discussions] Re: Pointer mapping in Simulator using Zoom mode is off when displaying BrowserComponent

2018-11-29 Thread remonkroep
Shai,

I was talking about the "Zoom" menu option in the CN1 simulator itself. Not 
zoom functionality we wrote.


On Wednesday, November 28, 2018 at 3:34:50 PM UTC-5, remon...@ordyx.com 
wrote:
>
> Clicking on a BrowserComponent when in Zoom mode in the simulator does not 
> map the events correctly. For example when clicking on a button displayed 
> in the BrowserComponent it will not fire the click event when in Zoom mode.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3bd0e099-d390-4b5c-aae1-f6c401d67b00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Pointer mapping in Simulator using Zoom mode is off when displaying BrowserComponent

2018-11-30 Thread remonkroep
Windows JDK 1.8.0_144

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/99c98ad7-ff61-443e-bda0-18924c6a17d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Autoreconnect still active after explicit call to close the WebSocket

2018-11-24 Thread remonkroep


If autoReconnect is set and you close the WebSocket it will still continue 
to try and reconnect.


I tried setting autoReconnect to 0 before the call to close() however based 
on the code it seems like the reconnectTimer is never reset when turning 
off autoReconnect.


Can this please be fixed as soon as possible?


I opened a new issue: https://github.com/shannah/cn1-websockets/issues/14

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7d33ed11-a76d-4556-93ba-d4d330c35290%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Autoreconnect still active after explicit call to close the WebSocket

2018-11-25 Thread remonkroep
Same problem. 

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ebd8885c-ce96-4d63-b3cc-eca58858be72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Pointer mapping in Simulator using Zoom mode is off when displaying BrowserComponent

2018-11-28 Thread remonkroep
Clicking on a BrowserComponent when in Zoom mode in the simulator does not 
map the events correctly. For example when clicking on a button displayed 
in the BrowserComponent it will not fire the click event when in Zoom mode.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/2cbb0c34-218f-46b6-9d11-6b25da30aa5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: desktop.fullScreen = true in combination with BrowserComponent not working on 1920 x 1080

2019-01-04 Thread remonkroep
Does this mean when using "Send Windows Desktop Build" in NetBeans it 
should build using the fix you did on the server right now? If so, it is 
not fixed since I still see the issue when running the Windows Desktop 
Build.

On Saturday, December 15, 2018 at 12:36:31 AM UTC-5, Shai Almog wrote:
>
> The fix is in the server. We deliver updates to the libraries weekly 
> without changing the plugin.
>
> I suggest filing an issue as most of us are on Christmas vacation now and 
> it will take a while to fix this.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c60be392-6681-4d78-a612-0f9028ba2e6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: EasyThread Bug?

2019-01-04 Thread remonkroep
Since I didn't see a comment from you here saying that is was fixed I 
assumed it was not.

Thank you.

On Thursday, January 3, 2019 at 10:37:29 PM UTC-5, Shai Almog wrote:
>
> This was fixed ages ago. I just tried the test case on the simulator and 
> it worked for me.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/fbbe4b61-3003-4942-a5b4-7cc88d089c69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-02-21 Thread remonkroep
Understood. When is the 6.0 release scheduled for?

I hope you could please make the upgrade of the JVM to at least version 
1.8.0_144 your number one priority after the release of 6.0, so this can be 
released as an interim release before 7.0 goes out.


On Wednesday, February 20, 2019 at 10:06:08 PM UTC-5, Shai Almog wrote:
>
> The JVM works as it should. You are having an issue with a specific 
> feature within the browser in JavaFX. 
> You informed us of this issue at a point in time that's too close to the 
> release cycle. To avoid risk that would impact all users of this feature 
> this was postponed until after the release.
>
> You're experiencing issues with the workaround which might help clarify 
> why we don't instantly change the JVM as things like this tend to happen. 
> As you can see there's a JVM bug related to this: 
> https://stackoverflow.com/questions/49455712/failed-to-find-library-jvm-dll-whats-going-on-here
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/d9ce83c0-b763-4813-8b4b-2b4f7e253b0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-02-20 Thread remonkroep
Shai,

I am running into issues where the javapackager builds the EXE however then 
when installing the EXE I get the following error: "Failed to find library: 
jvm.dll".

The whole point of us using CN1 is to not have to look into these platform 
specific issues. Please upgrade your JDK to at least 1.8.0_144-b01 so we 
can get CN1 to work as it should.



On Saturday, February 16, 2019 at 12:27:00 AM UTC-5, Shai Almog wrote:
>
> We use javafxpackager which was later renamed javapackager. It's available 
> in the right click menu in the downloaded sources but you need some 
> installs to get it working. 
> Just google these to find the Oracle and 3rd party documentation
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7ec18130-3228-4cbb-8e97-630ab73d9656%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-02-22 Thread remonkroep
Early March would be fine. Thank you.

On Thursday, February 21, 2019 at 10:51:47 PM UTC-5, Shai Almog wrote:
>
> I suggest following the blog as it's all announced there. We are currently 
> in code freeze which we entered on the 20th. It's for one week until the 
> 27th. 
> We can address this early March. I think a better option would be 
> something like https://www.azul.com/downloads/zulu/zulufx/
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/38be4aa6-f44b-481c-b42a-13066771adf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-14 Thread remonkroep
I used the build hint and when I look at the installed app inside the 
jfxswt.jar manifest.mf is see the following: 
 
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.2
Created-By: 1.8.0_40-b27 (Oracle Corporation) 


So It did not seem to update the JavaFX library.



rt.jar manifest.mf:

Manifest-Version: 1.0
Implementation-Vendor: Oracle Corporation
Implementation-Title: Java Runtime Environment
Implementation-Version: 1.8.0_112

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e34b65b4-6875-4f99-99bc-c681a092faf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-13 Thread remonkroep
Shai,

How can I test the changes you made to make sure this fixes the issue?

On Tuesday, March 12, 2019 at 11:27:50 PM UTC-4, Shai Almog wrote:
>
> We're working on it but as suspected it's harder than just switching the 
> JDK implementation. 
> We added new build hints:
>
> win.desktop-vm=zuluFx8
> mac.desktop-vm=zuluFx8
>
> The Windows version seems to work. I haven't testing it other than 
> checking that it compiled. 
> The mac version doesn't seem to work, the problem relates to the horrible 
> support for multiple JDKs on Mac OS. This is something we'll need to dig 
> into and it might make more sense to target version 11 instead of 8.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b0e71273-b267-4f52-8b66-3cc679e65899%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-13 Thread remonkroep
Shai,

How can I test the changes you made to make sure this fixes the issue?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/46b8de2b-e454-4578-99c9-43ce89c69482%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-19 Thread remonkroep
Any luck?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8846b427-5f62-42bc-97ec-3f24773a175d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-03-12 Thread remonkroep
Any updates on this?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3ae0513b-0e3b-4df2-8392-fde42e07b45e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-02-13 Thread remonkroep
The Windows and Mac OS Desktop builds use JavaFX browser for 
the BrowserComponent.

When using the simulator the BrowserComponent supports CSS variables (var). 
The simulator in Windows uses JavaFX as its browser. I run the simulator on 
JVM version: 1.8.0_144-b01

When running the app in the Windows and Mac OS Desktop build the 
BrowserComponent DOES NOT support CSS variables. 

Since the BrowserComponent in both Windows and Mac OS Desktop builds use 
JavaFX it seems that the JavaFX version is outdated. What version of the 
JVM is embedded in the current Windows and Mac OS Desktop builds?

Could you please upgrade the embedded JavaFX and/or JVM version?


-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/bc736ed1-1a76-451b-a87d-85e47374e604%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-02-14 Thread remonkroep
Shai,

When is the 7.0 release planned for?

Could you at least upgrade to JVM version 1.8.0_144-b01 or higher in the 
meantime since I need this in our production environment as soon as 
possible.



On Wednesday, February 13, 2019 at 10:20:03 PM UTC-5, Shai Almog wrote:
>
> The desktop build uses a JDK that's packaged in the install. We need to 
> update it but ideally we'd want to go to something much newer e.g. OpenJDK 
> 11 with the new AoT compiler.
> The challenge here is preventing the newer JDK from conflicting with older 
> code we have on the servers so this isn't something we can pick up for this 
> iteration. 
> Please file an issue and we'll try to address it for 7.0.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/066c60cf-48ab-4afe-b213-bf876a658bff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: JavaFX used by Windows and Mac OS Desktop builds outdated.

2019-02-15 Thread remonkroep
Do you have documentation on how to package locally?

On Thursday, February 14, 2019 at 11:15:17 PM UTC-5, Shai Almog wrote:
>
> When I say version 7.0 it's a full timeline which starts in March and is 
> currently planned to end in June. It's not a specific date. We can try and 
> aim to an earlier stage in the cycle but make sure to remind us.
> We won't make a change to server setup this close to the release. Past 
> experience has shown that changes to this are very volatile and can cause 
> serious regressions.
> As a workaround you can send a build with include source and then package 
> that project locally using netbeans 8.x. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/04c3f3e7-e28b-4ed5-8e80-55d6270f88d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Can cancel/retry dialog functionality be turned off from the RequestBuilder?

2019-01-25 Thread remonkroep
That works. Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4ce1de53-fe42-433f-8093-0e7d16559870%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Can cancel/retry dialog functionality be turned off from the RequestBuilder?

2019-01-24 Thread remonkroep
The RequestBuilder produces a cancel/retry dialog in case the 
getAsJsonMap() call encounters an error response. Can this be turned off?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9cafd4a5-ca40-44bb-a40e-d74070121001%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Can cancel/retry dialog functionality be turned on from the RequestBuilder

2019-01-24 Thread remonkroep
The RequestBuilder produces a cancel/retry dialog in case 
the getAsJsonMap() call encounters an error response. Can this be turned 
off?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/82d548a3-0281-41fe-8ed2-5e37b25f3b00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.