[Gambas-user] Button - Default Property - Doubt

2011-01-03 Thread vikram
Hi, Thanks for the reply on the Spinbox issue :) Heres another issue i faced recently, I had set the default property for a button on one of the forms of my project. This would allow the user to press the enter key instead of clicking the said button. Trouble is that even if another button ha

[Gambas-user] firmata protocol gambas

2011-01-03 Thread wally
Firmata is a generic protocol for communicating with microcontrollers from software on a host computer. Are there any efforts known to implement firmata protocol for Gambas ? Is anybody interested in gambas_firmata at all ? http://www.firmata.org/wiki/Main_Page wally --

[Gambas-user] Issue 8 in gambas: GTK+ label is visible when visible=false and autoresize=true

2011-01-03 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any New issue 8 by zachsmith022: GTK+ label is visible when visible=false and autoresize=true http://code.google.com/p/gambas/issues/detail?id=8 1) When a label visible property is set to fals

Re: [Gambas-user] signal 11 from menus

2011-01-03 Thread Benoît Minisini
> > The crash comes from the fact that the Menu Show event is raised just > before showing the menu. And during that event, you are clearing the menu > that is being show. Qt4 does not like that (neither GTK+). > > Maybe I should prevent that with a internal flag... > > Regards, Actually someti

Re: [Gambas-user] signal 11 from menus

2011-01-03 Thread Benoît Minisini
> I'm not filing this as a bug as I'm not sure it is. > A segfault is normally a bug. Gambas should never segfault. :-) > The project Richard and I work on was segfaulting when opening a submenu. > I enclose the stacktrace from GDB and a small project that elicits it. > As you can see from the p

Re: [Gambas-user] Inconsistency with floating point notation.

2011-01-03 Thread Benoît Minisini
> Little problem with floating points... as you can see (below) -2E-16 is non > zero, > but if you write same value with other notation (-0.0002) it > will be interpreted as zero. > It should be fixed in revision #3439. Regards, -- Benoît Minisini -

Re: [Gambas-user] Sudden IDE bug > unable to load my project > gambas vaporises.

2011-01-03 Thread richard terry
On Tuesday 04 January 2011 00:13:02 Benoît Minisini wrote: > > Mm.Help. > > > > Ok, deep breath. > > > > I'd done two things > > > > 1) Set an argument in the project properties, which was just a flag, and > > working fine. > > > > 2) I'd created a new menu using the me

Re: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread gambas
Comment #7 on issue 6 by benoit.minisini: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 Putting the valgrind output back from the mailing-list... Attachments: valg.out 7.7 KB -- Learn

Re: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread Emanuele Sottocorno
Forgive me... Il giorno lun, 03/01/2011 alle 20.22 +, gam...@googlecode.com ha scritto: > Comment #6 on issue 6 by benoit.minisini: signal #11 with Gtk+ > http://code.google.com/p/gambas/issues/detail?id=6 > > I don't see the valgrind output... > > >

[Gambas-user] Inconsistency with floating point notation.

2011-01-03 Thread Jussi Lahtinen
Little problem with floating points... as you can see (below) -2E-16 is non zero, but if you write same value with other notation (-0.0002) it will be interpreted as zero. If -0.000166533453693773 > -2E-16 Then Debug "First is bigger." Endif If -0.0001665334536

Re: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread gambas
Comment #6 on issue 6 by benoit.minisini: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 I don't see the valgrind output... -- Learn how Oracle Real Application Clusters (RAC) One Node allows cu

Re: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread gambas
Comment #5 on issue 6 by sotema: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 Compiled as you suggested. Output from valgrind attached Hope this help. -- Learn how Oracle Real Application Clus

Re: [Gambas-user] KeyPress event with grid view

