[codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Dave Dyer

I'm tantalizingly close to making my own builds, which will make it possible
to start more interesting work on parpavm.  I can make builds which xcode
successfully compiles and links, but which crash on running.  I'm pretty
sure that's because I'm missing the secret sauce embedded in the 
launcher stub, which is created and compiled by your server side build.

Where can I find a prototype for the launcher stub?


-- 
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/4d73c566-6d95-4b9f-909f-21d45d01add2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Dave Dyer


On Wednesday, April 26, 2017 at 8:44:26 AM UTC-7, Steve Hannah wrote:
>
> Oh.  The ASM library.  As far as I know we use the same version that is 
> posted in cn1-binaries:
> https://github.com/codenameone/cn1-binaries/tree/master/vm
>
> That's the one I'm using, but it apparently isn't the one used in the 
build process.
The discrepancy in the name of the enum values is my evidence.  The 5.0.3 
build uses "ENUM_VALUES" whereas the actual build uses "__VALUES" 

This "known name" becomes important in the implementation of enum valueOf

-- 
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/a1505983-2d85-4d8a-a437-e72ad6a94612%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Steve Hannah
Oh.  The ASM library.  As far as I know we use the same version that is
posted in cn1-binaries:
https://github.com/codenameone/cn1-binaries/tree/master/vm

Steve

On Wed, Apr 26, 2017 at 8:35 AM, Dave Dyer 
wrote:

>
> On Wednesday, April 26, 2017 at 7:36:18 AM UTC-7, Steve Hannah wrote:
>>
>> What assembler are you referring to?
>>
>
> That would be the java bytecode assembler that ByteCodeTranslator uses to
> map over the classes.
> Seems to be part of android studio
>
>
> --
> 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/75cd93b7-8f0f-4c8f-9b9b-
> 6873793a7d25%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" 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/CAGOYrKVU4a02im4v72tOsQveS%2BOh9c-mLstN056%3DVCk-vSFChA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Dave Dyer

On Wednesday, April 26, 2017 at 7:36:18 AM UTC-7, Steve Hannah wrote:
>
> What assembler are you referring to?
>

That would be the java bytecode assembler that ByteCodeTranslator uses to 
map over the classes.
Seems to be part of android studio
 

-- 
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/75cd93b7-8f0f-4c8f-9b9b-6873793a7d25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: IOS builds puzzle

2017-04-26 Thread Steve Hannah
What assembler are you referring to?

On Tue, Apr 25, 2017 at 7:54 PM, Dave Dyer 
wrote:

>
> This discrepancy seems to be related to the version of the assembler that
> is used
> in the build.  What version is being used by the build server?
>
> JAVA_OBJECT STATIC_FIELD_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES = 0;
>> JAVA_OBJECT 
>> get_static_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES(CODENAME_ONE_THREAD_STATE)
>> {
>> __STATIC_INITIALIZER_arimaa_ArimaaConstants_ArimaaId(threadS
>> tateData);
>>  return STATIC_FIELD_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES;
>> }
>>
>> --
> 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/7f29d6c3-84f7-4aaa-b6ff-
> a9c32e5c804e%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" 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/CAGOYrKXcow1P50%3Do9NS1HCOKBTw_od6k84%2B8ZN2JGA0uqHZO7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: IOS builds puzzle

2017-04-25 Thread Dave Dyer

This discrepancy seems to be related to the version of the assembler that 
is used
in the build.  What version is being used by the build server?

JAVA_OBJECT STATIC_FIELD_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES = 0;
> JAVA_OBJECT 
> get_static_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES(CODENAME_ONE_THREAD_STATE)
>  
> {
> __STATIC_INITIALIZER_arimaa_ArimaaConstants_ArimaaId(threadStateData);
>  return STATIC_FIELD_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES;
> }
>
>

-- 
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/7f29d6c3-84f7-4aaa-b6ff-a9c32e5c804e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: IOS builds puzzle

2017-04-25 Thread Dave Dyer
Another discrepency between builds done today using the build server, and 
builds I do myself
using today's copy of parpavm from the repository, which is causing my 
local builds to fail to link

parpavm creates:

JAVA_OBJECT STATIC_FIELD_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES = 0;
JAVA_OBJECT 
get_static_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES(CODENAME_ONE_THREAD_STATE)
 
{
__STATIC_INITIALIZER_arimaa_ArimaaConstants_ArimaaId(threadStateData);
 return STATIC_FIELD_arimaa_ArimaaConstants_ArimaaId_ENUM_VALUES;
}

whereas the build server creates

JAVA_OBJECT STATIC_FIELD_arimaa_ArimaaConstants_ArimaaId__VALUES = 0;
JAVA_OBJECT 
get_static_arimaa_ArimaaConstants_ArimaaId__VALUES(CODENAME_ONE_THREAD_STATE) 
{
__STATIC_INITIALIZER_arimaa_ArimaaConstants_ArimaaId(threadStateData);
 return STATIC_FIELD_arimaa_ArimaaConstants_ArimaaId__VALUES;
}

-- 
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/908e5d8e-9dfb-44a3-ab38-015b2804d154%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.