Re: [Gambas-user] Typo on generic Makefile.am

2012-07-08 Thread Bruce
On Sun, 2012-07-08 at 23:51 -0300, Sebastian Kulesz wrote: > Hi! I found a typo on the Makefile.am the IDE uses to export > components and projects as autotools packages. > > Path: gambas3/app/src/gambas3/install/Makefile.am > Line 11 > > It is: > $(GAMBAS_path)/gba$(VERSION)) > > Should be: >

[Gambas-user] Typo on generic Makefile.am

2012-07-08 Thread Sebastian Kulesz
Hi! I found a typo on the Makefile.am the IDE uses to export components and projects as autotools packages. Path: gambas3/app/src/gambas3/install/Makefile.am Line 11 It is: $(GAMBAS_path)/gba$(VERSION)) Should be: $(GAMBAS_path)/gba$(VERSION) *note the parenthesis This prevents any project exp

Re: [Gambas-user] Complex float precision

2012-07-08 Thread Benoît Minisini
Le 09/07/2012 02:42, Adrien Prokopowicz a écrit : > Now that I finally built the gsl component, I found this : > > Print (1i * Pi()).Exp() > > ... shows -1+1,2246467991474E-16i instead of -1. I'm not surprised... Floating point errors... -- Benoît Minisini

[Gambas-user] Complex float precision

2012-07-08 Thread Adrien Prokopowicz
Now that I finally built the gsl component, I found this : Print (1i * Pi()).Exp() ... shows -1+1,2246467991474E-16i instead of -1. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's

Re: [Gambas-user] Building gb.gsl on Arch Linux

2012-07-08 Thread Adrien Prokopowicz
Le lundi 9 juillet 2012 01:56:45 Emil Lenngren a écrit : > I have the same problem on Gentoo. > > || Unable to met pkg-config requirement: libgsl > || Unable to met pkg-config requirement: libgslcblas > > However, I could still do a make and sudo make install. > > /Emil > > > 2012/7/9 Adrien P

Re: [Gambas-user] Building gb.gsl on Arch Linux

2012-07-08 Thread Emil Lenngren
I have the same problem on Gentoo. || || Unable to met pkg-config requirement: libgsl || Unable to met pkg-config requirement: libgslcblas || However, I could still do a make and sudo make install. /Emil 2012/7/9 Adrien Prokopowicz > Hi, > > I noticed that I could'nt build gb.gsl on archlinu

[Gambas-user] Building gb.gsl on Arch Linux

2012-07-08 Thread Adrien Prokopowicz
Hi, I noticed that I could'nt build gb.gsl on archlinux, because pkg-config does not find the libgsl and libgslcblas packages (on arch the 3 packages are in the gsl package). I solved the problem on my machine by doing this : @@ -4,13 +4,9 @@ AC_CONFIG_MACRO_DIR([m4]) GB_INIT(gb.gsl) AC_PROG_

Re: [Gambas-user] Gambas has Gosub now!

2012-07-08 Thread Emil Lenngren
Just store it inside a T_POINTER? val->type = T_POINTER; val->_pointer.value = PC; Or whatever big enough datatype that doesn't do anything on RELEASE. 2012/7/9 Benoît Minisini > Le 09/07/2012 00:13, Emil Lenngren a écrit : > > I have a little optimization idea: > > > > Instead of allocating a

Re: [Gambas-user] Gambas has Gosub now!