2011-01-03 Thread Benoît Minisini
> Hi and Happy new year ! > > With a grid view on a form I can get KeyPress event. It's fine. > But with a grid view contained in a vsplit view, no KeyPress event. I tried > KeyPress whit VSplit view, same result. > Is it a bug or I forgot setting something? > Gambas 2.22 on Fedora 14 GNOME. Can

Re: [Gambas-user] Spinbox issue

2011-01-03 Thread Benoît Minisini
> Hi, > > I am using Gambas2.21, on Debian Squeeze, attached is an application that > uses GB.GTK. The form has a spinbox an a button, the user can key in > values into the spinbox(not just do so by using the mouse to click on the > up and down arrows). The form also has a button with Default prop

Re: [Gambas-user] Gambas3 can't read single datatype from file.

2011-01-03 Thread Benoît Minisini
> Hi Benoit. > While trying to read binary file I found that reading the single datatype > from file gives me constant value of 00E-312, no matter what is in the > file, while it works fine in Gambas2. Am I doing something wrong? > > Read #model_file, s 's is declared with - Dim s As Singl

[Gambas-user] Issue 7 in gambas: font size of tabstrip control inherited by child controls

2011-01-03 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any New issue 7 by zachsmith022: font size of tabstrip control inherited by child controls http://code.google.com/p/gambas/issues/detail?id=7 1) If you add a label, textlabel, or button to a t

Re: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread gambas
Comment #4 on issue 6 by benoit.minisini: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 No, I mean doing: $ make "CFLAGS=-O0 -g" "CXXFLAGS=-O0 -g" instead of just "make". That way, you don't have to run ./configure again. And you can use "valgrind" to get more usef

Re: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread gambas
Comment #3 on issue 6 by sotema: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 Il giorno lun, 03/01/2011 alle 14.59 +, gam...@googlecode.com ha scritto: do you mean configure --enable-opt=no ? i tried it with rev 3436 and got the following: when close the wizard th

Re: [Gambas-user] Some new features in Gambas 3

2011-01-03 Thread Benoît Minisini
> I think native functions should be for general use only. > And I don't think MkXXX$() functions now represents good practice to be > used as now intended. > If your software runs on linux (what else?), you probably still need to > write these functions by your self > to correct endianess accordin

Re: [Gambas-user] Some new features in Gambas 3

2011-01-03 Thread Jussi Lahtinen
I think native functions should be for general use only. And I don't think MkXXX$() functions now represents good practice to be used as now intended. If your software runs on linux (what else?), you probably still need to write these functions by your self to correct endianess accordingly to sende

Re: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread gambas
Updates: Labels: -Version Version-TRUNK Comment #2 on issue 6 by benoit.minisini: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 (No comment was entered for this change.) -- Learn how Or

