[Gambas-user] Issue 593 in gambas: Circular reference non-free when project closed

2015-01-02 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 593 by r...@cyberjunky.nl: Circular reference non-free when project closed https://code.google.com/p/gambas/issues/detail?id=593 _ 1) Describe the problem. When GUI

Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
The issue is already present in this revision: $ gbx3 --version 3.6.90 r6754 We do need to go back further in revisions, any suggestions? Is seems to occur when I'm writing some text (log) to an textarea on another form than FMain while closing The very last command in Form_Close Not

Re: [Gambas-user] R: SDL2 : Channel Class has not property nor metods...

2015-01-02 Thread Ru Vuott
Ok, I understand, but my problem is: with the old gb.sdl.sound component if I wanted to use .Stop() method to stop the playing, i can put on the Form a Button and in Button_Click() event i can write .Stop() method. Now, with SDL2 how can I create a Button and its active _Click() event ?

Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 11:56, Ron a écrit : No I didn't de-install it, thinking it will overwrite everything.. like it did in the past ;P There was indeed an older gb.net.smtp.so* set under /usr/lib/gambas3 After delete and sudo make install of trunk it works ok. The sudo install was needed otherwise

Re: [Gambas-user] Issue 592 in gambas: Circular crash invalid pointer segfault 11

2015-01-02 Thread gambas
Comment #3 on issue 592 by r...@cyberjunky.nl: Circular crash invalid pointer segfault 11 https://code.google.com/p/gambas/issues/detail?id=592 I have deleted everything from my project except the parts which cause the issue. Like written before, this issue isn't present in 3.6.2. Just open

Re: [Gambas-user] R: SDL2 : Channel Class has not property nor metods...

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 10:49, Benoît Minisini a écrit : Le 02/01/2015 10:39, Ru Vuott a écrit : Uhmmm another question/problem: With old gb.sdl.sound we can use also graphic components. Now, the new gb.sdl2.audio is not compatible with gb.gui, gb.gtk, gb.gtk3 and gb.qt4 ! Regards vuott

Re: [Gambas-user] R: SDL2 : Channel Class has not property nor metods...

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 12:55, Ru Vuott a écrit : Ok, I understand, but my problem is: with the old gb.sdl.sound component if I wanted to use .Stop() method to stop the playing, i can put on the Form a Button and in Button_Click() event i can write .Stop() method. Now, with SDL2 how can I create a

Re: [Gambas-user] Issue 592 in gambas: Circular crash invalid pointer segfault 11

2015-01-02 Thread gambas
Updates: Labels: -Version Version-TRUNK Comment #4 on issue 592 by benoit.m...@gmail.com: Circular crash invalid pointer segfault 11 https://code.google.com/p/gambas/issues/detail?id=592 The crash is due to the old gb.net.smtp component not begin uninstall. Can you create a new issue?

Re: [Gambas-user] Issue 592 in gambas: Circular crash invalid pointer segfault 11

2015-01-02 Thread gambas
Updates: Status: Fixed Comment #5 on issue 592 by benoit.m...@gmail.com: Circular crash invalid pointer segfault 11 https://code.google.com/p/gambas/issues/detail?id=592 (No comment was entered for this change.) -- You received this message because this project is configured to send

Re: [Gambas-user] SDL2 : Music.SoundFontPath doesn't work with graphic components

2015-01-02 Thread Ru Vuott
Hello Benoît, I come back on this question, because I suppose I found the problem. Well, Music.SoundFontPath doesn't work, if I set the Volume. So, if I comment Volume setting, it works. However, I send you a little and simple project, here attached. ( Try to activate and deactivate Volume

Re: [Gambas-user] SDL2 : Music.SoundFontPath doesn't work with graphic components

2015-01-02 Thread Ru Vuott
...well, I managed to run the Midi project with Volume setting. At present, we have to change Volume value only after we have started the playing. So, I had to put a conditional and a Boolean variable (bleah !) to avoid interference on the Slider when you open the form. Here the second

Re: [Gambas-user] SDL2 : Music.SoundFontPath doesn't work with graphic components

2015-01-02 Thread Ru Vuott
What a strange... I generated a new little project to send you, and now it works. Bah... perhaps I had some conflict... I don't know. Well, ok, I suppose no problems anymore on Music.SoundFontPath. Otherwise, I'll keep you informed. Thanks and bye. vuott

Re: [Gambas-user] SDL2 : Music.SoundFontPath doesn't work with graphic components