2012-07-08 Thread Benoît Minisini
Le 09/07/2012 00:13, Emil Lenngren a écrit : > I have a little optimization idea: > > Instead of allocating a new array EVERY time a gosub is called, instead use > the normal gambas stack. > First, let GP represent the offset 0 in &BP[fp->n_local + fp->n_ctrl]. > > At a gosub, run STACK_check(1 + f

Re: [Gambas-user] Gambas has Gosub now!

2012-07-08 Thread Emil Lenngren
I have a little optimization idea: Instead of allocating a new array EVERY time a gosub is called, instead use the normal gambas stack. First, let GP represent the offset 0 in &BP[fp->n_local + fp->n_ctrl]. At a gosub, run STACK_check(1 + fp->stack_usage - fp->n_local), then the return address an

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

2012-07-08 Thread Jussi Lahtinen
OK. I use gmail and so I didn't see the problem. My thought was to keep these JIT bugs in same thread, but you are right. Jussi On 6 July 2012 18:44, Benoît Minisini wrote: > Le 06/07/2012 17:35, Jussi Lahtinen a écrit : > > Just quick info before I leave for couple days... > > ... > > Can

Re: [Gambas-user] libraries and gambas3

2012-07-08 Thread Charlie Reinl
Am Sonntag, den 08.07.2012, 14:46 +0200 schrieb Benoît Minisini: > Le 08/07/2012 12:03, Karl Reinl a écrit : > > Salut, > > > > a library which is used by a library, is not loaded into the IDE. > > > > That was the cause of 'cannot find library crashes the IDE' > > > > > > Mmm... What do you mean

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

2012-07-08 Thread gambas
Comment #9 on issue 257 by ea7...@gmail.com: Database password retrieval error and abort in IDE http://code.google.com/p/gambas/issues/detail?id=257 Although I was able to bypass the issue by deleting and recreating the connection file (in the gambasforge project) here is a bit of information

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

2012-07-08 Thread gambas
Comment #8 on issue 257 by ea7...@gmail.com: Database password retrieval error and abort in IDE http://code.google.com/p/gambas/issues/detail?id=257 Hi Danny Indeed, I was using latest revision 3 hours ago. Just in case I've updated to latest one (#4909) and the error persists. I've disabled

Re: [Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

2012-07-08 Thread gambas
Comment #17 on issue 268 by benoit.m...@gmail.com: Can call non-static _unknown from a static context http://code.google.com/p/gambas/issues/detail?id=268 It should be fixed in revision #4907. -- Live Security Virtual

Re: [Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

2012-07-08 Thread gambas
Comment #16 on issue 268 by emil.len...@gmail.com: Can call non-static _unknown from a static context http://code.google.com/p/gambas/issues/detail?id=268 Yes there is a memory leak in the last revision: Public Function _property() As Boolean Return True End Public Function _unknown(...) A

Re: [Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

2012-07-08 Thread gambas
Updates: Status: Fixed Comment #15 on issue 268 by benoit.m...@gmail.com: Can call non-static _unknown from a static context http://code.google.com/p/gambas/issues/detail?id=268 Fixed in revision #4906. -- Liv

Re: [Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

2012-07-08 Thread gambas
Comment #14 on issue 268 by emil.len...@gmail.com: Can call non-static _unknown from a static context http://code.google.com/p/gambas/issues/detail?id=268 I should also mention that, if you look at line 110 to 114 in gbx_exec.c, it seems like the object is not released if the unknown function

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

2012-07-08 Thread gambas
Comment #7 on issue 257 by green.da...@gmail.com: Database password retrieval error and abort in IDE http://code.google.com/p/gambas/issues/detail?id=257 To ea7...@gmail.com, you might try compiling from the latest svn. I had the same problem while using Mate and the problem was resolved. I a

Re: [Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

2012-07-08 Thread gambas
Updates: Status: Started Labels: -Type-Crash Type-Bug Comment #13 on issue 268 by benoit.m...@gmail.com: Can call non-static _unknown from a static context http://code.google.com/p/gambas/issues/detail?id=268 (No comment was entered for this change.) --

Re: [Gambas-user] libraries and gambas3

2012-07-08 Thread Benoît Minisini
Le 08/07/2012 12:03, Karl Reinl a écrit : > Salut, > > a library which is used by a library, is not loaded into the IDE. > > That was the cause of 'cannot find library crashes the IDE' > > Mmm... What do you mean exactly? -- Benoît Minisini

Re: [Gambas-user] properties, libraries and the IDE

2012-07-08 Thread Benoît Minisini
Le 08/07/2012 12:00, Karl Reinl a écrit : > Salut Benoît, > > the IDE (rev 4901) now always claims "Some components are missing" if > you enter into project properties. > > In FPropertyProject.class/RefreshComponents at Line 420 'if aNotFound > then' and aNotFound is nothing or null or empty (only

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

2012-07-08 Thread gambas
Comment #6 on issue 257 by ea7...@gmail.com: Database password retrieval error and abort in IDE http://code.google.com/p/gambas/issues/detail?id=257 I am also in the same situation. I wan to set up a code forge for the Spanish Community using gambasForge, but I'm facing the same problems. Ga

[Gambas-user] libraries and gambas3

2012-07-08 Thread Karl Reinl
Salut, a library which is used by a library, is not loaded into the IDE. That was the cause of 'cannot find library crashes the IDE' -- Amicalement Charlie -- Live Security Virtual Conference Exclusive live event wil

[Gambas-user] properties, libraries and the IDE

2012-07-08 Thread Karl Reinl
Salut Benoît, the IDE (rev 4901) now always claims "Some components are missing" if you enter into project properties. In FPropertyProject.class/RefreshComponents at Line 420 'if aNotFound then' and aNotFound is nothing or null or empty (only declared and all found) Think should 'if aNotFound.c

Re: [Gambas-user] More on overriding native classes

2012-07-08 Thread Fabien Bodard
2012/7/4 Benoît Minisini > Le 04/07/2012 07:55, Fabien Bodard a écrit : > > why if the class have the same name of an existing one you not just > ignore > > the 'inherit' keyword, Benoit ? > > > > Because the compiler does not know that a class with the same name > already exists at compile time.