Re: [Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread gambas
Updates: Status: NeedsInfo Comment #1 on issue 6 by benoit.minisini: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 That backtrace is theoritically impossible. :-) Can you recompile Gambas with no optimization, and try to get a new backtrace again? --

Re: [Gambas-user] Sudden IDE bug > unable to load my project > gambas vaporises.

2011-01-03 Thread Benoît Minisini
> Mm.Help. > > Ok, deep breath. > > I'd done two things > > 1) Set an argument in the project properties, which was just a flag, and > working fine. > > 2) I'd created a new menu using the menu editor, just a single menu item > with no children. I then tried to assi

Re: [Gambas-user] Issue 3 in gambas: gtk+ problem with scrollbar maximum

2011-01-03 Thread gambas
Updates: Status: Fixed Comment #5 on issue 3 by benoit.minisini: gtk+ problem with scrollbar maximum http://code.google.com/p/gambas/issues/detail?id=3 Fixed in revision #3435 -- Learn how Oracle Real Applicat

Re: [Gambas-user] Issue 5 in gambas: GUI crash on menu editor

2011-01-03 Thread gambas
Updates: Status: Fixed Comment #3 on issue 5 by benoit.minisini: GUI crash on menu editor http://code.google.com/p/gambas/issues/detail?id=5 Fixed in revision #3434 -- Learn how Oracle Real Application Clusters

Re: [Gambas-user] Project translation: a request

2011-01-03 Thread Benoît Minisini
> Hi to the gambists ! > > I have an almost complete translation of all the messages of a GAMBAS > project from French to Spanish now I would like to translate the same > to Italian > > For me it would be much easier to translate from Spanish to Italian but the > translation window prese

Re: [Gambas-user] Gambas3, Byref is not working

2011-01-03 Thread Demosthenes Koptsis
oops i found it. i had to do this IncrementVariable2(ByRef Number1) On Mon, 2011-01-03 at 12:35 +0100, Benoît Minisini wrote: > > Hi, > > > > i made an example for BYREF but it is not working > > > > > > ' Gambas class file > > > > Public Sub Form_Open() >

[Gambas-user] signal 11 from menus

2011-01-03 Thread Ian Haywood
I'm not filing this as a bug as I'm not sure it is. The project Richard and I work on was segfaulting when opening a submenu. I enclose the stacktrace from GDB and a small project that elicits it. As you can see from the project, the cause is generating the submenu structure twice, the second time

Re: [Gambas-user] Gambas3, Byref is not working

2011-01-03 Thread Benoît Minisini
> Hi, > > i made an example for BYREF but it is not working > > > ' Gambas class file > > Public Sub Form_Open() > > Dim Number1 As Integer > > Number1 = 10 > > IncrementVariable1(Number1) > > Print Number1 > > IncrementVariable2(Number1) > > Pr

[Gambas-user] Gambas3, Byref is not working

2011-01-03 Thread Demosthenes Koptsis
Hi, i made an example for BYREF but it is not working ' Gambas class file Public Sub Form_Open() Dim Number1 As Integer Number1 = 10 IncrementVariable1(Number1) Print Number1 IncrementVariable2(Number1) Print Number1 End Private Su

[Gambas-user] Issue 6 in gambas: signal #11 with Gtk+

2011-01-03 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any New issue 6 by sotema: signal #11 with Gtk+ http://code.google.com/p/gambas/issues/detail?id=6 1) Describe the problem. Closing a Wizard, when start the Main Form the project crashes with

[Gambas-user] Little project with the menu problem > will vaporise gambas

2011-01-03 Thread richard terry
Hi benoit, This little project will show that a menu generated by the menu editor (menu5 - if you look at the form and checkout the menu editor) is not available in the list of popup menu's. After I closed this project and tried to re-load it the project won't load - gambas starts and it di

Re: [Gambas-user] Issue 5 in gambas: GUI crash on menu editor

2011-01-03 Thread gambas
Comment #2 on issue 5 by ihaywood3: GUI crash on menu editor http://code.google.com/p/gambas/issues/detail?id=5 Index: comp/src/gb.settings/.src/Settings.class === --- comp/src/gb.settings/.src/Settings.class(revision 3432) +++ c

[Gambas-user] Gambas3 can't read single datatype from file.

2011-01-03 Thread Tomek
Hi Benoit. While trying to read binary file I found that reading the single datatype from file gives me constant value of 00E-312, no matter what is in the file, while it works fine in Gambas2. Am I doing something wrong? Read #model_file, s 's is declared with - Dim s As Single All oth

Re: [Gambas-user] Issue 5 in gambas: GUI crash on menu editor

2011-01-03 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 5 by benoit.minisini: GUI crash on menu editor http://code.google.com/p/gambas/issues/detail?id=5 (No comment was entered for this change.) --

[Gambas-user] Issue 5 in gambas: GUI crash on menu editor

2011-01-03 Thread gambas
Status: New Owner: benoit.minisini Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any New issue 5 by ihaywood3: GUI crash on menu editor http://code.google.com/p/gambas/issues/detail?id=5 1) Describe the problem. Clicking on the menu editor button in the form edit