2015-01-02 Thread Ru Vuott
The alternative is to write Music.SoundFontPath in Form_Open() routine: Public Sub Form_Open() Music.SoundFontPath = /path/of/sounbank/file.sf2 . . End In this way it works without boolean variable and without IF. Regards vuott Ven

[Gambas-user] R: Gridview cell coordinates

2015-01-02 Thread Ru Vuott
Hi, maybe, something like this example ? Public Sub Form_Open() GridView1.Columns.Count = 2 GridView1.Rows.Count = 2 End Public Sub GridView1_Menu()' If right click... Balloon.Info(Cell GridView1.Row , GridView1.Column, GridView1, (GridView1.Columns[GridView1.Column].X +

Re: [Gambas-user] Gridview cell coordinates

2015-01-02 Thread Charlie Reinl
Am Freitag, den 02.01.2015, 10:48 -0700 schrieb bill-lancaster: I want to position a balloon by the gridview cell that was right clicked. It is necessary to scroll down to the lower rows. I'm struggling with this so any suggestion as to the best way to do this would be welcome. Salut Bill,

Re: [Gambas-user] SDL2 : Music.SoundFontPath doesn't work with graphic components

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 20:58, Ru Vuott a écrit : Hello Benoît, I come back on this question, because I suppose I found the problem. Well, Music.SoundFontPath doesn't work, if I set the Volume. So, if I comment Volume setting, it works. However, I send you a little and simple project, here attached.

Re: [Gambas-user] Gridview cell coordinates

2015-01-02 Thread Tobias Boege
On Fri, 02 Jan 2015, bill-lancaster wrote: I want to position a balloon by the gridview cell that was right clicked. It is necessary to scroll down to the lower rows. I'm struggling with this so any suggestion as to the best way to do this would be welcome. I think you can use GridView[Row,

Re: [Gambas-user] SDL2 : Music.SoundFontPath doesn't work with graphic components

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 21:28, Ru Vuott a écrit : ...well, I managed to run the Midi project with Volume setting. At present, we have to change Volume value only after we have started the playing. So, I had to put a conditional and a Boolean variable (bleah !) to avoid interference on the Slider

Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
I have the same issue, trying to get it isolated, but didn't succeed yet, will let you know when. In 3.6.2 no issue, but with trunk (some revisions ago already) $ ./DomotiGa3.gambas gbx3: warning: circular references detected: gbx3: 1 FMusic gbx3: 1 FLogfiles gbx3: 2 FToolBar gbx3:

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 08:22, Lewis Balentine a écrit : For some reason I do not seem to be able to log into the Gambas Wiki. That is probably a good thing considering my level of ignorance (which has proven to be immense). Thus I pass these observations along for consideration: I have dealt with

Re: [Gambas-user] R: SDL2 : Channel Class has not property nor metods...

2015-01-02 Thread Ru Vuott
Hello Benoît, gb.sdl2.audio, like gb.sdl.sound, has these Classes (named channel): - Channel - Channels At present by using gb.sdl2.audio I can play a file .wav with Sound and Channels Class: For example we'll play simultaneously 2 file wav:

Re: [Gambas-user] R: SDL2 : Channel Class has not property nor metods...

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 10:39, Ru Vuott a écrit : Uhmmm another question/problem: With old gb.sdl.sound we can use also graphic components. Now, the new gb.sdl2.audio is not compatible with gb.gui, gb.gtk, gb.gtk3 and gb.qt4 ! Regards vuott I'm not sure it's a good idea to use SDL with GUI

Re: [Gambas-user] R: SDL2 : Channel Class has not property nor metods...

2015-01-02 Thread Ru Vuott
Uhmmm another question/problem: With old gb.sdl.sound we can use also graphic components. Now, the new gb.sdl2.audio is not compatible with gb.gui, gb.gtk, gb.gtk3 and gb.qt4 ! Regards vuott Ven 2/1/15, Benoît Minisini

[Gambas-user] R: Happy new year

2015-01-02 Thread Ru Vuott
Thanks Ven 2/1/15, Fabien Bodard gambas...@gmail.com ha scritto: Oggetto: [Gambas-user] Happy new year A: gambas-user@lists.sourceforge.net Data: Venerdì 2 gennaio 2015, 10:15 ... To all Gambasians  I wish you a lot of fun Code for this new

[Gambas-user] Make Ubuntu tooltips readable again

