Re: [Gambas-user] Error with XmlWriter tag in gb.xml (indent)

2012-06-19 Thread Emanuele Sottocorno
Hi Adrien, as you suggested in your reply in Gambas-It forum I'll try to make the analysis easier, facing one problem at a time. Inside the attached tar you can find a very simple project that produce a very little xml file and the outputs produced by gb.xml vs gb.libxml. Open both file with cat/mo

Re: [Gambas-user] [gb.eval.highlight] Spaces and syntax highlighting

2012-06-19 Thread Adrien Prokopowicz
Le dimanche 17 juin 2012 19:59:32 Benoît Minisini a écrit : > Le 17/06/2012 15:49, Adrien Prokopowicz a écrit : > > Le dimanche 17 juin 2012 15:38:22 Benoît Minisini a écrit : > >> Le 12/06/2012 23:52, Adrien Prokopowicz a écrit : > >>> Hi, > >>> > >>> I noticed that the Higlight.Analyze() method

Re: [Gambas-user] Bug with JIT and external functions

2012-06-19 Thread Emil Lenngren
Is revision #4851 useful for you? You can now convert functions in the current running class to pointers. /Emil 2012/6/19 Emil Lenngren > It should work in the latest revision :) > > > 2012/6/19 Emil Lenngren > >> If you want a quick workaround, you can have non-fast method that creates >> a c

Re: [Gambas-user] Bug with JIT and external functions

2012-06-19 Thread Emil Lenngren
It should work in the latest revision :) 2012/6/19 Emil Lenngren > If you want a quick workaround, you can have non-fast method that creates > a callback, and immediately returns it, like: > > Private Function GenerateCallback() As Pointer > Return CallbackFunction > End > > Fast Private Funct

Re: [Gambas-user] Bug with JIT and external functions

2012-06-19 Thread Emil Lenngren
If you want a quick workaround, you can have non-fast method that creates a callback, and immediately returns it, like: Private Function GenerateCallback() As Pointer Return CallbackFunction End Fast Private Function CallbackFunction() ... End Extern extfunc(cb As Pointer) In "somelib" Fast P

Re: [Gambas-user] Bug with JIT and external functions

2012-06-19 Thread Jussi Lahtinen
No problem, I'm glad to help making Gambas more robust, when ever I have time to do so! And testing things seems to be easy contribution for me... My project has about 120 000 lines of code. And I try JIT with every module and class of it. So I think I will find more bugs... But in some point I mu

Re: [Gambas-user] Bug with JIT and external functions

2012-06-19 Thread Emil Lenngren
Hi. Kiitos for another bug report :) Hmm.. I forgot that classes can override extern methods as well. That's where the real problem is. /Emil 2012/6/19 Jussi Lahtinen > More bugs... > > Make shared library (just dummy example [or just use binary that is > included with project source]); > > #i

Re: [Gambas-user] Bug with JIT and external functions

2012-06-19 Thread Jussi Lahtinen
More bugs... Make shared library (just dummy example [or just use binary that is included with project source]); #include int yEta(int x1, int y1, int x2, int y2) {return (int) hypot(x1-x2,y1-y2);} Then run the attached project. With JIT, number of arguments is counted wrong. Jussi

Re: [Gambas-user] Bug with JIT and external functions

2012-06-19 Thread Jussi Lahtinen
Yes, it works now! Jussi On 18 June 2012 22:34, Emil Lenngren wrote: > Does it work in revision #4847? > > /Emil > > 2012/6/18 Jussi Lahtinen > > > Starting program: /usr/local/bin/gbx3 > > [Thread debugging using libthread_db enabled] > > Using host libthread_db library > "/lib/x86_64-linux

[Gambas-user] Package creation failed to include gambas dependencies.

2012-06-19 Thread sundar j
Some how i managed to complete my first project in gambas. Now I am trying to build a .deb package for Ubuntu but struck there. As indicated by Google this question has been asked many time in various forum and threads and (they) found solution. However the solution did not work for me. The qu

Re: [Gambas-user] Issue 257 in gambas: Database password retrieval error and abort in IDE

2012-06-19 Thread gambas
Comment #4 on issue 257 by benoit.m...@gmail.com: Database password retrieval error and abort in IDE http://code.google.com/p/gambas/issues/detail?id=257 So that's not that (gnome keyring is a Gnome2 thing). Do you see any reason why your gnome keyring cannot be accessed? --

Re: [Gambas-user] Issue 258 in gambas: Expander and slider combo issues

2012-06-19 Thread gambas
Updates: Status: Accepted Comment #3 on issue 258 by benoit.m...@gmail.com: Expander and slider combo issues http://code.google.com/p/gambas/issues/detail?id=258 OK, I see. The SidePanel handle width is proportional to the font size. As you use a big font, it covers almost entirely th

Re: [Gambas-user] Issue 257 in gambas: Database password retrieval error and abort in IDE

2012-06-19 Thread gambas
Comment #3 on issue 257 by r...@cyberjunky.nl: Database password retrieval error and abort in IDE http://code.google.com/p/gambas/issues/detail?id=257 I'm running Ubuntu 11.04, so I'm still at the default Gnome 2.32.1 I know I must upgrade but I have a hard time getting to install Gambas2 the

Re: [Gambas-user] Issue 258 in gambas: Expander and slider combo issues

2012-06-19 Thread gambas
Comment #2 on issue 258 by r...@cyberjunky.nl: Expander and slider combo issues http://code.google.com/p/gambas/issues/detail?id=258 See attached file, the area in which I can control the slider instead of the expander, is only the 2-3 mm's between the red arrows...quite unworkable, I know