[Gambas-user] gb3: 2D ray-casting algorithm

2012-08-12 Thread Kevin Fishburne
I need to know if a point lies within a three-sided polygon (triangle) on a 2D plane for combat hit detection in my game. Raw speed, not mathematical purity is extremely important. I've read this: http://en.wikipedia.org/wiki/Point_in_polygon and many more articles and posts and have come to

Re: [Gambas-user] Issue 304 in gambas: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59)

2012-08-12 Thread gambas
Comment #8 on issue 304 by uale...@gmail.com: Gambas3 r5027 segmentation fault signal 11 (0x02072ecd in Reader::ClearReader (this=0x83e7890) at reader.cpp:59) http://code.google.com/p/gambas/issues/detail?id=304 Thanks, it doesn't segmentation fault anymore. With the

Re: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage

2012-08-12 Thread gambas
Comment #1 on issue 305 by uale...@gmail.com: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 OK, i retested with gambas3 r5032 and the output slightly changed and it is visible that

[Gambas-user] Check on entered number having more than 6 digits not working

2012-08-12 Thread John Rose
Jussi, I've put the code below into the Fmain class in that Test project and it works OK! The Test project needs a lot more code in order to obtain the Latitude from the database. I'll check it out again with the full project. Public Sub ValueBoxLongitude_KeyRelease() If Key.Code = Key.Return

Re: [Gambas-user] gb.jit component on other than intel-cpu ?

2012-08-12 Thread Emil Lenngren
I tried to run it on the raspberry pi. LLVM seemed to crash or produce illegal code or something... I will check further when I have time. /Emil 2012/8/12 wally wa...@voosen.eu Hello, does it make sense to build and use gb.jit component on other than Intel CPUs ? e.g. ARM , Raspberry etc.

Re: [Gambas-user] gb3: 2D ray-casting algorithm

2012-08-12 Thread Benoît Minisini
Le 12/08/2012 08:27, Kevin Fishburne a écrit : I need to know if a point lies within a three-sided polygon (triangle) on a 2D plane for combat hit detection in my game. Raw speed, not mathematical purity is extremely important. I've read this: http://en.wikipedia.org/wiki/Point_in_polygon

Re: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage

2012-08-12 Thread gambas
Updates: Status: Started Owner: adrien.p...@gmail.com Labels: -Version Version-TRUNK Comment #2 on issue 305 by adrien.p...@gmail.com: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage

Re: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem

2012-08-12 Thread gambas
Comment #3 on issue 292 by adrien.p...@gmail.com: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Hi, I have the same problem here. My screen size is 1024*600px, and the font size I use is 9px. Attachments: capture d'écran12.png 134 KB

Re: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage

2012-08-12 Thread gambas
Comment #3 on issue 305 by uale...@gmail.com: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Hi Adrien, r5034 doesn't compile on my system (got a fresh copy from SVN), i get the

Re: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem

2012-08-12 Thread gambas
Comment #4 on issue 292 by benoit.m...@gmail.com: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Same remark: why do you use a big font on a small screen ? -- Live Security Virtual

[Gambas-user] XMLReader / XMLWriter

2012-08-12 Thread Karl Reinl
Salut Adrien, for reading the XMLreader needs this syntax : Text={pYear} amp; '/' amp; format({pMonth},'0#-') Text=iif(Data_crm_Activities_classerlt;gt;'','Projekt : ','') but the XMLwriter put out the Attributs (not transformt) Text={pYear} '/' format({pMonth},'0#-')

Re: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem

2012-08-12 Thread gambas
Comment #5 on issue 292 by adrien.p...@gmail.com: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Just because this is the smallest font I can easily read. By seeing the screenshots on my desktop screen, I find the fonts huge too. But on my netbook, smaller fonts

[Gambas-user] Error Making Rev. #5034

2012-08-12 Thread Ru Vuott
Hello, updating my Gambas-3 with Rev. #5034, I received this error: *** element.cpp: In constructor 'Element::Element(const char*, size_t)': element.cpp:47:62: error: type 'Element' is not a direct base of 'Element' make[5]: *** [gb_xml_la-element.lo] Errore 1 make[5]: uscita dalla directory

Re: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem

2012-08-12 Thread gambas
Updates: Status: Accepted Comment #6 on issue 292 by benoit.m...@gmail.com: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 I will try to make the dialog smaller if possible. But you will have the same problem with other programs!

Re: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage

2012-08-12 Thread gambas
Comment #4 on issue 305 by adrien.p...@gmail.com: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 There is no error on my system. Does it work with revision #5035 ?

Re: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem

2012-08-12 Thread gambas
Comment #7 on issue 292 by benoit.m...@gmail.com: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Is it better with revision #5036? -- Live Security Virtual Conference Exclusive live

Re: [Gambas-user] Issue 292 in gambas: Screen Resilution Problem

2012-08-12 Thread gambas
Comment #8 on issue 292 by adrien.p...@gmail.com: Screen Resilution Problem http://code.google.com/p/gambas/issues/detail?id=292 Yes, the dialog is more comfortable now, thanks. -- Live Security Virtual Conference

[Gambas-user] R: Balloons on menus

2012-08-12 Thread Ru Vuott
Hello, an option would be to put a little label next/contiguous to the menu (if, however, do not bother with other objects on the form). Then you'll write a event-routine: when the mouse enters in that label... if there's not a sub-menu (here called Menu2), then we'll be the ballon: Public Sub

[Gambas-user] R: Error Making Rev. #5034

2012-08-12 Thread Ru Vuott
Well, with rev. #5036 I had no longer that problem. --- Dom 12/8/12, Ru Vuott vu...@yahoo.it ha scritto: Da: Ru Vuott vu...@yahoo.it Oggetto: [Gambas-user] Error Making Rev. #5034 A: gambas-user@lists.sourceforge.net Data: Domenica 12 agosto 2012, 17:14 Hello, updating my Gambas-3

Re: [Gambas-user] Issue 305 in gambas: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage

2012-08-12 Thread gambas
Comment #5 on issue 305 by uale...@gmail.com: XmlReader doesn't parse the XML correctly when using depths and some empty values are contain garbage http://code.google.com/p/gambas/issues/detail?id=305 Hi Adrien, Thanks, it compiles successfully on my system now. Also the output looks great,

[Gambas-user] XML since rev. #5036

2012-08-12 Thread Karl Reinl
Salut Adrien, since rev. #5036 the attached xslt is no more a valide xml. Some minutes before on rev. #5019 and all the years before it did its job. test : DIM Xsl AS NEW XmlDocument Xsl.FromString(File.Load(xml2file.xslt)) ' -- Amicalement Charlie xml2file.xslt Description:

Re: [Gambas-user] XMLReader / XMLWriter

2012-08-12 Thread adrien . prokopowicz
Le dimanche 12 août 2012 15:50:49 Karl Reinl a écrit : Salut Adrien, for reading the XMLreader needs this syntax : Text={pYear} amp; '/' amp; format({pMonth},'0#-') Text=iif(Data_crm_Activities_classerlt;gt;'','Projekt : ','') but the XMLwriter put out the Attributs (not transformt)

Re: [Gambas-user] XML since rev. #5036

2012-08-12 Thread Adrien Prokopowicz
Le dimanche 12 août 2012 23:07:58 Karl Reinl a écrit : Salut Adrien, since rev. #5036 the attached xslt is no more a valide xml. Some minutes before on rev. #5019 and all the years before it did its job. test : DIM Xsl AS NEW XmlDocument Xsl.FromString(File.Load(xml2file.xslt))