Re: [Gambas-user] [GambasMag] Articles for Feb 2015 issue

2014-11-27 Thread Kevin Fishburne
On 11/24/2014 09:33 AM, Randall Morgan wrote: > Hi Tobi, > > I have had some health issues and so I haven't been able to put much time > into the magazine. I have also moved 1600 miles from where I was and that > with the health issues delayed any work on the magazine. With my health > right now I

Re: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 08:49 PM, Benoît Minisini wrote: >> B. 3.1. What is inherited: "You must use the ME keyword to access the >> >inherited elements from the class inside." I think I understand what >> >that ultimately means but am not exactly sure what the "class inside" >> >would be. > I mean: ...from

[Gambas-user] Improve a Fast routine

2014-11-27 Thread Martin Cristia
I ment improve it interpreter-wise not math wise. Inline functions is something easy to implement. Thx Ing Martín P Cristiá -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Sup

Re: [Gambas-user] Problem with Process_Read

2014-11-27 Thread Jussi Lahtinen
> Did you recompile your project entirely before running it? > Yes, and now twice. I deleted my trunk folder, checked it out again. Uninstalled Gambas entirely from my system and recompiled it. Same result. Jussi -- Down

Re: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms.

2014-11-27 Thread Benoît Minisini
Le 28/11/2014 02:06, T Lee Davidson a écrit : > On 11/27/2014 06:52 PM, Benoît Minisini wrote: >> I have updated the 'Gambas object model' description on the wiki to >> clarify the special behaviour of the Form objects. >> >> http://gambaswiki.org/wiki/doc/object-model >> >> If you haven't read tha

Re: [Gambas-user] Problem with Process_Read

2014-11-27 Thread Benoît Minisini
Le 28/11/2014 01:34, Jussi Lahtinen a écrit : >> The bug has been fixed in revision #6681: the SHELL or EXEC command >> could sometimes raise the "Read" event before its return value has been >> assigned. >> > > GUI version of GambasTester passes without errors (tested 20 times). > But command-line

Re: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 06:52 PM, Benoît Minisini wrote: > I have updated the 'Gambas object model' description on the wiki to > clarify the special behaviour of the Form objects. > > http://gambaswiki.org/wiki/doc/object-model > > If you haven't read that document yet, I strongly suggest that you read > it

Re: [Gambas-user] Improve a Fast routine

2014-11-27 Thread Benoît Minisini
Le 28/11/2014 01:02, martin p cristia a écrit : > Hi, is there any way to speed up this routine? > Thanks > > Fast Public Function solucionarXgauss(x As Float[], ti As Float[], > iOrden As Integer) As Integer > ' OK GAMBAS > > Dim c1 As Float > Dim i As Integer, j As Integer, a As

Re: [Gambas-user] Issue 586 in gambas: gb.net.smtp with SSL hangs gambas if unknown host or not listening port

2014-11-27 Thread gambas
Updates: Status: Accepted Labels: -Version-3.6.2 Version-3.6.0 Comment #1 on issue 586 by benoit.m...@gmail.com: gb.net.smtp with SSL hangs gambas if unknown host or not listening port https://code.google.com/p/gambas/issues/detail?id=586 (No comment was entered for this change.

Re: [Gambas-user] Issue 586 in gambas: gb.net.smtp with SSL hangs gambas if unknown host or not listening port

2014-11-27 Thread gambas
Updates: Status: Fixed Comment #2 on issue 586 by benoit.m...@gmail.com: gb.net.smtp with SSL hangs gambas if unknown host or not listening port https://code.google.com/p/gambas/issues/detail?id=586 Fixed in revision #6682. -- You received this message because this project is configur

Re: [Gambas-user] Improve a Fast routine

2014-11-27 Thread Jussi Lahtinen
What are you trying to do exactly? Have you looked up ready well known algorithm for it? By quick look that seems to be O(n^3), which makes me think it can done faster. Jussi On Fri, Nov 28, 2014 at 2:02 AM, martin p cristia wrote: > Hi, is there any way to speed up this routine? > Thanks > >

Re: [Gambas-user] Problem with Process_Read

2014-11-27 Thread Jussi Lahtinen
> The bug has been fixed in revision #6681: the SHELL or EXEC command > could sometimes raise the "Read" event before its return value has been > assigned. > GUI version of GambasTester passes without errors (tested 20 times). But command-line version doesn't (the project attached). Test 239 (exec

Re: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 06:40 PM, Tobias Boege wrote: > I see your point. Are you content with what I wrote[0] into the docs? > > Regards, > Tobi > > [0]http://gambaswiki.org/wiki/lang/new Yes, Tobi, that is clear enough without writing a book about it ;-) Thank you. -- Lee __ "Artificial Intel

