Re: [Gambas-user] Window position error on applying stored "geometry"

2012-06-02 Thread RICHARD WALKER
On 03/06/2012, Bruce wrote: > On Sun, 2012-06-03 at 01:24 +0100, RICHARD WALKER wrote: >> Using Gambas 3.1.1 as distributed with Mageia 2. I believe it may be >> somewhat patched as it includes Mageia in the packaging wizard >> distribution selection screen. > No, Mageia is in the original. Ah, O

Re: [Gambas-user] Window position error on applying stored "geometry"

2012-06-02 Thread Bruce
On Sun, 2012-06-03 at 01:24 +0100, RICHARD WALKER wrote: > Using Gambas 3.1.1 as distributed with Mageia 2. I believe it may be > somewhat patched as it includes Mageia in the packaging wizard > distribution selection screen. No, Mageia is in the original. > I have a small front-end program for co

Re: [Gambas-user] New feature in Gambas 3

2012-06-02 Thread Benoît Minisini
Le 24/05/2012 21:24, Jussi Lahtinen a écrit : > Unfortunately I still got the signal 6 with rev 4772. > Xubuntu 12.04 64bit. > > *** buffer overflow detected ***: ProfilerBug terminated > === Backtrace: = > /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f4d30bcc007] > ... Do

[Gambas-user] Window position error on applying stored "geometry"

2012-06-02 Thread RICHARD WALKER
Using Gambas 3.1.1 as distributed with Mageia 2. I believe it may be somewhat patched as it includes Mageia in the packaging wizard distribution selection screen. I have a small front-end program for controlling jack_capture for which I have implemented a .conf settings file. Amongst other things,

Re: [Gambas-user] Issue 251 in gambas: Fedora 17 Required Development Packages

2012-06-02 Thread gambas
Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 251 by benoit.m...@gmail.com: Fedora 17 Required Development Packages http://code.google.com/p/gambas/issues/detail?id=251 Done. --

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Ru Vuott
script = ms 1130 shared library = ms 1300 --- Dom 3/6/12, Emil Lenngren ha scritto: > Da: Emil Lenngren > Oggetto: Re: [Gambas-user] "shared library" (with inline assembler code) is > slow... > A: "mailing list for gambas users" > Data: Domenica 3 giugno 2012, 01:54 > ... And how big is t

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Emil Lenngren
... And how big is the difference if you put in 2 billion instead? :) 2012/6/3 Ru Vuott > Excuse me, Emil, I have written a mistake: > well, if I send 1 billion with script in terminal, I receive about: ms 570 > > with shared library in gambas I confirm about. 655 > > > Difference: ms 100 > > >

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Ru Vuott
Excuse me, Emil, I have written a mistake: well, if I send 1 billion with script in terminal, I receive about: ms 570 with shared library in gambas I confirm about. 655 Difference: ms 100 --- Dom 3/6/12, Emil Lenngren ha scritto: > Da: Emil Lenngren > Oggetto: Re: [Gambas-user] "shared li

[Gambas-user] Problems with current Gambas 3 packaging