2015-01-02 Thread Ron
This onliner fixes this issue: $ sudo sed -i 's/tooltip_fg_color:#ff/tooltip_fg_color:#00/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc Regards, Ron. -- Dive into the World of Parallel Programming! The Go Parallel

[Gambas-user] Happy new year

2015-01-02 Thread Fabien Bodard
... To all Gambasians  I wish you a lot of fun Code for this new year ! -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 14:25, Tobias Boege a écrit : On Fri, 02 Jan 2015, Lewis Balentine wrote: I also note from an example in the obsolete Gambas Wiki that an explanation mark ! is used to delimit field names in a result. http://gambasdoc.org/help/comp/gb.db/connection/edit?v3 I do not find any

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Tobias Boege
On Fri, 02 Jan 2015, Lewis Balentine wrote: I also note from an example in the obsolete Gambas Wiki that an explanation mark ! is used to delimit field names in a result. http://gambasdoc.org/help/comp/gb.db/connection/edit?v3 I do not find any similar example in the current Gambas Wiki but

Re: [Gambas-user] R: SDL2 : Channel Class has not property nor metods...

2015-01-02 Thread Ru Vuott
When I wrote this my message, I didn't update the last version, where gb.sdl2.audio do not needs gb.sdl2 anymore. vuott Ven 2/1/15, Benoît Minisini gam...@users.sourceforge.net ha scritto: Oggetto: Re: [Gambas-user] R: SDL2 : Channel Class has not

Re: [Gambas-user] Issue 589 in gambas: Interpreter Crash Gambas3 - Calling a library function - BananaPi

2015-01-02 Thread gambas
Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 589 by benoit.m...@gmail.com: Interpreter Crash Gambas3 - Calling a library function - BananaPi https://code.google.com/p/gambas/issues/detail?id=589 You are calling PMD_Find_Interface() with a NULL

Re: [Gambas-user] Issue 591 in gambas: Togglebutton component background doesn't work in QT4

2015-01-02 Thread gambas
Updates: Status: NeedsInfo Labels: -Version Version-3.6.0 Comment #1 on issue 591 by benoit.m...@gmail.com: Togglebutton component background doesn't work in QT4 https://code.google.com/p/gambas/issues/detail?id=591 The visual behaviour of native controls depends on the

Re: [Gambas-user] Issue 593 in gambas: Circular reference non-free when project closed

2015-01-02 Thread gambas
Comment #4 on issue 593 by r...@cyberjunky.nl: Circular reference non-free when project closed https://code.google.com/p/gambas/issues/detail?id=593 It fixes the test project indeed, but when I test my full project I get this upon closure: ASSERT failure in QListT::at: index out of range,

Re: [Gambas-user] Issue 593 in gambas: Circular reference non-free when project closed

2015-01-02 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 593 by benoit.m...@gmail.com: Circular reference non-free when project closed https://code.google.com/p/gambas/issues/detail?id=593 (No comment was entered for this change.) -- You received this

Re: [Gambas-user] Issue 593 in gambas: Circular reference non-free when project closed

2015-01-02 Thread gambas
Updates: Status: Fixed Comment #3 on issue 593 by benoit.m...@gmail.com: Circular reference non-free when project closed https://code.google.com/p/gambas/issues/detail?id=593 It should be fixed in revision #6797. -- You received this message because this project is configured to send

Re: [Gambas-user] Issue 593 in gambas: Circular reference non-free when project closed

2015-01-02 Thread gambas
Comment #2 on issue 593 by benoit.m...@gmail.com: Circular reference non-free when project closed https://code.google.com/p/gambas/issues/detail?id=593 OK, this is related to gb.qt4 only. -- You received this message because this project is configured to send all issue notifications to

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Tobias Boege
On Fri, 02 Jan 2015, Lewis Balentine wrote: where to put the missing information? Did I mention before that my ignorance is eminence ? :) Well I am also a senile old goat: There is a mention of how syntax for arrays is a bit different in Gambas, but I do not seem to be finding it

Re: [Gambas-user] Databowser-Buttons, How to click them by code ?

