[codenameone-discussions] Re: A new IOS hard crash

2016-11-11 Thread Shai Almog
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

[codenameone-discussions] Re: Windows UWP navigation

2016-11-11 Thread Shai Almog
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

[codenameone-discussions] Re: ios builds failing, again

2016-11-11 Thread Shai Almog
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] Re: sendmessage friendly display name

2016-11-11 Thread Shai Almog
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

[codenameone-discussions] Re: Combo Box Styling

2016-11-11 Thread Shai Almog
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

Re: [codenameone-discussions] Connection request freeze

2016-11-11 Thread Shai Almog
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] Re: A new IOS hard crash

2016-11-11 Thread Dave Dyer
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

[codenameone-discussions] Re: A new IOS hard crash

2016-11-11 Thread Dave Dyer
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

[codenameone-discussions] Re: A new IOS hard crash

2016-11-11 Thread Dave Dyer
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 */

[codenameone-discussions] Re: A new IOS hard crash

2016-11-11 Thread Dave Dyer
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); >

[codenameone-discussions] A new IOS hard crash

2016-11-11 Thread Dave Dyer
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

[codenameone-discussions] Re: Windows UWP navigation

2016-11-11 Thread mcw
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

[codenameone-discussions] Re: ios builds failing, again

2016-11-11 Thread Dave Dyer
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

[codenameone-discussions] Re: Codename One en español.

2016-11-11 Thread Jav Ier
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

[codenameone-discussions] sendmessage friendly display name

2016-11-11 Thread howudodat1
I am curious how to call sendMessage with a friendly display name? ie: Peter Carlson when 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

[codenameone-discussions] Combo Box Styling

2016-11-11 Thread Mario Barón
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

Re: [codenameone-discussions] Connection request freeze

2016-11-11 Thread CODENAME1
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