2012-06-02 Thread Benoît Minisini
Hi, There are problems with current gambas 3 packaging. So I have updated the "How to package Gambas" page on the wiki, that describes the packaging specifications. The changes are: * gb.gui, gb.gui.opengl are part of gambas3-runtime, and do not depend on any other package. These components w

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Emil Lenngren
What happens if you put 2 billions instead? 2012/6/3 Ru Vuott > If I run that code via script in my Terminal, passing to it a value of 1 > billion (it has to count from 0 to 1 billion), I have a result about 60 > millisecond. > If I create a shared library, and I use it in Gambas (...passing 1 >

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Ru Vuott
If I run that code via script in my Terminal, passing to it a value of 1 billion (it has to count from 0 to 1 billion), I have a result about 60 millisecond. If I create a shared library, and I use it in Gambas (...passing 1 billion...), in gambas console I have about 655 millisecond !!! :-O .

Re: [Gambas-user] Issue 253 in gambas: GTK++ toolkit only

2012-06-02 Thread gambas
Comment #5 on issue 253 by xakep...@gmail.com: GTK++ toolkit only http://code.google.com/p/gambas/issues/detail?id=253 OK. Thank you for your time! -- Live Security Virtual Conference Exclusive live event will cover all

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Emil Lenngren
Is the function itself slow or is it slow because of the call overhead of libffi? /Emil 2012/6/3 Ru Vuott > Hello Benoit, > > simply for a test I've made this simple C "shared library" .so (with > inline assembler code). I noted that if I use it from a Gambas program > (with Extern) it's very s

[Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Ru Vuott
Hello Benoit, simply for a test I've made this simple C "shared library" .so (with inline assembler code). I noted that if I use it from a Gambas program (with Extern) it's very slow. Why? static unsigned int car asm("raxregistro"); static unsigned int cbr asm("rbxregistro"); int hello(

Re: [Gambas-user] Issue 253 in gambas: GTK++ toolkit only

2012-06-02 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #4 on issue 253 by benoit.m...@gmail.com: GTK++ toolkit only http://code.google.com/p/gambas/issues/detail?id=253 OK. There are bugs in the binary packages apparently. gb.gui and gb.form must not depend on gb.qt4.

Re: [Gambas-user] Issue 253 in gambas: GTK++ toolkit only

2012-06-02 Thread gambas
Comment #3 on issue 253 by xakep...@gmail.com: GTK++ toolkit only http://code.google.com/p/gambas/issues/detail?id=253 No, there is. Altough the project doesn't use the gb.gui and gb.qt4 they are still required for it to run. Another thing is that I am conused by the gambas3-gb-form and gamb

Re: [Gambas-user] cant start Gambas3 as user

2012-06-02 Thread Benoît Minisini
Le 02/06/2012 21:39, b3tchi a écrit : > > its the latest version 3.1.1 in both cases (ppa and manual compilation with > checkinstall) > ppa is https://launchpad.net/~nemh/+archive/gambas3/+packages > https://launchpad.net/~nemh/+archive/gambas3/+packages > The bug may have been fixed in /trunk. S

Re: [Gambas-user] cant start Gambas3 as user

2012-06-02 Thread b3tchi
Benoît Minisini wrote: > > Le 02/06/2012 21:20, b3tchi a écrit : >> >> here is the console >> >> b3tchi@b3tchi-Compaq-Mini-311-1000:~/Documents$ gambas3 >> gb.qt4: warning: unable to load Qt translation: en_US.UTF-8 >> Project.IsAdded.5122: #13: Null object >> 1: FWelcome.Run.33 >> 2: Project.M

Re: [Gambas-user] cant start Gambas3 as user

2012-06-02 Thread Benoît Minisini
Le 02/06/2012 21:20, b3tchi a écrit : > > here is the console > > b3tchi@b3tchi-Compaq-Mini-311-1000:~/Documents$ gambas3 > gb.qt4: warning: unable to load Qt translation: en_US.UTF-8 > Project.IsAdded.5122: #13: Null object > 1: FWelcome.Run.33 > 2: Project.Main.282 > b3tchi@b3tchi-Compaq-Mini-311

Re: [Gambas-user] cant start Gambas3 as user

2012-06-02 Thread b3tchi
here is the console b3tchi@b3tchi-Compaq-Mini-311-1000:~/Documents$ gambas3 gb.qt4: warning: unable to load Qt translation: en_US.UTF-8 Project.IsAdded.5122: #13: Null object 1: FWelcome.Run.33 2: Project.Main.282 b3tchi@b3tchi-Compaq-Mini-311-1000:~/Docume

Re: [Gambas-user] Issue 71 in gambas: Signal #11

2012-06-02 Thread gambas
Comment #7 on issue 71 by benoit.m...@gmail.com: Signal #11 http://code.google.com/p/gambas/issues/detail?id=71 Hi, Do you still have the crash? -- Live Security Virtual Conference Exclusive live event will cover all t

Re: [Gambas-user] Issue 249 in gambas: cell height in gridrow can not be set to -1 for autoheight

2012-06-02 Thread gambas
Updates: Status: Fixed Comment #4 on issue 249 by benoit.m...@gmail.com: cell height in gridrow can not be set to -1 for autoheight http://code.google.com/p/gambas/issues/detail?id=249 Fixed in revision #4804. Now setting a row height to -1 makes it fit its contents.

Re: [Gambas-user] Issue 249 in gambas: cell height in gridrow can not be set to -1 for autoheight

2012-06-02 Thread gambas
Updates: Status: Accepted Labels: -Type-Bug Type-Enhancement Comment #3 on issue 249 by benoit.m...@gmail.com: cell height in gridrow can not be set to -1 for autoheight http://code.google.com/p/gambas/issues/detail?id=249 (No comment was entered for this change.)

Re: [Gambas-user] cant start Gambas3 as user

2012-06-02 Thread Benoît Minisini
Le 02/06/2012 20:59, b3tchi a écrit : > > Hi > I' m struggling with error during start of gambas3. Welcome screen shows but > in second after that a get this message box: > > This application has raised an unexpected > error and must abort. > > [13] Null object. > Project.IsAdded.5122 > > this prob

[Gambas-user] cant start Gambas3 as user

2012-06-02 Thread b3tchi
Hi I' m struggling with error during start of gambas3. Welcome screen shows but in second after that a get this message box: This application has raised an unexpected error and must abort. [13] Null object. Project.IsAdded.5122 this problems apears just when i try to run Gambas3 as user when

Re: [Gambas-user] Installing runtime in Centos6

2012-06-02 Thread Jesus
El 02/06/12 14:41, Bruce escribió: > On Sat, 2012-06-02 at 14:03 +0200, Jesus wrote: >> Hi all >> >> Well, a friend of mine is running into problems to have the Gambas3 >> runtime installed on a VPS server running Centos6. >> >> It seems to be a kind of mismatch with libc6 versions, so if someone >

Re: [Gambas-user] gb.qt4 compilation time

2012-06-02 Thread Benoît Minisini
Le 02/06/2012 19:08, Adrien Prokopowicz a écrit : > Hi all, > > Since a few weeks I found that the gb.qt4 component takes a lot of time to > compile. I was wondering why and I found that there were a lot of #includes in > CWindow.h (as in many other .h files) : > > #include > #include > #include >

[Gambas-user] gb.qt4 compilation time

2012-06-02 Thread Adrien Prokopowicz
Hi all, Since a few weeks I found that the gb.qt4 component takes a lot of time to compile. I was wondering why and I found that there were a lot of #includes in CWindow.h (as in many other .h files) : #include #include #include #include #include #include #include #include #include #in

Re: [Gambas-user] Templates

2012-06-02 Thread Emil Lenngren
That .net thing is generics, not templates. C++ has real templates, i.e. different versions of the code is compiled for each template parameters. In java and .net generics, only one version of the code is compiled, and in java, generics are only "syntax sugar" for casting things to and from the "Ob

Re: [Gambas-user] Issue 253 in gambas: GTK++ toolkit only

2012-06-02 Thread gambas
Comment #2 on issue 253 by benoit.m...@gmail.com: GTK++ toolkit only http://code.google.com/p/gambas/issues/detail?id=253 So there is no bug? -- Live Security Virtual Conference Exclusive live event will cover all the w

Re: [Gambas-user] Templates

2012-06-02 Thread Demosthenes Koptsis
Στις 2/6/2012 17:07, ο/η Benoît Minisini έγραψε: > Le 02/06/2012 07:13, Demosthenes Koptsis a écrit : >> Hello list, >> >> i want to ask if there is a future plan to implement Templates in Gambas >> like .net >> >> example >> >> http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx#Y0 >> >> 'Declar

Re: [Gambas-user] Silly behavior on Mageia 2

2012-06-02 Thread Benoît Minisini
Le 01/06/2012 19:13, M. Cs. a écrit : > 1. UTF-8 -> charset > 2. hu_HU.UTF-8 -> language > Do you have some examples of Exist() failing to find a file? -- Benoît Minisini -- Live Security Virtual Conference Exclusive

Re: [Gambas-user] Templates

2012-06-02 Thread Benoît Minisini
Le 02/06/2012 07:13, Demosthenes Koptsis a écrit : > Hello list, > > i want to ask if there is a future plan to implement Templates in Gambas > like .net > > example > > http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx#Y0 > > 'Declaration >_ > Public Class List(Of T) _ > Implements

Re: [Gambas-user] Installing runtime in Centos6

2012-06-02 Thread Bruce
On Sat, 2012-06-02 at 14:03 +0200, Jesus wrote: > Hi all > > Well, a friend of mine is running into problems to have the Gambas3 > runtime installed on a VPS server running Centos6. > > It seems to be a kind of mismatch with libc6 versions, so if someone > have a clue about what's going on here

[Gambas-user] Installing runtime in Centos6

2012-06-02 Thread Jesus
Hi all Well, a friend of mine is running into problems to have the Gambas3 runtime installed on a VPS server running Centos6. It seems to be a kind of mismatch with libc6 versions, so if someone have a clue about what's going on here, he will be grateful. This is a grep for libc related packag