2015-01-02 Thread Benoît Minisini
Le 30/12/2014 05:47, u...@gmx.ch a écrit : (My last mail got lost somewhere in another thread. I don't know why but try again.) Dear Gambas Cracks Sorry for this question. I'm sure the answer will be simple, but I'm searching for it since weeks... A short hint would be very appreciated.

Re: [Gambas-user] File watching behaviour

2015-01-02 Thread Jussi Lahtinen
With latest revision everything work now as expected (watch issue is fixed and no more circular reference messages)! Jussi On Fri, Jan 2, 2015 at 4:28 AM, Benoît Minisini gam...@users.sourceforge.net wrote: @Jussi : I introduce a new thread for the problem. Now for the new year people will

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Lewis Balentine
where to put the missing information? Did I mention before that my ignorance is eminence ? :) Well I am also a senile old goat: There is a mention of how syntax for arrays is a bit different in Gambas, but I do not seem to be finding it today oh there it is under Array Declaration

Re: [Gambas-user] DataSource Before Save

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 02:54, Benoît Minisini a écrit : Le 02/01/2015 02:44, Christian e Ana Luiza Britto a écrit : Hi Folks, Happy New Year for everyone! I would like to know if it's possible to use DataSource BeforeSave event to check data before it gets saved and cancel that if necessary (using

Re: [Gambas-user] Not happy!

2015-01-02 Thread Kevin Fishburne
On 01/02/2015 09:30 PM, adamn...@gmail.com wrote: On Sat, 03 Jan 2015 02:06:11 +0100 Benoît Minisini gam...@users.sourceforge.net wrote: Le 03/01/2015 00:11, adamn...@gmail.com a écrit : The Show only components used in this project button has gone missing in the new project properties

Re: [Gambas-user] Not happy!