[Gambas-user] Improve a Fast routine

2014-11-27 Thread martin p cristia
Hi, is there any way to speed up this routine? Thanks Fast Public Function solucionarXgauss(x As Float[], ti As Float[], iOrden As Integer) As Integer ' OK GAMBAS Dim c1 As Float Dim i As Integer, j As Integer, a As Integer, b As Integer, ok As Integer Dim l As Integer, h As

Re: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms.

2014-11-27 Thread Benoît Minisini
Le 28/11/2014 00:27, T Lee Davidson a écrit : > On 11/27/2014 04:02 PM, Tobias Boege wrote: >> Hmm, comp/gb.qt4/form already says the entire truth -- if you know what all >> the words mean. > > All comp/gb.qt4/form says about events is: > === > Event management > > By default, a form is its own eve

Re: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, T Lee Davidson wrote: > > I must admit that I don't really care: I think I understand what happens to > > a good extent and if someone asks the question again, I can pull of the > > explanation again (or more likely I'll link to this thread). > > Rhetorically, wouldn't it be n

Re: [Gambas-user] Problem with Process_Read

2014-11-27 Thread Benoît Minisini
Le 23/11/2014 17:32, Jussi Lahtinen a écrit : > With latest revision (6670) my GambasTester crashes randomly when run from > terminal. > > 1. Unpack attached project into some folder, and open terminal to it. > 2. gbc3 -ag > 3. run "gbx3" several times. > > mTest.Process_Read.1616: #13: Null object

Re: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 04:02 PM, Tobias Boege wrote: > Hmm, comp/gb.qt4/form already says the entire truth -- if you know what all > the words mean. All comp/gb.qt4/form says about events is: === Event management By default, a form is its own event observer. It means that all the events raised by the For

Re: [Gambas-user] BUG: Settings.Keys (gb.settings)

