[codenameone-discussions] Re: A new IOS hard crash
Probably this: https://github.com/codenameone/CodenameOne/commit/05b7d1cff7f6811553f7d06c1eaba2cd4938a7b2 -- 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/a77bcfd0-3a46-4888-bcac-6f4b4525d5e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Windows UWP navigation
The problem is that it is getting really hard to know when to show it. Back in the day we only showed it for iOS but now Android wants it and it's important for desktop and other ports. I see your point but with the current state of mobile devices I'd just put a back button and forget about it... -- 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/4b872ce5-a73a-4215-b536-f799c49c6b77%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: ios builds failing, again
Unfortunately I can't see this in the logs by the time I see these messages. -- 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/6442360d-6298-495d-b0e6-973b497e64ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: sendmessage friendly display name
I would just detect that use case and substring it. Notice it's possible that this is a simulator bug and that this will work perfectly fine on the devices. The simulator fallsback to a simplistic mailto: approach whereas the devices use native email API's. -- 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/71a57125-5c5c-4df6-aca8-31397cd4e00b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Combo Box Styling
Hi, it would be way easier to go with this: https://www.codenameone.com/blog/tip-dont-use-combobox.html Just use a button and you can style anything any way you want. You can implement a renderer to do this with the combo box but it is pretty challenging. -- 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/70f0a183-5cee-4882-b995-974442a0521f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [codenameone-discussions] Connection request freeze
If you keep it at 1 second interval which is pretty low, this won't impact the UI -- 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/76867ff2-222b-4721-b358-1495f56b438b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: A new IOS hard crash
I got lucky, my first attempt to produce a small test case worked. https://github.com/codenameone/CodenameOne/issues/1960 -- 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/d2df612b-0d9a-478b-a732-259bc0a2f5ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: A new IOS hard crash
For reference, here is the previously generated .m code, which worked. > JAVA_VOID > online_game_gBoard_SetBoardCell___char_int_online_game_cell(CODENAME_ONE_THREAD_STATE, > > JAVA_OBJECT __cn1ThisObject, JAVA_CHAR __cn1Arg1, JAVA_INT __cn1Arg2, > JAVA_OBJECT __cn1Arg3) { > JAVA_INT ilocals_5_; /* v5 */ > JAVA_INT ilocals_4_; /* v4 */ > JAVA_INT ilocals_7_; /* v7 */ > JAVA_INT ilocals_6_; /* v6 */ > DEFINE_INSTANCE_METHOD_STACK(6, 8, 0, 10363, 10379); > locals[0].data.o = __cn1ThisObject; locals[0].type = > CN1_TYPE_OBJECT; JAVA_INT ilocals_1_ = __cn1Arg1; > JAVA_INT ilocals_2_ = __cn1Arg2; > locals[3].data.o = __cn1Arg3; > locals[3].type = CN1_TYPE_OBJECT; > BC_ALOAD(0); > /* CustomInvoke */{ JAVA_INT tmpResult = > virtual_online_game_gBoard_BCtoYindex___char_int_R_int(threadStateData, > SP[-1].data.o, ilocals_1_, ilocals_2_); > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > BC_ISTORE(4); > BC_ALOAD(0); > /* CustomInvoke */{ JAVA_INT tmpResult = > virtual_online_game_gBoard_BCtoXindex___char_int_R_int(threadStateData, > SP[-1].data.o, ilocals_1_, ilocals_2_); > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > BC_ISTORE(5); > BC_ALOAD(0); > /* CustomInvoke */{ JAVA_INT tmpResult = > virtual_online_game_gBoard_XindexToBC___int_int_R_char(threadStateData, > SP[-1].data.o, ilocals_5_, ilocals_4_); > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > BC_ISTORE(6); > BC_ALOAD(0); > /* CustomInvoke */{ JAVA_INT tmpResult = > virtual_online_game_gBoard_YindexToBC___int_int_R_int(threadStateData, > SP[-1].data.o, ilocals_5_, ilocals_4_); > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > BC_ISTORE(7); > if (ilocals_6_!=ilocals_1_) /* IF_ICMPNE CustomJump */ goto > label_L11395; > if (ilocals_7_!=ilocals_2_) /* IF_ICMPNE CustomJump */ goto > label_L11395; > PUSH_INT(1); /* ICONST_1 */ > goto label_L315529366; > > label_L11395: > PUSH_INT(0); /* ICONST_0 */ > > label_L315529366: > /* LDC: '%s,%s encodes correctly'*/ > PUSH_POINTER(STRING_FROM_CONSTANT_POOL_OFFSET(10380)); > PUSH_INT(2); /* ICONST_2 */ > SP--; > PUSH_POINTER(__NEW_ARRAY_java_lang_Object(threadStateData, > SP[0].data.i)); > BC_DUP(); /* DUP */ > PUSH_INT(0); /* ICONST_0 */ > /* CustomInvoke > */PUSH_OBJ(java_lang_Character_valueOf___char_R_java_lang_Character(threadStateData, > > ilocals_1_)); > CHECK_ARRAY_ACCESS(3, SP[-2].data.i); { /* BC_AASTORE */ > JAVA_OBJECT aastoreTmp = SP[-3].data.o; > ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)aastoreTmp).data)[SP[-2].data.i] = > SP[-1].data.o; > SP -= 3; } > BC_DUP(); /* DUP */ > PUSH_INT(1); /* ICONST_1 */ > /* CustomInvoke > */PUSH_OBJ(java_lang_Integer_valueOf___int_R_java_lang_Integer(threadStateData, > > ilocals_2_)); > CHECK_ARRAY_ACCESS(3, SP[-2].data.i); { /* BC_AASTORE */ > JAVA_OBJECT aastoreTmp = SP[-3].data.o; > ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)aastoreTmp).data)[SP[-2].data.i] = > SP[-1].data.o; > SP -= 3; } > { JAVA_INT tmpResult = > lib_G_Assert___boolean_java_lang_String_java_lang_Object_1ARRAY_R_boolean(threadStateData, > > SP[-3].data.i, SP[-2].data.o, SP[-1].data.o); > SP-=2; > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > SP--; /* POP */ > PUSH_POINTER(get_field_online_game_gBoard_board(__cn1ThisObject)); > (*SP).type = CN1_TYPE_INT; /* ILOAD */ > (*SP).data.i = ilocals_5_; > SP++; > CHECK_ARRAY_ACCESS(2, SP[-1].data.i); /* AALOAD */ > SP--; SP[-1].type = CN1_TYPE_INVALID; > SP[-1].data.o = ((JAVA_ARRAY_OBJECT*) > (*(JAVA_ARRAY)SP[-1].data.o).data)[(*SP).data.i]; > SP[-1].type = CN1_TYPE_OBJECT; > (*SP).type = CN1_TYPE_INT; /* ILOAD */ > (*SP).data.i = ilocals_4_; > SP++; > BC_ALOAD(3); > CHECK_ARRAY_ACCESS(3, SP[-2].data.i); { /* BC_AASTORE */ > JAVA_OBJECT aastoreTmp = SP[-3].data.o; > ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)aastoreTmp).data)[SP[-2].data.i] = > SP[-1].data.o; > SP -= 3; } > releaseForReturn(threadStateData, cn1LocalsBeginInThread); > return; > } > > -- 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/c988d518-a6c2-4f8d-9602-101cd56d6a75%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: A new IOS hard crash
For reference, here is the .m code that used to be generated (and which worked) JAVA_OBJECT online_game_gBoard_GetBoardCell___char_int_R_online_game_cell(CODENAME_ONE_THREAD_STATE, JAVA_OBJECT __cn1ThisObject, JAVA_CHAR __cn1Arg1, JAVA_INT __cn1Arg2) { JAVA_INT ilocals_3_; /* v3 */ JAVA_INT ilocals_4_; /* v4 */ DEFINE_INSTANCE_METHOD_STACK(3, 5, 0, 10740, 10758); locals[0].data.o = __cn1ThisObject; locals[0].type = CN1_TYPE_OBJECT; JAVA_INT ilocals_1_ = __cn1Arg1; JAVA_INT ilocals_2_ = __cn1Arg2; BC_ALOAD(0); /* CustomInvoke */{ JAVA_INT tmpResult = virtual_online_game_gBoard_validBoardPos___char_int_R_boolean(threadStateData, SP[-1].data.o, ilocals_1_, ilocals_2_); SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } if(POP_INT() == 0) /* IFEQ */ goto label_L103709560; BC_ALOAD(0); /* CustomInvoke */{ JAVA_INT tmpResult = virtual_online_game_gBoard_BCtoYindex___char_int_R_int(threadStateData, SP[-1].data.o, ilocals_1_, ilocals_2_); SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } BC_ISTORE(3); BC_ALOAD(0); /* CustomInvoke */{ JAVA_INT tmpResult = virtual_online_game_gBoard_BCtoXindex___char_int_R_int(threadStateData, SP[-1].data.o, ilocals_1_, ilocals_2_); SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } BC_ISTORE(4); PUSH_POINTER(get_field_online_game_gBoard_board(__cn1ThisObject)); (*SP).type = CN1_TYPE_INT; /* ILOAD */ (*SP).data.i = ilocals_4_; SP++; CHECK_ARRAY_ACCESS(2, SP[-1].data.i); /* AALOAD */ SP--; SP[-1].type = CN1_TYPE_INVALID; SP[-1].data.o = ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)SP[-1].data.o).data)[(*SP).data.i]; SP[-1].type = CN1_TYPE_OBJECT; (*SP).type = CN1_TYPE_INT; /* ILOAD */ (*SP).data.i = ilocals_3_; SP++; CHECK_ARRAY_ACCESS(2, SP[-1].data.i); /* AALOAD */ SP--; SP[-1].type = CN1_TYPE_INVALID; SP[-1].data.o = ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)SP[-1].data.o).data)[(*SP).data.i]; SP[-1].type = CN1_TYPE_OBJECT; releaseForReturn(threadStateData, cn1LocalsBeginInThread); return POP_OBJ(); label_L103709560: PUSH_POINTER(JAVA_NULL); /* ACONST_NULL */ releaseForReturn(threadStateData, cn1LocalsBeginInThread); return POP_OBJ(); } -- 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/a35b4b8d-2d80-4d05-9346-dd1e3154ffbc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: A new IOS hard crash
Here is the actual java code corresponding to the culprit function. // this is used only during board construction, when we populate > // the board array with cells, or subtypes of cells. > void SetBoardCell(char col,int row,CELLTYPE con) > {int y = BCtoYindex(col,row); > int x = BCtoXindex(col,row); > char nc = XindexToBC(x,y); > int nr = YindexToBC(x,y); > // a little consistency check > //System.out.println("C "+nc + col); > G.Assert(((nc==col) && (nr==row)),"%s,%s encodes > correctly",col,row); > board[x][y]=con; > } > > The crash corresponds to the internal bounds check on the board[x][y] = con line. On Friday, November 11, 2016 at 2:42:31 PM UTC-8, Dave Dyer wrote: > > > A new IOS hard crash has appeared. I reproduced this by building from > the sources on my mac. It's going to be really > hard to extract a small test case without some clue what features of the > java sources are triggering the problem. Note > that this is not recently changed code, and previous builds worked fine. > > Here's the .m code that is crashing. The crash is at the > "check_array_acccess" near the bottom, the error > in the IOS simulator is EXC_BAD_ACCESS code-1 address = 0x36. > > My working hypothesis would be that some recently tweaked optimization > has resulted in a mismanaged stack. > > JAVA_VOID >> online_game_gBoard_SetBoardCell___char_int_online_game_cell(CODENAME_ONE_THREAD_STATE, >> >> JAVA_OBJECT __cn1ThisObject, JAVA_CHAR __cn1Arg1, JAVA_INT __cn1Arg2, >> JAVA_OBJECT __cn1Arg3) { >> JAVA_INT ilocals_5_; /* v5 */ >> JAVA_INT ilocals_4_; /* v4 */ >> JAVA_INT ilocals_7_; /* v7 */ >> JAVA_INT ilocals_6_; /* v6 */ >> DEFINE_INSTANCE_METHOD_STACK(6, 8, 0, 11210, 11226); >> locals[0].data.o = __cn1ThisObject; locals[0].type = >> CN1_TYPE_OBJECT; JAVA_INT ilocals_1_ = __cn1Arg1; >> JAVA_INT ilocals_2_ = __cn1Arg2; >> locals[3].data.o = __cn1Arg3; >> locals[3].type = CN1_TYPE_OBJECT; >> BC_ALOAD(0); >> /* CustomInvoke */{ JAVA_INT tmpResult = >> virtual_online_game_gBoard_BCtoYindex___char_int_R_int(threadStateData, >> SP[-1].data.o, ilocals_1_, ilocals_2_); >> SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } >> BC_ISTORE(4); >> BC_ALOAD(0); >> /* CustomInvoke */{ JAVA_INT tmpResult = >> virtual_online_game_gBoard_BCtoXindex___char_int_R_int(threadStateData, >> SP[-1].data.o, ilocals_1_, ilocals_2_); >> SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } >> BC_ISTORE(5); >> BC_ALOAD(0); >> /* CustomInvoke */{ JAVA_INT tmpResult = >> virtual_online_game_gBoard_XindexToBC___int_int_R_char(threadStateData, >> SP[-1].data.o, ilocals_5_, ilocals_4_); >> SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } >> BC_ISTORE(6); >> BC_ALOAD(0); >> /* CustomInvoke */{ JAVA_INT tmpResult = >> virtual_online_game_gBoard_YindexToBC___int_int_R_int(threadStateData, >> SP[-1].data.o, ilocals_5_, ilocals_4_); >> SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } >> BC_ISTORE(7); >> if (ilocals_6_!=ilocals_1_) /* IF_ICMPNE CustomJump */ goto >> label_L1749010499; >> if (ilocals_7_!=ilocals_2_) /* IF_ICMPNE CustomJump */ goto >> label_L1749010499; >> PUSH_INT(1); /* ICONST_1 */ >> goto label_L863296557; >> >> label_L1749010499: >> PUSH_INT(0); /* ICONST_0 */ >> >> label_L863296557: >> /* LDC: '%s,%s encodes correctly'*/ >> PUSH_POINTER(STRING_FROM_CONSTANT_POOL_OFFSET(11227)); >> PUSH_INT(2); /* ICONST_2 */ >> SP--; >> PUSH_POINTER(__NEW_ARRAY_java_lang_Object(threadStateData, >> SP[0].data.i)); >> BC_DUP(); /* DUP */ >> PUSH_INT(0); /* ICONST_0 */ >> /* CustomInvoke >> */PUSH_OBJ(java_lang_Character_valueOf___char_R_java_lang_Character(threadStateData, >> >> ilocals_1_)); >> CHECK_ARRAY_ACCESS(3, SP[-2].data.i); { /* BC_AASTORE */ >> JAVA_OBJECT aastoreTmp = SP[-3].data.o; >> ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)aastoreTmp).data)[SP[-2].data.i] >> = SP[-1].data.o; >> SP -= 3; } >> BC_DUP(); /* DUP */ >> PUSH_INT(1); /* ICONST_1 */ >> /* CustomInvoke >> */PUSH_OBJ(java_lang_Integer_valueOf___int_R_java_lang_Integer(threadStateData, >> >> ilocals_2_)); >> CHECK_ARRAY_ACCESS(3, SP[-2].data.i); { /* BC_AASTORE */ >> JAVA_OBJECT aastoreTmp = SP[-3].data.o; >> ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)aastoreTmp).data)[SP[-2].data.i] >> = SP[-1].data.o; >> SP -= 3; } >> { JAVA_INT tmpResult = >> lib_G_Assert___boolean_java_lang_String_java_lang_Object_1ARRAY_R_boolean(threadStateData, >> >> SP[-3].data.i, SP[-2].data.o, SP[-1].data.o); >> SP-=2; >> SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } >> SP--; /* POP */ >> PUSH_POINTER(get_field_online_game_gBoard_board(__cn1ThisObject)); >> (*SP).type = CN1_TYPE_INT; /* ILOAD */ >> (*SP).data.i =
[codenameone-discussions] A new IOS hard crash
A new IOS hard crash has appeared. I reproduced this by building from the sources on my mac. It's going to be really hard to extract a small test case without some clue what features of the java sources are triggering the problem. Note that this is not recently changed code, and previous builds worked fine. Here's the .m code that is crashing. The crash is at the "check_array_acccess" near the bottom, the error in the IOS simulator is EXC_BAD_ACCESS code-1 address = 0x36. My working hypothesis would be that some recently tweaked optimization has resulted in a mismanaged stack. JAVA_VOID > online_game_gBoard_SetBoardCell___char_int_online_game_cell(CODENAME_ONE_THREAD_STATE, > > JAVA_OBJECT __cn1ThisObject, JAVA_CHAR __cn1Arg1, JAVA_INT __cn1Arg2, > JAVA_OBJECT __cn1Arg3) { > JAVA_INT ilocals_5_; /* v5 */ > JAVA_INT ilocals_4_; /* v4 */ > JAVA_INT ilocals_7_; /* v7 */ > JAVA_INT ilocals_6_; /* v6 */ > DEFINE_INSTANCE_METHOD_STACK(6, 8, 0, 11210, 11226); > locals[0].data.o = __cn1ThisObject; locals[0].type = > CN1_TYPE_OBJECT; JAVA_INT ilocals_1_ = __cn1Arg1; > JAVA_INT ilocals_2_ = __cn1Arg2; > locals[3].data.o = __cn1Arg3; > locals[3].type = CN1_TYPE_OBJECT; > BC_ALOAD(0); > /* CustomInvoke */{ JAVA_INT tmpResult = > virtual_online_game_gBoard_BCtoYindex___char_int_R_int(threadStateData, > SP[-1].data.o, ilocals_1_, ilocals_2_); > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > BC_ISTORE(4); > BC_ALOAD(0); > /* CustomInvoke */{ JAVA_INT tmpResult = > virtual_online_game_gBoard_BCtoXindex___char_int_R_int(threadStateData, > SP[-1].data.o, ilocals_1_, ilocals_2_); > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > BC_ISTORE(5); > BC_ALOAD(0); > /* CustomInvoke */{ JAVA_INT tmpResult = > virtual_online_game_gBoard_XindexToBC___int_int_R_char(threadStateData, > SP[-1].data.o, ilocals_5_, ilocals_4_); > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > BC_ISTORE(6); > BC_ALOAD(0); > /* CustomInvoke */{ JAVA_INT tmpResult = > virtual_online_game_gBoard_YindexToBC___int_int_R_int(threadStateData, > SP[-1].data.o, ilocals_5_, ilocals_4_); > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > BC_ISTORE(7); > if (ilocals_6_!=ilocals_1_) /* IF_ICMPNE CustomJump */ goto > label_L1749010499; > if (ilocals_7_!=ilocals_2_) /* IF_ICMPNE CustomJump */ goto > label_L1749010499; > PUSH_INT(1); /* ICONST_1 */ > goto label_L863296557; > > label_L1749010499: > PUSH_INT(0); /* ICONST_0 */ > > label_L863296557: > /* LDC: '%s,%s encodes correctly'*/ > PUSH_POINTER(STRING_FROM_CONSTANT_POOL_OFFSET(11227)); > PUSH_INT(2); /* ICONST_2 */ > SP--; > PUSH_POINTER(__NEW_ARRAY_java_lang_Object(threadStateData, > SP[0].data.i)); > BC_DUP(); /* DUP */ > PUSH_INT(0); /* ICONST_0 */ > /* CustomInvoke > */PUSH_OBJ(java_lang_Character_valueOf___char_R_java_lang_Character(threadStateData, > > ilocals_1_)); > CHECK_ARRAY_ACCESS(3, SP[-2].data.i); { /* BC_AASTORE */ > JAVA_OBJECT aastoreTmp = SP[-3].data.o; > ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)aastoreTmp).data)[SP[-2].data.i] = > SP[-1].data.o; > SP -= 3; } > BC_DUP(); /* DUP */ > PUSH_INT(1); /* ICONST_1 */ > /* CustomInvoke > */PUSH_OBJ(java_lang_Integer_valueOf___int_R_java_lang_Integer(threadStateData, > > ilocals_2_)); > CHECK_ARRAY_ACCESS(3, SP[-2].data.i); { /* BC_AASTORE */ > JAVA_OBJECT aastoreTmp = SP[-3].data.o; > ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)aastoreTmp).data)[SP[-2].data.i] = > SP[-1].data.o; > SP -= 3; } > { JAVA_INT tmpResult = > lib_G_Assert___boolean_java_lang_String_java_lang_Object_1ARRAY_R_boolean(threadStateData, > > SP[-3].data.i, SP[-2].data.o, SP[-1].data.o); > SP-=2; > SP[-1].data.i = tmpResult; SP[-1].type = CN1_TYPE_INT; } > SP--; /* POP */ > PUSH_POINTER(get_field_online_game_gBoard_board(__cn1ThisObject)); > (*SP).type = CN1_TYPE_INT; /* ILOAD */ > (*SP).data.i = ilocals_5_; > SP++; > CHECK_ARRAY_ACCESS(2, SP[-1].data.i); /* AALOAD */ > SP--; SP[-1].type = CN1_TYPE_INVALID; > SP[-1].data.o = ((JAVA_ARRAY_OBJECT*) > (*(JAVA_ARRAY)SP[-1].data.o).data)[(*SP).data.i]; > SP[-1].type = CN1_TYPE_OBJECT; > (*SP).type = CN1_TYPE_INT; /* ILOAD */ > (*SP).data.i = ilocals_4_; > SP++; > BC_ALOAD(3); > CHECK_ARRAY_ACCESS(3, SP[-2].data.i); { /* BC_AASTORE */ > JAVA_OBJECT aastoreTmp = SP[-3].data.o; > ((JAVA_ARRAY_OBJECT*) (*(JAVA_ARRAY)aastoreTmp).data)[SP[-2].data.i] = > SP[-1].data.o; > SP -= 3; } > releaseForReturn(threadStateData, cn1LocalsBeginInThread); > return; > } > -- 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] Re: Windows UWP navigation
I have never been a fan of the Toolbar, it never looks quite right to me, especially on older devices. I don't think you always want the back button displayed, it should only be displayed when appropriate. On a Windows Mobile Phone with a hardware back button, you would not want it. Same with a laptop in tablet mode. i will open a bug on the back button not working. The only time you would want it is when the app is running on a laptop in desktop mode. Then you would want it displayed in the app like Windows 10 Settings does. Thanks On Thursday, November 10, 2016 at 9:36:38 PM UTC-8, Shai Almog wrote: > > For consistency with back navigation I suggest using the Toolbar and > setBackCommand on the Toolbar itself so it will exist in all platforms. > > The hardware button should map that's probably an issue Steve can address. > -- 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/107a634e-b682-4d80-b293-f10b8bbf7e90%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: ios builds failing, again
There's no way to reproduce it from here. These build failures come in clusters; repeating the exact same build seems to eventually succeed. My working hypothesis is that there's a resource exhaustion problem, which is resolved when the server gets spun down and replaced. -- 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/a74d7072-6578-433e-9e61-ed7a1ea038f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Re: Codename One en español.
Hola. He utilizado CodeNameOne y la verdad me gusta, pero casi no existe documentación en castellano, seria muy bueno que podamos generarla. Gracias. Sds. El miércoles, 2 de noviembre de 2016, 23:21:12 (UTC-3), romanca...@gmail.com escribió: > > Hola! > > Leyendo post en esta seccion he visto que quizas hayan varios usuarios de > la comunidad hispana y por eso queria invitarlos a entrar en contacto para > compartir experiencias en nuestro idioma. > > Si les interesa que podamos formar una pequeña comunidad dentro de esta > -donde nos expresemos en nuestro idioma - pongamos en contacto . > > saludos, Roman > > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA > Desktop OS > Simulator > Device > -- 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/8b80e10b-174e-4432-8adb-d24db42e1cf8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] sendmessage friendly display name
I am curious how to call sendMessage with a friendly display name? ie: Peter Carlsonwhen I send that I get Illegal character in opaque part at index 7: mailto:"Peter Ca... -- 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/8ba7dcba-ce13-4a0e-8e48-3730fa48515b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Combo Box Styling
Hey guys, I've got a question related to the ComboBox component. I want to style the component so that its first item looks different to the rest of the items (I'm looking to make the font bold). How would I achieve this? Thanks beforehand. -- 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/638ef0b3-c673-4c76-9cc6-b5ab9b7dc7d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [codenameone-discussions] Connection request freeze
Is it good to write poling conenction request inside UITImer. (which will try to fetch the response at regular interval)??? or can it lead to UI freeze. On Wednesday, November 9, 2016 at 6:51:08 AM UTC+1, Shai Almog wrote: > > If you used addToQueue without wait then the request is happening on the > network thread and not on the Codename One thread so the UI isn't waiting > for that thread. It is waiting for something else you did in the app. > -- 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/d70ba182-041f-445e-946b-3bb22959cb27%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.