2015-01-02 Thread adamn...@gmail.com
On Sat, 03 Jan 2015 02:06:11 +0100 Benoît Minisini gam...@users.sourceforge.net wrote: Le 03/01/2015 00:11, adamn...@gmail.com a écrit : The Show only components used in this project button has gone missing in the new project properties form. :-( Bruce You must click on the

Re: [Gambas-user] Not happy!

2015-01-02 Thread Benoît Minisini
Le 03/01/2015 00:11, adamn...@gmail.com a écrit : The Show only components used in this project button has gone missing in the new project properties form. :-( Bruce You must click on the magnifer icon in the component filter to open a menu where you can check that. -- Benoît Minisini

[Gambas-user] Not happy!

2015-01-02 Thread adamn...@gmail.com
The Show only components used in this project button has gone missing in the new project properties form. :-( Bruce -- B Bruen adamn...@gnail.com (sort of) -- Dive into the World of Parallel Programming! The Go

Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
It's in gb.net.smtp, I think! See bug report I just filled, if you de-select gb.net.smtp crash stops.. Ron. 2015-01-02 11:32 GMT+01:00 Benoît Minisini gam...@users.sourceforge.net: Le 02/01/2015 11:14, Ron a écrit : I have the same issue, trying to get it isolated, but didn't succeed yet,

Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 11:14, Ron a écrit : I have the same issue, trying to get it isolated, but didn't succeed yet, will let you know when. In 3.6.2 no issue, but with trunk (some revisions ago already) $ ./DomotiGa3.gambas gbx3: warning: circular references detected: gbx3: 1 FMusic gbx3:

[Gambas-user] Issue 592 in gambas: Circular crash invalid pointer segfault 11

2015-01-02 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 592 by r...@cyberjunky.nl: Circular crash invalid pointer segfault 11 https://code.google.com/p/gambas/issues/detail?id=592

Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
Btw, my cli DomotiGaServer3 project doesn't display any circular refrences issues anymore with this smtp lib deleted. So it seems circular references are caused (or can be) by crashing of other components? (in this case smtp) The GUI version still has them, maybe cause by another component

Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
No I didn't de-install it, thinking it will overwrite everything.. like it did in the past ;P There was indeed an older gb.net.smtp.so* set under /usr/lib/gambas3 After delete and sudo make install of trunk it works ok. The sudo install was needed otherwise the project couldn't find the

Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 11:39, Ron a écrit : It's in gb.net.smtp, I think! See bug report I just filled, if you de-select gb.net.smtp crash stops.. Ron. Did you carefully uninstall Gambas 3.6.2 before compiling the development version? Because gb.net.smtp is now written entirely in Gambas. So if you

Re: [Gambas-user] Issue 592 in gambas: Circular crash invalid pointer segfault 11

2015-01-02 Thread gambas
Comment #1 on issue 592 by r...@cyberjunky.nl: Circular crash invalid pointer segfault 11 https://code.google.com/p/gambas/issues/detail?id=592 It has to do with a certain component or combination. -- You received this message because this project is configured to send all issue

Re: [Gambas-user] Issue 592 in gambas: Circular crash invalid pointer segfault 11

2015-01-02 Thread gambas
Comment #2 on issue 592 by r...@cyberjunky.nl: Circular crash invalid pointer segfault 11 https://code.google.com/p/gambas/issues/detail?id=592 gb.net.smtp seem to be causing it. -- You received this message because this project is configured to send all issue notifications to this

Re: [Gambas-user] Make Ubuntu tooltips readable again

2015-01-02 Thread Ron
It's a two liner to make balloons and tooltips in ide readable: sed -i 's/tooltip_fg_color:#ff/tooltip_fg_color:#00/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc sed -i 's/tooltip_bg_color:#00/tooltip_bg_color:#ff/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc Ron. 2015-01-02 11:03

Re: [Gambas-user] Communicating to hosted forms...

2015-01-02 Thread Fabien Bodard
this is the good POO way ! 2015-01-01 23:39 GMT+01:00 Stephen sbun...@smartsonsite.com: When, at the project level, all controls on all forms are set to be public, the 'Public' property for each control on each form continues to indicate that it is NOT Public. This is misleading. The

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Tobias Boege
On Fri, 02 Jan 2015, Lewis Balentine wrote: Thank you to both Benoit and Tobias for the explanations. I did figure it out but did not realize that a Result could be treated as an array. I tend to think of DB data as structures. ... but my real point was that when the syntax can be

Re: [Gambas-user] SDL2 : Music.SoundFontPath doesn't work with graphic components

2015-01-02 Thread Benoît Minisini
Le 02/01/2015 18:37, Ru Vuott a écrit : Hello Benoît, I noticed Music.SoundFontPath property doesn't work, if I use any graphic component. So, for example, this works: Public Sub Main() With Music .SoundFontPath = /path/of/soundbank/file.sf2

[Gambas-user] SDL2 : Music.SoundFontPath doesn't work with graphic components

2015-01-02 Thread Ru Vuott
Hello Benoît, I noticed Music.SoundFontPath property doesn't work, if I use any graphic component. So, for example, this works: Public Sub Main() With Music .SoundFontPath = /path/of/soundbank/file.sf2 .Load(/path/of/my/file.mid) .Play End With While Music.State =

Re: [Gambas-user] Wiki Observation, SQL syntax

2015-01-02 Thread Lewis Balentine
Thank you to both Benoit and Tobias for the explanations. I did figure it out but did not realize that a Result could be treated as an array. I tend to think of DB data as structures. ... but my real point was that when the syntax can be considered a bit unusual then the Wiki needs to document

Re: [Gambas-user] Issue 593 in gambas: Circular reference non-free when project closed

2015-01-02 Thread gambas
Updates: Status: NeedsInfo Comment #5 on issue 593 by benoit.m...@gmail.com: Circular reference non-free when project closed https://code.google.com/p/gambas/issues/detail?id=593 Is it better with revision #6798? -- You received this message because this project is configured to send

Re: [Gambas-user] Issue 593 in gambas: Circular reference non-free when project closed

2015-01-02 Thread gambas
Updates: Status: Fixed Comment #7 on issue 593 by benoit.m...@gmail.com: Circular reference non-free when project closed https://code.google.com/p/gambas/issues/detail?id=593 (No comment was entered for this change.) -- You received this message because this project is configured to

Re: [Gambas-user] Issue 593 in gambas: Circular reference non-free when project closed

2015-01-02 Thread gambas
Comment #6 on issue 593 by r...@cyberjunky.nl: Circular reference non-free when project closed https://code.google.com/p/gambas/issues/detail?id=593 Yes issue is solved, no more errors or crashes, thanks! -- You received this message because this project is configured to send all issue

[Gambas-user] Gridview cell coordinates

2015-01-02 Thread bill-lancaster
I want to position a balloon by the gridview cell that was right clicked. It is necessary to scroll down to the lower rows. I'm struggling with this so any suggestion as to the best way to do this would be welcome. -- View this message in context:

Re: [Gambas-user] Communicating to hosted forms...

2015-01-02 Thread Stephen
On 01/01/2015 05:59 PM, Tobias Boege wrote: On Thu, 01 Jan 2015, Stephen wrote: The only way that I can see out of my conundrum is to create a property in in each form to which updated information is to be pushed. The property write will process the received data and put it where it