2014-11-27 Thread Lewis Balentine
It works like charm Tobi. I added the example code to the Wiki. ... Dim sSlot, sKey As String For Each sSlot In Settings.Keys For Each sKey In Settings.Keys[sSlot] Print sSlot &/ sKey Next Next If I was to vote, I'd not change the documentation as _Settings_Keys ultima

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, T Lee Davidson wrote: > Wow. That is a very good explanation. Thank you, Tobi! > > I did understand that "a form is by default its own event observer". But > I guess I did not fully understand exactly what that meant. > > (And, yes, I have seen code like, "Public Sub Form_Op

Re: [Gambas-user] Gambas Markdown Syntax - Underlining

2014-11-27 Thread Benoît Minisini
Le 27/11/2014 21:32, T Lee Davidson a écrit : > I don't see "Underlining" in the Gambas Markdown Syntax > (http://gambaswiki.org/wiki/doc/markdown). But from looking at the code > for various pages, I see that tilde, "~", is for underlining. > > I'd like to add "Underlining" to that page. But, to a

[Gambas-user] Gambas Markdown Syntax - Underlining

2014-11-27 Thread T Lee Davidson
I don't see "Underlining" in the Gambas Markdown Syntax (http://gambaswiki.org/wiki/doc/markdown). But from looking at the code for various pages, I see that tilde, "~", is for underlining. I'd like to add "Underlining" to that page. But, to avoid the risk of screwing something up by experiment

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 02:36 PM, T Lee Davidson wrote: > Wow. That is a very good explanation. Thank you, Tobi! > > I did understand that "a form is by default its own event observer". But > I guess I did not fully understand exactly what that meant. > > (And, yes, I have seen code like, "Public Sub Form_Op

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
Wow. That is a very good explanation. Thank you, Tobi! I did understand that "a form is by default its own event observer". But I guess I did not fully understand exactly what that meant. (And, yes, I have seen code like, "Public Sub Form_Open()", and always wondered why it did not say "Form1_O

Re: [Gambas-user] BUG: Settings.Keys (gb.settings)

2014-11-27 Thread Lewis Balentine
The definitions I was quoting are from the first page of the Wiki for gb.settings. "Property Read Keys As _Settings_Keys" Return a virtual object used for enumerating all the keys used by the setting file. I tried several things (including "Object") before I landed on "String". ... oh and I did

Re: [Gambas-user] Issue 585 in gambas: free() invalid pointer exit in cli project running trunk

2014-11-27 Thread gambas
Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 585 by benoit.m...@gmail.com: free() invalid pointer exit in cli project running trunk https://code.google.com/p/gambas/issues/detail?id=585 I cannot read minds and I cannot see the past. Without any inf

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, Tobias Boege wrote: > OK, "As name" comes as a bundle. It makes your newly created object raise > events under the given name and makes the current class its event observer. Read: ... current *object* its event observer. -- "There's an old saying: Don't change anything... ev

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, T Lee Davidson wrote: > On 11/27/2014 12:55 PM, Tobias Boege wrote: > > On Thu, 27 Nov 2014, T Lee Davidson wrote: > >> On 11/27/2014 08:39 AM, Beno?t Minisini wrote: > >>> Le 27/11/2014 14:29, Stephen a ?crit : > I'm not consciously overriding the event observer so I'm no

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 12:55 PM, Tobias Boege wrote: > On Thu, 27 Nov 2014, T Lee Davidson wrote: >> On 11/27/2014 08:39 AM, Beno?t Minisini wrote: >>> Le 27/11/2014 14:29, Stephen a ?crit : I'm not consciously overriding the event observer so I'm not clear how to not do it. Obviously I still

Re: [Gambas-user] BUG: Settings.Keys (gb.settings)

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, Lewis Balentine wrote: > Reference: http://gambaswiki.org/wiki/comp/gb.settings/settings/keys > > Settings.Keys (gb.settings) > Property Read Keys As _Settings_Keys > Return a virtual object used for enumerating all the keys used by the > setting file. > > Wrong: It returns

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, T Lee Davidson wrote: > On 11/27/2014 08:39 AM, Beno?t Minisini wrote: > > Le 27/11/2014 14:29, Stephen a ?crit : > >> I'm not consciously overriding the event observer so I'm not clear how > >> to not do it. > >> Obviously I still have much to learn. > >> > > > > mhForm1 = New

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 08:39 AM, Benoît Minisini wrote: > Le 27/11/2014 14:29, Stephen a écrit : >> I'm not consciously overriding the event observer so I'm not clear how >> to not do it. >> Obviously I still have much to learn. >> > > mhForm1 = New Form1(TabStrip1) As "Form1" >

[Gambas-user] BUG: Settings.Keys (gb.settings)

2014-11-27 Thread Lewis Balentine
Reference: http://gambaswiki.org/wiki/comp/gb.settings/settings/keys Settings.Keys (gb.settings) Property Read Keys As _Settings_Keys Return a virtual object used for enumerating all the keys used by the setting file. Wrong: It returns a array of strings that are the "Slot Names". Key Definitio

Re: [Gambas-user] spam from jusabejus...@hotmail.com

2014-11-27 Thread Jussi Lahtinen
I haven't see the spam, but can't you change/reset the password of the old account? Jussi On Thu, Nov 27, 2014 at 9:37 AM, Julio Sanchez wrote: > Dear friends of the forum: > >From an old account of mine Mail (jusabejus...@hotmail.com), is being > automatically sent to spam mails forum. > I

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Stephen
On 11/27/2014 08:39 AM, Benoît Minisini wrote: > Le 27/11/2014 14:29, Stephen a écrit : >> I'm not consciously overriding the event observer so I'm not clear how >> to not do it. >> Obviously I still have much to learn. >> > mhForm1 = New Form1(TabStrip1) As "Form1" >

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Benoît Minisini
Le 27/11/2014 14:29, Stephen a écrit : > I'm not consciously overriding the event observer so I'm not clear how > to not do it. > Obviously I still have much to learn. > mhForm1 = New Form1(TabStrip1) As "Form1" \/ .

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Stephen
I'm not consciously overriding the event observer so I'm not clear how to not do it. Obviously I still have much to learn. On 11/27/2014 08:20 AM, Benoît Minisini wrote: > Le 27/11/2014 14:08, Stephen a écrit : >> GAMBAS: 3.5.4 >> Fedora 20 in a VM under 64 bit CentOS 6.5 >> MATE Desk

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Benoît Minisini
Le 27/11/2014 14:08, Stephen a écrit : >GAMBAS: 3.5.4 >Fedora 20 in a VM under 64 bit CentOS 6.5 >MATE Desktop > >I'm a bit confused (some would say it's my normal state:) as to why, > when a form is dynamically instantiated within a tabstrip (or other > container) the Open and Show

[Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Stephen
GAMBAS: 3.5.4 Fedora 20 in a VM under 64 bit CentOS 6.5 MATE Desktop I'm a bit confused (some would say it's my normal state:) as to why, when a form is dynamically instantiated within a tabstrip (or other container) the Open and Show events for the instantiated form don't fire. This c