From a.baudrez at ...626... Sat Nov 1 09:25:15 2014 From: a.baudrez at ...626... (Alain Baudrez) Date: Sat, 1 Nov 2014 09:25:15 +0100 Subject: [Gambas-user] Valuebox_Enter strange behaviour Message-ID: I use a valuebox for numbers and want to select to existing content upon entering the valuebox. I use the following code Public Sub vBoxQty_Enter() Desktop.SendKeys("{[Shift_L][End]}") End When entering the valuebox using the tab-key, the content is selected. When entering the valuebox with a mouseclick - what most people do - nothing happens. The cursor just blinks in the valuebox but the content is not selected. But .... move the mouse away from the valuebox and then back over the valuebox (without clicking) and the content automagically gets selected. By design or a bug? A.J. From taboege at ...626... Sat Nov 1 12:18:55 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 1 Nov 2014 12:18:55 +0100 Subject: [Gambas-user] Valuebox_Enter strange behaviour In-Reply-To: References: Message-ID: <20141101111855.GA4441@...2774...> On Sat, 01 Nov 2014, Alain Baudrez wrote: > I use a valuebox for numbers and want to select to existing content upon > entering the valuebox. > > I use the following code > > Public Sub vBoxQty_Enter() > Desktop.SendKeys("{[Shift_L][End]}") > End > > When entering the valuebox using the tab-key, the content is selected. > When entering the valuebox with a mouseclick - what most people do - > nothing happens. The cursor just blinks in the valuebox but the content is > not selected. > > But .... move the mouse away from the valuebox and then back over the > valuebox (without clicking) and the content automagically gets selected. > > By design or a bug? > By design and by documentation. The Enter event is raised when the mouse enters the control, in the sense of hovering it. GotFocus is just the right event for you here. The behaviour when -ing your way to the control is likely the toolkit's internal one. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From a.baudrez at ...626... Sat Nov 1 12:45:06 2014 From: a.baudrez at ...626... (Alain Baudrez) Date: Sat, 1 Nov 2014 12:45:06 +0100 Subject: [Gambas-user] Valuebox_Enter strange behaviour In-Reply-To: <20141101111855.GA4441@...2774...> References: <20141101111855.GA4441@...2774...> Message-ID: Tobi, switched to GotFocus event and everything works fine now. Txs A.J. *Alain J. Baudrez* Nikolaas Gombertstraat 20 8000 Brugge a.baudrez at ...626... Tel: +32(0)486485080 *Personal Homepage:* http://baudrez.be - Twitter - Google Plus Webmaster cibliga.be - dierenartsrogiest.be Linux User: http://linuxmintusers.be 2014-11-01 12:18 GMT+01:00 Tobias Boege : > On Sat, 01 Nov 2014, Alain Baudrez wrote: > > I use a valuebox for numbers and want to select to existing content upon > > entering the valuebox. > > > > I use the following code > > > > Public Sub vBoxQty_Enter() > > Desktop.SendKeys("{[Shift_L][End]}") > > End > > > > When entering the valuebox using the tab-key, the content is selected. > > When entering the valuebox with a mouseclick - what most people do - > > nothing happens. The cursor just blinks in the valuebox but the content > is > > not selected. > > > > But .... move the mouse away from the valuebox and then back over the > > valuebox (without clicking) and the content automagically gets selected. > > > > By design or a bug? > > > > By design and by documentation. The Enter event is raised when the mouse > enters the control, in the sense of hovering it. > > GotFocus is just the right event for you here. The behaviour when -ing > your way to the control is likely the toolkit's internal one. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sat Nov 1 13:01:55 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 1 Nov 2014 13:01:55 +0100 Subject: [Gambas-user] Extending classes in existing components Message-ID: <20141101120155.GC4441@...2774...> Hi, periodically we find ourselves in the position that we want to add some specific functionality to classes in existing components, mainly in gb.form. More often than not this is a trivial thing like being able to add an Observer for one child in a compound control or change a font or some other little thing that is there but not exposed through the compound control's interface. We could: - Get the new property/event into official Gambas: most of the time not an option because of application-specific-ness and we actually don't want to tell our readers to wait for the next stable release to be able to test our projects; - Copy the class from gb.form into our projects and change them as we want: possible but not very clean and especially unsatisfying if you consider that the Gambas interpreter allows you to override classes; or - Use CompoundControl.Children and the Control.Name attribute to walk recursively through the children to get the right control, like with my last resort routine: Private Sub Discover(h As Container) Dim g As Control For Each g In h Print g If g Is Container Then Discover(g) Next End I'd also like to avoid this one. If I'm not mistaken C++ has a way around this called "protected". The gb.form writer could make all the child controls protected so we can inherit/override the compound control and immediately have everything presented to us. @Benoit: IIRC you don't want Gambas' object orientation to be as convoluted as in C++. This protected thing doesn't sound as it would have too far- reaching consequences, though. Thoughts? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at ...626... Sat Nov 1 14:19:48 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 1 Nov 2014 15:19:48 +0200 Subject: [Gambas-user] JIT bug with complex string substitutions In-Reply-To: References: Message-ID: Yes, it works! Thanks! Jussi On Fri, Oct 31, 2014 at 11:59 PM, Emil Lenngren wrote: > Hi. > > There was a problem with the IIf function. If you had two strings as the > last two arguments, but one of them was a string constant, but not the > other, it failed. > I fixed this in the latest revision. > > /Emil > > 2014-10-12 21:11 GMT+02:00 Emil Lenngren : > > > Hi. I'll check. > > > > /Emil > > Den 12 okt 2014 21:09 skrev "Jussi Lahtinen" : > > > >> Thanks to unnecessary complexness of Finnish language and my lack of > >> ideas, I have written some monster lines with nested Substs. JIT doesn't > >> seem to like them. > >> I isolated the problem to simplest possible (unusable) case. See > >> attachment. > >> > >> > >> Jussi > >> > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Nov 1 18:40:52 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 01 Nov 2014 18:40:52 +0100 Subject: [Gambas-user] Release of Gambas 3.6.1 Message-ID: <54551B24.4010400@...1...> Hi, Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty bugs reported after the 3.6.0 release. The list of bug fixes in the ChangeLog at http://gambaswiki.org/wiki/doc/release/3.6.1. Enjoy it! -- Beno?t Minisini From t.lee.davidson at ...626... Sat Nov 1 20:01:41 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 01 Nov 2014 15:01:41 -0400 Subject: [Gambas-user] Cannot uncheck text decorations in IDE theme preferences Message-ID: <54552E15.2070309@...626...> Hello, In trying to figure out how to change the font color of the line numbers in the IDE, I discovered what seems to be a strange behavior. In Tools->Preferences->Theme->Define (buttons), any text decoration checkboxes (bold, italic, underline) that are checked, either by default or manually, are not uncheckable. This is not intentional, is it? The definitions can easily be reverted to default by switching to a different color theme and then back again. And while we're here, is there a way to change just the font color of the line numbers? I really prefer the Gambas color theme, but the line numbers are too light. And, I have not been able to determine what definition controls that. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From t.lee.davidson at ...626... Sat Nov 1 20:10:29 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 01 Nov 2014 15:10:29 -0400 Subject: [Gambas-user] Cannot uncheck text decorations in IDE theme preferences In-Reply-To: <54552E15.2070309@...626...> References: <54552E15.2070309@...626...> Message-ID: <54553025.1040807@...626...> On 11/01/2014 03:01 PM, T Lee Davidson wrote: > Hello, > > In trying to figure out how to change the font color of the line numbers > in the IDE, I discovered what seems to be a strange behavior. > > In Tools->Preferences->Theme->Define (buttons), any text decoration > checkboxes (bold, italic, underline) that are checked, either by default > or manually, are not uncheckable. > > This is not intentional, is it? > > The definitions can easily be reverted to default by switching to a > different color theme and then back again. > > > And while we're here, is there a way to change just the font color of > the line numbers? I really prefer the Gambas color theme, but the line > numbers are too light. And, I have not been able to determine what > definition controls that. > > Oops, forgot this may help: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.10.54-desktop-2.mga3 Architecture=x86 Distribution=Mageia 3 Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11200.12 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.5.0 GTK+3=libgtk-3.so.0.600.4 GTK+=libgtk-x11-2.0.so.0.2400.17 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.34.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From ian.roper at ...1974... Sun Nov 2 05:01:49 2014 From: ian.roper at ...1974... (Ian) Date: Sun, 02 Nov 2014 12:01:49 +0800 Subject: [Gambas-user] Question on Class.Load Message-ID: <5455ACAD.5090700@...1974...> Class.Load allows you to create a reference to a named class. Dim TempClass as Class TmpClass = Class.Load("myclass") This works and I can get the names of the public instances of variables and procedures For each TmpString in TmpClass.Symbols Message(TmpString) Next Is there a way to call a Procedure or Function from the named class and pass it any parameters that it requires? ie: if I have a procedure in a valid class I have created called Public Sub DoSomething(InStr as string) can I call this function from TmpClass somehow (or is this just a 'read only' reference to the loaded class?) I tried Object.Call(TmpClass, "NameOfProcedure", TmpAry) with TmpAry[] containing the name of a single string parameter I wish to pass. This returns the error: "Can't find {NameOfProcedure} in Class 'Class' Context: In each of my projects created classes, I have a standard Procedure to save the applicable database table records to a binary file called CreateBinaryFile(InPath as String) This is the process I am trying to call for each class that I have created. Cheers, Ian Roper. From lists at ...2828... Sun Nov 2 06:08:35 2014 From: lists at ...2828... (CJ) Date: Sun, 2 Nov 2014 06:08:35 +0100 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: Message-ID: <000001cff65b$1438b030$0f00a8c0@...2829...> Hi Sebastian, > I will have the stable PPA updated tonight with armhf builds > included ;) Do you plan to add stable builds also for armel? /CJ From sebikul at ...626... Sun Nov 2 07:36:17 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 2 Nov 2014 03:36:17 -0300 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: <000001cff65b$1438b030$0f00a8c0@...2829...> References: <000001cff65b$1438b030$0f00a8c0@...2829...> Message-ID: I'm afraid I can't. I'm limited by the automatic builders made available by Launchpad. Although they are available for official packages, the are not yet available for personal PPAs. As soon as a new architecture is made available, I will do my best to add it to the supported list. On Nov 2, 2014 2:10 AM, "CJ" wrote: > Hi Sebastian, > > > I will have the stable PPA updated tonight with armhf builds > > included ;) > > Do you plan to add stable builds also for armel? > > /CJ > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lists at ...2828... Sun Nov 2 09:21:03 2014 From: lists at ...2828... (CJ) Date: Sun, 2 Nov 2014 09:21:03 +0100 Subject: [Gambas-user] Official release of Gambas 3.6 In-Reply-To: Message-ID: <000001cff675$f3bd26e0$0f00a8c0@...2829...> Thanks for your swift reply Sebastian and of course thanks to the Gambas team for 3.6.1! > I'm afraid I can't. I'm limited by the automatic builders > made available by Launchpad. Although they are available for official packages, > the are not yet available for personal PPAs. As soon as a new architecture is made > available, I will do my best to add it to the supported list. > > On Nov 2, 2014 2:10 AM, "CJ" wrote: > > > Hi Sebastian, > > > > > I will have the stable PPA updated tonight with armhf builds > > > included ;) > > > > Do you plan to add stable builds also for armel? /CJ From gambas.fr at ...626... Sun Nov 2 09:30:47 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 2 Nov 2014 09:30:47 +0100 Subject: [Gambas-user] Question on Class.Load In-Reply-To: <5455ACAD.5090700@...1974...> References: <5455ACAD.5090700@...1974...> Message-ID: Just one question ... have you exported those classes ? tmpClass is just a class ... not an instanciate object You need to call Object.New Or just new Public Sub Main() Dim hObj As Object Dim sSym As String For Each sSym In Classes["MyClass"].Symbols Print sSym Next hObj = Object.New("MyClass") Object.Call(hObj, "CreateFile", ["Hi World"]) End 2014-11-02 5:01 GMT+01:00 Ian : > Class.Load allows you to create a reference to a named class. > > Dim TempClass as Class > TmpClass = Class.Load("myclass") > > This works and I can get the names of the public instances of variables > and procedures > > For each TmpString in TmpClass.Symbols > Message(TmpString) > Next > > Is there a way to call a Procedure or Function from the named class and > pass it any parameters that it requires? > > ie: if I have a procedure in a valid class I have created called Public > Sub DoSomething(InStr as string) > can I call this function from TmpClass somehow > (or is this just a 'read only' reference to the loaded class?) > > > I tried Object.Call(TmpClass, "NameOfProcedure", TmpAry) > with TmpAry[] containing the name of a single string parameter I wish to > pass. > This returns the error: "Can't find {NameOfProcedure} in Class 'Class' > > Context: In each of my projects created classes, I have a standard > Procedure to save the applicable database table records to a binary file > called CreateBinaryFile(InPath as String) > This is the process I am trying to call for each class that I have created. > > > Cheers, > Ian Roper. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From ian.roper at ...1974... Sun Nov 2 11:08:25 2014 From: ian.roper at ...1974... (Ian) Date: Sun, 02 Nov 2014 18:08:25 +0800 Subject: [Gambas-user] Question on Class.Load In-Reply-To: References: <5455ACAD.5090700@...1974...> Message-ID: <54560299.8060304@...1974...> Merci Fabien, That solution worked very well. I had thought that you only needed to export classes when using them for a component ? (from the Gambas Wiki on Components - Which is the only reference I can find to exporting classes.) One other question. So what would Class.Load be used for ? Ian. On 02/11/14 16:30, Fabien Bodard wrote: > Just one question ... have you exported those classes ? > > tmpClass is just a class ... not an instanciate object > > You need to call Object.New > > Or just new > > > Public Sub Main() > Dim hObj As Object > Dim sSym As String > For Each sSym In Classes["MyClass"].Symbols > Print sSym > Next > > hObj = Object.New("MyClass") > > Object.Call(hObj, "CreateFile", ["Hi World"]) > > End > > 2014-11-02 5:01 GMT+01:00 Ian : >> Class.Load allows you to create a reference to a named class. >> >> Dim TempClass as Class >> TmpClass = Class.Load("myclass") >> >> This works and I can get the names of the public instances of variables >> and procedures >> >> For each TmpString in TmpClass.Symbols >> Message(TmpString) >> Next >> >> Is there a way to call a Procedure or Function from the named class and >> pass it any parameters that it requires? >> >> ie: if I have a procedure in a valid class I have created called Public >> Sub DoSomething(InStr as string) >> can I call this function from TmpClass somehow >> (or is this just a 'read only' reference to the loaded class?) >> >> >> I tried Object.Call(TmpClass, "NameOfProcedure", TmpAry) >> with TmpAry[] containing the name of a single string parameter I wish to >> pass. >> This returns the error: "Can't find {NameOfProcedure} in Class 'Class' >> >> Context: In each of my projects created classes, I have a standard >> Procedure to save the applicable database table records to a binary file >> called CreateBinaryFile(InPath as String) >> This is the process I am trying to call for each class that I have created. >> >> >> Cheers, >> Ian Roper. >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Sun Nov 2 11:59:27 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 2 Nov 2014 11:59:27 +0100 Subject: [Gambas-user] Question on Class.Load In-Reply-To: <54560299.8060304@...1974...> References: <5455ACAD.5090700@...1974...> <54560299.8060304@...1974...> Message-ID: Well A class is the caneva... a dead container If you want to use it you must to make it alive to interact with it. so a class is the description of what can be the object. An object is an instanciated class A static class then is a self instanciated class (like module) From ea7dfh at ...2382... Sun Nov 2 14:34:08 2014 From: ea7dfh at ...2382... (Jesus) Date: Sun, 02 Nov 2014 14:34:08 +0100 Subject: [Gambas-user] Release of Gambas 3.6.1 In-Reply-To: <54551B24.4010400@...1...> References: <54551B24.4010400@...1...> Message-ID: <545632D0.4000804@...2382...> El 01/11/14 a las 18:40, Beno?t Minisini escribi?: > Hi, > > Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty > bugs reported after the 3.6.0 release. > > The list of bug fixes in the ChangeLog at > http://gambaswiki.org/wiki/doc/release/3.6.1. > > Enjoy it! > Some weeks ago: > I'm starting releasing 3.6.0, so your future translations will go in a 3.6.1. > > Regards, > > -- > Beno?t Minisini It seems that updates of Spanish translations were not merged in 3.6.1. Perhaps you forgot to do this, or is there a reason for that? Yes, I know my changelog was too verbose and ugly ;-) Regards -- Jesus Guardon From gambas at ...1... Sun Nov 2 16:51:23 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 02 Nov 2014 16:51:23 +0100 Subject: [Gambas-user] Release of Gambas 3.6.1 In-Reply-To: <545632D0.4000804@...2382...> References: <54551B24.4010400@...1...> <545632D0.4000804@...2382...> Message-ID: <545652FB.1000204@...1...> Le 02/11/2014 14:34, Jesus a ?crit : > El 01/11/14 a las 18:40, Beno?t Minisini escribi?: >> Hi, >> >> Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty >> bugs reported after the 3.6.0 release. >> >> The list of bug fixes in the ChangeLog at >> http://gambaswiki.org/wiki/doc/release/3.6.1. >> >> Enjoy it! >> > > Some weeks ago: > >> I'm starting releasing 3.6.0, so your future translations will go in a 3.6.1. >> >> Regards, >> >> -- >> Beno?t Minisini > > It seems that updates of Spanish translations were not merged in 3.6.1. > > Perhaps you forgot to do this, or is there a reason for that? > > Yes, I know my changelog was too verbose and ugly ;-) > > Regards > No, the problem is that I can't know if the new translations can be merged directly or not. Because some of the translations can be part of a backportable bug fix, and some others can be part of a new development feature that cannot be backported. And translations files does not like to be merged... So the translation merge must be done manually with the IDE by taking the translations files from the /trunk and import them in the /branches/3.X. It's a big job if I have to do that for the IDE, all the components projects, all the examples... I need a solution to automate that... -- Beno?t Minisini From gambas at ...1... Sun Nov 2 18:38:26 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 02 Nov 2014 18:38:26 +0100 Subject: [Gambas-user] Cannot uncheck text decorations in IDE theme preferences In-Reply-To: <54553025.1040807@...626...> References: <54552E15.2070309@...626...> <54553025.1040807@...626...> Message-ID: <54566C12.9040904@...1...> Le 01/11/2014 20:10, T Lee Davidson a ?crit : > On 11/01/2014 03:01 PM, T Lee Davidson wrote: >> Hello, >> >> In trying to figure out how to change the font color of the line numbers >> in the IDE, I discovered what seems to be a strange behavior. >> >> In Tools->Preferences->Theme->Define (buttons), any text decoration >> checkboxes (bold, italic, underline) that are checked, either by default >> or manually, are not uncheckable. >> >> This is not intentional, is it? >> >> The definitions can easily be reverted to default by switching to a >> different color theme and then back again. >> >> >> And while we're here, is there a way to change just the font color of >> the line numbers? I really prefer the Gambas color theme, but the line >> numbers are too light. And, I have not been able to determine what >> definition controls that. >> >> > The bug has been fixed in revision #6604, and will be backported to Gambas 3.6.2. Regards, -- Beno?t Minisini From ea7dfh at ...2382... Sun Nov 2 18:46:55 2014 From: ea7dfh at ...2382... (Jesus) Date: Sun, 02 Nov 2014 18:46:55 +0100 Subject: [Gambas-user] Release of Gambas 3.6.1 In-Reply-To: <545652FB.1000204@...1...> References: <54551B24.4010400@...1...> <545632D0.4000804@...2382...> <545652FB.1000204@...1...> Message-ID: <54566E0F.2090509@...2382...> El 02/11/14 a las 16:51, Beno?t Minisini escribi?: > Le 02/11/2014 14:34, Jesus a ?crit : >> El 01/11/14 a las 18:40, Beno?t Minisini escribi?: >>> Hi, >>> >>> Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty >>> bugs reported after the 3.6.0 release. >>> >>> The list of bug fixes in the ChangeLog at >>> http://gambaswiki.org/wiki/doc/release/3.6.1. >>> >>> Enjoy it! >>> >> >> Some weeks ago: >> >>> I'm starting releasing 3.6.0, so your future translations will go in a 3.6.1. >>> >>> Regards, >>> >>> -- >>> Beno?t Minisini >> >> It seems that updates of Spanish translations were not merged in 3.6.1. >> >> Perhaps you forgot to do this, or is there a reason for that? >> >> Yes, I know my changelog was too verbose and ugly ;-) >> >> Regards >> > > No, the problem is that I can't know if the new translations can be > merged directly or not. > > Because some of the translations can be part of a backportable bug fix, > and some others can be part of a new development feature that cannot be > backported. And translations files does not like to be merged... > > So the translation merge must be done manually with the IDE by taking > the translations files from the /trunk and import them in the > /branches/3.X. It's a big job if I have to do that for the IDE, all the > components projects, all the examples... > > I need a solution to automate that... > Do you mean I could do it by updating 3.6 branch while maintaining trunk apart with its new features? In other words, does it worth doing an import of lang files only for the 3.6 branch? Or directly on 3.6.1? If I could update 3.6.1, probably we have a chance to get Spanish language updated in Sebikul's Beta PPA, but obviously, I need a clear statement about what to do then. It seems like branching overcomplicates language maintenance in this very specific case. Regards -- Jesus Guardon From gambas at ...1... Sun Nov 2 19:52:53 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 02 Nov 2014 19:52:53 +0100 Subject: [Gambas-user] Release of Gambas 3.6.1 In-Reply-To: <54566E0F.2090509@...2382...> References: <54551B24.4010400@...1...> <545632D0.4000804@...2382...> <545652FB.1000204@...1...> <54566E0F.2090509@...2382...> Message-ID: <54567D85.9060505@...1...> Le 02/11/2014 18:46, Jesus a ?crit : >> >> No, the problem is that I can't know if the new translations can be >> merged directly or not. >> >> Because some of the translations can be part of a backportable bug fix, >> and some others can be part of a new development feature that cannot be >> backported. And translations files does not like to be merged... >> >> So the translation merge must be done manually with the IDE by taking >> the translations files from the /trunk and import them in the >> /branches/3.X. It's a big job if I have to do that for the IDE, all the >> components projects, all the examples... >> >> I need a solution to automate that... >> > > Do you mean I could do it by updating 3.6 branch while maintaining trunk > apart with its new features? In other words, does it worth doing an > import of lang files only for the 3.6 branch? Or directly on 3.6.1? Everything is done on '/trunk' and '/branches/3.X'. Nothing is done elsewhere, except for fixing a mistake before a version release that is based on '/tags/3.X.Y'. > > If I could update 3.6.1, probably we have a chance to get Spanish > language updated in Sebikul's Beta PPA, but obviously, I need a clear > statement about what to do then. > > It seems like branching overcomplicates language maintenance in this > very specific case. > > Regards > The IDE can merge a translation file into a project. I.e., it takes all non-existing translations, and check if it can find one in the imported translation file. I "just" need to allow this feature from the command-line, so that I can write a script that merge all translations files of '/trunk' into '/branches/3.X'. I also need to implement an option to tell that the translation in the imported file must override the translation in the project. Quite a job again. :-) -- Beno?t Minisini From ea7dfh at ...2382... Sun Nov 2 22:00:26 2014 From: ea7dfh at ...2382... (Jesus) Date: Sun, 02 Nov 2014 22:00:26 +0100 Subject: [Gambas-user] Release of Gambas 3.6.1 In-Reply-To: <54567D85.9060505@...1...> References: <54551B24.4010400@...1...> <545632D0.4000804@...2382...> <545652FB.1000204@...1...> <54566E0F.2090509@...2382...> <54567D85.9060505@...1...> Message-ID: <54569B6A.7080606@...2382...> El 02/11/14 a las 19:52, Beno?t Minisini escribi?: > Le 02/11/2014 18:46, Jesus a ?crit : >>> >>> No, the problem is that I can't know if the new translations can be >>> merged directly or not. >>> >>> Because some of the translations can be part of a backportable bug fix, >>> and some others can be part of a new development feature that cannot be >>> backported. And translations files does not like to be merged... >>> >>> So the translation merge must be done manually with the IDE by taking >>> the translations files from the /trunk and import them in the >>> /branches/3.X. It's a big job if I have to do that for the IDE, all the >>> components projects, all the examples... >>> >>> I need a solution to automate that... >>> >> >> Do you mean I could do it by updating 3.6 branch while maintaining trunk >> apart with its new features? In other words, does it worth doing an >> import of lang files only for the 3.6 branch? Or directly on 3.6.1? > > Everything is done on '/trunk' and '/branches/3.X'. Nothing is done > elsewhere, except for fixing a mistake before a version release that is > based on '/tags/3.X.Y'. So, to be clear, should I update /branches/3.6? That way we could have an updated and complete Spanish translation into the upcoming 3.6.2, right? > >> >> If I could update 3.6.1, probably we have a chance to get Spanish >> language updated in Sebikul's Beta PPA, but obviously, I need a clear >> statement about what to do then. >> >> It seems like branching overcomplicates language maintenance in this >> very specific case. >> >> Regards >> > > The IDE can merge a translation file into a project. I.e., it takes all > non-existing translations, and check if it can find one in the imported > translation file. > > I "just" need to allow this feature from the command-line, so that I can > write a script that merge all translations files of '/trunk' into > '/branches/3.X'. I also need to implement an option to tell that the > translation in the imported file must override the translation in the > project. > > Quite a job again. :-) > In the meantime, I guess we could continue doing this "manually". That's not a problem for me. Regards -- Jesus Guardon From gambas at ...1... Sun Nov 2 22:08:52 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 02 Nov 2014 22:08:52 +0100 Subject: [Gambas-user] Release of Gambas 3.6.1 In-Reply-To: <54569B6A.7080606@...2382...> References: <54551B24.4010400@...1...> <545632D0.4000804@...2382...> <545652FB.1000204@...1...> <54566E0F.2090509@...2382...> <54567D85.9060505@...1...> <54569B6A.7080606@...2382...> Message-ID: <54569D64.8050003@...1...> Le 02/11/2014 22:00, Jesus a ?crit : > El 02/11/14 a las 19:52, Beno?t Minisini escribi?: >> Le 02/11/2014 18:46, Jesus a ?crit : >>>> >>>> No, the problem is that I can't know if the new translations can be >>>> merged directly or not. >>>> >>>> Because some of the translations can be part of a backportable bug fix, >>>> and some others can be part of a new development feature that cannot be >>>> backported. And translations files does not like to be merged... >>>> >>>> So the translation merge must be done manually with the IDE by taking >>>> the translations files from the /trunk and import them in the >>>> /branches/3.X. It's a big job if I have to do that for the IDE, all the >>>> components projects, all the examples... >>>> >>>> I need a solution to automate that... >>>> >>> >>> Do you mean I could do it by updating 3.6 branch while maintaining trunk >>> apart with its new features? In other words, does it worth doing an >>> import of lang files only for the 3.6 branch? Or directly on 3.6.1? >> >> Everything is done on '/trunk' and '/branches/3.X'. Nothing is done >> elsewhere, except for fixing a mistake before a version release that is >> based on '/tags/3.X.Y'. > > So, to be clear, should I update /branches/3.6? That way we could have > an updated and complete Spanish translation into the upcoming 3.6.2, right? Yes. > > In the meantime, I guess we could continue doing this "manually". That's > not a problem for me. > But it's a waste of time. If I succeed in making that tool, you will just have to translate in /trunk, and it will be automatically backported. The only case where you will have to modify /branches/3.X is if you want to modify a translation that does not exist anymore in /trunk. Regards, -- Beno?t Minisini From lists at ...2828... Mon Nov 3 03:59:09 2014 From: lists at ...2828... (CJ) Date: Mon, 3 Nov 2014 03:59:09 +0100 Subject: [Gambas-user] Problems compiling Gambas 3.6.1 Message-ID: <000001cff712$28d31d70$0f00a8c0@...2829...> Got the following error when trying to compile 3.6.1, anyone have ideas of what the problem is? ... Making all in data make[5]: Entering directory `/home/gambas3-3.6.1/main/lib/data' CC gb_data_la-main.lo CC gb_data_la-c_list.lo CC gb_data_la-c_deque.lo CC gb_data_la-c_circular.lo CC gb_data_la-c_avltree.lo CC gb_data_la-c_graph.lo CC gb_data_la-c_graphmatrix.lo CC gb_data_la-c_heap.lo CC gb_data_la-trie.lo CC gb_data_la-c_trie.lo c_trie.c:331: error: redefinition of typedef 'CPREFIX' c_trie.c:224: note: previous declaration of 'CPREFIX' was here make[5]: *** [gb_data_la-c_trie.lo] Error 1 make[5]: Leaving directory `/home/gambas3-3.6.1/main/lib/data' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/gambas3-3.6.1/main/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/gambas3-3.6.1/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gambas3-3.6.1/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gambas3-3.6.1' make: *** [all] Error 2 root at ...3122...:/home/gambas3-3.6.1# Full logfile attached. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: 3.6.1_logfile.zip Type: application/x-zip-compressed Size: 11782 bytes Desc: not available URL: From taboege at ...626... Mon Nov 3 09:55:52 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 3 Nov 2014 09:55:52 +0100 Subject: [Gambas-user] Problems compiling Gambas 3.6.1 In-Reply-To: <000001cff712$28d31d70$0f00a8c0@...2829...> References: <000001cff712$28d31d70$0f00a8c0@...2829...> Message-ID: <20141103085552.GA655@...2774...> On Mon, 03 Nov 2014, CJ wrote: > > Got the following error when trying to compile 3.6.1, > anyone have ideas of what the problem is? > > ... > Making all in data > make[5]: Entering directory `/home/gambas3-3.6.1/main/lib/data' > CC gb_data_la-main.lo > CC gb_data_la-c_list.lo > CC gb_data_la-c_deque.lo > CC gb_data_la-c_circular.lo > CC gb_data_la-c_avltree.lo > CC gb_data_la-c_graph.lo > CC gb_data_la-c_graphmatrix.lo > CC gb_data_la-c_heap.lo > CC gb_data_la-trie.lo > CC gb_data_la-c_trie.lo > c_trie.c:331: error: redefinition of typedef 'CPREFIX' > c_trie.c:224: note: previous declaration of 'CPREFIX' was here > make[5]: *** [gb_data_la-c_trie.lo] Error 1 I tried to fix it in #6607. What compiler (version) do you use? I ask because there is nothing more in those lines than a forward typedef. As far as I can remember back, all my compilers could handle this. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lists at ...2828... Mon Nov 3 10:46:03 2014 From: lists at ...2828... (CJ) Date: Mon, 3 Nov 2014 10:46:03 +0100 Subject: [Gambas-user] Problems compiling Gambas 3.6.1 In-Reply-To: <20141103085552.GA655@...2774...> Message-ID: <000001cff74a$fe8abee0$0f00a8c0@...2829...> > I tried to fix it in #6607. What compiler (version) do you use? I ask > because there is nothing more in those lines than a forward > typedef. As far as I can remember back, all my compilers could handle this. See below... gcc-4.4 4.4.5-8 The GNU C compiler Just a FYI if it helps, the last version I compiled without problems on the same setup was 3.5.4. /CJ From t.lee.davidson at ...626... Mon Nov 3 16:59:53 2014 From: t.lee.davidson at ...626... (Lee) Date: Mon, 03 Nov 2014 10:59:53 -0500 Subject: [Gambas-user] Directory navigation in IDE PictureBox Picture property not working Message-ID: <5457A679.6050608@...626...> Hello, When I try to select a picture in the IDE PictureBox Picture property, the directory navigation does not seem to work. Clicking on any of the directories in the navigation bar (screenshot attached) does not change the current selected directory. I don't know if it's my system or not, but I have tried with two different users. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.10.54-desktop-2.mga3 Architecture=x86 Distribution=Mageia 3 Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11200.12 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.5.0 GTK+3=libgtk-3.so.0.600.4 GTK+=libgtk-x11-2.0.so.0.2400.17 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.34.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Lee -------------- next part -------------- A non-text attachment was scrubbed... Name: pictureboxselectpicture.png Type: image/png Size: 22379 bytes Desc: not available URL: From gambas at ...1... Mon Nov 3 17:34:36 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 03 Nov 2014 17:34:36 +0100 Subject: [Gambas-user] Directory navigation in IDE PictureBox Picture property not working In-Reply-To: <5457A679.6050608@...626...> References: <5457A679.6050608@...626...> Message-ID: <5457AE9C.5060109@...1...> Le 03/11/2014 16:59, Lee a ?crit : > Hello, > > When I try to select a picture in the IDE PictureBox Picture property, > the directory navigation does not seem to work. Clicking on any of the > directories in the navigation bar (screenshot attached) does not change > the current selected directory. > > I don't know if it's my system or not, but I have tried with two > different users. > > [System] > Gambas=3.6.0 > OperatingSystem=Linux > Kernel=3.10.54-desktop-2.mga3 > Architecture=x86 > Distribution=Mageia 3 > Desktop=KDE4 > Theme=Oxygen > Language=en_US.UTF-8 > Memory=1005M > [Libraries] > Cairo=libcairo.so.2.11200.12 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.2 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.5.0 > GTK+3=libgtk-3.so.0.600.4 > GTK+=libgtk-x11-2.0.so.0.2400.17 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.34.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > Lee > Picture files used by control properties must be located inside the project. This is why the tab is named "Project", but maybe it is not very clear... Regards, -- Beno?t Minisini From epost at ...3386... Mon Nov 3 19:28:17 2014 From: epost at ...3386... (ePost) Date: Mon, 3 Nov 2014 19:28:17 +0100 Subject: [Gambas-user] Error configuring gambas3.6.1 Message-ID: <001801cff793$f06c0d20$d1442760$@skellner.de> Hello, I can't configure gambas 3.6.1 (./reconv-all done with success, reconv in ./main got same information about configure.ac and configure.in) The following error occurs: bananapi at ...3387... ~/gambas3-3.6.1 $ ./configure -C configure: loading cache config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... (cached) yes checking whether make supports nested variables... (cached) yes checking build system type... (cached) armv7l-unknown-linux-gnueabihf checking host system type... (cached) armv7l-unknown-linux-gnueabihf checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/home/bananapi/gambas3-3.6.1/main) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache ./configure: line 2068: syntax error near unexpected token `main' ./configure: line 2068: `GB_INIT(main)' configure: error: ./configure failed for main bananapi at ...3387... ~/gambas3-3.6.1 $ Any idea to solve the problem.? Best regards Simon Kellner From mmcg29440 at ...3163... Mon Nov 3 21:45:47 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Mon, 3 Nov 2014 15:45:47 -0500 Subject: [Gambas-user] Make Datacontrol act like textbox with password set to true Message-ID: Hello, I need to have users enter a password into a data control. The password should be hidden from view as the user types. This can be done in a textbox by setting the password property to true. Nice but, there is no password property for a data control. An old post by Bennoit suggests the following: Dim hTextbox As TextBox = MyDataControl.Children[0] hTextBox.Password = True The first statement returns error - "Wanted textbox got datacontrol" Is it =Datasource.Children or is it =datacontrol like Datacontrol4? Maybe you guys could point out my mistake or suggest a better way. I'm using Gambas 3.6.2 on Ubuntu 12.04. Thanks, Marty From taboege at ...626... Mon Nov 3 22:24:44 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 3 Nov 2014 22:24:44 +0100 Subject: [Gambas-user] Make Datacontrol act like textbox with password set to true In-Reply-To: References: Message-ID: <20141103212444.GD655@...2774...> On Mon, 03 Nov 2014, Martin McGlensey wrote: > Hello, > > > > I need to have users enter a password into a data control. The password > should be hidden from view as the user types. This can be done in a textbox > by setting the password property to true. Nice but, there is no password > property for a data control. An old post by Bennoit suggests the following: > > > > Dim hTextbox As TextBox = MyDataControl.Children[0] > > hTextBox.Password = True > > > > The first statement returns error - "Wanted textbox got datacontrol" Is it > =Datasource.Children or is it =datacontrol like Datacontrol4? > > > > Maybe you guys could point out my mistake or suggest a better way. I'm using > Gambas 3.6.2 [...] > Maybe I'll borrow your time machine some day ;-) About your problem: I have just tested this code and it worked here: --8<------------------------------------------------------------------------ '' Set the Password property of all TextBoxes contained in hDataControl '' (normally just one) to bVal. Private Sub SetPassword(hDataControl As DataControl, bVal As Boolean) Dim aTextboxes As TextBox[] = Discover(hDataControl, "TextBox") Dim hTextBox As TextBox For Each hTextBox In aTextboxes hTextBox.Password = bVal Next End '' Return all children of hContainer (recursively) which are of class sClass. Private Function Discover(hContainer As Container, sClass As String) As Control[] Dim hControl As Control Dim aRes As New Control[] For Each hControl In hContainer.Children If hControl Is Container Then aRes.Insert(Discover(hControl, sClass)) If Object.Type(hControl) = sClass Then aRes.Add(hControl) Next Return aRes End --8<------------------------------------------------------------------------ This is a plain generalisation of Benoit's suggestion. It doesn't assume that the TextBox is at some specific index in the children array and it doesn't assume that there is only one TextBox. We set the Password property of *every* TextBox, just to be sure -- but there should really be just one. It will work until something *seriously* changes in the way DataControl is implemented or container children are managed. But it's hard to imagine that such a big change will ever happen. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From t.lee.davidson at ...626... Tue Nov 4 00:00:45 2014 From: t.lee.davidson at ...626... (Lee) Date: Mon, 03 Nov 2014 18:00:45 -0500 Subject: [Gambas-user] Directory navigation in IDE PictureBox Picture property not working In-Reply-To: <5457AE9C.5060109@...1...> References: <5457A679.6050608@...626...> <5457AE9C.5060109@...1...> Message-ID: <5458091D.40308@...626...> On 11/03/2014 11:34 AM, Beno?t Minisini wrote: > Picture files used by control properties must be located inside the > project. This is why the tab is named "Project", but maybe it is not > very clear... > > Regards, > > -- Beno?t Minisini Ah, okay, that makes sense. (Maybe that navigation bar shouldn't even be provided.) Thank you, Beno?t. From sebikul at ...626... Tue Nov 4 04:48:28 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 4 Nov 2014 00:48:28 -0300 Subject: [Gambas-user] Problems compiling Gambas 3.6.1 In-Reply-To: <000001cff74a$fe8abee0$0f00a8c0@...2829...> References: <20141103085552.GA655@...2774...> <000001cff74a$fe8abee0$0f00a8c0@...2829...> Message-ID: Beno?t, could you please backport this fix to the 3.6 branch? It was the only thing keeping me from compiling the compiler and interpreter under Mac OS without issues. I will post another thread in a few days with the remaining problems I had. On Mon, Nov 3, 2014 at 6:46 AM, CJ wrote: > > > I tried to fix it in #6607. What compiler (version) do you use? I ask > > because there is nothing more in those lines than a forward > > typedef. As far as I can remember back, all my compilers could handle > this. > > See below... > > gcc-4.4 4.4.5-8 The GNU C compiler > > Just a FYI if it helps, the last version I compiled without problems on the > same setup was 3.5.4. > > /CJ > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Wed Nov 5 07:45:11 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Nov 2014 06:45:11 +0000 Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable Message-ID: <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.6.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 576 by chr4... at ...1601...: TextBox.Select not reliable https://code.google.com/p/gambas/issues/detail?id=576 Hi, 1) By developing an alternative combobox I found an issue with Gambas TextBox. The alternative combobox inherits TextBox. If the user enters letters in the combobox it searches in a list and completes the user's entry with matching words as a selection. This is done in the project in Sub SelectToInput() on line 460 with the code Me.Select(lensearch, lengridtext). To reproduce (but is it not always reliable reproducible): Enter one Letter after the other in the combobox M - i (the combobox shall complete to Mi-lben) n - e - r - a - f - u - t - t - e - r (the combobox shall complete to Min-eralfutter after the "n" and so on) After a couple of entered letters, sometimes after the second, very often within five, the combobox suddenly does not display the completed text as selection anymore. But as one can see by watching debug output in the code, the selection is registered by the interpreter. This bug prevents me from further developing of the combobox. tux_ in the German forum gambas-club.de could reproduce this bug on his system. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.11.0-20-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk Language=de_DE.UTF-8 Memory=3848M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Attachments: DegComboBox-0.0.2.tar.gz 16.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From ePost at ...3386... Wed Nov 5 09:59:44 2014 From: ePost at ...3386... (ePost at ...3386...) Date: Wed, 05 Nov 2014 09:59:44 +0100 Subject: [Gambas-user] Problems installing Gambas 3.5.4 Message-ID: <5459E700.7020701@...3386...> Hello Gambas users Problems installing Gambas 3.5.4 for wheezy in site: http://gambas.sourceforge.net/de/main.html Hardware: Bananian Pi OS: Raspian ------------------------------------------------------ Issue 1: sudo apt-get install gambas3 fails with error. Package: gambas3-gb-jit needs Package: libllvm3.4 So change it in file /etc/apt/preferences Package: libllvm3.3 -> libllvm3.4 Pin: release n=jessie Pin-Priority: 1050 After that is done install runs successfully. ------------------------------------------------------ Issue 2: Cant't compile any example because all files are not writeable for user: bananapi (Default user) So go to /usr/share as root and type in the following command: chmod -R o+w gambas3 After that examples can be compiled and they runs successfully. ------------------------------------------------------ Question: How to upgrade from Gambas 3.5.4 to Gambas 3.6.1. without compiling the sources.? (This doesn't work on my Bananian Pi. See my last Email.) I also tried to compile Gambas 3.5.4 from svn. Here ./configure -C runs successful, but make fails with missing a PDF-file. Best regards SIMON KELLNER From shordi at ...626... Wed Nov 5 10:39:11 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 5 Nov 2014 10:39:11 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? Message-ID: With MySQL I have this function to log certains operations on a table named ad_hlog: (The connection is named datos and is a public variable that remains opened during project execution.) Public Sub hlog(tipo As String, detalle As String) Dim r As Result Dim s As String detalle = Replace(detalle, "'", "\\'") detalle = Replace(detalle, "\"", "\\\"") 'the string detalle can contains ' and " characters ' Old_code: this two commented lines makes eventualy that charset of database be changed without message or warning at all ' s = "insert into ad_hlog (tipo, detalle, usr,fmod) values ('" & tipo & "', '" & detalle & "', '" & mComun.usuario.nick & "', " & "now()" & ")" ' datos.Exec(s) ' New code: the next line produces the "Cannot read information about table ad_hlog" and changes the charset and produces allocation non freed at end of execution r = datos.Create("ad_hlog") r!tipo = tipo r!detalle = detalle r!usr = mComun.usuario.nick r!fmod = Now() r.Update End This occurs seemingly random. Works fine several times and suddenly all is wrong. Apparently something is wrong on connection because the table definition is very simple and I can't see anything erroneous: CREATE TABLE IF NOT EXISTS `ad_hlog` ( `idhlog` int(8) unsigned NOT NULL AUTO_INCREMENT, `tipo` varchar(50) NOT NULL, `detalle` mediumtext NOT NULL, `usr` varchar(20) NOT NULL, `fmod` datetime NOT NULL, KEY `id` (`idhlog`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2567 ; That situation are driven me crazy since a lot of time.... I guess that once the problem isolated, I can get around it, but it seems to me a bug.... Regards From gambas at ...2524... Wed Nov 5 10:41:49 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Nov 2014 09:41:49 +0000 Subject: [Gambas-user] Issue 575 in gambas: Clipboard change In-Reply-To: <4-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> <0-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-18088642861222023502-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #5 on issue 575 by benoit.m... at ...626...: Clipboard change https://code.google.com/p/gambas/issues/detail?id=575 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From dosida at ...626... Wed Nov 5 10:44:17 2014 From: dosida at ...626... (Dimitris Anogiatis) Date: Wed, 5 Nov 2014 02:44:17 -0700 Subject: [Gambas-user] Problems installing Gambas 3.5.4 In-Reply-To: <5459E700.7020701@...3386...> References: <5459E700.7020701@...3386...> Message-ID: Hey Simon, Re: Issue 2, I've found that if you load an example and save it to another location you won't have to fiddle with permissions. That way you also keep the original examples just in case you want to revisit them. Hope this helps On Wed, Nov 5, 2014 at 1:59 AM, ePost at ...3386... wrote: > Hello Gambas users > > Problems installing Gambas 3.5.4 for wheezy in site: > http://gambas.sourceforge.net/de/main.html > > Hardware: Bananian Pi > OS: Raspian > > ------------------------------------------------------ > Issue 1: > sudo apt-get install gambas3 fails with error. > Package: gambas3-gb-jit needs Package: libllvm3.4 > > So change it in file /etc/apt/preferences > > Package: libllvm3.3 -> libllvm3.4 > Pin: release n=jessie > Pin-Priority: 1050 > > After that is done install runs successfully. > > ------------------------------------------------------ > Issue 2: > Cant't compile any example because all files are not writeable for user: > bananapi (Default user) > > So go to /usr/share as root and type in the following command: > chmod -R o+w gambas3 > > After that examples can be compiled and they runs successfully. > > ------------------------------------------------------ > Question: How to upgrade from Gambas 3.5.4 to Gambas 3.6.1. without > compiling the sources.? > (This doesn't work on my Bananian Pi. See my last Email.) > I also tried to compile Gambas 3.5.4 from svn. Here ./configure -C runs > successful, but make fails with missing a PDF-file. > > Best regards > SIMON KELLNER > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ron at ...1740... Wed Nov 5 11:17:22 2014 From: ron at ...1740... (Ron) Date: Wed, 5 Nov 2014 11:17:22 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: Message-ID: I have seen maybe something similar twice when running my project. On 3.6.1 (maybe also 3.6.0) all of a sudden the character set seem to have been switched/resetted. I see it because a lot of my fields contains ?C symbols, when the issue with occurs it is displayed as seen in attachment and ofcourse the queries/check fails/don't match anymore. My tables are using latin1 default charset. Only restarting the program resolved the issue. I can reproduce it by restarting mysql server between/during queries. Of course this is normal for this to go wrong, but I remember that there was a bugfix with regards to re-selecting correct charset when this happens/connection issues arise. During the two times I have seen the issue, my mysql server wasn't being restarted, and I had enough resources on my develpment machine. So I'm not sure what happened, and why the recovered connections behave differently. Maybe this issue can be looked into.. Regards, Ron. 2014-11-05 10:39 GMT+01:00 Jorge Carri?n : > With MySQL I have this function to log certains operations on a table named > ad_hlog: > > (The connection is named datos and is a public variable that remains opened > during project execution.) > > Public Sub hlog(tipo As String, detalle As String) > > Dim r As Result > Dim s As String > > detalle = Replace(detalle, "'", "\\'") > detalle = Replace(detalle, "\"", "\\\"") 'the string detalle can > contains ' and " characters > ' Old_code: this two commented lines makes eventualy that charset of > database be changed without message or warning at all > ' s = "insert into ad_hlog (tipo, detalle, usr,fmod) values ('" & > tipo & "', '" & detalle & "', '" & mComun.usuario.nick & "', " & "now()" & > ")" > ' datos.Exec(s) > > ' New code: the next line produces the "Cannot read information about > table ad_hlog" and changes the charset and produces allocation non freed at > end of execution > r = datos.Create("ad_hlog") > r!tipo = tipo > r!detalle = detalle > r!usr = mComun.usuario.nick > r!fmod = Now() > r.Update > > End > > This occurs seemingly random. Works fine several times and suddenly all is > wrong. > Apparently something is wrong on connection because the table definition is > very simple and I can't see anything erroneous: > > CREATE TABLE IF NOT EXISTS `ad_hlog` ( > `idhlog` int(8) unsigned NOT NULL AUTO_INCREMENT, > `tipo` varchar(50) NOT NULL, > `detalle` mediumtext NOT NULL, > `usr` varchar(20) NOT NULL, > `fmod` datetime NOT NULL, > KEY `id` (`idhlog`) > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2567 ; > > That situation are driven me crazy since a lot of time.... > I guess that once the problem isolated, I can get around it, but it seems > to me a bug.... > > Regards > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: charset.png Type: image/png Size: 1264 bytes Desc: not available URL: From shordi at ...626... Wed Nov 5 11:40:01 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 5 Nov 2014 11:40:01 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: Message-ID: Ron: Your C? is ugly but almost all Spanish names wear ?, ?, ?, ? or ? characters... You can imagine what a names list is... :D :D I think this is a bug. I've modified the function in this way: Public Sub hlog(tipo As String, detalle As String) Dim r As Result Dim s As String s = Replace(detalle, "'", "\\'") s = Replace(s, "\"", "\\\"") Try r = datos.Create("ad_hlog") If Error Then r = Null r = datos.Create("ad_hlog") Endif r!tipo = tipo r!detalle = s r!usr = mComun.usuario.nick r!fmod = Now() r.Update End Simply setting the result as null (trying to free the "non allocated") and repite the .Create and .... all works fine. Regards. 2014-11-05 11:17 GMT+01:00 Ron : > I have seen maybe something similar twice when running my project. > On 3.6.1 (maybe also 3.6.0) all of a sudden the character set seem to > have been switched/resetted. > > I see it because a lot of my fields contains ?C symbols, when the > issue with occurs it is displayed as seen in attachment and ofcourse > the queries/check fails/don't match anymore. My tables are using > latin1 default charset. > > Only restarting the program resolved the issue. > > I can reproduce it by restarting mysql server between/during queries. > Of course this is normal for this to go wrong, but I remember that > there was a bugfix with regards to re-selecting correct charset when > this happens/connection issues arise. > > During the two times I have seen the issue, my mysql server wasn't > being restarted, and I had enough resources on my develpment machine. > So I'm not sure what happened, and why the recovered connections > behave differently. > > Maybe this issue can be looked into.. > > > Regards, > Ron. > > 2014-11-05 10:39 GMT+01:00 Jorge Carri?n : > > With MySQL I have this function to log certains operations on a table > named > > ad_hlog: > > > > (The connection is named datos and is a public variable that remains > opened > > during project execution.) > > > > Public Sub hlog(tipo As String, detalle As String) > > > > Dim r As Result > > Dim s As String > > > > detalle = Replace(detalle, "'", "\\'") > > detalle = Replace(detalle, "\"", "\\\"") 'the string detalle can > > contains ' and " characters > > ' Old_code: this two commented lines makes eventualy that charset of > > database be changed without message or warning at all > > ' s = "insert into ad_hlog (tipo, detalle, usr,fmod) values ('" & > > tipo & "', '" & detalle & "', '" & mComun.usuario.nick & "', " & "now()" > & > > ")" > > ' datos.Exec(s) > > > > ' New code: the next line produces the "Cannot read information about > > table ad_hlog" and changes the charset and produces allocation non freed > at > > end of execution > > r = datos.Create("ad_hlog") > > r!tipo = tipo > > r!detalle = detalle > > r!usr = mComun.usuario.nick > > r!fmod = Now() > > r.Update > > > > End > > > > This occurs seemingly random. Works fine several times and suddenly all > is > > wrong. > > Apparently something is wrong on connection because the table definition > is > > very simple and I can't see anything erroneous: > > > > CREATE TABLE IF NOT EXISTS `ad_hlog` ( > > `idhlog` int(8) unsigned NOT NULL AUTO_INCREMENT, > > `tipo` varchar(50) NOT NULL, > > `detalle` mediumtext NOT NULL, > > `usr` varchar(20) NOT NULL, > > `fmod` datetime NOT NULL, > > KEY `id` (`idhlog`) > > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2567 ; > > > > That situation are driven me crazy since a lot of time.... > > I guess that once the problem isolated, I can get around it, but it seems > > to me a bug.... > > > > Regards > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ian.roper at ...1974... Wed Nov 5 11:56:54 2014 From: ian.roper at ...1974... (Ian) Date: Wed, 05 Nov 2014 18:56:54 +0800 Subject: [Gambas-user] Segfault(11) when looping though an multidimensional array Message-ID: <545A0276.8040905@...1974...> This process was running fine and had been for quite some time. after the daily update on 3rd November , I now get the Segfault. A seg fault appears when Az >0 (I have commented out all other elements that are not required.) Declaration of the array is : Private LocationAry[51, 51, 5] As Integer GridHeight has a value of 20, GridWidth has a value of 20 =========================================== Private Sub DrawCurrentLocation() Dim Ax As Integer Dim Ay As Integer Dim Az As Integer Dim LastImage As Integer = -1 Dim TmpScale As Integer = CInt(Scale) Dim P As Picture ' Draw.Begin(Dra_Main) ' Draw.Clear For Ax = 0 To GridWidth For Ay = 0 To GridHeight For Az = 0 To 4 If LocationAry[Ax, Ay, Az] > 0 Then ' <----<<< fails here on the second loop if Ax > 0 ' If LastImage <> LocationAry[Ax, Ay, Az] Then ' P = Img.GetPicture(LocationAry[Ax, Ay, Az]) ' LastImage = LocationAry[Ax, Ay, Az] ' Endif ' Draw.Picture(P, Ax * TmpScale, Ay * Tmpscale, TmpScale, TmpScale) Endif Next Next Next ' Draw.End End ==================================================== However !!! this still works without fault. Private Sub ClearLocationArray() Dim Ax As Integer Dim Ay As Integer Dim Az As Integer For Ax = 0 To 50 For Ay = 0 To 50 For Az = 0 To 4 LocationAry[Ax, Ay, Az] = 0 Next Next Next End =================================================== edit: I set the clearLocationArray to a value of 1 instead of 0 and the segfault does not appear but I get an error saying "Null Object" but all of the array variables including the array return a value during a mouse over in program halt ? --------------------------------------------------------------------------------------------------------------- on daily updates from PPA gambas-team [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=en_AU.UTF-8 Memory=7858M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 cheers, Ian Roper. From gambas at ...2524... Wed Nov 5 12:01:55 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Nov 2014 11:01:55 +0000 Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable In-Reply-To: <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 576 by benoit.m... at ...626...: TextBox.Select not reliable https://code.google.com/p/gambas/issues/detail?id=576 It seems to be a weird behaviour of Qt. When you set the text, the selection is cleared and the cursor is moved to the end of the line. But apparently this is not done always immediately, but sometimes later in the event loop! So, of course, in that case, your own selection is erased. A workaround is adding a "WAIT" instruction to run the event loop just after having set the text and before changing the selection. But this is not a long-term solution... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Nov 5 12:06:16 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Nov 2014 11:06:16 +0000 Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable In-Reply-To: <1-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Comment #2 on issue 576 by benoit.m... at ...626...: TextBox.Select not reliable https://code.google.com/p/gambas/issues/detail?id=576 ...and I guess that happens because the text is changed inside an keyboard event handler. But I can't be sure! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Nov 5 12:23:53 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Nov 2014 11:23:53 +0000 Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable In-Reply-To: <2-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Comment #3 on issue 576 by benoit.m... at ...626...: TextBox.Select not reliable https://code.google.com/p/gambas/issues/detail?id=576 Apparently the WAIT workaround does not wok all the time. This is worse that I thought... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Nov 5 14:03:15 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Nov 2014 13:03:15 +0000 Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable In-Reply-To: <3-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Comment #4 on issue 576 by chr4... at ...1601...: TextBox.Select not reliable https://code.google.com/p/gambas/issues/detail?id=576 Yes, I tried WAIT before and after the change of Selection. And it did not work. I should have said that ... :/ -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From rhoct at ...325... Thu Nov 6 10:49:01 2014 From: rhoct at ...325... (Roberto) Date: Thu, 06 Nov 2014 10:49:01 +0100 Subject: [Gambas-user] Retrieve charset of mimepart Message-ID: <545B440D.5070904@...325...> Dear All, there is a method to get the charset of a mimepart ( eg. part.ContentType = "plain/text" )? Best Regards Gambas 3.6 From shordi at ...626... Thu Nov 6 10:51:19 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 6 Nov 2014 10:51:19 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: Message-ID: Correcting mysef: Yesterday it works in home, this morning it doesn't work in office. Isn't enough repeat the .Create line. Is necesary to close and re-open the connection: Public Sub hlog(tipo As String, detalle As String) Dim r As Result Dim s As String s = Replace(detalle, "'", "\\'") s = Replace(s, "\"", "\\\"") Try r = hconn.Create("ad_hlog") If Error Then r = Null hconn.close hconn.open r = hconn.Create("ad_hlog") Endif r!tipo = tipo r!detalle = s r!usr = mComun.usuario.nick r!fmod = Now() r.Update End 2014-11-05 11:40 GMT+01:00 Jorge Carri?n : > Ron: > Your C? is ugly but almost all Spanish names wear ?, ?, ?, ? or ? > characters... You can imagine what a names list is... :D :D > > I think this is a bug. > > I've modified the function in this way: > > Public Sub hlog(tipo As String, detalle As String) > > Dim r As Result > Dim s As String > > s = Replace(detalle, "'", "\\'") > s = Replace(s, "\"", "\\\"") > > Try r = datos.Create("ad_hlog") > If Error Then > r = Null > r = datos.Create("ad_hlog") > Endif > > r!tipo = tipo > r!detalle = s > r!usr = mComun.usuario.nick > r!fmod = Now() > r.Update > > End > > Simply setting the result as null (trying to free the "non allocated") and > repite the .Create and .... all works fine. > > Regards. > > > 2014-11-05 11:17 GMT+01:00 Ron : > >> I have seen maybe something similar twice when running my project. >> On 3.6.1 (maybe also 3.6.0) all of a sudden the character set seem to >> have been switched/resetted. >> >> I see it because a lot of my fields contains ?C symbols, when the >> issue with occurs it is displayed as seen in attachment and ofcourse >> the queries/check fails/don't match anymore. My tables are using >> latin1 default charset. >> >> Only restarting the program resolved the issue. >> >> I can reproduce it by restarting mysql server between/during queries. >> Of course this is normal for this to go wrong, but I remember that >> there was a bugfix with regards to re-selecting correct charset when >> this happens/connection issues arise. >> >> During the two times I have seen the issue, my mysql server wasn't >> being restarted, and I had enough resources on my develpment machine. >> So I'm not sure what happened, and why the recovered connections >> behave differently. >> >> Maybe this issue can be looked into.. >> >> >> Regards, >> Ron. >> >> 2014-11-05 10:39 GMT+01:00 Jorge Carri?n : >> > With MySQL I have this function to log certains operations on a table >> named >> > ad_hlog: >> > >> > (The connection is named datos and is a public variable that remains >> opened >> > during project execution.) >> > >> > Public Sub hlog(tipo As String, detalle As String) >> > >> > Dim r As Result >> > Dim s As String >> > >> > detalle = Replace(detalle, "'", "\\'") >> > detalle = Replace(detalle, "\"", "\\\"") 'the string detalle can >> > contains ' and " characters >> > ' Old_code: this two commented lines makes eventualy that charset >> of >> > database be changed without message or warning at all >> > ' s = "insert into ad_hlog (tipo, detalle, usr,fmod) values ('" & >> > tipo & "', '" & detalle & "', '" & mComun.usuario.nick & "', " & >> "now()" & >> > ")" >> > ' datos.Exec(s) >> > >> > ' New code: the next line produces the "Cannot read information >> about >> > table ad_hlog" and changes the charset and produces allocation non >> freed at >> > end of execution >> > r = datos.Create("ad_hlog") >> > r!tipo = tipo >> > r!detalle = detalle >> > r!usr = mComun.usuario.nick >> > r!fmod = Now() >> > r.Update >> > >> > End >> > >> > This occurs seemingly random. Works fine several times and suddenly all >> is >> > wrong. >> > Apparently something is wrong on connection because the table >> definition is >> > very simple and I can't see anything erroneous: >> > >> > CREATE TABLE IF NOT EXISTS `ad_hlog` ( >> > `idhlog` int(8) unsigned NOT NULL AUTO_INCREMENT, >> > `tipo` varchar(50) NOT NULL, >> > `detalle` mediumtext NOT NULL, >> > `usr` varchar(20) NOT NULL, >> > `fmod` datetime NOT NULL, >> > KEY `id` (`idhlog`) >> > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2567 ; >> > >> > That situation are driven me crazy since a lot of time.... >> > I guess that once the problem isolated, I can get around it, but it >> seems >> > to me a bug.... >> > >> > Regards >> > >> ------------------------------------------------------------------------------ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > From gambas.fr at ...626... Thu Nov 6 11:46:33 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 6 Nov 2014 11:46:33 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: Message-ID: Heva you trying hcon.commit ?after the update. Le 6 nov. 2014 10:53, "Jorge Carri?n" a ?crit : > Correcting mysef: > > Yesterday it works in home, this morning it doesn't work in office. Isn't > enough repeat the .Create line. Is necesary to close and re-open the > connection: > > > Public Sub hlog(tipo As String, detalle As String) > > Dim r As Result > Dim s As String > > s = Replace(detalle, "'", "\\'") > s = Replace(s, "\"", "\\\"") > > Try r = hconn.Create("ad_hlog") > If Error Then > r = Null > hconn.close > hconn.open > r = hconn.Create("ad_hlog") > Endif > > r!tipo = tipo > r!detalle = s > r!usr = mComun.usuario.nick > r!fmod = Now() > r.Update > > End > > 2014-11-05 11:40 GMT+01:00 Jorge Carri?n : > > > Ron: > > Your C? is ugly but almost all Spanish names wear ?, ?, ?, ? or ? > > characters... You can imagine what a names list is... :D :D > > > > I think this is a bug. > > > > I've modified the function in this way: > > > > Public Sub hlog(tipo As String, detalle As String) > > > > Dim r As Result > > Dim s As String > > > > s = Replace(detalle, "'", "\\'") > > s = Replace(s, "\"", "\\\"") > > > > Try r = datos.Create("ad_hlog") > > If Error Then > > r = Null > > r = datos.Create("ad_hlog") > > Endif > > > > r!tipo = tipo > > r!detalle = s > > r!usr = mComun.usuario.nick > > r!fmod = Now() > > r.Update > > > > End > > > > Simply setting the result as null (trying to free the "non allocated") > and > > repite the .Create and .... all works fine. > > > > Regards. > > > > > > 2014-11-05 11:17 GMT+01:00 Ron : > > > >> I have seen maybe something similar twice when running my project. > >> On 3.6.1 (maybe also 3.6.0) all of a sudden the character set seem to > >> have been switched/resetted. > >> > >> I see it because a lot of my fields contains ?C symbols, when the > >> issue with occurs it is displayed as seen in attachment and ofcourse > >> the queries/check fails/don't match anymore. My tables are using > >> latin1 default charset. > >> > >> Only restarting the program resolved the issue. > >> > >> I can reproduce it by restarting mysql server between/during queries. > >> Of course this is normal for this to go wrong, but I remember that > >> there was a bugfix with regards to re-selecting correct charset when > >> this happens/connection issues arise. > >> > >> During the two times I have seen the issue, my mysql server wasn't > >> being restarted, and I had enough resources on my develpment machine. > >> So I'm not sure what happened, and why the recovered connections > >> behave differently. > >> > >> Maybe this issue can be looked into.. > >> > >> > >> Regards, > >> Ron. > >> > >> 2014-11-05 10:39 GMT+01:00 Jorge Carri?n : > >> > With MySQL I have this function to log certains operations on a table > >> named > >> > ad_hlog: > >> > > >> > (The connection is named datos and is a public variable that remains > >> opened > >> > during project execution.) > >> > > >> > Public Sub hlog(tipo As String, detalle As String) > >> > > >> > Dim r As Result > >> > Dim s As String > >> > > >> > detalle = Replace(detalle, "'", "\\'") > >> > detalle = Replace(detalle, "\"", "\\\"") 'the string detalle can > >> > contains ' and " characters > >> > ' Old_code: this two commented lines makes eventualy that charset > >> of > >> > database be changed without message or warning at all > >> > ' s = "insert into ad_hlog (tipo, detalle, usr,fmod) values > ('" & > >> > tipo & "', '" & detalle & "', '" & mComun.usuario.nick & "', " & > >> "now()" & > >> > ")" > >> > ' datos.Exec(s) > >> > > >> > ' New code: the next line produces the "Cannot read information > >> about > >> > table ad_hlog" and changes the charset and produces allocation non > >> freed at > >> > end of execution > >> > r = datos.Create("ad_hlog") > >> > r!tipo = tipo > >> > r!detalle = detalle > >> > r!usr = mComun.usuario.nick > >> > r!fmod = Now() > >> > r.Update > >> > > >> > End > >> > > >> > This occurs seemingly random. Works fine several times and suddenly > all > >> is > >> > wrong. > >> > Apparently something is wrong on connection because the table > >> definition is > >> > very simple and I can't see anything erroneous: > >> > > >> > CREATE TABLE IF NOT EXISTS `ad_hlog` ( > >> > `idhlog` int(8) unsigned NOT NULL AUTO_INCREMENT, > >> > `tipo` varchar(50) NOT NULL, > >> > `detalle` mediumtext NOT NULL, > >> > `usr` varchar(20) NOT NULL, > >> > `fmod` datetime NOT NULL, > >> > KEY `id` (`idhlog`) > >> > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2567 ; > >> > > >> > That situation are driven me crazy since a lot of time.... > >> > I guess that once the problem isolated, I can get around it, but it > >> seems > >> > to me a bug.... > >> > > >> > Regards > >> > > >> > ------------------------------------------------------------------------------ > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > ------------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lists at ...2828... Thu Nov 6 12:19:25 2014 From: lists at ...2828... (CJ) Date: Thu, 6 Nov 2014 12:19:25 +0100 Subject: [Gambas-user] Problems compiling Gambas 3.6.1 In-Reply-To: Message-ID: <000001cff9b3$8c0984d0$0f00a8c0@...2829...> Sebastian, Is this compiling issue fixed in current Trunk version or am I missunderstanding something? > Beno?t, could you please backport this fix to the 3.6 branch? > It was the only thing keeping me from compiling the compiler and > interpreter under Mac OS without issues. I will post another thread > in a few days with the remaining problems I had. > > On Mon, Nov 3, 2014 at 6:46 AM, CJ wrote: > > > > > > I tried to fix it in #6607. What compiler (version) do > you use? I ask > > > because there is nothing more in those lines than a forward > > > typedef. As far as I can remember back, all my compilers > could handle > > this. > > > > See below... > > > > gcc-4.4 4.4.5-8 The GNU C compiler > > > > Just a FYI if it helps, the last version I compiled without > problems on the > > same setup was 3.5.4. > > > > /CJ /CJ From shordi at ...626... Thu Nov 6 12:21:39 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 6 Nov 2014 12:21:39 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: Message-ID: Yes, I do the .Commit, but the error and charset change is produced in .Create line and the charset change in Insert line without errors... Now I'm doing a Class inherited of Connection who get around the error... hope it works without too much changes on my finished buggys develepments :-) Regards 2014-11-06 11:46 GMT+01:00 Fabien Bodard : > Heva you trying hcon.commit ?after the update. > Le 6 nov. 2014 10:53, "Jorge Carri?n" a ?crit : > > > Correcting mysef: > > > > Yesterday it works in home, this morning it doesn't work in office. Isn't > > enough repeat the .Create line. Is necesary to close and re-open the > > connection: > > > > > > Public Sub hlog(tipo As String, detalle As String) > > > > Dim r As Result > > Dim s As String > > > > s = Replace(detalle, "'", "\\'") > > s = Replace(s, "\"", "\\\"") > > > > Try r = hconn.Create("ad_hlog") > > If Error Then > > r = Null > > hconn.close > > hconn.open > > r = hconn.Create("ad_hlog") > > Endif > > > > r!tipo = tipo > > r!detalle = s > > r!usr = mComun.usuario.nick > > r!fmod = Now() > > r.Update > > > > End > > > > 2014-11-05 11:40 GMT+01:00 Jorge Carri?n : > > > > > Ron: > > > Your C? is ugly but almost all Spanish names wear ?, ?, ?, ? or ? > > > characters... You can imagine what a names list is... :D :D > > > > > > I think this is a bug. > > > > > > I've modified the function in this way: > > > > > > Public Sub hlog(tipo As String, detalle As String) > > > > > > Dim r As Result > > > Dim s As String > > > > > > s = Replace(detalle, "'", "\\'") > > > s = Replace(s, "\"", "\\\"") > > > > > > Try r = datos.Create("ad_hlog") > > > If Error Then > > > r = Null > > > r = datos.Create("ad_hlog") > > > Endif > > > > > > r!tipo = tipo > > > r!detalle = s > > > r!usr = mComun.usuario.nick > > > r!fmod = Now() > > > r.Update > > > > > > End > > > > > > Simply setting the result as null (trying to free the "non allocated") > > and > > > repite the .Create and .... all works fine. > > > > > > Regards. > > > > > > > > > 2014-11-05 11:17 GMT+01:00 Ron : > > > > > >> I have seen maybe something similar twice when running my project. > > >> On 3.6.1 (maybe also 3.6.0) all of a sudden the character set seem to > > >> have been switched/resetted. > > >> > > >> I see it because a lot of my fields contains ?C symbols, when the > > >> issue with occurs it is displayed as seen in attachment and ofcourse > > >> the queries/check fails/don't match anymore. My tables are using > > >> latin1 default charset. > > >> > > >> Only restarting the program resolved the issue. > > >> > > >> I can reproduce it by restarting mysql server between/during queries. > > >> Of course this is normal for this to go wrong, but I remember that > > >> there was a bugfix with regards to re-selecting correct charset when > > >> this happens/connection issues arise. > > >> > > >> During the two times I have seen the issue, my mysql server wasn't > > >> being restarted, and I had enough resources on my develpment machine. > > >> So I'm not sure what happened, and why the recovered connections > > >> behave differently. > > >> > > >> Maybe this issue can be looked into.. > > >> > > >> > > >> Regards, > > >> Ron. > > >> > > >> 2014-11-05 10:39 GMT+01:00 Jorge Carri?n : > > >> > With MySQL I have this function to log certains operations on a > table > > >> named > > >> > ad_hlog: > > >> > > > >> > (The connection is named datos and is a public variable that remains > > >> opened > > >> > during project execution.) > > >> > > > >> > Public Sub hlog(tipo As String, detalle As String) > > >> > > > >> > Dim r As Result > > >> > Dim s As String > > >> > > > >> > detalle = Replace(detalle, "'", "\\'") > > >> > detalle = Replace(detalle, "\"", "\\\"") 'the string detalle can > > >> > contains ' and " characters > > >> > ' Old_code: this two commented lines makes eventualy that > charset > > >> of > > >> > database be changed without message or warning at all > > >> > ' s = "insert into ad_hlog (tipo, detalle, usr,fmod) values > > ('" & > > >> > tipo & "', '" & detalle & "', '" & mComun.usuario.nick & "', " & > > >> "now()" & > > >> > ")" > > >> > ' datos.Exec(s) > > >> > > > >> > ' New code: the next line produces the "Cannot read information > > >> about > > >> > table ad_hlog" and changes the charset and produces allocation non > > >> freed at > > >> > end of execution > > >> > r = datos.Create("ad_hlog") > > >> > r!tipo = tipo > > >> > r!detalle = detalle > > >> > r!usr = mComun.usuario.nick > > >> > r!fmod = Now() > > >> > r.Update > > >> > > > >> > End > > >> > > > >> > This occurs seemingly random. Works fine several times and suddenly > > all > > >> is > > >> > wrong. > > >> > Apparently something is wrong on connection because the table > > >> definition is > > >> > very simple and I can't see anything erroneous: > > >> > > > >> > CREATE TABLE IF NOT EXISTS `ad_hlog` ( > > >> > `idhlog` int(8) unsigned NOT NULL AUTO_INCREMENT, > > >> > `tipo` varchar(50) NOT NULL, > > >> > `detalle` mediumtext NOT NULL, > > >> > `usr` varchar(20) NOT NULL, > > >> > `fmod` datetime NOT NULL, > > >> > KEY `id` (`idhlog`) > > >> > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=2567 ; > > >> > > > >> > That situation are driven me crazy since a lot of time.... > > >> > I guess that once the problem isolated, I can get around it, but it > > >> seems > > >> > to me a bug.... > > >> > > > >> > Regards > > >> > > > >> > > > ------------------------------------------------------------------------------ > > >> > _______________________________________________ > > >> > Gambas-user mailing list > > >> > Gambas-user at lists.sourceforge.net > > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > >> > > >> > > > ------------------------------------------------------------------------------ > > >> > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > >> > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Thu Nov 6 12:24:48 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 6 Nov 2014 12:24:48 +0100 Subject: [Gambas-user] Retrieve charset of mimepart In-Reply-To: <545B440D.5070904@...325...> References: <545B440D.5070904@...325...> Message-ID: I use this code in the EMail function to set the mime. I'm not very sure if this is what you are asking for: For Each fich In aAttached Exec ["file", "-bi", fich] To mime mime = Left(mime, InStr(mime, ";") - 1) fname = Right(fich, - RInStr(fich, "/")) SmtpC.Add(File.Load(fich), mime, fname) Next Hope this helps. Regards 2014-11-06 10:49 GMT+01:00 Roberto : > Dear All, > there is a method to get the charset of a mimepart ( eg. > part.ContentType = "plain/text" )? > Best Regards > Gambas 3.6 > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rhoct at ...325... Thu Nov 6 13:20:36 2014 From: rhoct at ...325... (roberto) Date: Thu, 06 Nov 2014 13:20:36 +0100 Subject: [Gambas-user] Retrieve charset of mimepart In-Reply-To: References: <545B440D.5070904@...325...> Message-ID: <545B6794.9080800@...325...> Thanks Jorge for you fast reply I have tried with: s = hPart.Headers["content-type"] If InStr(s, "charset") > 0 Then bla bla bla (estrapolate "charset" content ) endif but is not an excellent solution Il 06/11/2014 12:24, Jorge Carri?n ha scritto: > I use this code in the EMail function to set the mime. I'm not very sure if > this is what you are asking for: > > For Each fich In aAttached > Exec ["file", "-bi", fich] To mime > mime = Left(mime, InStr(mime, ";") - 1) > fname = Right(fich, - RInStr(fich, "/")) > SmtpC.Add(File.Load(fich), mime, fname) > Next > > > Hope this helps. > > Regards > > 2014-11-06 10:49 GMT+01:00 Roberto : > >> Dear All, >> there is a method to get the charset of a mimepart ( eg. >> part.ContentType = "plain/text" )? >> Best Regards >> Gambas 3.6 >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Thu Nov 6 14:36:29 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Thu, 6 Nov 2014 08:36:29 -0500 Subject: [Gambas-user] Make Datacontrol act like textbox with password set to Message-ID: Thanks, Tobias. Routine works perfectly. Regards, Marty -----Original Message----- From: gambas-user-request at lists.sourceforge.net [mailto:gambas-user-request at lists.sourceforge.net] Sent: Wednesday, November 5, 2014 1:45 AM To: gambas-user at lists.sourceforge.net Subject: Gambas-user Digest, Vol 102, Issue 6 Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Re: Directory navigation in IDE PictureBox Picture property not working (Beno?t Minisini) 2. Error configuring gambas3.6.1 (ePost) 3. Make Datacontrol act like textbox with password set to true (Martin McGlensey) 4. Re: Make Datacontrol act like textbox with password set to true (Tobias Boege) 5. Re: Directory navigation in IDE PictureBox Picture property not working (Lee) 6. Re: Problems compiling Gambas 3.6.1 (Sebastian Kulesz) 7. Issue 576 in gambas: TextBox.Select not reliable (gambas at ...2524...) ---------------------------------------------------------------------- Message: 1 Date: Mon, 03 Nov 2014 17:34:36 +0100 From: Beno?t Minisini Subject: Re: [Gambas-user] Directory navigation in IDE PictureBox Picture property not working To: mailing list for gambas users Message-ID: <5457AE9C.5060109 at ...1...> Content-Type: text/plain; charset=windows-1252; format=flowed Le 03/11/2014 16:59, Lee a ?crit : > Hello, > > When I try to select a picture in the IDE PictureBox Picture property, > the directory navigation does not seem to work. Clicking on any of the > directories in the navigation bar (screenshot attached) does not > change the current selected directory. > > I don't know if it's my system or not, but I have tried with two > different users. > > [System] > Gambas=3.6.0 > OperatingSystem=Linux > Kernel=3.10.54-desktop-2.mga3 > Architecture=x86 > Distribution=Mageia 3 > Desktop=KDE4 > Theme=Oxygen > Language=en_US.UTF-8 > Memory=1005M > [Libraries] > Cairo=libcairo.so.2.11200.12 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.2 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.5.0 > GTK+3=libgtk-3.so.0.600.4 > GTK+=libgtk-x11-2.0.so.0.2400.17 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.34.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > Lee > Picture files used by control properties must be located inside the project. This is why the tab is named "Project", but maybe it is not very clear... Regards, -- Beno?t Minisini ------------------------------ Message: 2 Date: Mon, 3 Nov 2014 19:28:17 +0100 From: "ePost" Subject: [Gambas-user] Error configuring gambas3.6.1 To: Message-ID: <001801cff793$f06c0d20$d1442760$@skellner.de> Content-Type: text/plain; charset="us-ascii" Hello, I can't configure gambas 3.6.1 (./reconv-all done with success, reconv in ./main got same information about configure.ac and configure.in) The following error occurs: bananapi at ...3387... ~/gambas3-3.6.1 $ ./configure -C configure: loading cache config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) mawk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... (cached) yes checking whether make supports nested variables... (cached) yes checking build system type... (cached) armv7l-unknown-linux-gnueabihf checking host system type... (cached) armv7l-unknown-linux-gnueabihf checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged === configuring in main (/home/bananapi/gambas3-3.6.1/main) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' --cache-file=../config.cache --srcdir=. configure: loading cache ../config.cache ./configure: line 2068: syntax error near unexpected token `main' ./configure: line 2068: `GB_INIT(main)' configure: error: ./configure failed for main bananapi at ...3387... ~/gambas3-3.6.1 $ Any idea to solve the problem.? Best regards Simon Kellner ------------------------------ Message: 3 Date: Mon, 3 Nov 2014 15:45:47 -0500 From: "Martin McGlensey" Subject: [Gambas-user] Make Datacontrol act like textbox with password set to true To: Message-ID: Content-Type: text/plain; charset="us-ascii" Hello, I need to have users enter a password into a data control. The password should be hidden from view as the user types. This can be done in a textbox by setting the password property to true. Nice but, there is no password property for a data control. An old post by Bennoit suggests the following: Dim hTextbox As TextBox = MyDataControl.Children[0] hTextBox.Password = True The first statement returns error - "Wanted textbox got datacontrol" Is it =Datasource.Children or is it =datacontrol like Datacontrol4? Maybe you guys could point out my mistake or suggest a better way. I'm using Gambas 3.6.2 on Ubuntu 12.04. Thanks, Marty ------------------------------ Message: 4 Date: Mon, 3 Nov 2014 22:24:44 +0100 From: Tobias Boege Subject: Re: [Gambas-user] Make Datacontrol act like textbox with password set to true To: mailing list for gambas users Message-ID: <20141103212444.GD655 at ...2774...> Content-Type: text/plain; charset=us-ascii On Mon, 03 Nov 2014, Martin McGlensey wrote: > Hello, > > > > I need to have users enter a password into a data control. The password > should be hidden from view as the user types. This can be done in a textbox > by setting the password property to true. Nice but, there is no password > property for a data control. An old post by Bennoit suggests the following: > > > > Dim hTextbox As TextBox = MyDataControl.Children[0] > > hTextBox.Password = True > > > > The first statement returns error - "Wanted textbox got datacontrol" Is it > =Datasource.Children or is it =datacontrol like Datacontrol4? > > > > Maybe you guys could point out my mistake or suggest a better way. I'm using > Gambas 3.6.2 [...] > Maybe I'll borrow your time machine some day ;-) About your problem: I have just tested this code and it worked here: --8<------------------------------------------------------------------------ '' Set the Password property of all TextBoxes contained in hDataControl '' (normally just one) to bVal. Private Sub SetPassword(hDataControl As DataControl, bVal As Boolean) Dim aTextboxes As TextBox[] = Discover(hDataControl, "TextBox") Dim hTextBox As TextBox For Each hTextBox In aTextboxes hTextBox.Password = bVal Next End '' Return all children of hContainer (recursively) which are of class sClass. Private Function Discover(hContainer As Container, sClass As String) As Control[] Dim hControl As Control Dim aRes As New Control[] For Each hControl In hContainer.Children If hControl Is Container Then aRes.Insert(Discover(hControl, sClass)) If Object.Type(hControl) = sClass Then aRes.Add(hControl) Next Return aRes End --8<------------------------------------------------------------------------ This is a plain generalisation of Benoit's suggestion. It doesn't assume that the TextBox is at some specific index in the children array and it doesn't assume that there is only one TextBox. We set the Password property of *every* TextBox, just to be sure -- but there should really be just one. It will work until something *seriously* changes in the way DataControl is implemented or container children are managed. But it's hard to imagine that such a big change will ever happen. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------ Message: 5 Date: Mon, 03 Nov 2014 18:00:45 -0500 From: Lee Subject: Re: [Gambas-user] Directory navigation in IDE PictureBox Picture property not working To: gambas-user at lists.sourceforge.net Message-ID: <5458091D.40308 at ...626...> Content-Type: text/plain; charset=windows-1252; format=flowed On 11/03/2014 11:34 AM, Beno?t Minisini wrote: > Picture files used by control properties must be located inside the > project. This is why the tab is named "Project", but maybe it is not > very clear... > > Regards, > > -- Beno?t Minisini Ah, okay, that makes sense. (Maybe that navigation bar shouldn't even be provided.) Thank you, Beno?t. ------------------------------ Message: 6 Date: Tue, 4 Nov 2014 00:48:28 -0300 From: Sebastian Kulesz Subject: Re: [Gambas-user] Problems compiling Gambas 3.6.1 To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=UTF-8 Beno?t, could you please backport this fix to the 3.6 branch? It was the only thing keeping me from compiling the compiler and interpreter under Mac OS without issues. I will post another thread in a few days with the remaining problems I had. On Mon, Nov 3, 2014 at 6:46 AM, CJ wrote: > > > I tried to fix it in #6607. What compiler (version) do you use? I ask > > because there is nothing more in those lines than a forward > > typedef. As far as I can remember back, all my compilers could handle > this. > > See below... > > gcc-4.4 4.4.5-8 The GNU C compiler > > Just a FYI if it helps, the last version I compiled without problems on the > same setup was 3.5.4. > > /CJ > > > > ---------------------------------------------------------------------------- -- > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------ Message: 7 Date: Wed, 05 Nov 2014 06:45:11 +0000 From: gambas at ...2524... Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable To: gambas-user at lists.sourceforge.net Message-ID: <0-6813199134517018827-3097106346779491654-gambas=googlecode.com at ...3390... com> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Status: New Owner: ---- Labels: Version-3.6.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 576 by chr4... at ...1601...: TextBox.Select not reliable https://code.google.com/p/gambas/issues/detail?id=576 Hi, 1) By developing an alternative combobox I found an issue with Gambas TextBox. The alternative combobox inherits TextBox. If the user enters letters in the combobox it searches in a list and completes the user's entry with matching words as a selection. This is done in the project in Sub SelectToInput() on line 460 with the code Me.Select(lensearch, lengridtext). To reproduce (but is it not always reliable reproducible): Enter one Letter after the other in the combobox M - i (the combobox shall complete to Mi-lben) n - e - r - a - f - u - t - t - e - r (the combobox shall complete to Min-eralfutter after the "n" and so on) After a couple of entered letters, sometimes after the second, very often within five, the combobox suddenly does not display the completed text as selection anymore. But as one can see by watching debug output in the code, the selection is registered by the interpreter. This bug prevents me from further developing of the combobox. tux_ in the German forum gambas-club.de could reproduce this bug on his system. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.11.0-20-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk Language=de_DE.UTF-8 Memory=3848M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Attachments: DegComboBox-0.0.2.tar.gz 16.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings ------------------------------ ---------------------------------------------------------------------------- -- ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 102, Issue 6 ******************************************* From gambas at ...1... Thu Nov 6 14:46:15 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 06 Nov 2014 14:46:15 +0100 Subject: [Gambas-user] Retrieve charset of mimepart In-Reply-To: <545B6794.9080800@...325...> References: <545B440D.5070904@...325...> <545B6794.9080800@...325...> Message-ID: <545B7BA7.4010303@...1...> Le 06/11/2014 13:20, roberto a ?crit : > Thanks Jorge for you fast reply > > I have tried with: > > s = hPart.Headers["content-type"] > If InStr(s, "charset") > 0 Then > bla bla bla (estrapolate "charset" content ) > endif > > but is not an excellent solution > AFAIK, the only place where the charset is specified is in the "charset" part of the Content-Type header (that you can get with the hPart.ContentType property directly). If the charset is not specified, I guess that you must guess! Regards, -- Beno?t Minisini From mmcg29440 at ...3163... Thu Nov 6 22:04:33 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Thu, 6 Nov 2014 16:04:33 -0500 Subject: [Gambas-user] Datasource.Filter does not work Message-ID: Hello, Using Gambas 3.6.1 on Ubuntu 12.04. I have a datatable called "tblUsers" with the following columns: Record_No, User, Password and last_Update. Record_No is the primary index. I have verified that there are two records in the datatable. Have the following code: Login.Connection = hConn Login.Table = "tblUsers" Login.Sort "User" This populates two datacontrols within the datasource container Login. That works because I see the data in the datacontrols and it is correct. I know the value 'Marty' is in the field 'User' in the table. Now further down in a sub login.Filter = "User = " & txtLogin.Text, where txtLogin.Text = "Marty", I get "query failed, unknown column 'Marty' in where clause" This syntax used to work as I have it in other modules that I have tested previously. Now they also do not work as before. The Wiki says the syntax is like the where clause. So it should work as I have written it. Where have I gone wrong? Thanks, Marty From gambas at ...1... Thu Nov 6 22:17:37 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 06 Nov 2014 22:17:37 +0100 Subject: [Gambas-user] Datasource.Filter does not work In-Reply-To: References: Message-ID: <545BE571.9070302@...1...> Le 06/11/2014 22:04, Martin McGlensey a ?crit : > Hello, > > > > Using Gambas 3.6.1 on Ubuntu 12.04. I have a datatable called "tblUsers" > with the following columns: Record_No, User, Password and last_Update. > Record_No is the primary index. I have verified that there are two records > in the datatable. Have the following code: > > > > Login.Connection = hConn > > Login.Table = "tblUsers" > > Login.Sort "User" > > > > > > This populates two datacontrols within the datasource container Login. That > works because I see the data in the datacontrols and it is correct. I know > the value 'Marty' is in the field 'User' in the table. > > > > Now further down in a sub login.Filter = "User = " & txtLogin.Text, where > txtLogin.Text = "Marty", I get "query failed, unknown column 'Marty' in > where clause" > > > > This syntax used to work as I have it in other modules that I have tested > previously. Now they also do not work as before. The Wiki says the syntax is > like the where clause. So it should work as I have written it. Where have I > gone wrong? > > > > Thanks, > > Marty > Please provide your project. Regards, -- Beno?t Minisini From bbruen at ...2308... Thu Nov 6 23:05:43 2014 From: bbruen at ...2308... (B Bruen) Date: Fri, 7 Nov 2014 08:35:43 +1030 Subject: [Gambas-user] Datasource.Filter does not work In-Reply-To: References: Message-ID: <20141107083543.90db8ca30b38ad1818379658@...2308...> On Thu, 6 Nov 2014 16:04:33 -0500 "Martin McGlensey" wrote: > Hello, (snipo) > Now further down in a sub login.Filter = "User = " & txtLogin.Text, where > txtLogin.Text = "Marty", I get "query failed, unknown column 'Marty' in > where clause" > The error ypu are reciving is correct. You need to delimit the string in the filter: login.Filter = db.Subst("User = &1", txtLogin.Text) otherwise your filter string will look like "User = Marty". gb.db.Subst will wrap the Marty string in the proper delimiters for the database being used eg for postgresql the filter would result in: "User = $$Marty$$". hth Bruce -- B Bruen From gambas at ...2524... Fri Nov 7 00:05:41 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 06 Nov 2014 23:05:41 +0000 Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable In-Reply-To: <4-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 576 by benoit.m... at ...626...: TextBox.Select not reliable https://code.google.com/p/gambas/issues/detail?id=576 I found a workaround in revision #6613. Anyway, don't call WAIT during event handlers, you will often have strange problems. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Fri Nov 7 00:40:24 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 07 Nov 2014 00:40:24 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: Message-ID: <545C06E8.1030606@...1...> Le 06/11/2014 10:51, Jorge Carri?n a ?crit : > Correcting mysef: > > Yesterday it works in home, this morning it doesn't work in office. Isn't > enough repeat the .Create line. Is necesary to close and re-open the > connection: > Can you try revision #6614? I added an automatic reconnection where it was not added before (when you call the Create() method for example). Regards, -- Beno?t Minisini From dosida at ...626... Fri Nov 7 02:20:47 2014 From: dosida at ...626... (Dimitris Anogiatis) Date: Thu, 6 Nov 2014 18:20:47 -0700 Subject: [Gambas-user] Wrong link in Gambaswiki Dbus section Message-ID: Hey guys, I was looking for information on the gb.dbus component and going through the session section I noticed that the session link was pointing to the gb.web component instead of the gb.dbus. Attached is a screenshot I took:[image: Inline image 1] Benoit (or whoever is helping out with the wiki) can you take a look at it, please? Thanks in advance Dimitrios Anogiatis -------------- next part -------------- A non-text attachment was scrubbed... Name: wrong_link-1.png Type: image/png Size: 148017 bytes Desc: not available URL: From chrisml at ...3340... Fri Nov 7 07:38:45 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 07 Nov 2014 07:38:45 +0100 Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable In-Reply-To: <5-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> (sfid-) References: <4-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> <5-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> (sfid-) Message-ID: <545C68F5.3070303@...3340...> Hello Beno?t, Am 07.11.2014 um 00:05 schrieb gambas at ...2524...: > Updates: > Status: Fixed > > Comment #5 on issue 576 by benoit.m... at ...626...: TextBox.Select not > reliable > https://code.google.com/p/gambas/issues/detail?id=576 > > I found a workaround in revision #6613. Fantastic! Tried it out in #6614 and it works flawlessly! Thank you very much! I'll ask Sebikul if he wants to backport that fix to Gambas Beta Builds on Launchpad. > Anyway, don't call WAIT during > event handlers, you will often have strange problems. Ok, thanks for the advice. I did that just in case of testing. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From shordi at ...626... Fri Nov 7 09:01:26 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 7 Nov 2014 09:01:26 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: <545C06E8.1030606@...1...> References: <545C06E8.1030606@...1...> Message-ID: i'll try this evening. Thanks Benoit. Regards 2014-11-07 0:40 GMT+01:00 Beno?t Minisini : > Le 06/11/2014 10:51, Jorge Carri?n a ?crit : > > Correcting mysef: > > > > Yesterday it works in home, this morning it doesn't work in office. Isn't > > enough repeat the .Create line. Is necesary to close and re-open the > > connection: > > > > Can you try revision #6614? I added an automatic reconnection where it > was not added before (when you call the Create() method for example). > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rhoct at ...325... Fri Nov 7 09:03:06 2014 From: rhoct at ...325... (roberto) Date: Fri, 07 Nov 2014 09:03:06 +0100 Subject: [Gambas-user] Retrieve charset of mimepart In-Reply-To: <545B7BA7.4010303@...1...> References: <545B440D.5070904@...325...> <545B6794.9080800@...325...> <545B7BA7.4010303@...1...> Message-ID: <545C7CBA.60806@...325...> Hi Beno?t (it is always a pleasure to read you in mailing list) we have eg 3 cases: 1?-> "Content-Type: text/plain; charset="iso-8859-1" print hpart.ContentType output-> "text/plain" print hpart.Header["Content-type"] output-> text/plain; charset="iso-8859-1" 2?-> "Content-Type: text/plain; charset=windows-1252; format=flowed" print hpart.ContentType output-> "text/plain" print hpart.Header["Content-type"] output-> "text/plain; charset=windows-1252; format=flowed" 3?-> ->Content-Type: text/plain; charset="UTF-8" <- print hpart.ContentType output-> "text/plain" print hpart.Header["Content-type"] output-> text/plain; charset="UTF-8" I found the following solution that seems to work, waiting for your review with the possibility of using hpart.charset s = hPart.Headers["content-type"] If InStr(s, "charset") > 0 Then s = Mid(s, InStr(s, "charset=") + 8) s = Left(s, InStr(s & " ", " ")) s = Replace(s, ";", "") s = Trim(Replace(s, Chr(34), "")) Try s = Conv(hPart.Data, s, "utf-8") If Error Then Message.Error("errore nel decodificare una parte mime " & Error.text, "ok") Return Else Return hpart.Data Endif Regards Il 06/11/2014 14:46, Beno?t Minisini ha scritto: > Le 06/11/2014 13:20, roberto a ?crit : >> Thanks Jorge for you fast reply >> >> I have tried with: >> >> s = hPart.Headers["content-type"] >> If InStr(s, "charset") > 0 Then >> bla bla bla (estrapolate "charset" content ) >> endif >> >> but is not an excellent solution >> > AFAIK, the only place where the charset is specified is in the "charset" > part of the Content-Type header (that you can get with the > hPart.ContentType property directly). > > If the charset is not specified, I guess that you must guess! > > Regards, > From sebikul at ...626... Fri Nov 7 10:12:44 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Fri, 7 Nov 2014 06:12:44 -0300 Subject: [Gambas-user] Problems compiling Gambas 3.6.1 In-Reply-To: <000001cff9b3$8c0984d0$0f00a8c0@...2829...> References: <000001cff9b3$8c0984d0$0f00a8c0@...2829...> Message-ID: It is fixed in trunk! I was just asking to backloport it so it is released with Gambas 3.6.2 On Nov 6, 2014 8:20 AM, "CJ" wrote: > > Sebastian, > > Is this compiling issue fixed in current Trunk version or am I > missunderstanding something? > > > Beno?t, could you please backport this fix to the 3.6 branch? > > It was the only thing keeping me from compiling the compiler and > > interpreter under Mac OS without issues. I will post another thread > > in a few days with the remaining problems I had. > > > > On Mon, Nov 3, 2014 at 6:46 AM, CJ wrote: > > > > > > > > > I tried to fix it in #6607. What compiler (version) do > > you use? I ask > > > > because there is nothing more in those lines than a forward > > > > typedef. As far as I can remember back, all my compilers > > could handle > > > this. > > > > > > See below... > > > > > > gcc-4.4 4.4.5-8 The GNU C compiler > > > > > > Just a FYI if it helps, the last version I compiled without > > problems on the > > > same setup was 3.5.4. > > > > > > /CJ > > /CJ > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Fri Nov 7 10:57:16 2014 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 07 Nov 2014 10:57:16 +0100 Subject: [Gambas-user] Issue 576 in gambas: TextBox.Select not reliable In-Reply-To: <545C68F5.3070303@...3340...> (sfid-) References: <4-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> <0-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> <5-6813199134517018827-3097106346779491654-gambas=googlecode.com@...2524...> (sfid-) <545C68F5.3070303@...3340...> (sfid-) Message-ID: <545C977C.4090604@...3340...> Hello Beno?t, Am 07.11.2014 um 07:38 I wrote: > I'll ask Sebikul if he wants to backport that fix to > Gambas Beta Builds on Launchpad. And he answered "You will have to ask Beno?t to backport it to the 3.6 branch so it is picked by the build system." So I ask you ... :-) Would be very nice, so that we can have it in production version, which is the beta. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From shordi at ...626... Fri Nov 7 17:43:21 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 7 Nov 2014 17:43:21 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: <545C06E8.1030606@...1...> References: <545C06E8.1030606@...1...> Message-ID: Well... I've created a Virtual Machine with LinuMint 17 Cinnamon. I've seen that current version on gambas-daily repository is the #6612. Then I've been trying to compile versi?n #6614 from svn but something was wrong with postgresql.gb, webkit.gb and another two packages. I'll wait to #6614 be on daily repository to test it, I guess... Regards 2014-11-07 0:40 GMT+01:00 Beno?t Minisini : > Le 06/11/2014 10:51, Jorge Carri?n a ?crit : > > Correcting mysef: > > > > Yesterday it works in home, this morning it doesn't work in office. Isn't > > enough repeat the .Create line. Is necesary to close and re-open the > > connection: > > > > Can you try revision #6614? I added an automatic reconnection where it > was not added before (when you call the Create() method for example). > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Nov 7 18:55:04 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 07 Nov 2014 18:55:04 +0100 Subject: [Gambas-user] Retrieve charset of mimepart In-Reply-To: <545C7CBA.60806@...325...> References: <545B440D.5070904@...325...> <545B6794.9080800@...325...> <545B7BA7.4010303@...1...> <545C7CBA.60806@...325...> Message-ID: <545D0778.3090308@...1...> Le 07/11/2014 09:03, roberto a ?crit : > Hi Beno?t (it is always a pleasure to read you in mailing list) > > we have eg 3 cases: > 1?-> > "Content-Type: text/plain; charset="iso-8859-1" > > print hpart.ContentType > output-> "text/plain" > print hpart.Header["Content-type"] > output-> text/plain; charset="iso-8859-1" > > 2?-> > "Content-Type: text/plain; charset=windows-1252; format=flowed" > > print hpart.ContentType > output-> "text/plain" > print hpart.Header["Content-type"] > output-> "text/plain; charset=windows-1252; format=flowed" > > 3?-> > ->Content-Type: text/plain; > charset="UTF-8" <- > > print hpart.ContentType > output-> "text/plain" > print hpart.Header["Content-type"] > output-> text/plain; charset="UTF-8" > > I found the following solution that seems to work, waiting for your > review with the possibility of using hpart.charset > > s = hPart.Headers["content-type"] > If InStr(s, "charset") > 0 Then > s = Mid(s, InStr(s, "charset=") + 8) > s = Left(s, InStr(s & " ", " ")) > s = Replace(s, ";", "") > s = Trim(Replace(s, Chr(34), "")) > Try s = Conv(hPart.Data, s, "utf-8") > If Error Then Message.Error("errore nel decodificare > una parte mime " & Error.text, "ok") > Return > Else > Return hpart.Data > Endif > > Regards > > > > Il 06/11/2014 14:46, Beno?t Minisini ha scritto: >> Le 06/11/2014 13:20, roberto a ?crit : >>> Thanks Jorge for you fast reply >>> >>> I have tried with: >>> >>> s = hPart.Headers["content-type"] >>> If InStr(s, "charset") > 0 Then >>> bla bla bla (estrapolate "charset" content ) >>> endif >>> >>> but is not an excellent solution >>> >> AFAIK, the only place where the charset is specified is in the "charset" >> part of the Content-Type header (that you can get with the >> hPart.ContentType property directly). >> >> If the charset is not specified, I guess that you must guess! >> >> Regards, >> > I didn't realize that the charset was stripped by the ContentType property, because this property is a direct interface to the gmime library. Maybe I will add a "Charset" method that extract the optional charset part for you. Regards, -- Beno?t Minisini From lists at ...2828... Sat Nov 8 10:19:22 2014 From: lists at ...2828... (CJ) Date: Sat, 8 Nov 2014 10:19:22 +0100 Subject: [Gambas-user] Problems compiling Gambas 3.6.1 In-Reply-To: Message-ID: <000001cffb35$17657fc0$0f00a8c0@...2829...> > It is fixed in trunk! I was just asking to backloport it so > it is released with Gambas 3.6.2 Thanks! Will give it a go when 3.6.2 is officially released. /CJ From ron at ...1740... Sat Nov 8 12:17:39 2014 From: ron at ...1740... (Ron) Date: Sat, 8 Nov 2014 12:17:39 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: <545C06E8.1030606@...1...> Message-ID: Trunk fixed the issue with the Celsius degrees symbol mangling, so utf8 is correctly set when a lost mysql connection is restored now. Can this be backported to 3.6.2 please? (if Jorge agrees too) Regards, Ron. 2014-11-07 17:43 GMT+01:00 Jorge Carri?n : > Well... I've created a Virtual Machine with LinuMint 17 Cinnamon. I've seen > that current version on gambas-daily repository is the #6612. Then I've > been trying to compile versi?n #6614 from svn but something was wrong with > postgresql.gb, webkit.gb and another two packages. > I'll wait to #6614 be on daily repository to test it, I guess... > > Regards > > 2014-11-07 0:40 GMT+01:00 Beno?t Minisini : > >> Le 06/11/2014 10:51, Jorge Carri?n a ?crit : >> > Correcting mysef: >> > >> > Yesterday it works in home, this morning it doesn't work in office. Isn't >> > enough repeat the .Create line. Is necesary to close and re-open the >> > connection: >> > >> >> Can you try revision #6614? I added an automatic reconnection where it >> was not added before (when you call the Create() method for example). >> >> Regards, >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mmcg29440 at ...3163... Sat Nov 8 15:29:12 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sat, 8 Nov 2014 09:29:12 -0500 Subject: [Gambas-user] Datasource.Filter does not work Message-ID: Thanks, Bruce. That worked. Suggest they update the documentation to show Datasource.Filter = db.Subst("Field &1", Text) instead of Datasource.Filter = "string". That may save someone else a few hours of debugging. Regards, Marty From gambas at ...1... Sat Nov 8 15:40:39 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 08 Nov 2014 15:40:39 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: <545C06E8.1030606@...1...> Message-ID: <545E2B67.1060505@...1...> Le 08/11/2014 12:17, Ron a ?crit : > Trunk fixed the issue with the Celsius degrees symbol mangling, so > utf8 is correctly set when a lost mysql connection is restored now. > Can this be backported to 3.6.2 please? > > (if Jorge agrees too) > > Regards, > Ron. > It will be. -- Beno?t Minisini From t.lee.davidson at ...626... Sat Nov 8 17:22:17 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 08 Nov 2014 11:22:17 -0500 Subject: [Gambas-user] Datasource.Filter does not work In-Reply-To: References: Message-ID: <545E4339.6030501@...626...> On 11/08/2014 09:29 AM, Martin McGlensey wrote: > Thanks, Bruce. That worked. Suggest they update the documentation to show > Datasource.Filter = db.Subst("Field &1", Text) instead of Datasource.Filter > = "string". That may save someone else a few hours of debugging. Done. http://gambaswiki.org/wiki/comp/gb.db.form/datasource/filter Any suggested corrections? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From shordi at ...626... Sat Nov 8 21:44:40 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 8 Nov 2014 21:44:40 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: <545E2B67.1060505@...1...> References: <545C06E8.1030606@...1...> <545E2B67.1060505@...1...> Message-ID: Of course, I agree! :-D :-D 2014-11-08 15:40 GMT+01:00 Beno?t Minisini : > Le 08/11/2014 12:17, Ron a ?crit : > > Trunk fixed the issue with the Celsius degrees symbol mangling, so > > utf8 is correctly set when a lost mysql connection is restored now. > > Can this be backported to 3.6.2 please? > > > > (if Jorge agrees too) > > > > Regards, > > Ron. > > > > It will be. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Sun Nov 9 03:45:39 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 9 Nov 2014 13:15:39 +1030 Subject: [Gambas-user] Silly IDE problem Message-ID: <20141109131539.a1b86b09df43ac0746b3a410@...2308...> I have a DateBox with Group="data" and a "data_Change() method: Public Sub data_Change() $dirty = True btnExit.Text = "&Save" End I set a breakpoint on the End statement. When running in the IDE, and the datebox calendar is shown execution stops on the End statement but I cannot enter anything in the Watch tab, nor can I resize any existing debug window. Further the calendar popup now appears on all desktops and is "modal" in the sense that I cannot ... enter text into this post for example. Confirm? Bug? Feature? Desktop=LXDE Bruce -- B Bruen From epost at ...3386... Sun Nov 9 07:02:02 2014 From: epost at ...3386... (ePost) Date: Sun, 9 Nov 2014 07:02:02 +0100 Subject: [Gambas-user] Resolve error compiling Gambas 3.6.x . gb.pdf -> File: PDFDoc.h not found Message-ID: <000f01cffbe2$aeab8250$0c0286f0$@skellner.de> Hello Gambas users, How to resolve error compiling Gambas 3.6.x . gb.pdf -> File: PDFDoc.h not found. Just install package: libpoppler-private-dev. This package is only included if compiling Gambas 3 (version <= 3.4.2) Please add this package to compiling Gambas 3 (version >= 3.6 or /trunk version) (http://gambas.sourceforge.net/en/main.html) I checked out from /trunk and now I have Gambas 3.6.90.? Regarding to my postings before: I solved my problems myself. I am senior software developer and I am working with VB in Microsoft Visual Studio. What I most miss is, that the value of the variable is not displayed (Tooltip) in debug mode when the mouse cursor is over it. Best regards SIMON KELLNER From bbruen at ...2308... Sun Nov 9 08:07:27 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 9 Nov 2014 17:37:27 +1030 Subject: [Gambas-user] Resolve error compiling Gambas 3.6.x . gb.pdf -> File: PDFDoc.h not found In-Reply-To: <000f01cffbe2$aeab8250$0c0286f0$@skellner.de> References: <000f01cffbe2$aeab8250$0c0286f0$@skellner.de> Message-ID: <20141109173727.faddbfc0effb67cdd0f68a98@...2308...> On Sun, 9 Nov 2014 07:02:02 +0100 "ePost" wrote: > Hello Gambas users, > > How to resolve error compiling Gambas 3.6.x . gb.pdf -> File: PDFDoc.h not > found. > > Just install package: libpoppler-private-dev. > This package is only included if compiling Gambas 3 (version <= 3.4.2) > Please add this package to compiling Gambas 3 (version >= 3.6 or /trunk > version) > (http://gambas.sourceforge.net/en/main.html) > > I checked out from /trunk and now I have Gambas 3.6.90.? > Regarding to my postings before: I solved my problems myself. > > I am senior software developer and I am working with VB in Microsoft Visual > Studio. > What I most miss is, that the value of the variable is not displayed > (Tooltip) in debug mode when the mouse cursor is over it. > > Best regards > SIMON KELLNER > > > SIMON, This is very confusing post. 1) "How to resolve error compiling Gambas 3.6.x . gb.pdf -> File: PDFDoc.h not > found." a) What exactly were you trying to compile? As far as I know there is no such file as "Gambas 3.6.xgb.pdf" let alone some reference to some C header file that given the mixed case no one in the galaxy knows what the heck you are talking about. b) Just what the (excuse the Australian slang here) "ducking hell" does "I am senior software developer and I am working with VB in Microsoft Visual Studio". have anything to do with prawns? Please try and rephrase your post in something that makes the least bit of sense to this audience. Calm down and ask a sensible question. B Bruen From gambas at ...2524... Sun Nov 9 10:32:15 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 09 Nov 2014 09:32:15 +0000 Subject: [Gambas-user] Issue 577 in gambas: Cannot set table name of datasource Message-ID: <0-6813199134517018827-3333419390426100314-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 577 by cyberjun... at ...626...: Cannot set table name of datasource https://code.google.com/p/gambas/issues/detail?id=577 ____________________________________________________________ / \ | IMPORTANT NOTE #1 | | | | Don't create an issue if you have a compilation problem on | | the development version. Send a mail to the mailing-list | | instead, thanks! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #2 | | | | If you encounter several different problems or bugs, (for | | example, a bug in your project, and an interpreter crash | | while debugging it), please create distinct issues! | \____________________________________________________________/ 1) Describe the problem. If you have a datasource control on your form you cannot set table name anymore. Enter it in text field 'Table' and it doesn't stick. If you edit the .form with vi and reload form the table name entered is shown and works. But you cannot change it. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-39-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7953M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. Bug in Gambas 3.6.1 and trunk, others not tested. 4) Provide a little project that reproduces the bug or the crash. Attached 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Open project and try to set table name of control. _________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ Attachments: DataSourceTableIssue-0.0.1.tar.gz 3.7 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sun Nov 9 10:40:53 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Nov 2014 10:40:53 +0100 Subject: [Gambas-user] Resolve error compiling Gambas 3.6.x . gb.pdf -> File: PDFDoc.h not found In-Reply-To: <000f01cffbe2$aeab8250$0c0286f0$@skellner.de> References: <000f01cffbe2$aeab8250$0c0286f0$@skellner.de> Message-ID: <545F36A5.4050205@...1...> Le 09/11/2014 07:02, ePost a ?crit : > Hello Gambas users, > > How to resolve error compiling Gambas 3.6.x . gb.pdf -> File: PDFDoc.h not > found. > > Just install package: libpoppler-private-dev. > This package is only included if compiling Gambas 3 (version <= 3.4.2) > Please add this package to compiling Gambas 3 (version >= 3.6 or /trunk > version) > (http://gambas.sourceforge.net/en/main.html) > > I checked out from /trunk and now I have Gambas 3.6.90.? > Regarding to my postings before: I solved my problems myself. I guess you are talking about a development package. Which distribution do you use? > > I am senior software developer and I am working with VB in Microsoft Visual > Studio. > What I most miss is, that the value of the variable is not displayed > (Tooltip) in debug mode when the mouse cursor is over it. At the moment you have to select it in the code to see it, or you can use the local variable panel below. I will see if I can implement that without too many hurdles. Regards, -- Beno?t Minisini From gambas at ...1... Sun Nov 9 10:44:08 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Nov 2014 10:44:08 +0100 Subject: [Gambas-user] Wrong link in Gambaswiki Dbus section In-Reply-To: References: Message-ID: <545F3768.50402@...1...> Le 07/11/2014 02:20, Dimitris Anogiatis a ?crit : > Hey guys, > > I was looking for information on the gb.dbus component and going through > the session section > I noticed that the session link was pointing to the gb.web component > instead of the gb.dbus. > > Attached is a screenshot I took:[image: Inline image 1] > > Benoit (or whoever is helping out with the wiki) can you take a look at it, > please? > > Thanks in advance > > Dimitrios Anogiatis > > Fixed. It was a bad link coming from the old wiki. I guess they are others to fix there and there. -- Beno?t Minisini From gambas at ...1... Sun Nov 9 10:44:57 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Nov 2014 10:44:57 +0100 Subject: [Gambas-user] Problems compiling Gambas 3.6.1 In-Reply-To: <000001cffb35$17657fc0$0f00a8c0@...2829...> References: <000001cffb35$17657fc0$0f00a8c0@...2829...> Message-ID: <545F3799.20604@...1...> Le 08/11/2014 10:19, CJ a ?crit : > >> It is fixed in trunk! I was just asking to backloport it so >> it is released with Gambas 3.6.2 > > Thanks! Will give it a go when 3.6.2 is officially released. > > /CJ > It will be backported. -- Beno?t Minisini From gambas at ...1... Sun Nov 9 13:26:55 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 09 Nov 2014 13:26:55 +0100 Subject: [Gambas-user] New features on the wiki Message-ID: <545F5D8F.8040107@...1...> Hi, I added "automatic documentation from source files" in the wiki. If a class, a property, an event, a constant or a method has an help comment in its source code, it will be used to make a default documentation page automatically. Another change: in editing mode, images become links to their wiki page. Things should be made easier now. -- Beno?t Minisini From shordi at ...626... Sun Nov 9 14:48:03 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 9 Nov 2014 14:48:03 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: <545C06E8.1030606@...1...> <545E2B67.1060505@...1...> Message-ID: Until I've tested, all works fine. Just a question: Is the "myconnection.Exec("insert into table" sentence updated too? Otherwise i'll change all my insert into sentences to .Create (some of they ar very complex... :-( Regards 2014-11-08 21:44 GMT+01:00 Jorge Carri?n : > Of course, I agree! :-D :-D > > 2014-11-08 15:40 GMT+01:00 Beno?t Minisini : > >> Le 08/11/2014 12:17, Ron a ?crit : >> > Trunk fixed the issue with the Celsius degrees symbol mangling, so >> > utf8 is correctly set when a lost mysql connection is restored now. >> > Can this be backported to 3.6.2 please? >> > >> > (if Jorge agrees too) >> > >> > Regards, >> > Ron. >> > >> >> It will be. >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas.fr at ...626... Sun Nov 9 14:58:52 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Nov 2014 14:58:52 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: <545F5D8F.8040107@...1...> References: <545F5D8F.8040107@...1...> Message-ID: Well i must be carefull now in my code comments ... 2014-11-09 13:26 GMT+01:00 Beno?t Minisini : > Hi, > > I added "automatic documentation from source files" in the wiki. If a > class, a property, an event, a constant or a method has an help comment > in its source code, it will be used to make a default documentation page > automatically. > > Another change: in editing mode, images become links to their wiki page. > > Things should be made easier now. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Sun Nov 9 15:40:08 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 09 Nov 2014 15:40:08 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: References: <545C06E8.1030606@...1...> <545E2B67.1060505@...1...> Message-ID: <545F7CC8.8000503@...1...> Le 09/11/2014 14:48, Jorge Carri?n a ?crit : > Until I've tested, all works fine. Just a question: Is the > "myconnection.Exec("insert into table" sentence updated too? > Otherwise i'll change all my insert into sentences to .Create (some of they > ar very complex... :-( > > Regards > The automatic reconnection feature was implemented for every SQL request, except a few commands of the mysql client library that are not SQL requests. I have just added the reconnection check for these commands. Regards, -- Beno?t Minisini From gambas at ...1... Sun Nov 9 15:41:20 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 09 Nov 2014 15:41:20 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: References: <545F5D8F.8040107@...1...> Message-ID: <545F7D10.60207@...1...> Le 09/11/2014 14:58, Fabien Bodard a ?crit : > Well i must be carefull now in my code comments ... . /|\ | / / Firefox has an english dictionnary. :-) -- Beno?t Minisini From gambas.fr at ...626... Sun Nov 9 16:12:46 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Nov 2014 16:12:46 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: <545F7D10.60207@...1...> References: <545F5D8F.8040107@...1...> <545F7D10.60207@...1...> Message-ID: """"Well i must be careful now in my code comments ..."""" yes I saw that chromium was one too. 2014-11-09 15:41 GMT+01:00 Beno?t Minisini : > Le 09/11/2014 14:58, Fabien Bodard a ?crit : >> Well i must be carefull now in my code comments ... > . > /|\ > | > / > / > Firefox has an english dictionnary. :-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...2524... Sun Nov 9 16:15:23 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 09 Nov 2014 15:15:23 +0000 Subject: [Gambas-user] Issue 577 in gambas: Cannot set table name of datasource In-Reply-To: <0-6813199134517018827-3333419390426100314-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3333419390426100314-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3333419390426100314-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.6.0 Comment #1 on issue 577 by benoit.m... at ...626...: Cannot set table name of datasource https://code.google.com/p/gambas/issues/detail?id=577 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Nov 9 16:16:23 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 09 Nov 2014 15:16:23 +0000 Subject: [Gambas-user] Issue 577 in gambas: Cannot set table name of datasource In-Reply-To: <1-6813199134517018827-3333419390426100314-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3333419390426100314-gambas=googlecode.com@...2524...> <0-6813199134517018827-3333419390426100314-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3333419390426100314-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 577 by benoit.m... at ...626...: Cannot set table name of datasource https://code.google.com/p/gambas/issues/detail?id=577 Fixed in revision #6616. It will be backported to Gambas 3.6.2. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From shordi at ...626... Sun Nov 9 17:50:22 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 9 Nov 2014 17:50:22 +0100 Subject: [Gambas-user] What "Cannot read information about table mi_table_name" means? In-Reply-To: <545F7CC8.8000503@...1...> References: <545C06E8.1030606@...1...> <545E2B67.1060505@...1...> <545F7CC8.8000503@...1...> Message-ID: Perfect Benoit. Thank your very much... again. Regards. 2014-11-09 15:40 GMT+01:00 Beno?t Minisini : > Le 09/11/2014 14:48, Jorge Carri?n a ?crit : > > Until I've tested, all works fine. Just a question: Is the > > "myconnection.Exec("insert into table" sentence updated too? > > Otherwise i'll change all my insert into sentences to .Create (some of > they > > ar very complex... :-( > > > > Regards > > > > The automatic reconnection feature was implemented for every SQL > request, except a few commands of the mysql client library that are not > SQL requests. I have just added the reconnection check for these commands. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sun Nov 9 20:25:42 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 9 Nov 2014 20:25:42 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: <545F7D10.60207@...1...> References: <545F5D8F.8040107@...1...> <545F7D10.60207@...1...> Message-ID: <20141109192542.GB735@...2774...> On Sun, 09 Nov 2014, Beno??t Minisini wrote: > Le 09/11/2014 14:58, Fabien Bodard a ??crit : > > Well i must be carefull now in my code comments ... > . > /|\ > | > / > / > Firefox has an english dictionnary. :-) . /|\ | / / People in glass houses... :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From info at ...3392... Mon Nov 10 08:50:42 2014 From: info at ...3392... (Andreas =?utf-8?b?TcO8bGxlcg==?=) Date: Mon, 10 Nov 2014 07:50:42 +0000 (UTC) Subject: [Gambas-user] Release of Gambas 3.6.1 References: <54551B24.4010400@...1...> Message-ID: Beno?t Minisini users.sourceforge.net> writes: > > Hi, > > Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty > bugs reported after the 3.6.0 release. > > The list of bug fixes in the ChangeLog at > http://gambaswiki.org/wiki/doc/release/3.6.1. > > Enjoy it! > Hello Beno?t, there is an Gambas 3.6.1 update of the HP-9100A Emulator on my homepage: http://andreas-mueller-informatik.de (scroll down..) If you like you can replace the version 2.x sample application by this one. best regards andreas From gambas.fr at ...626... Mon Nov 10 09:50:48 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 10 Nov 2014 09:50:48 +0100 Subject: [Gambas-user] Release of Gambas 3.6.1 In-Reply-To: References: <54551B24.4010400@...1...> Message-ID: An dem Computer sieht man sehr sch?n, wie sich ?ber die Jahre die Art der Anwendungen ver?ndert haben. In den 60er Jahren standen numerische Berechnungen im Vordergrund, ein "Computer" fasste Zahlenkolonnen zusammen ("computare") und erstellte daraus eine Statistik - ein Wissenschaftler wollte quantitative Zusammenh?nge untersuchen. Heute werden Computer zum kommunizieren verwendet, darum findet sich auf einem Smartphone nur selten eine Programmiertaste. Da wir als "Verbraucher" nur noch konsumieren und nicht mehr kreativ produzieren sollen, sind Tasten f?r die Programmierung "IF x>y" oder "Goto" nicht mehr gefragt. Die einzige Entscheidung, die uns noch bleibt, lautet: "kostenpflichtig Bestellen" und daf?r reicht der Einschaltknopf eines iPhones aus. Et c'est triste ! 2014-11-10 8:50 GMT+01:00 Andreas M?ller : > Beno?t Minisini users.sourceforge.net> writes: > >> >> Hi, >> >> Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty >> bugs reported after the 3.6.0 release. >> >> The list of bug fixes in the ChangeLog at >> http://gambaswiki.org/wiki/doc/release/3.6.1. >> >> Enjoy it! >> > > > Hello Beno?t, > > there is an Gambas 3.6.1 update of the HP-9100A Emulator on my homepage: > http://andreas-mueller-informatik.de (scroll down..) > If you like you can replace the version 2.x sample application by this one. > > best regards > andreas > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From dosida at ...626... Mon Nov 10 10:20:19 2014 From: dosida at ...626... (Dimitris Anogiatis) Date: Mon, 10 Nov 2014 02:20:19 -0700 Subject: [Gambas-user] Wrong link in Gambaswiki Dbus section In-Reply-To: <545F3768.50402@...1...> References: <545F3768.50402@...1...> Message-ID: Thank you for looking into this so quickly Benoit :) On Sun, Nov 9, 2014 at 2:44 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 07/11/2014 02:20, Dimitris Anogiatis a ?crit : > > Hey guys, > > > > I was looking for information on the gb.dbus component and going through > > the session section > > I noticed that the session link was pointing to the gb.web component > > instead of the gb.dbus. > > > > Attached is a screenshot I took:[image: Inline image 1] > > > > Benoit (or whoever is helping out with the wiki) can you take a look at > it, > > please? > > > > Thanks in advance > > > > Dimitrios Anogiatis > > > > > > Fixed. It was a bad link coming from the old wiki. I guess they are > others to fix there and there. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rolf.frogs at ...221... Mon Nov 10 13:04:24 2014 From: rolf.frogs at ...221... (rolf) Date: Mon, 10 Nov 2014 13:04:24 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy Message-ID: <201411101304.25261.rolf.frogs@...221...> Hi, I try to compile gambas (svn trunk) on Debian wheezy, but get the errors when I do ./reconf-all libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' libtoolize: Remember to add `LT_INIT' to configure.ac. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --output=aclocal.m4t Can't exec "aclocal": Datei oder Verzeichnis nicht gefunden at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: Datei oder Verzeichnis nicht gefunden Installed is libtool 2.4.2-1.1, autoconf 2.69-1 What can I do to avoid this error? Rolf From info at ...3392... Mon Nov 10 20:05:57 2014 From: info at ...3392... (Andreas =?utf-8?b?TcO8bGxlcg==?=) Date: Mon, 10 Nov 2014 19:05:57 +0000 (UTC) Subject: [Gambas-user] Release of Gambas 3.6.1 References: <54551B24.4010400@...1...> Message-ID: Fabien Bodard gmail.com> writes: Die einzige Entscheidung, die uns noch bleibt, lautet: > "kostenpflichtig Bestellen" und daf?r reicht der Einschaltknopf eines > iPhones aus. > > Et c'est triste ! > oui Monsieur! From cybercamera at ...626... Tue Nov 11 02:11:32 2014 From: cybercamera at ...626... (Cam Era) Date: Tue, 11 Nov 2014 12:11:32 +1100 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: <53C771ED.9080200@...1887...> References: <53B3887E.9060001@...1887...> <53C1C67C.9080103@...1887...> <53C771ED.9080200@...1887...> Message-ID: Kevin, http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz returns: Not Found The requested URL /sylph/Sylph_Demo_2.gambas.tar.gz was not found on this server. On Thu, Jul 17, 2014 at 4:49 PM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: The wait is over: http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz From kevinfishburne at ...1887... Tue Nov 11 04:08:41 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 10 Nov 2014 22:08:41 -0500 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: References: <53B3887E.9060001@...1887...> <53C1C67C.9080103@...1887...> <53C771ED.9080200@...1887...> Message-ID: <54617DB9.30207@...1887...> On 11/10/2014 08:11 PM, Cam Era wrote: > Kevin, > > http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz > > returns: > > Not Found > > The requested URL /sylph/Sylph_Demo_2.gambas.tar.gz was not found on this > server. > > > On Thu, Jul 17, 2014 at 4:49 PM, Kevin Fishburne < > kevinfishburne at ...1887...> wrote: > > The wait is over: > > http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz Hi Cam. The old links are gone as KDE decided to have a seizure and deleted the entire project, binaries and all (accidentally recursive cut/paste operation). I luckily got most everything back from a Dropbox backup. You can find most everything (including the Alpha 4 demo) here: http://eightvirtues.com/sylph/ You can also follow me on Twitter @eightvirtues to keep current with the project, including the Alpha 5 release which should be ready in the next few weeks. It will have the first three stages 100% complete instead of using placeholder/test stages as it currently does. Also hook up your gamepad if you have one and set your buttons via the Flight Control menu, and here's an Alpha 5 preview: https://www.youtube.com/watch?v=p3Do7fZ7eLo -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bbruen at ...2308... Tue Nov 11 05:12:48 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 11 Nov 2014 14:42:48 +1030 Subject: [Gambas-user] SwitchButton keyboard actions Message-ID: <20141111144248.c971266c0f37df5c9d9cd2aa@...2308...> It appears that there is no way to change a SwitchButton value using the keyboard? Comments? regards -- B Bruen From cybercamera at ...626... Tue Nov 11 05:51:01 2014 From: cybercamera at ...626... (Cam Era) Date: Tue, 11 Nov 2014 15:51:01 +1100 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: <54617DB9.30207@...1887...> References: <53B3887E.9060001@...1887...> <53C1C67C.9080103@...1887...> <53C771ED.9080200@...1887...> <54617DB9.30207@...1887...> Message-ID: Kevin, that looks like an amazing achievement and an excellent exemplar of what Gambas can achieve. Kudos. On Tue, Nov 11, 2014 at 2:08 PM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > On 11/10/2014 08:11 PM, Cam Era wrote: > > Kevin, > > > > http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz > > > > returns: > > > > Not Found > > > > The requested URL /sylph/Sylph_Demo_2.gambas.tar.gz was not found on > this > > server. > > > > > > On Thu, Jul 17, 2014 at 4:49 PM, Kevin Fishburne < > > kevinfishburne at ...1887...> wrote: > > > > The wait is over: > > > > http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz > > Hi Cam. The old links are gone as KDE decided to have a seizure and > deleted the entire project, binaries and all (accidentally recursive > cut/paste operation). I luckily got most everything back from a Dropbox > backup. You can find most everything (including the Alpha 4 demo) here: > > http://eightvirtues.com/sylph/ > > You can also follow me on Twitter @eightvirtues to keep current with the > project, including the Alpha 5 release which should be ready in the next > few weeks. It will have the first three stages 100% complete instead of > using placeholder/test stages as it currently does. > > Also hook up your gamepad if you have one and set your buttons via the > Flight Control menu, and here's an Alpha 5 preview: > > https://www.youtube.com/watch?v=p3Do7fZ7eLo > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Nov 11 11:55:01 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Nov 2014 11:55:01 +0100 Subject: [Gambas-user] SwitchButton keyboard actions In-Reply-To: <20141111144248.c971266c0f37df5c9d9cd2aa@...2308...> References: <20141111144248.c971266c0f37df5c9d9cd2aa@...2308...> Message-ID: <5461EB05.6050502@...1...> Le 11/11/2014 05:12, B Bruen a ?crit : > It appears that there is no way to change a SwitchButton value using the keyboard? > > Comments? > > regards > Something to be done... -- Beno?t Minisini From shordi at ...626... Tue Nov 11 12:02:44 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 11 Nov 2014 12:02:44 +0100 Subject: [Gambas-user] Curious inconsistence on IDE showed value Message-ID: Strange. A class property is stored in a variable correctly, but IDE shows a wrong value. See picture attached. I attach a proyect with the problem too (I'm not feel myself able to simplify the problem, sorry) Regards. -------------- next part -------------- A non-text attachment was scrubbed... Name: prscr.png Type: image/png Size: 176488 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xControles-0.0.2.tar.gz Type: application/x-gzip Size: 25215 bytes Desc: not available URL: From gambas at ...1... Tue Nov 11 13:03:24 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Nov 2014 13:03:24 +0100 Subject: [Gambas-user] SwitchButton keyboard actions In-Reply-To: <5461EB05.6050502@...1...> References: <20141111144248.c971266c0f37df5c9d9cd2aa@...2308...> <5461EB05.6050502@...1...> Message-ID: <5461FB0C.9050005@...1...> Le 11/11/2014 11:55, Beno?t Minisini a ?crit : > Le 11/11/2014 05:12, B Bruen a ?crit : >> It appears that there is no way to change a SwitchButton value using >> the keyboard? >> >> Comments? >> >> regards >> > > Something to be done... > Done in revision #6635. -- Beno?t Minisini From rolf.frogs at ...221... Tue Nov 11 13:06:27 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 11 Nov 2014 13:06:27 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411101304.25261.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> Message-ID: <201411111306.29661.rolf.frogs@...221...> Hi, I answer myself, to tell that the problem with aclocal is solved - why does the package "autoconf" is not mentioned as a required package in the howtos? Now I need a hint how to get gb.media compiled in wheezy - the compiler alway complains about gstreamer-video - I do not find an associated package in the repository. Also jit is always disabled. Attached is the skript I use to compile Gambas and the output of the process on wheezy system with wheezy-backports activated. Any help is welcomed Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: buildGambas.sh.zip Type: application/x-zip Size: 955 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: buildGambas.log.zip Type: application/x-zip Size: 20505 bytes Desc: not available URL: From gambas at ...1... Tue Nov 11 13:13:48 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Nov 2014 13:13:48 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111306.29661.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> Message-ID: <5461FD7C.7050107@...1...> Le 11/11/2014 13:06, rolf a ?crit : > Hi, > > I answer myself, to tell that the problem with aclocal is solved - why does > the package "autoconf" is not mentioned as a required package in the howtos? Because it must be added in the wiki? Anyone can do that. > > Now I need a hint how to get gb.media compiled in wheezy - the compiler alway > complains about gstreamer-video - I do not find an associated package in the > repository. Only a debian user can answer. > > Also jit is always disabled. It requires LLVM >= 3.1, do you have it? -- Beno?t Minisini From rolf.frogs at ...221... Tue Nov 11 13:31:48 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 11 Nov 2014 13:31:48 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <5461FD7C.7050107@...1...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> <5461FD7C.7050107@...1...> Message-ID: <201411111331.49807.rolf.frogs@...221...> Hello Beno?t, many thanks for your fast response. > > I answer myself, to tell that the problem with aclocal is solved - why > > does the package "autoconf" is not mentioned as a required package in the > > howtos? > > Because it must be added in the wiki? Anyone can do that. > > > Now I need a hint how to get gb.media compiled in wheezy - the compiler > > alway complains about gstreamer-video - I do not find an associated > > package in the repository. > > Only a debian user can answer. > > > Also jit is always disabled. > > It requires LLVM >= 3.1, do you have it? Yes, it is installed llvm itself and the dev files Fine regards Rolf Here the system information [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.16-0.bpo.3-amd64 Architecture=x86_64 Distribution=debian 7.7 Desktop=trinity (TDE) Theme=QWindows Language=de_DE.UTF-8 Memory=7962M [Libraries] Cairo=libcairo.so.2.11200.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.2 SDL=libSDL-1.2.so.0.11.4 From gambas at ...1... Tue Nov 11 13:44:01 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Nov 2014 13:44:01 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111331.49807.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> <5461FD7C.7050107@...1...> <201411111331.49807.rolf.frogs@...221...> Message-ID: <54620491.9030406@...1...> Le 11/11/2014 13:31, rolf a ?crit : >> >> It requires LLVM >= 3.1, do you have it? > > Yes, it is installed llvm itself and the dev files > Are you sure? What returns 'llvm-config --version'? -- Beno?t Minisini From rolf.frogs at ...221... Tue Nov 11 14:04:32 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 11 Nov 2014 14:04:32 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <54620491.9030406@...1...> References: <201411101304.25261.rolf.frogs@...221...> <201411111331.49807.rolf.frogs@...221...> <54620491.9030406@...1...> Message-ID: <201411111404.33654.rolf.frogs@...221...> Hi Beno?t > >> It requires LLVM >= 3.1, do you have it? > > > > Yes, it is installed llvm itself and the dev files > > Are you sure? What returns 'llvm-config --version'? You are right because llvm-config --version gives 3.0 back. My mistake was, that I installed both 3.0 and 3.1, but after I deinstalled llvm-3.0 I still get "gb.jit is disabled". Fine regards Rolf From Karl.Reinl at ...2345... Tue Nov 11 14:05:09 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 11 Nov 2014 14:05:09 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111306.29661.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> Message-ID: <1415711109.3452.1.camel@...40...> Am Dienstag, den 11.11.2014, 13:06 +0100 schrieb rolf: > Hi, > > I answer myself, to tell that the problem with aclocal is solved - why does > the package "autoconf" is not mentioned as a required package in the howtos? > > Now I need a hint how to get gb.media compiled in wheezy - the compiler alway > complains about gstreamer-video - I do not find an associated package in the > repository. > > Also jit is always disabled. > > Attached is the skript I use to compile Gambas and the output of the process > on wheezy system with wheezy-backports activated. > > Any help is welcomed > Rolf Salut Rolf, why do you do it all as root ? -- Amicalement Charlie From rolf.frogs at ...221... Tue Nov 11 14:21:15 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 11 Nov 2014 14:21:15 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <1415711109.3452.1.camel@...40...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> <1415711109.3452.1.camel@...40...> Message-ID: <201411111421.17011.rolf.frogs@...221...> Hi Karl > why do you do it all as root ? It should become a system wide installation. I allways compile programs everybody should use on this computer as admin. Rolf From willy at ...2734... Tue Nov 11 14:33:37 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 11 Nov 2014 14:33:37 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111306.29661.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> Message-ID: <1415712817.11068.13.camel@...3024...> On di, 2014-11-11 at 13:06 +0100, rolf wrote: > Hi, > > I answer myself, to tell that the problem with aclocal is solved - why does > the package "autoconf" is not mentioned as a required package in the howtos? Online Gambas wiki, does have autoconf mentioned as required package!! Has always been there. > > Now I need a hint how to get gb.media compiled in wheezy - the compiler alway > complains about gstreamer-video - I do not find an associated package in the > repository. In your log I can see gstreamer doesn't get installed, hence gb.media will not compile. -------------------------- Die folgenden Pakete haben verletzte Abh?ngigkeiten: gstreamer1.0-plugins-good : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) aber 1:0.4.16-2 ist installiert. libgstreamer-plugins-base1.0-0 : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) aber 1:0.4.16-2 ist installiert. gstreamer1.0-plugins-base : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) aber 1:0.4.16-2 ist installiert. ------------------ Seems your liborc-0.4-0 version installed is to low and coming form wheezy. I guess the gstreamer1.0 comes from wheezy-backports repo? Simple search on Debian Package Search for liborc-0.4-0 shows that - wheezy package is on 1:0.4.16-2 (the one installed on your system) - wheezy-bakcports is on 1:0.4.19-1~bpo70+1 (the one you need!!) See: https://packages.debian.org/search?keywords=liborc-0.4-0&searchon=names&suite=all§ion=all Some of the other packages that would not install (see your log) will probably have a same kind of problem. > > Also jit is always disabled. llvm above 3.1. Again check wheezy versus wheezy-backports versions!! Used Debian Package Search to help you out and search for any suite to see them all. > > Attached is the skript I use to compile Gambas and the output of the process > on wheezy system with wheezy-backports activated. > > Any help is welcomed > Rolf > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...2734... Tue Nov 11 14:59:54 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 11 Nov 2014 14:59:54 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <1415712817.11068.13.camel@...3024...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> <1415712817.11068.13.camel@...3024...> Message-ID: <1415714394.11068.17.camel@...3024...> On di, 2014-11-11 at 14:33 +0100, Willy Raets wrote: > On di, 2014-11-11 at 13:06 +0100, rolf wrote: > > Hi, > > > > I answer myself, to tell that the problem with aclocal is solved - why does > > the package "autoconf" is not mentioned as a required package in the howtos? > > Online Gambas wiki, does have autoconf mentioned as required package!! > Has always been there. > > > > > > Now I need a hint how to get gb.media compiled in wheezy - the compiler alway > > complains about gstreamer-video - I do not find an associated package in the > > repository. > > In your log I can see gstreamer doesn't get installed, hence gb.media > will not compile. > -------------------------- > Die folgenden Pakete haben verletzte Abh?ngigkeiten: > gstreamer1.0-plugins-good : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) > aber 1:0.4.16-2 ist installiert. > libgstreamer-plugins-base1.0-0 : H?ngt ab von: liborc-0.4-0 (>= > 1:0.4.18) aber 1:0.4.16-2 ist installiert. > gstreamer1.0-plugins-base : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) > aber 1:0.4.16-2 ist installiert. > ------------------ > Seems your liborc-0.4-0 version installed is to low and coming form > wheezy. I guess the gstreamer1.0 comes from wheezy-backports repo? > > Simple search on Debian Package Search for liborc-0.4-0 > shows that > - wheezy package is on 1:0.4.16-2 (the one installed on your system) > - wheezy-bakcports is on 1:0.4.19-1~bpo70+1 (the one you need!!) > > See: > https://packages.debian.org/search?keywords=liborc-0.4-0&searchon=names&suite=all§ion=all > > Some of the other packages that would not install (see your log) will > probably have a same kind of problem. A little added note: To make sure liborc-0.4-0 gets pulled from wheezy-backports add a preferences file to /etc/apt with this content: Package: liborc-0.4-0 Pin: release n=wheezy-backports Pin-Priority: 1050 Package: * Pin: release n=wheezy Pin-Priority: 950 Package: * Pin: release n=wheezy-backports Pin-Priority: -1 Or if you don't mind that wheezy-backport version get preferred you could also do this in preferences file: Package: * Pin: release n=wheezy-backports Pin-Priority: 1050 Package: * Pin: release n=wheezy Pin-Priority: 950 > > > > > > Also jit is always disabled. > > llvm above 3.1. Again check wheezy versus wheezy-backports versions!! > Used Debian Package Search to help you out and search for any suite to > see them all. > > > > > > Attached is the skript I use to compile Gambas and the output of the process > > on wheezy system with wheezy-backports activated. > > > > Any help is welcomed > > Rolf > > ------------------------------------------------------------------------------ > > Comprehensive Server Monitoring with Site24x7. > > Monitor 10 servers for $9/Month. > > Get alerted through email, SMS, voice calls or mobile push notifications. > > Take corrective actions from your mobile device. > > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > > _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From Karl.Reinl at ...2345... Tue Nov 11 15:20:30 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 11 Nov 2014 15:20:30 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111421.17011.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> <1415711109.3452.1.camel@...40...> <201411111421.17011.rolf.frogs@...221...> Message-ID: <1415715630.3452.5.camel@...40...> Am Dienstag, den 11.11.2014, 14:21 +0100 schrieb rolf: > Hi Karl > > > why do you do it all as root ? > > It should become a system wide installation. I allways compile programs > everybody should use on this computer as admin. > > Rolf Salut Rolf, sudo/su make install does that -- Amicalement Charlie From rolf.frogs at ...221... Tue Nov 11 15:26:56 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 11 Nov 2014 15:26:56 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <1415712817.11068.13.camel@...3024...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> <1415712817.11068.13.camel@...3024...> Message-ID: <201411111526.57082.rolf.frogs@...221...> Hi Willy > Online Gambas wiki, does have autoconf mentioned as required package!! > Has always been there. I copied the packages in the Step 4 section and there is no automake as package named. > > Now I need a hint how to get gb.media compiled in wheezy - the compiler > > alway complains about gstreamer-video - I do not find an associated > > package in the repository. > > In your log I can see gstreamer doesn't get installed, hence gb.media > will not compile. > -------------------------- > Die folgenden Pakete haben verletzte Abh?ngigkeiten: > gstreamer1.0-plugins-good : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) > aber 1:0.4.16-2 ist installiert. > libgstreamer-plugins-base1.0-0 : H?ngt ab von: liborc-0.4-0 (>= > 1:0.4.18) aber 1:0.4.16-2 ist installiert. > gstreamer1.0-plugins-base : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) > aber 1:0.4.16-2 ist installiert. > ------------------ > Seems your liborc-0.4-0 version installed is to low and coming form > wheezy. I guess the gstreamer1.0 comes from wheezy-backports repo? > > Simple search on Debian Package Search for liborc-0.4-0 > shows that > - wheezy package is on 1:0.4.16-2 (the one installed on your system) > - wheezy-bakcports is on 1:0.4.19-1~bpo70+1 (the one you need!!) Thanks. I installed it with aptitude install -t wheezy-backports and now it works. Do you have an idea which package I need for llvm. gb.jit does not compile. Many thanks again Rolf From rolf.frogs at ...221... Tue Nov 11 15:31:11 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 11 Nov 2014 15:31:11 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <1415715630.3452.5.camel@...40...> References: <201411101304.25261.rolf.frogs@...221...> <201411111421.17011.rolf.frogs@...221...> <1415715630.3452.5.camel@...40...> Message-ID: <201411111531.12659.rolf.frogs@...221...> Hi Karl > > > why do you do it all as root ? > > > > It should become a system wide installation. I allways compile programs > > everybody should use on this computer as admin. > > > > Rolf > > Salut Rolf, > > sudo/su make install does that First of all I use Debian not Ubuntu so I sudo is not configured out of the box. And what is the difference between working as root - especially if root is requiered for installing the needed program packets - and do it with sudo? Gru? Rolf From lists at ...2828... Tue Nov 11 15:57:10 2014 From: lists at ...2828... (CJ) Date: Tue, 11 Nov 2014 15:57:10 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111306.29661.rolf.frogs@...221...> Message-ID: <000001cffdbf$c71e8240$0f00a8c0@...2829...> > Now I need a hint how to get gb.media compiled in wheezy - the compiler > alway complains about gstreamer-video - I do not find an associated package in the > repository. I remember that one...check if you have the following packages installed... gstreamer-1.0 gstreamer-video-1.0 > Also jit is always disabled. This one needs LLVM installed /CJ From taboege at ...626... Tue Nov 11 15:56:38 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 11 Nov 2014 15:56:38 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111531.12659.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> <201411111421.17011.rolf.frogs@...221...> <1415715630.3452.5.camel@...40...> <201411111531.12659.rolf.frogs@...221...> Message-ID: <20141111145638.GA728@...2774...> On Tue, 11 Nov 2014, rolf wrote: > Hi Karl > > > > > why do you do it all as root ? > > > > > > It should become a system wide installation. I allways compile programs > > > everybody should use on this computer as admin. > > > > > > Rolf > > > > Salut Rolf, > > > > sudo/su make install does that > > First of all I use Debian not Ubuntu so I sudo is not configured out of the > box. > > And what is the difference between working as root - especially if root is > requiered for installing the needed program packets - and do it with sudo? > The differences between sudo and su is nothing of interest here. The point is that you should not compile as root at all (no matter how you prefer to become root). It's for the same reason as "why shouldn't I run my browser as root" or "why shouldn't I run my calculator as root": because having a process do things with root privileges is per se dangerous and you can perfectly do it without root privileges. Configure and compile Gambas as a regular user and just install as root to the proper (system-wide) places. I myself wouldn't risk a scenario like the one which this guy[0] describes and you can't deny that those configure scripts, if you take a look at them, do some really peculiar stuff... Same goes for the Makefiles generated. Regards, Tobi [0] http://cboard.cprogramming.com/linux-programming/42383-never-compile-root.html -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From willy at ...2734... Tue Nov 11 16:00:50 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 11 Nov 2014 16:00:50 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111526.57082.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> <201411111306.29661.rolf.frogs@...221...> <1415712817.11068.13.camel@...3024...> <201411111526.57082.rolf.frogs@...221...> Message-ID: <1415718050.11068.22.camel@...3024...> On di, 2014-11-11 at 15:26 +0100, rolf wrote: > Hi Willy > > > Online Gambas wiki, does have autoconf mentioned as required package!! > > Has always been there. > I copied the packages in the Step 4 section and there is no automake as > package named. > > > > Now I need a hint how to get gb.media compiled in wheezy - the compiler > > > alway complains about gstreamer-video - I do not find an associated > > > package in the repository. > > > > In your log I can see gstreamer doesn't get installed, hence gb.media > > will not compile. > > -------------------------- > > Die folgenden Pakete haben verletzte Abh?ngigkeiten: > > gstreamer1.0-plugins-good : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) > > aber 1:0.4.16-2 ist installiert. > > libgstreamer-plugins-base1.0-0 : H?ngt ab von: liborc-0.4-0 (>= > > 1:0.4.18) aber 1:0.4.16-2 ist installiert. > > gstreamer1.0-plugins-base : H?ngt ab von: liborc-0.4-0 (>= 1:0.4.18) > > aber 1:0.4.16-2 ist installiert. > > ------------------ > > Seems your liborc-0.4-0 version installed is to low and coming form > > wheezy. I guess the gstreamer1.0 comes from wheezy-backports repo? > > > > Simple search on Debian Package Search for liborc-0.4-0 > > shows that > > - wheezy package is on 1:0.4.16-2 (the one installed on your system) > > - wheezy-bakcports is on 1:0.4.19-1~bpo70+1 (the one you need!!) > > Thanks. I installed it with aptitude install -t wheezy-backports and now it > works. > > Do you have an idea which package I need for llvm. gb.jit does not compile. As Beno?t wrote Gambas needs llvm 3.1 or higher So on wheezy that would be: llvm-3.1-dev https://packages.debian.org/search?suite=all§ion=all&arch=any&searchon=names&keywords=llvm-3.1-dev It is in the wheezy repository. After you have installed the missing dependencies, remember to do the whole: ./reconf-all ./configure -C make sudo make install > > Many thanks again > Rolf -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From rolf.frogs at ...221... Tue Nov 11 16:43:04 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 11 Nov 2014 16:43:04 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <1415718050.11068.22.camel@...3024...> References: <201411101304.25261.rolf.frogs@...221...> <201411111526.57082.rolf.frogs@...221...> <1415718050.11068.22.camel@...3024...> Message-ID: <201411111643.05340.rolf.frogs@...221...> Hi Willy > > Thanks. I installed it with aptitude install -t wheezy-backports and now > > it works. > > > > Do you have an idea which package I need for llvm. gb.jit does not > > compile. > > As Beno?t wrote Gambas needs llvm 3.1 or higher > So on wheezy that would be: llvm-3.1-dev > https://packages.debian.org/search?suite=all§ion=all&arch=any&searchon= >names&keywords=llvm-3.1-dev It is in the wheezy repository. As I wrote before, llvm-3.1-dev is installed and llvm-config-3.1 --version gives 3.1, but it is still disabled. Many thanks for your help. Rolf From willy at ...2734... Tue Nov 11 16:49:21 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 11 Nov 2014 16:49:21 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <201411111643.05340.rolf.frogs@...221...> References: <201411101304.25261.rolf.frogs@...221...> <201411111526.57082.rolf.frogs@...221...> <1415718050.11068.22.camel@...3024...> <201411111643.05340.rolf.frogs@...221...> Message-ID: <1415720961.11068.25.camel@...3024...> On di, 2014-11-11 at 16:43 +0100, rolf wrote: > Hi Willy > > > > Thanks. I installed it with aptitude install -t wheezy-backports and now > > > it works. > > > > > > Do you have an idea which package I need for llvm. gb.jit does not > > > compile. > > > > As Beno?t wrote Gambas needs llvm 3.1 or higher > > So on wheezy that would be: llvm-3.1-dev > > https://packages.debian.org/search?suite=all§ion=all&arch=any&searchon= > >names&keywords=llvm-3.1-dev It is in the wheezy repository. > > As I wrote before, llvm-3.1-dev is installed and llvm-config-3.1 --version > gives 3.1, but it is still disabled. > > Many thanks for your help. > Rolf Open Synaptic Package Manager. Search for llvm and mark all installed llvm packages for complete removal. Next apply the removal. Close Synaptic Open terminal and install llvm-3.1-dev Next do: ./reconf-all ./configure -C make sudo make install That is all I can think of. It should compile and install gb.jit with llvm-3.1-dev installed. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From taboege at ...626... Tue Nov 11 16:52:13 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 11 Nov 2014 16:52:13 +0100 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6632] gambas/trunk/app/src/gambas-wiki In-Reply-To: References: Message-ID: <20141111155213.GB728@...2774...> On Tue, 11 Nov 2014, gambas at ...1... wrote: > Revision: 6632 > http://sourceforge.net/p/gambas/code/6632 > Author: gambas > Date: 2014-11-11 01:51:23 +0000 (Tue, 11 Nov 2014) > Log Message: > ----------- > [WIKI CGI SCRIPT] > * NEW: New look for the documentation wiki. > Holy cow, this _is_ new! The more tabular layout on the main page (gambaswiki.org/wiki) is really nice. There was once such a tabular layout in the language index page. Do you want to also put that back in place? I liked the multiple columns better than the single column we current have there (looks a bit loveless). Also the inherited symbols from a class are now more easily distinguishable from the non-inherited ones, IMHO, which is a plus. If you ask me, the underlining could even be a bit darker. I like the softer font colours. The only thing I miss is the presence of the orange colour here and there but I'll get used to it :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rolf.frogs at ...221... Tue Nov 11 17:13:59 2014 From: rolf.frogs at ...221... (rolf) Date: Tue, 11 Nov 2014 17:13:59 +0100 Subject: [Gambas-user] Problem compiling trunk on Debian wheezy In-Reply-To: <1415720961.11068.25.camel@...3024...> References: <201411101304.25261.rolf.frogs@...221...> <201411111643.05340.rolf.frogs@...221...> <1415720961.11068.25.camel@...3024...> Message-ID: <201411111714.01058.rolf.frogs@...221...> Hi Willy > Open Synaptic Package Manager. Search for llvm and mark all installed > llvm packages for complete removal. > Next apply the removal. > Close Synaptic I did it the Unix way: dpkg -l | grep llvm | tr -s " " " " | cut -d' ' -f 2 | cut -d: -f 1 | xargs \ aptitude purge -y > Open terminal and install llvm-3.1-dev aptitude install llvm-3.1-dev > ./reconf-all > ./configure -C || || THESE COMPONENTS ARE DISABLED: || - gb.jit || > make > sudo make install Perhaps someone my test it in a virtual machine - I can give my skript for testing (see attachement) Fine regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: buildGambas.sh.zip Type: application/x-zip Size: 896 bytes Desc: not available URL: From mmcg29440 at ...3163... Tue Nov 11 17:31:03 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 11 Nov 2014 11:31:03 -0500 Subject: [Gambas-user] I think I might have a corrupt project Message-ID: Hello, Have a large Gambas database app that I have been developing over the past year. It had been working well up until last night. I was adding a new form and debugging an older one. Now I'm getting strange error messages. For example - Message.Info("You are in bad trouble now!") gets "unable to load image" error. Originally this project was developed under Gambas 3.5.X now using 3.6.1 on Ununtu 12.04. Worse than that this code, that had been ok before, returns "Type mismatch: Wanted Boolean got Function" on the line Neighborhood.Connection = modMain.$Con. The Query above the error works as it should. The connection appears OK since the query works. It's only the DataSource Neighborhood that errors out. This error occurs on all forms that have a DataSource object regardless of its name or datatable. If I create a new project with the same code, one form and datasource, and message.Info() it works. The problem has to be in the project. Is there any way too fix this? This is a large project with a database that is large and confidential. So I can't send it. My backup runs OK but it is a "read only" I cannot edit it. Can I change this attribute? ModMain opens the connection to the MySQL database HOA_Data: Code in modMain Public Procedure Connect() $Con.Close() ' Close the connection $Con.Type = "mysql" ' Type of connection $Con.Host = "localhost" ' Name of the server $Con.Login = "User" ' User's name for the connection $Con.Port = "3306" ' Port to use in the connection, usually 3306 $Con.Name = "HOA_Data" ' Name of the database we want to use $Con.Password = "XXXXXXXX" ' User's password Try $Con.Open() ' Open the connection Catch If Error Then Print Message.Info("Connection Failed") End ---------------------------------------------------------------------- This code is common to all forms: Code in form_Open() Dim $Query As String Dim strTest As String $Query = "SELECT tblneighborhood.* FROM tblneighborhood;" modMain.$Result = modMain.$Con.Exec($Query) modMain.$Result.MoveFirst strTest = modMain.$Result!Last_Name Neighborhood.Connection = modMain.$Con Neighborhood.Table = "tblneighborhood" Neighborhood.Sort = "Last_Name" Neighborhood.MoveFirst Thanks, Marty From taboege at ...626... Tue Nov 11 17:52:34 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 11 Nov 2014 17:52:34 +0100 Subject: [Gambas-user] I think I might have a corrupt project In-Reply-To: References: Message-ID: <20141111165234.GC728@...2774...> On Tue, 11 Nov 2014, Martin McGlensey wrote: > Hello, > > > > Have a large Gambas database app that I have been developing over the past > year. It had been working well up until last night. I was adding a new form > and debugging an older one. Now I'm getting strange error messages. For > example - Message.Info("You are in bad trouble now!") gets "unable to load > image" error. Originally this project was developed under Gambas 3.5.X now > using 3.6.1 on Ununtu 12.04. > Did you do any update after you last checked that the project worked and before it didn't work? "Unable to load image" from the Message class is a possible runtime error and does not necessarily indicate any corruption in your project. The Message class tries to load the icon corresponding to the type of message you display (in your case the "info" icon). An error loading it is not caught so the interpreter will throw an error. The absence of this file indicates either a problem in your installation or a corrupted gb.form.stock component binary (or wherever the Picture class gets its pictures from). From this error, I'd say the reason for the failure is more likely to be found in the last update or maybe in how reliable your hard drive is...? > > Worse than that this code, that had been ok before, returns "Type mismatch: > Wanted Boolean got Function" on the line Neighborhood.Connection = > modMain.$Con. The Query above the error works as it should. The connection > appears OK since the query works. It's only the DataSource Neighborhood that > errors out. This error occurs on all forms that have a DataSource object > regardless of its name or datatable. If I create a new project with the same > code, one form and datasource, and message.Info() it works. The problem has > to be in the project. > This is also not a too exotic error. It indicates that something is used incorrectly, in a syntax way. These things are sometimes hard to spot because in Gambas functions are also used to implement properties which are syntactically two very different things. But if you say, you didn't change the project since it last worked, that's indeed weird. I honestly don't think your project is corrupted because these two points don't really fit into my experience with actually corrupted projects. They're not wild enough. In any case, be sure to recompile the entire project by doing $ cd /your/project/directory $ rm -r .gambas $ gbc3 -ga then try running it again. I don't think it can fix the first point but it _could_ fix the second one. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Tue Nov 11 17:58:37 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 11 Nov 2014 17:58:37 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6.2 Message-ID: <5462403D.3060204@...1...> Hi, I have uploaded a pre-release source package of Gambas 3.6.2 on sourceforge at: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download Please check it and report any problem before I make it official. I will write the changelog with the backported bug fixes soon. Regards, -- Beno?t Minisini From gambas at ...1... Tue Nov 11 18:00:23 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 11 Nov 2014 18:00:23 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6.2 In-Reply-To: <5462403D.3060204@...1...> References: <5462403D.3060204@...1...> Message-ID: <546240A7.1070102@...1...> Le 11/11/2014 17:58, Beno?t Minisini a ?crit : > Hi, > > I have uploaded a pre-release source package of Gambas 3.6.2 on > sourceforge at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download > > Please check it and report any problem before I make it official. > > I will write the changelog with the backported bug fixes soon. > > Regards, > Especially take attention on the offline help that should update to a new documenation package and to the new wiki look! Regards, -- Beno?t Minisini From sebikul at ...626... Tue Nov 11 18:13:54 2014 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 11 Nov 2014 14:13:54 -0300 Subject: [Gambas-user] Pre-release of Gambas 3.6.2 In-Reply-To: <546240A7.1070102@...1...> References: <5462403D.3060204@...1...> <546240A7.1070102@...1...> Message-ID: On Nov 11, 2014 2:01 PM, "Beno?t Minisini" wrote: > > Le 11/11/2014 17:58, Beno?t Minisini a ?crit : > > Hi, > > > > I have uploaded a pre-release source package of Gambas 3.6.2 on > > sourceforge at: > > > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download > > > > Please check it and report any problem before I make it official. > > > > I will write the changelog with the backported bug fixes soon. > > > > Regards, > > > > Especially take attention on the offline help that should update to a > new documenation package and to the new wiki look! For those using the Beta PPA, this pre-release version should show up in less than an hour ;) > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Nov 11 19:46:42 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 11 Nov 2014 19:46:42 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6.2 In-Reply-To: References: <5462403D.3060204@...1...> <546240A7.1070102@...1...> Message-ID: <54625992.4070004@...1...> Le 11/11/2014 18:13, Sebastian Kulesz a ?crit : > On Nov 11, 2014 2:01 PM, "Beno?t Minisini" > wrote: >> >> Le 11/11/2014 17:58, Beno?t Minisini a ?crit : >>> Hi, >>> >>> I have uploaded a pre-release source package of Gambas 3.6.2 on >>> sourceforge at: >>> >>> > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download >>> >>> Please check it and report any problem before I make it official. >>> >>> I will write the changelog with the backported bug fixes soon. >>> >>> Regards, >>> >> >> Especially take attention on the offline help that should update to a >> new documenation package and to the new wiki look! > > For those using the Beta PPA, this pre-release version should show up in > less than an hour ;) > Oops! I have just uploaded a new version of the Gambas 3.6.2 package with a offline help fix. -- Beno?t Minisini From mmcg29440 at ...3163... Tue Nov 11 21:21:03 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 11 Nov 2014 15:21:03 -0500 Subject: [Gambas-user] I think I might have a corrupt project Message-ID: Tobi, Did as you suggested. $ cd /your/project/directory $ rm -r .gambas $ gbc3 -ga Had to be root to rm the .gambas directory. Recompiled usin gbc3 -ga. Files in .gambas directory now show date of 11/11. Errors still present. No change. If it's syntax. How can I find the offending code? Marty From taboege at ...626... Tue Nov 11 21:30:09 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 11 Nov 2014 21:30:09 +0100 Subject: [Gambas-user] I think I might have a corrupt project In-Reply-To: References: Message-ID: <20141111203009.GD728@...2774...> On Tue, 11 Nov 2014, Martin McGlensey wrote: > Tobi, > > > > Did as you suggested. > > > > $ cd /your/project/directory > > $ rm -r .gambas > > $ gbc3 -ga > > > > Had to be root to rm the .gambas directory. Recompiled usin gbc3 -ga. Files > in .gambas directory now show date of 11/11. > OK, unless you develop your project as root (which I would not recommend) or have messed with your project directory as root (also not recommended), your .gambas directory should NOT be owned by root and you should be able to delete it without elevated privileges. So maybe you were correct and your project is corrupted. But not the Gambas project metadata (which is what I was referring to when I said "corrupted") but the filesystem metadata. > > Errors still present. No change. If it's syntax. How can I find the > offending code? > I can't tell. These "wanted X got function instead" errors are very subtle but the runtime error should point you right into a code path where the error is. But let's focus on the prior symptom first: What about you create a new project (as your regular user!) and copy the contents of the files of your existing project into that new project? Maybe don't copy the files but really copy and paste the _contents_. It may take you some time and it surely is an idiot solution but I'm curious if it helps. If it doesn't, there is an error in your code or your installation. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Tue Nov 11 22:03:05 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 11 Nov 2014 22:03:05 +0100 Subject: [Gambas-user] I think I might have a corrupt project In-Reply-To: <20141111203009.GD728@...2774...> References: <20141111203009.GD728@...2774...> Message-ID: <1415739785.3452.11.camel@...40...> Am Dienstag, den 11.11.2014, 21:30 +0100 schrieb Tobias Boege: > On Tue, 11 Nov 2014, Martin McGlensey wrote: > > Tobi, > > > > > > > > Did as you suggested. > > > > > > > > $ cd /your/project/directory > > > > $ rm -r .gambas > > > > $ gbc3 -ga > > > > > > > > Had to be root to rm the .gambas directory. Recompiled usin gbc3 -ga. Files > > in .gambas directory now show date of 11/11. > > > > OK, unless you develop your project as root (which I would not recommend) or > have messed with your project directory as root (also not recommended), your > .gambas directory should NOT be owned by root and you should be able to > delete it without elevated privileges. > > So maybe you were correct and your project is corrupted. But not the Gambas > project metadata (which is what I was referring to when I said "corrupted") > but the filesystem metadata. > > > > > Errors still present. No change. If it's syntax. How can I find the > > offending code? > > > > I can't tell. These "wanted X got function instead" errors are very subtle > but the runtime error should point you right into a code path where the > error is. But let's focus on the prior symptom first: > > What about you create a new project (as your regular user!) and copy the > contents of the files of your existing project into that new project? Maybe > don't copy the files but really copy and paste the _contents_. It may take > you some time and it surely is an idiot solution but I'm curious if it > helps. If it doesn't, there is an error in your code or your installation. > > Regards, > Tobi > Salut, what's about Save as.., or an Source-Archive (Ctrl + Alt + A), yes I saw that, corrupted disk space, making project troubles. And Marty talked also about an read-only backup, a chown should help there. -- Amicalement Charlie From mmcg29440 at ...3163... Tue Nov 11 22:38:40 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 11 Nov 2014 16:38:40 -0500 Subject: [Gambas-user] I think I might have a corrupt project Message-ID: Tobi, Some more information. I created a new project then imported the minimal files need to test it from the original project. They are the Main Men (startup class), form1, form2 and the module containing the connection. Commented out all references to forms not loaded. Now the connection and message errors are gone. Form1 and form2 will load and show data as they should. There is a new error however. It comes with the line Me.DataCombo1.Table = "tbllocation". The error message is "Unknown symbol 'DataCombo1' in container". The DataCombo box is in the datasource container with the other datacontrols. If I comment out the code for the DataCombo box the form loads properly. Tried adding a regular combobox outside the datasource and tried programming it. This generated the error as the datacombo box. The three forms loaded in the new project are not the ones I was working on prior to the problem. What should I do now? Regards Marty From taboege at ...626... Tue Nov 11 22:47:06 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 11 Nov 2014 22:47:06 +0100 Subject: [Gambas-user] I think I might have a corrupt project In-Reply-To: References: Message-ID: <20141111214706.GE728@...2774...> On Tue, 11 Nov 2014, Martin McGlensey wrote: > Tobi, > > > > Some more information. I created a new project then imported the minimal > files need to test it from the original project. They are the Main Men > (startup class), form1, form2 and the module containing the connection. > Commented out all references to forms not loaded. Now the connection and > message errors are gone. Form1 and form2 will load and show data as they > should. There is a new error however. It comes with the line > Me.DataCombo1.Table = "tbllocation". The error message is "Unknown symbol > 'DataCombo1' in container". The DataCombo box is in the datasource container > with the other datacontrols. If I comment out the code for the DataCombo box > the form loads properly. Tried adding a regular combobox outside the > datasource and tried programming it. This generated the error as the > datacombo box. The three forms loaded in the new project are not the ones I > was working on prior to the problem. > > > > What should I do now? > If files are missing, you will get errors about missing (a.k.a. "unknown") things. So complete the import before you try it out -- and try not to mess around with the code (like commenting things out or changing controls) as we're still not sure there isn't just an error in the code :-) Also, you can try Charlie's suggestion to copy your project backup to some temporary location and go through it with $ chown youruser:yourgroup -R /your/project/backup/copy where "youruser" is your username (id -un), "yourgroup" is the group of your user (id -gn). This method may give success faster. Don't work on your backup, but a copy of it. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bbruen at ...2308... Tue Nov 11 23:01:26 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 12 Nov 2014 08:31:26 +1030 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6632] gambas/trunk/app/src/gambas-wiki In-Reply-To: <20141111155213.GB728@...2774...> References: <20141111155213.GB728@...2774...> Message-ID: <20141112083126.e985b1c43d5f8b05dbd8431b@...2308...> On Tue, 11 Nov 2014 16:52:13 +0100 Tobias Boege wrote: > On Tue, 11 Nov 2014, gambas at ...1... wrote: > > Revision: 6632 > > http://sourceforge.net/p/gambas/code/6632 > > Author: gambas > > Date: 2014-11-11 01:51:23 +0000 (Tue, 11 Nov 2014) > > Log Message: > > ----------- > > [WIKI CGI SCRIPT] > > * NEW: New look for the documentation wiki. > > > > Holy cow, this _is_ new! The more tabular layout on the main page > (gambaswiki.org/wiki) is really nice. There was once such a tabular > layout in the language index page. Do you want to also put that back > in place? I liked the multiple columns better than the single column > we current have there (looks a bit loveless). > > Also the inherited symbols from a class are now more easily distinguishable > from the non-inherited ones, IMHO, which is a plus. If you ask me, the > underlining could even be a bit darker. > > I like the softer font colours. The only thing I miss is the presence > of the orange colour here and there but I'll get used to it :-) > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk Yes, it is a nice look. Two comments though: 1) the doc/richtext page doesn't look quite right. 2) code examples are a bit too hard to read at the smaller font size used. regards Bruce -- B Bruen From gambas at ...1... Tue Nov 11 23:09:10 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Nov 2014 23:09:10 +0100 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6632] gambas/trunk/app/src/gambas-wiki In-Reply-To: <20141111155213.GB728@...2774...> References: <20141111155213.GB728@...2774...> Message-ID: <54628906.9090205@...1...> Le 11/11/2014 16:52, Tobias Boege a ?crit : > On Tue, 11 Nov 2014, gambas at ...1... wrote: >> Revision: 6632 >> http://sourceforge.net/p/gambas/code/6632 >> Author: gambas >> Date: 2014-11-11 01:51:23 +0000 (Tue, 11 Nov 2014) >> Log Message: >> ----------- >> [WIKI CGI SCRIPT] >> * NEW: New look for the documentation wiki. >> > > Holy cow, this _is_ new! The more tabular layout on the main page > (gambaswiki.org/wiki) is really nice. There was once such a tabular > layout in the language index page. Do you want to also put that back > in place? I liked the multiple columns better than the single column > we current have there (looks a bit loveless). This is done. You can even define the number of columns in the @{index} command now. As for the orange color, I will see what I can do... -- Beno?t Minisini From gambas at ...1... Tue Nov 11 23:22:50 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 11 Nov 2014 23:22:50 +0100 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6632] gambas/trunk/app/src/gambas-wiki In-Reply-To: <20141112083126.e985b1c43d5f8b05dbd8431b@...2308...> References: <20141111155213.GB728@...2774...> <20141112083126.e985b1c43d5f8b05dbd8431b@...2308...> Message-ID: <54628C3A.6050205@...1...> Le 11/11/2014 23:01, B Bruen a ?crit : > > Yes, it is a nice look. > > Two comments though: > 1) the doc/richtext page doesn't look quite right. What do you mean? > 2) code examples are a bit too hard to read at the smaller font size used. AFAIK I don't define any absolute font size, so you are seeing the font size defined in your browser. -- Beno?t Minisini From bbruen at ...2308... Tue Nov 11 23:44:10 2014 From: bbruen at ...2308... (B Bruen) Date: Wed, 12 Nov 2014 09:14:10 +1030 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6632] gambas/trunk/app/src/gambas-wiki In-Reply-To: <54628C3A.6050205@...1...> References: <20141111155213.GB728@...2774...> <20141112083126.e985b1c43d5f8b05dbd8431b@...2308...> <54628C3A.6050205@...1...> Message-ID: <20141112091410.4f3b1286f3f3f317212b7bc7@...2308...> On Tue, 11 Nov 2014 23:22:50 +0100 Beno?t Minisini wrote: > Le 11/11/2014 23:01, B Bruen a ?crit : > > > > Yes, it is a nice look. > > > > Two comments though: > > 1) the doc/richtext page doesn't look quite right. > > What do you mean? How very strange? 20 minutes later and it now looks correct. (The second and third lines of the allowed markups list was a different font size.) > > > 2) code examples are a bit too hard to read at the smaller font size used. > > AFAIK I don't define any absolute font size, so you are seeing the font > size defined in your browser. Aha! I didn't know that some firefox update had set the default font sizes to something smaller than "useful". Thanks for that, it has improved a lot of sites. > > -- > Beno?t Minisini > regards Bruce -- B Bruen From ea7dfh at ...2382... Wed Nov 12 01:13:46 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 12 Nov 2014 01:13:46 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6.2 In-Reply-To: <5462403D.3060204@...1...> References: <5462403D.3060204@...1...> Message-ID: <5462A63A.2040005@...2382...> El 11/11/14 a las 17:58, Beno?t Minisini escribi?: > Hi, > > I have uploaded a pre-release source package of Gambas 3.6.2 on > sourceforge at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download > > Please check it and report any problem before I make it official. > > I will write the changelog with the backported bug fixes soon. > > Regards, > Hi Hope it's not too late... I've updated Spanish language in 3.6 branch, r6644. Please, Beno?t, could you merge it into 3.6.2 finally? Thanks in advance -- Jesus Guardon From gambas at ...1... Wed Nov 12 01:28:09 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 12 Nov 2014 01:28:09 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6.2 In-Reply-To: <5462A63A.2040005@...2382...> References: <5462403D.3060204@...1...> <5462A63A.2040005@...2382...> Message-ID: <5462A999.10907@...1...> Le 12/11/2014 01:13, Jesus a ?crit : > El 11/11/14 a las 17:58, Beno?t Minisini escribi?: >> Hi, >> >> I have uploaded a pre-release source package of Gambas 3.6.2 on >> sourceforge at: >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download >> >> Please check it and report any problem before I make it official. >> >> I will write the changelog with the backported bug fixes soon. >> >> Regards, >> > > Hi > > Hope it's not too late... I've updated Spanish language in 3.6 branch, > r6644. Please, Beno?t, could you merge it into 3.6.2 finally? > > Thanks in advance > Not too late, as the release is not official. -- Beno?t Minisini From gambas at ...1... Wed Nov 12 01:39:51 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 12 Nov 2014 01:39:51 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6.2 In-Reply-To: <5462A999.10907@...1...> References: <5462403D.3060204@...1...> <5462A63A.2040005@...2382...> <5462A999.10907@...1...> Message-ID: <5462AC57.5000806@...1...> Le 12/11/2014 01:28, Beno?t Minisini a ?crit : > Le 12/11/2014 01:13, Jesus a ?crit : >> El 11/11/14 a las 17:58, Beno?t Minisini escribi?: >>> Hi, >>> >>> I have uploaded a pre-release source package of Gambas 3.6.2 on >>> sourceforge at: >>> >>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download >>> >>> >>> Please check it and report any problem before I make it official. >>> >>> I will write the changelog with the backported bug fixes soon. >>> >>> Regards, >>> >> >> Hi >> >> Hope it's not too late... I've updated Spanish language in 3.6 branch, >> r6644. Please, Beno?t, could you merge it into 3.6.2 finally? >> >> Thanks in advance >> > > Not too late, as the release is not official. > I have uploaded a new archive of gambas 3.6.2 with your translation. Now I wait one or two days for people to confirm that they have no problem with compiling and installing it, and I make the release official. Regards, -- Beno?t Minisini From ea7dfh at ...2382... Wed Nov 12 13:31:32 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 12 Nov 2014 13:31:32 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6.2 In-Reply-To: <5462AC57.5000806@...1...> References: <5462403D.3060204@...1...> <5462A63A.2040005@...2382...> <5462A999.10907@...1...> <5462AC57.5000806@...1...> Message-ID: <54635324.3000200@...2382...> El 12/11/14 a las 01:39, Beno?t Minisini escribi?: > Le 12/11/2014 01:28, Beno?t Minisini a ?crit : >> Le 12/11/2014 01:13, Jesus a ?crit : >>> El 11/11/14 a las 17:58, Beno?t Minisini escribi?: >>>> Hi, >>>> >>>> I have uploaded a pre-release source package of Gambas 3.6.2 on >>>> sourceforge at: >>>> >>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download >>>> >>>> >>>> Please check it and report any problem before I make it official. >>>> >>>> I will write the changelog with the backported bug fixes soon. >>>> >>>> Regards, >>>> >>> >>> Hi >>> >>> Hope it's not too late... I've updated Spanish language in 3.6 branch, >>> r6644. Please, Beno?t, could you merge it into 3.6.2 finally? >>> >>> Thanks in advance >>> >> >> Not too late, as the release is not official. >> > > I have uploaded a new archive of gambas 3.6.2 with your translation. Now > I wait one or two days for people to confirm that they have no problem > with compiling and installing it, and I make the release official. > > Regards, > Than you very much, Beno?t. I will test it in a VM today. Regards -- Jesus Guardon From taboege at ...626... Wed Nov 12 13:39:22 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 12 Nov 2014 13:39:22 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: <545F5D8F.8040107@...1...> References: <545F5D8F.8040107@...1...> Message-ID: <20141112123922.GA1878@...2774...> On Sun, 09 Nov 2014, Beno??t Minisini wrote: > Hi, > > I added "automatic documentation from source files" in the wiki. If a > class, a property, an event, a constant or a method has an help comment > in its source code, it will be used to make a default documentation page > automatically. > So how does it work? Is the documentation content taken from the .info files? I still have some scripts from a while ago which can extract specially formatted comments from C/C++ source code and merge them to the appropriate places in a component's .info file. If the wiki reads .info files, we can chase those scripts over all the C/C++ components before it does so and get (the possibility of) in-source documentation for _all_ components. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Nov 12 14:13:08 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 12 Nov 2014 14:13:08 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: <20141112123922.GA1878@...2774...> References: <545F5D8F.8040107@...1...> <20141112123922.GA1878@...2774...> Message-ID: <54635CE4.4020304@...1...> Le 12/11/2014 13:39, Tobias Boege a ?crit : > On Sun, 09 Nov 2014, Beno??t Minisini wrote: >> Hi, >> >> I added "automatic documentation from source files" in the wiki. If a >> class, a property, an event, a constant or a method has an help comment >> in its source code, it will be used to make a default documentation page >> automatically. >> > > So how does it work? Is the documentation content taken from the .info > files? Yes. -- Beno?t Minisini From mmcg29440 at ...3163... Wed Nov 12 14:22:36 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Wed, 12 Nov 2014 08:22:36 -0500 Subject: [Gambas-user] I think I might have a corrupt project Message-ID: Tobi, The project was created by user marty not root. The permissions on the project directory and the backup directory are the same. Owner = marty read and write, group = marty read and write and other read only. I've copied all of the files into the new database using sources -> new -> form -> existing .. I'm still getting unknown symbol errors. Newest is filechooser1 is unknown. Is there a component missing? I got the backup to run by using the save as suggested by Charlie. I know the last form I was working on before the problems occurred. Should I delete this form in the original project and import the one in the working backup? I'm thinking that the problems are related to this form. I think I'll copy or archive the working BU to some other location on the drive before I do anything further. What do you think? Thanks, Marty From taboege at ...626... Wed Nov 12 14:48:22 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 12 Nov 2014 14:48:22 +0100 Subject: [Gambas-user] I think I might have a corrupt project In-Reply-To: References: Message-ID: <20141112134822.GC1878@...2774...> On Wed, 12 Nov 2014, Martin McGlensey wrote: > Tobi, > > > > The project was created by user marty not root. The permissions on the > project directory and the backup directory are the same. Owner = marty read > and write, group = marty read and write and other read only. I've copied all > of the files into the new database using sources -> new -> form -> existing > .. I'm still getting unknown symbol errors. Newest is filechooser1 is > unknown. Is there a component missing? > > > > I got the backup to run by using the save as suggested by Charlie. I know > the last form I was working on before the problems occurred. Should I delete > this form in the original project and import the one in the working backup? > I'm thinking that the problems are related to this form. I think I'll copy > or archive the working BU to some other location on the drive before I do > anything further. What do you think? > More backups are always good. Apart from that I'm out of ideas, sorry. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Wed Nov 12 15:37:12 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 12 Nov 2014 15:37:12 +0100 Subject: [Gambas-user] I think I might have a corrupt project In-Reply-To: <20141112134822.GC1878@...2774...> References: <20141112134822.GC1878@...2774...> Message-ID: <1415803032.3527.14.camel@...40...> Am Mittwoch, den 12.11.2014, 14:48 +0100 schrieb Tobias Boege: > On Wed, 12 Nov 2014, Martin McGlensey wrote: > > Tobi, > > > > > > > > The project was created by user marty not root. The permissions on the > > project directory and the backup directory are the same. Owner = marty read > > and write, group = marty read and write and other read only. I've copied all > > of the files into the new database using sources -> new -> form -> existing > > .. I'm still getting unknown symbol errors. Newest is filechooser1 is > > unknown. Is there a component missing? > > > > > > > > I got the backup to run by using the save as suggested by Charlie. I know > > the last form I was working on before the problems occurred. Should I delete > > this form in the original project and import the one in the working backup? > > I'm thinking that the problems are related to this form. I think I'll copy > > or archive the working BU to some other location on the drive before I do > > anything further. What do you think? > > > > More backups are always good. Apart from that I'm out of ideas, sorry. > Salut Martin, did you give /Tools/Update all forms a chance? If *.form files corrupted they throw some times strange errors. They appear mostly in top of the project explorer. I would only work with the newly per Save as created project . And I would take a diff-tool (Meld p.ex.) and look for the diff of the meant corrupted .form and .class. or the whole project. To find out what was happened (but not to long, dont waste time). And then wipe the old corrupted project from your disk, or pack it with 'corrupted' in the name, and then wipe the corrupted project from your disk . -- Amicalement Charlie From gambas at ...1... Wed Nov 12 17:39:42 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 12 Nov 2014 17:39:42 +0100 Subject: [Gambas-user] Release of Gambas 3.6.2 Message-ID: <54638D4E.306@...1...> Hi, I have made the release of Gambas 3.6.2 official. There is still a problem in the way the offline help is displayed: fixes to the wiki stylesheet must be duplicated by hand in the IDE at the moment. If I find a solution for that, it will be backported to a next 3.6.3 version. Regards, -- Beno?t Minisini From ea7dfh at ...2382... Wed Nov 12 20:49:14 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 12 Nov 2014 20:49:14 +0100 Subject: [Gambas-user] Release of Gambas 3.6.2 In-Reply-To: <54638D4E.306@...1...> References: <54638D4E.306@...1...> Message-ID: <5463B9BA.2090603@...2382...> El 12/11/14 a las 17:39, Beno?t Minisini escribi?: > Hi, > > I have made the release of Gambas 3.6.2 official. > > There is still a problem in the way the offline help is displayed: fixes > to the wiki stylesheet must be duplicated by hand in the IDE at the moment. > > If I find a solution for that, it will be backported to a next 3.6.3 > version. > > Regards, > The download link (big button) in the main page still points to gambas 3.6.1 Good job, anyway. No issues here. Regards -- Jesus Guardon From gambas at ...1... Wed Nov 12 21:04:09 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 12 Nov 2014 21:04:09 +0100 Subject: [Gambas-user] Release of Gambas 3.6.2 In-Reply-To: <5463B9BA.2090603@...2382...> References: <54638D4E.306@...1...> <5463B9BA.2090603@...2382...> Message-ID: <5463BD39.1020403@...1...> Le 12/11/2014 20:49, Jesus a ?crit : > El 12/11/14 a las 17:39, Beno?t Minisini escribi?: >> Hi, >> >> I have made the release of Gambas 3.6.2 official. >> >> There is still a problem in the way the offline help is displayed: fixes >> to the wiki stylesheet must be duplicated by hand in the IDE at the moment. >> >> If I find a solution for that, it will be backported to a next 3.6.3 >> version. >> >> Regards, >> > > The download link (big button) in the main page still points to gambas > 3.6.1 > > Good job, anyway. No issues here. > > Regards > I forgot to update the web site. Fixed! Regards, -- Beno?t Minisini From shordi at ...626... Wed Nov 12 21:20:12 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 12 Nov 2014 21:20:12 +0100 Subject: [Gambas-user] Release of Gambas 3.6.2 In-Reply-To: <5463BD39.1020403@...1...> References: <54638D4E.306@...1...> <5463B9BA.2090603@...2382...> <5463BD39.1020403@...1...> Message-ID: Good work. This is a very expected Version :-) :-) Thanks Beno?t Regards. 2014-11-12 21:04 GMT+01:00 Beno?t Minisini : > Le 12/11/2014 20:49, Jesus a ?crit : > > El 12/11/14 a las 17:39, Beno?t Minisini escribi?: > >> Hi, > >> > >> I have made the release of Gambas 3.6.2 official. > >> > >> There is still a problem in the way the offline help is displayed: fixes > >> to the wiki stylesheet must be duplicated by hand in the IDE at the > moment. > >> > >> If I find a solution for that, it will be backported to a next 3.6.3 > >> version. > >> > >> Regards, > >> > > > > The download link (big button) in the main page still points to gambas > > 3.6.1 > > > > Good job, anyway. No issues here. > > > > Regards > > > > I forgot to update the web site. Fixed! > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From epost at ...3323... Wed Nov 12 22:40:38 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Wed, 12 Nov 2014 22:40:38 +0100 Subject: [Gambas-user] Snippets bug Message-ID: <5463D3D6.5030508@...3323...> Hi! I have these two snippets: prb Private $b${1:VariableName} as Boolean prc Private $c${1:VariableName} as Collection The first, prb, works as expected. But with the prb the initial c gets selected in addition to VariableName. -- Kind regards From bbruen at ...2308... Thu Nov 13 00:04:21 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 13 Nov 2014 09:34:21 +1030 Subject: [Gambas-user] Possible sqlite3 component error Message-ID: <20141113093421.eb3688366981e1a02333aa79@...2308...> The following query is a "standard" CTE based query to return the contents of a hierarchical table (i.e. columns are id, parentid, data): WITH RECURSIVE tmp AS ( SELECT *, 0 AS depth FROM pages p WHERE p.parent = 0 UNION ALL SELECT p.*, tmp.depth + 1 FROM pages p JOIN tmp ON (p.parent=tmp.id) ) SELECT id, title, parent, category, indexed, htmlsrc, depth FROM tmp ORDER BY depth; I use the following method in Gambas: Private Sub LoadTOC() '' Build the index tree Dim rslt As Result Dim pnode As String Dim sQry As String = "WITH RECURSIVE tmp AS ( SELECT *, 0 AS depth FROM pages p WHERE p.parent = 0 UNION ALL SELECT p.*, tmp.depth + 1 FROM pages p JOIN tmp ON (p.parent=tmp.id)) SELECT id, title, parent, category, indexed, htmlsrc, depth FROM tmp ORDER BY depth" tvwIndex.Clear db.Debug = True rslt = $conn.Exec(sQry) 'Find("pages") db.Debug = False For Each rslt pnode = rslt!parent If Not pnode Then Continue If Not rslt!indexed Then Continue tvwIndex.Add(rslt!id, rslt!title,, IIf(pnode = 0, "", pnode)) Next tvwIndex["1"].Expanded = True tvwIndex["1"].Text = "Index" tvwIndex["1"].Picture = Picture["icon:/32/book"] Catch Error Subst("&1\nERR: &2 (&3)\n&4\n&1\n", String$(40, "-"), Error.Text, Error.Code, Error.Backtrace.Join("\n")) Error db.Error Stop End When this is executed it fails at the rslt=$conn.Exec line with ERR: Query failed: SQL error or missing database (-1) and db.Error is "1" the $conn connection is valid and is open. Similarly when I try to execute that query in the connection browser in the IDE I get the same error. However, when I run the same query in the sqlite3 cli tool it works faultlessly. The output produced by the db.debug is: sqlite3: 0x8551560: WITH RECURSIVE tmp AS ( SELECT *, 0 AS depth FROM pages p WHERE p.parent = 0 UNION ALL SELECT p.*, tmp.depth + 1 FROM pages p JOIN tmp ON (p.parent=tmp.id)) SELECT id, title, parent, category, indexed, htmlsrc, depth FROM tmp ORDER BY d epth apart from the line break in the ORDER BY clause (which I dont think is the problem) I cannot see any corruption of the query string. I am not sure but have a suspicion that this has arisen after the recent changes for db collations etc. regards Bruce -- B Bruen From taboege at ...626... Thu Nov 13 00:07:54 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 13 Nov 2014 00:07:54 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: <54635CE4.4020304@...1...> References: <545F5D8F.8040107@...1...> <20141112123922.GA1878@...2774...> <54635CE4.4020304@...1...> Message-ID: <20141112230753.GD1878@...2774...> On Wed, 12 Nov 2014, Beno?t Minisini wrote: > Le 12/11/2014 13:39, Tobias Boege a ?crit : > > On Sun, 09 Nov 2014, Beno??t Minisini wrote: > >> Hi, > >> > >> I added "automatic documentation from source files" in the wiki. If a > >> class, a property, an event, a constant or a method has an help comment > >> in its source code, it will be used to make a default documentation page > >> automatically. > >> > > > > So how does it work? Is the documentation content taken from the .info > > files? > > Yes. > Do you think we can insert my scripts into the process of the wiki reading the .info files? They run over the whole source tree so that needs to be present. If so, I can upload them (to the repository?) this weekend I think. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bbruen at ...2308... Thu Nov 13 01:28:01 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 13 Nov 2014 10:58:01 +1030 Subject: [Gambas-user] Snippets bug In-Reply-To: <5463D3D6.5030508@...3323...> References: <5463D3D6.5030508@...3323...> Message-ID: <20141113105801.bf49fc95526e524eea679b06@...2308...> On Wed, 12 Nov 2014 22:40:38 +0100 J?rn Erik M?rne wrote: > Hi! > > I have these two snippets: > > prb > Private $b${1:VariableName} as Boolean > prc > Private $c${1:VariableName} as Collection > > The first, prb, works as expected. But with the prb the initial c gets > selected in addition to VariableName. > > -- > Kind regards > Interesting but weird. The expansion macro works fine if the trigger string is something else, e.g. prf Private $c${1:VariableName} as Collection then on the other hand if it is "prc" then I get a different expansion result from you. (It indents the line and leaves the cursor just before the P in Private). What is even stranger is that if I change the expansion string to something else for "prc" then I get a different result, for example prc Public $c${1:VariableName} as Collection then in using the tab key everything from the "V" in VariableName is selected But at the end-of-the-day, I'd suggest you use different trigger strings, I have tried vc Private $c${1:VariableName} as Collection vb Private $b${1:VariableName} as Boolean vi Private $i${1:VariableName} as Integer vx Private $h${1:VariableName} as Object vv Private $v${1:VariableName} as Variant and they all behave as you would expect. hth Bruce -- B Bruen From lists at ...2828... Thu Nov 13 11:44:15 2014 From: lists at ...2828... (CJ) Date: Thu, 13 Nov 2014 11:44:15 +0100 Subject: [Gambas-user] Release of Gambas 3.6.2 In-Reply-To: <54638D4E.306@...1...> Message-ID: <000001cfff2e$c74db1d0$0f00a8c0@...2829...> > I have made the release of Gambas 3.6.2 official. Thank you Gambas Team! I just read thru the changelog for 3.6.0 to 3.6.2 and damn, you guys have been busy...lots of great new features to try :) /CJ From lists at ...2828... Thu Nov 13 14:22:53 2014 From: lists at ...2828... (CJ) Date: Thu, 13 Nov 2014 14:22:53 +0100 Subject: [Gambas-user] Similar problem compiling 3.6.2 Message-ID: <000001cfff44$effd5610$0f00a8c0@...2829...> Just tried to compile 3.6.2 but get a similar error like before but this time in gb.mime, any clues? ... make[4]: Leaving directory `/home/gambas3-3.6.2/gb.net.curl' make[3]: Leaving directory `/home/gambas3-3.6.2/gb.net.curl' make[2]: Leaving directory `/home/gambas3-3.6.2/gb.net.curl' Making all in gb.mime make[2]: Entering directory `/home/gambas3-3.6.2/gb.mime' make all-recursive make[3]: Entering directory `/home/gambas3-3.6.2/gb.mime' Making all in src make[4]: Entering directory `/home/gambas3-3.6.2/gb.mime/src' CC gb_mime_la-main.lo In file included from main.c:28: main.h:31:18: error: glib.h: No such file or directory main.h:32:25: error: gmime/gmime.h: No such file or directory In file included from c_mimemessage.h:30, from main.c:31: c_mimepart.h:39: error: expected specifier-qualifier-list before 'GMimeObject' c_mimepart.h:43: error: expected ')' before '*' token In file included from main.c:31: c_mimemessage.h:40: error: expected specifier-qualifier-list before 'GMimeMessage' c_mimemessage.h:46: error: expected ')' before '*' token main.c: In function 'GB_INIT': main.c:49: warning: implicit declaration of function 'g_mime_init' main.c: In function 'GB_EXIT': main.c:56: warning: implicit declaration of function 'g_mime_shutdown' make[4]: *** [gb_mime_la-main.lo] Error 1 make[4]: Leaving directory `/home/gambas3-3.6.2/gb.mime/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/gambas3-3.6.2/gb.mime' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/gambas3-3.6.2/gb.mime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gambas3-3.6.2' make: *** [all] Error 2 root at ...3122...:/home/gambas3-3.6.2# Full logfile attached. /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: 3.6.2_logfile.zip Type: application/x-zip-compressed Size: 11423 bytes Desc: not available URL: From willy at ...2734... Thu Nov 13 14:42:38 2014 From: willy at ...2734... (Willy Raets) Date: Thu, 13 Nov 2014 14:42:38 +0100 Subject: [Gambas-user] Similar problem compiling 3.6.2 In-Reply-To: <000001cfff44$effd5610$0f00a8c0@...2829...> References: <000001cfff44$effd5610$0f00a8c0@...2829...> Message-ID: <1415886158.4358.16.camel@...3024...> On do, 2014-11-13 at 14:22 +0100, CJ wrote: > Just tried to compile 3.6.2 but get a similar error > like before but this time in gb.mime, any clues? > > ... > make[4]: Leaving directory `/home/gambas3-3.6.2/gb.net.curl' > make[3]: Leaving directory `/home/gambas3-3.6.2/gb.net.curl' > make[2]: Leaving directory `/home/gambas3-3.6.2/gb.net.curl' > Making all in gb.mime > make[2]: Entering directory `/home/gambas3-3.6.2/gb.mime' > make all-recursive > make[3]: Entering directory `/home/gambas3-3.6.2/gb.mime' > Making all in src > make[4]: Entering directory `/home/gambas3-3.6.2/gb.mime/src' > CC gb_mime_la-main.lo > In file included from main.c:28: > main.h:31:18: error: glib.h: No such file or directory > main.h:32:25: error: gmime/gmime.h: No such file or directory > In file included from c_mimemessage.h:30, > from main.c:31: > c_mimepart.h:39: error: expected specifier-qualifier-list before > 'GMimeObject' > c_mimepart.h:43: error: expected ')' before '*' token > In file included from main.c:31: > c_mimemessage.h:40: error: expected specifier-qualifier-list before > 'GMimeMessage' > c_mimemessage.h:46: error: expected ')' before '*' token > main.c: In function 'GB_INIT': > main.c:49: warning: implicit declaration of function 'g_mime_init' > main.c: In function 'GB_EXIT': > main.c:56: warning: implicit declaration of function 'g_mime_shutdown' > make[4]: *** [gb_mime_la-main.lo] Error 1 > make[4]: Leaving directory `/home/gambas3-3.6.2/gb.mime/src' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/gambas3-3.6.2/gb.mime' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/gambas3-3.6.2/gb.mime' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/gambas3-3.6.2' > make: *** [all] Error 2 > root at ...3122...:/home/gambas3-3.6.2# > > Full logfile attached. > > /CJ >From your log: || Unable to met pkg-config requirement: gmime-2.6 || But gmime 2.4 has been detected! Seems you need a higher version of gmine (2.6 instead of 2.4) If you are running Raspbian you need package libgmime-2.6-dev. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From epost at ...3323... Thu Nov 13 15:04:26 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Thu, 13 Nov 2014 15:04:26 +0100 Subject: [Gambas-user] Snippets bug In-Reply-To: <5463D3D6.5030508@...3323...> References: <5463D3D6.5030508@...3323...> Message-ID: <5464BA6A.7030206@...3323...> Den 12. nov. 2014 22:40, skrev J?rn Erik M?rne: > Hi! > > I have these two snippets: > > prb > Private $b${1:VariableName} as Boolean > prc > Private $c${1:VariableName} as Collection > > The first, prb, works as expected. But with the prb the initial c gets > selected in addition to VariableName. > The problem corrected itself after restarting Gambas.... From lists at ...2828... Thu Nov 13 15:18:48 2014 From: lists at ...2828... (CJ) Date: Thu, 13 Nov 2014 15:18:48 +0100 Subject: [Gambas-user] Similar problem compiling 3.6.2 In-Reply-To: <1415886158.4358.16.camel@...3024...> Message-ID: <000001cfff4c$c0228980$0f00a8c0@...2829...> > >From your log: > || Unable to met pkg-config requirement: gmime-2.6 > || But gmime 2.4 has been detected! > > Seems you need a higher version of gmine (2.6 instead of 2.4) > > If you are running Raspbian you need package libgmime-2.6-dev. Thanks Willy! My bad, looks like I have to pay more attention but since it was a similar error like the one I had before I jumped to the conclusion to fast, sorry for the noise :/ /CJ From tercoide at ...67... Thu Nov 13 16:06:30 2014 From: tercoide at ...67... (martin p cristia) Date: Thu, 13 Nov 2014 12:06:30 -0300 Subject: [Gambas-user] How to swich between translations when the program starts In-Reply-To: References: Message-ID: I've transtaled a project to english, but couldnt find in the wiki about how to swich language in runtime. From taboege at ...626... Thu Nov 13 16:11:16 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 13 Nov 2014 16:11:16 +0100 Subject: [Gambas-user] How to swich between translations when the program starts In-Reply-To: References: Message-ID: <20141113151116.GA1544@...2774...> On Thu, 13 Nov 2014, martin p cristia wrote: > I've transtaled a project to english, but couldnt find in the wiki about > how to swich language in runtime. > The language is specified by the environment's locale[0]. Regards, Tobi [0] Google it. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Nov 13 16:34:02 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 13 Nov 2014 16:34:02 +0100 Subject: [Gambas-user] Snippets bug In-Reply-To: <5464BA6A.7030206@...3323...> References: <5463D3D6.5030508@...3323...> <5464BA6A.7030206@...3323...> Message-ID: <5464CF6A.3090300@...1...> Le 13/11/2014 15:04, J?rn Erik M?rne a ?crit : > Den 12. nov. 2014 22:40, skrev J?rn Erik M?rne: >> Hi! >> >> I have these two snippets: >> >> prb >> Private $b${1:VariableName} as Boolean >> prc >> Private $c${1:VariableName} as Collection >> >> The first, prb, works as expected. But with the prb the initial c gets >> selected in addition to VariableName. >> > The problem corrected itself after restarting Gambas.... > I have just tried adding your two snippets, and it worked immediately, no strange selection behaviour... -- Beno?t Minisini From gambas at ...1... Thu Nov 13 16:43:51 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 13 Nov 2014 16:43:51 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: <20141112230753.GD1878@...2774...> References: <545F5D8F.8040107@...1...> <20141112123922.GA1878@...2774...> <54635CE4.4020304@...1...> <20141112230753.GD1878@...2774...> Message-ID: <5464D1B7.9020204@...1...> Le 13/11/2014 00:07, Tobias Boege a ?crit : > On Wed, 12 Nov 2014, Beno?t Minisini wrote: >> Le 12/11/2014 13:39, Tobias Boege a ?crit : >>> On Sun, 09 Nov 2014, Beno??t Minisini wrote: >>>> Hi, >>>> >>>> I added "automatic documentation from source files" in the wiki. If a >>>> class, a property, an event, a constant or a method has an help comment >>>> in its source code, it will be used to make a default documentation page >>>> automatically. >>>> >>> >>> So how does it work? Is the documentation content taken from the .info >>> files? >> >> Yes. >> > > Do you think we can insert my scripts into the process of the wiki reading > the .info files? They run over the whole source tree so that needs to be > present. If so, I can upload them (to the repository?) this weekend I think. > No, the source tree may not beavailable on the wiki, only the *.info files. Why not adding an optional "*.help" file that would come with the *.info file? This file could have almost the same format as the *.info file, except that it includes only the help. Your script would have to generate that file - I don't know what it does exactly at the moment... The format is: # ' ' '... ... # ... Then either you keep your script, and you send me the *.help files so that I put them on the wiki server. Better would be having your script inside the source tree, and let it run automatically on the C/C++ sources with specific Makefile.am rules. That script can be written in Gambas. But then it will be run at "make install" stage, once the interpreter has been compiled. What do you think? -- Beno?t Minisini From epost at ...3323... Thu Nov 13 19:53:00 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Thu, 13 Nov 2014 19:53:00 +0100 Subject: [Gambas-user] Snippets bug In-Reply-To: <5464CF6A.3090300@...1...> References: <5463D3D6.5030508@...3323...> <5464BA6A.7030206@...3323...> <5464CF6A.3090300@...1...> Message-ID: <5464FE0C.20302@...3323...> Den 13. nov. 2014 16:34, skrev Beno?t Minisini: > Le 13/11/2014 15:04, J?rn Erik M?rne a ?crit : >> Den 12. nov. 2014 22:40, skrev J?rn Erik M?rne: >>> Hi! >>> >>> I have these two snippets: >>> >>> prb >>> Private $b${1:VariableName} as Boolean >>> prc >>> Private $c${1:VariableName} as Collection >>> >>> The first, prb, works as expected. But with the prb the initial c gets >>> selected in addition to VariableName. >>> >> The problem corrected itself after restarting Gambas.... >> > I have just tried adding your two snippets, and it worked immediately, > no strange selection behaviour... > Its probably one of those funny-bugs :) From taboege at ...626... Thu Nov 13 21:18:00 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 13 Nov 2014 21:18:00 +0100 Subject: [Gambas-user] New features on the wiki In-Reply-To: <5464D1B7.9020204@...1...> References: <545F5D8F.8040107@...1...> <20141112123922.GA1878@...2774...> <54635CE4.4020304@...1...> <20141112230753.GD1878@...2774...> <5464D1B7.9020204@...1...> Message-ID: <20141113201800.GB1544@...2774...> On Thu, 13 Nov 2014, Beno?t Minisini wrote: > Le 13/11/2014 00:07, Tobias Boege a ?crit : > > On Wed, 12 Nov 2014, Beno?t Minisini wrote: > >> Le 12/11/2014 13:39, Tobias Boege a ?crit : > >>> On Sun, 09 Nov 2014, Beno??t Minisini wrote: > >>>> Hi, > >>>> > >>>> I added "automatic documentation from source files" in the wiki. If a > >>>> class, a property, an event, a constant or a method has an help comment > >>>> in its source code, it will be used to make a default documentation page > >>>> automatically. > >>>> > >>> > >>> So how does it work? Is the documentation content taken from the .info > >>> files? > >> > >> Yes. > >> > > > > Do you think we can insert my scripts into the process of the wiki reading > > the .info files? They run over the whole source tree so that needs to be > > present. If so, I can upload them (to the repository?) this weekend I think. > > > > No, the source tree may not beavailable on the wiki, only the *.info files. > > Why not adding an optional "*.help" file that would come with the *.info > file? > > This file could have almost the same format as the *.info file, except > that it includes only the help. Your script would have to generate that > file - I don't know what it does exactly at the moment... > > The format is: > > # > > ' > ' > '... > > ... > # > ... > > Then either you keep your script, and you send me the *.help files so > that I put them on the wiki server. > > Better would be having your script inside the source tree, and let it > run automatically on the C/C++ sources with specific Makefile.am rules. > > That script can be written in Gambas. But then it will be run at "make > install" stage, once the interpreter has been compiled. > > What do you think? > Maybe I should rewrite it in Gambas. At this time it's 5 programs (in 4 different languages!) piping into one another. The first four preprocess the C/C++ comments and the last is a really hackish C program which takes these help lines and merges them to the right place in a given .info file. When I wrote these, I was all about (development) speed. It may be cool to have all that in one program (and one language only). The above format (and an extra file for it!) would be really good because that's information the program can gather from the C/C++ source files alone. No need to mess with the .info files then. Weekend... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lists at ...2828... Fri Nov 14 16:12:29 2014 From: lists at ...2828... (CJ) Date: Fri, 14 Nov 2014 16:12:29 +0100 Subject: [Gambas-user] Similar problem compiling 3.6.2 In-Reply-To: <1415886158.4358.16.camel@...3024...> Message-ID: <000001d0001d$6a737ef0$0f00a8c0@...2829...> Almost there but this time it complains about not finding "glib.h"? I verified and libglib2.0-dev is installed and the headerfile is in /usr/include/glib-2.0 but make do not see it? ... Making all in gb.mime make[2]: Entering directory `/home/gambas3-3.6.2/gb.mime' make all-recursive make[3]: Entering directory `/home/gambas3-3.6.2/gb.mime' Making all in src make[4]: Entering directory `/home/gambas3-3.6.2/gb.mime/src' CC gb_mime_la-main.lo In file included from main.c:28: main.h:31:18: error: glib.h: No such file or directory main.h:32:25: error: gmime/gmime.h: No such file or directory In file included from c_mimemessage.h:30, from main.c:31: ... As usual any help appreciated! /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: logfile.zip Type: application/x-zip-compressed Size: 12681 bytes Desc: not available URL: From gambas.fr at ...626... Fri Nov 14 19:25:24 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 14 Nov 2014 19:25:24 +0100 Subject: [Gambas-user] DocumentView Message-ID: Hi all I've done a new widget for may how needs and push it in gb.form. DocumentView is done to make easy to create viewer for different kind of documents. This is an example for a pdf. ' Gambas class file Private hpdf As New PdfDocument Public Sub Form_Open() hpdf.Open("/home/fabien/Downloads/IntroProgBash.pdf") DocumentView31.Count = hpdf.Count End Public Sub DocumentView31_Layout(Page As Integer) Last.Layout.Height = hpdf[Page + 1].Height / 0.72 Last.Layout.Width = hpdf[Page + 1].Width / 0.72 End Public Sub DocumentView31_Draw(Page As Integer, Width As Integer, Height As Integer) Draw.Image(hpdf[Page + 1].Image, 0, 0) End Public Sub DocumentView31_Zoom() hpdf.Zoom = Last.Zoom / 0.72 End As always ... there is bugs... and i want this simple widget to be usefull for many. So tell me if you see bugs or for ask for some features. Remember that this component must be as simple as possible. As alway... forgive me for my bad english and for my spelling faults Best regards, -- Fabien Bodard From kevinfishburne at ...1887... Sat Nov 15 08:42:35 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 15 Nov 2014 02:42:35 -0500 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: References: <53B3887E.9060001@...1887...> <53C1C67C.9080103@...1887...> <53C771ED.9080200@...1887...> <54617DB9.30207@...1887...> Message-ID: <546703EB.2080106@...1887...> On 11/10/2014 11:51 PM, Cam Era wrote: > Kevin, > > that looks like an amazing achievement and an excellent exemplar of what > Gambas can achieve. > > Kudos. > > On Tue, Nov 11, 2014 at 2:08 PM, Kevin Fishburne < > kevinfishburne at ...1887...> wrote: > >> On 11/10/2014 08:11 PM, Cam Era wrote: >>> Kevin, >>> >>> http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz >>> >>> returns: >>> >>> Not Found >>> >>> The requested URL /sylph/Sylph_Demo_2.gambas.tar.gz was not found on >> this >>> server. >>> >>> >>> On Thu, Jul 17, 2014 at 4:49 PM, Kevin Fishburne < >>> kevinfishburne at ...1887...> wrote: >>> >>> The wait is over: >>> >>> http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz >> Hi Cam. The old links are gone as KDE decided to have a seizure and >> deleted the entire project, binaries and all (accidentally recursive >> cut/paste operation). I luckily got most everything back from a Dropbox >> backup. You can find most everything (including the Alpha 4 demo) here: >> >> http://eightvirtues.com/sylph/ >> >> You can also follow me on Twitter @eightvirtues to keep current with the >> project, including the Alpha 5 release which should be ready in the next >> few weeks. It will have the first three stages 100% complete instead of >> using placeholder/test stages as it currently does. >> >> Also hook up your gamepad if you have one and set your buttons via the >> Flight Control menu, and here's an Alpha 5 preview: >> >> https://www.youtube.com/watch?v=p3Do7fZ7eLo Thanks for the compliments on the game and GAMBAS. Here is the latest project build: http://eightvirtues.com/sylph/Sylph%20Pre-Alpha%205.tar.gz One known bug is that when you switch to fullscreen by pressing F sometimes the keyboard stops responding. I think it may be an SDL component. If that happens hit Alt-F4 or use the gamepad "back" and "select" buttons to quit the program using the in-game menu ("Shore Leave"). Bug reports can be sent to sylph at eightvirtues dot com. You can toggle both the debug display and music at any time by pressing F1. If you have a game pad, it will work automatically but you might want to map the buttons once in-game ("Flight Control"). Number keys 0-9 create NPC ship types of the corresponding number. "K" kills the NPC ship at the bottom of the Ship[] array. "F9" and "F10" immediately advance to previous or next stage. "F11" immediately defeats current stage. Both arrow and WASD keys work during flight and in menu. Space Bar selects, but Enter/Return does nothing. This release is for the GAMBAS mailing list. No Tweet or anything. So enjoy, hopefully! :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas.fr at ...626... Sat Nov 15 09:44:36 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 15 Nov 2014 09:44:36 +0100 Subject: [Gambas-user] Sylph: Project Miyaji initial demonstration release In-Reply-To: <546703EB.2080106@...1887...> References: <53B3887E.9060001@...1887...> <53C1C67C.9080103@...1887...> <53C771ED.9080200@...1887...> <54617DB9.30207@...1887...> <546703EB.2080106@...1887...> Message-ID: Hey kevin ... it become a pleasure to play with :-) Really you've done a great job, by giving a new birth to this old games. I think it's better than the original lol. It is quite fluid on my laptop even with a slow video card. Maybe the stage 3 is too slow... but then the 4 is hard. Best regards, 2014-11-15 8:42 GMT+01:00 Kevin Fishburne : > On 11/10/2014 11:51 PM, Cam Era wrote: >> Kevin, >> >> that looks like an amazing achievement and an excellent exemplar of what >> Gambas can achieve. >> >> Kudos. >> >> On Tue, Nov 11, 2014 at 2:08 PM, Kevin Fishburne < >> kevinfishburne at ...1887...> wrote: >> >>> On 11/10/2014 08:11 PM, Cam Era wrote: >>>> Kevin, >>>> >>>> http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz >>>> >>>> returns: >>>> >>>> Not Found >>>> >>>> The requested URL /sylph/Sylph_Demo_2.gambas.tar.gz was not found on >>> this >>>> server. >>>> >>>> >>>> On Thu, Jul 17, 2014 at 4:49 PM, Kevin Fishburne < >>>> kevinfishburne at ...1887...> wrote: >>>> >>>> The wait is over: >>>> >>>> http://eightvirtues.com/sylph/Sylph_Demo_2.gambas.tar.gz >>> Hi Cam. The old links are gone as KDE decided to have a seizure and >>> deleted the entire project, binaries and all (accidentally recursive >>> cut/paste operation). I luckily got most everything back from a Dropbox >>> backup. You can find most everything (including the Alpha 4 demo) here: >>> >>> http://eightvirtues.com/sylph/ >>> >>> You can also follow me on Twitter @eightvirtues to keep current with the >>> project, including the Alpha 5 release which should be ready in the next >>> few weeks. It will have the first three stages 100% complete instead of >>> using placeholder/test stages as it currently does. >>> >>> Also hook up your gamepad if you have one and set your buttons via the >>> Flight Control menu, and here's an Alpha 5 preview: >>> >>> https://www.youtube.com/watch?v=p3Do7fZ7eLo > > Thanks for the compliments on the game and GAMBAS. Here is the latest > project build: > > http://eightvirtues.com/sylph/Sylph%20Pre-Alpha%205.tar.gz > > > One known bug is that when you switch to fullscreen by pressing F > sometimes the keyboard stops responding. I think it may be an SDL > component. If that happens hit Alt-F4 or use the gamepad "back" and > "select" buttons to quit the program using the in-game menu ("Shore > Leave"). Bug reports can be sent to sylph at eightvirtues dot com. > > You can toggle both the debug display and music at any time by pressing F1. > > If you have a game pad, it will work automatically but you might want to > map the buttons once in-game ("Flight Control"). > > Number keys 0-9 create NPC ship types of the corresponding number. > > "K" kills the NPC ship at the bottom of the Ship[] array. > > "F9" and "F10" immediately advance to previous or next stage. > > "F11" immediately defeats current stage. > > Both arrow and WASD keys work during flight and in menu. Space Bar > selects, but Enter/Return does nothing. > > This release is for the GAMBAS mailing list. No Tweet or anything. So > enjoy, hopefully! :) > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Sat Nov 15 11:51:57 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 15 Nov 2014 11:51:57 +0100 Subject: [Gambas-user] gb.args: Negative numbers as arguments Message-ID: <20141115105157.GB792@...2774...> Hi, with the attached project, negative numbers (indicated by a minus sign in fron of them) are treated differently under various circumstances: 0. Setup: $ tar -zxvf ColorSelect-1.1.37.tar.gz $ cd ColorSelect $ gbc3 -ga $ gba3 Nothing to see here. 1. gbr3 -- everything as expected: $ gbr3 ColorSelect.gambas -- -10 10 10 Correctly transfers the "-10" as an argument to the program which then displays an error. 2. gbx3 -- not working: $ gbx3 -- -10 10 10 ColorSelect: unknown option: -1 3. gbx3 (when the project does NOT call Args.End()) -- working: $ vim .src/FColor.class # Remove the Args.End(), line 17 $ gbc3 -ga $ gbx3 -- -10 10 10 Correctly transfers the argument. (Now change the FColor.class back to again contain the Args.End() and recompile.) 4. gbx3 (with a cheap masking trick) -- working: $ gbx3 -- " -10" 10 10 Correctly transfers the argument and Val()'ing it does the trick. Why does gbr3 get it right? Why does the behaviour seem to depend on the call to Args.End()? How are negative numbers supposed to be given here so that gbr3 and gbx3 can handle them both (and not contain superfluous whitespace)? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: ColorSelect-1.1.37.tar.gz Type: application/octet-stream Size: 8113 bytes Desc: not available URL: From taboege at ...626... Sat Nov 15 12:03:24 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 15 Nov 2014 12:03:24 +0100 Subject: [Gambas-user] IDE: non-existing help pages from different languages Message-ID: <20141115110324.GC792@...2774...> Hi Benoit, when you work in the IDE under a, say, German locale, then the IDE help popups would show you a minimal page (with the syntax of the symbol only) if the page does not exist in your language. Hans suggests that we fall back to the richer English documentation version in that case. I see that this might not be easy to implement as the IDE just queries the wiki which displays those minimal pages but maybe you have an idea? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rolf.frogs at ...221... Sat Nov 15 12:43:19 2014 From: rolf.frogs at ...221... (rolf) Date: Sat, 15 Nov 2014 12:43:19 +0100 Subject: [Gambas-user] How to change Fontsize in IDE Message-ID: <201411151243.20483.rolf.frogs@...221...> Hi, I would like to ask, how I can change the font size in the ide - it is to small for me. Many thanks for help Rolf From taboege at ...626... Sat Nov 15 12:44:09 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 15 Nov 2014 12:44:09 +0100 Subject: [Gambas-user] How to change Fontsize in IDE In-Reply-To: <201411151243.20483.rolf.frogs@...221...> References: <201411151243.20483.rolf.frogs@...221...> Message-ID: <20141115114409.GI792@...2774...> On Sat, 15 Nov 2014, rolf wrote: > Hi, > > I would like to ask, how I can change the font size in the ide - it is to > small for me. > > Many thanks for help > Rolf > Assuming your IDE is english: Menu Tools -> Preferences -> Interface (Panel "Fonts"). -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rolf.frogs at ...221... Sat Nov 15 12:56:30 2014 From: rolf.frogs at ...221... (rolf) Date: Sat, 15 Nov 2014 12:56:30 +0100 Subject: [Gambas-user] How to change Fontsize in IDE In-Reply-To: <20141115114409.GI792@...2774...> References: <201411151243.20483.rolf.frogs@...221...> <20141115114409.GI792@...2774...> Message-ID: <201411151256.32076.rolf.frogs@...221...> Hi Tobias, > > I would like to ask, how I can change the font size in the ide - it is to > > small for me. > > > > Many thanks for help > > Rolf > > Assuming your IDE is english: Menu Tools -> Preferences -> Interface (Panel > "Fonts"). I found the settings in the german version also. Thanks. Why can the settings only be modified after a projekt is opened? Gru? Rolf From bbruen at ...2308... Sun Nov 16 03:42:15 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 16 Nov 2014 13:12:15 +1030 Subject: [Gambas-user] Bug with IDE detach Tab Message-ID: <20141116131215.aa31b9301a2482fe0059df3b@...2308...> If an IDE tab is detached and then reattached then if there are lines in the file to wide to display there is no scroll bar. I'd raise an error report but I have mucked up my login credentials. regards Bruce -- B Bruen From Gambas at ...1950... Sun Nov 16 08:34:02 2014 From: Gambas at ...1950... (Caveat) Date: Sun, 16 Nov 2014 08:34:02 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors) In-Reply-To: <543AE7D8.7020506@...1887...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> <543AE7D8.7020506@...1887...> Message-ID: <5468536A.9030001@...1950...> On opening a read-only project from the examples, I also (still) see an almost impossible to read error message. I could only see that the warning message said "This project is read-only" by taking a screenshot and inverting the colours! This is with a recent build out of svn, yesterday or so... Is this to be fixed in Gambas or do we all have to take some action? Kind regards, Caveat On 12/10/14 22:43, Kevin Fishburne wrote: > At least using the "Quick" theme, there are two problems. > > Demonstrated by the first attachment ("Bad Colors 1.png"), the pop-up > message caused by a syntax error is difficult to read. The light blue > background color isn't a background color defined in the theme > (perhaps it borrows one of the foreground color definitions). > > Demonstrated by the second attachment ("Bad Colors 2.png"), the > background color of the pop-up message caused by a double-click when > the program is paused also isn't a background color defined in the theme. > > I think the simplest solution would be to borrow two existing theme > color definitions, keeping their background and foreground pairings. > That way, if the pop-ups look like shit, at least it will be obvious > by examining the theme color definitions and can be manually corrected > by the user. > > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Sun Nov 16 09:21:15 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 16 Nov 2014 09:21:15 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors) In-Reply-To: <5468536A.9030001@...1950...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> <543AE7D8.7020506@...1887...> <5468536A.9030001@...1950...> Message-ID: 2014-11-16 8:34 GMT+01:00 Caveat : > On opening a read-only project from the examples, I also (still) see an > almost impossible to read error message. > > I could only see that the warning message said "This project is > read-only" by taking a screenshot and inverting the colours! > > This is with a recent build out of svn, yesterday or so... > > Is this to be fixed in Gambas or do we all have to take some action? > > Kind regards, > Caveat Can you explain me more slowly the problem ? :-) Is it a problem of delay or of colors ?... is it that you can't read the bubble ? > > On 12/10/14 22:43, Kevin Fishburne wrote: >> At least using the "Quick" theme, there are two problems. >> >> Demonstrated by the first attachment ("Bad Colors 1.png"), the pop-up >> message caused by a syntax error is difficult to read. The light blue >> background color isn't a background color defined in the theme >> (perhaps it borrows one of the foreground color definitions). >> >> Demonstrated by the second attachment ("Bad Colors 2.png"), the >> background color of the pop-up message caused by a double-click when >> the program is paused also isn't a background color defined in the theme. >> >> I think the simplest solution would be to borrow two existing theme >> color definitions, keeping their background and foreground pairings. >> That way, if the pop-ups look like shit, at least it will be obvious >> by examining the theme color definitions and can be manually corrected >> by the user. >> >> >> >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://p.sf.net/sfu/Zoho >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From Gambas at ...1950... Sun Nov 16 09:28:59 2014 From: Gambas at ...1950... (Caveat) Date: Sun, 16 Nov 2014 09:28:59 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors) In-Reply-To: References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> <543AE7D8.7020506@...1887...> <5468536A.9030001@...1950...> Message-ID: <5468604B.6090407@...1950...> It's the colours, very light text on a light background. With screenshot and the colours inverted, I was able to read the message, and was then able to see it was actually nothing to worry about "This project is read-only". Kind regards, Caveat On 16/11/14 09:21, Fabien Bodard wrote: > 2014-11-16 8:34 GMT+01:00 Caveat : >> On opening a read-only project from the examples, I also (still) see an >> almost impossible to read error message. >> >> I could only see that the warning message said "This project is >> read-only" by taking a screenshot and inverting the colours! >> >> This is with a recent build out of svn, yesterday or so... >> >> Is this to be fixed in Gambas or do we all have to take some action? >> >> Kind regards, >> Caveat > Can you explain me more slowly the problem ? :-) > > Is it a problem of delay or of colors ?... is it that you can't read > the bubble ? > > >> On 12/10/14 22:43, Kevin Fishburne wrote: >>> At least using the "Quick" theme, there are two problems. >>> >>> Demonstrated by the first attachment ("Bad Colors 1.png"), the pop-up >>> message caused by a syntax error is difficult to read. The light blue >>> background color isn't a background color defined in the theme >>> (perhaps it borrows one of the foreground color definitions). >>> >>> Demonstrated by the second attachment ("Bad Colors 2.png"), the >>> background color of the pop-up message caused by a double-click when >>> the program is paused also isn't a background color defined in the theme. >>> >>> I think the simplest solution would be to borrow two existing theme >>> color definitions, keeping their background and foreground pairings. >>> That way, if the pop-ups look like shit, at least it will be obvious >>> by examining the theme color definitions and can be manually corrected >>> by the user. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>> http://p.sf.net/sfu/Zoho >>> >>> >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------------------------------------------------------------------------------ >> Comprehensive Server Monitoring with Site24x7. >> Monitor 10 servers for $9/Month. >> Get alerted through email, SMS, voice calls or mobile push notifications. >> Take corrective actions from your mobile device. >> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From rhoct at ...325... Sun Nov 16 09:48:28 2014 From: rhoct at ...325... (roberto) Date: Sun, 16 Nov 2014 09:48:28 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors) In-Reply-To: <5468604B.6090407@...1950...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> <543AE7D8.7020506@...1887...> <5468536A.9030001@...1950...> <5468604B.6090407@...1950...> Message-ID: <546864DC.1080904@...325...> Dear Caveat, you should install on your system Qt configurator to change the colors of tooltips ( background and foreground) Regards Il 16/11/2014 09:28, Caveat ha scritto: > It's the colours, very light text on a light background. With > screenshot and the colours inverted, I was able to read the message, and > was then able to see it was actually nothing to worry about "This > project is read-only". > > Kind regards, > Caveat > > On 16/11/14 09:21, Fabien Bodard wrote: >> 2014-11-16 8:34 GMT+01:00 Caveat : >>> On opening a read-only project from the examples, I also (still) see an >>> almost impossible to read error message. >>> >>> I could only see that the warning message said "This project is >>> read-only" by taking a screenshot and inverting the colours! >>> >>> This is with a recent build out of svn, yesterday or so... >>> >>> Is this to be fixed in Gambas or do we all have to take some action? >>> >>> Kind regards, >>> Caveat >> Can you explain me more slowly the problem ? :-) >> >> Is it a problem of delay or of colors ?... is it that you can't read >> the bubble ? >> >> >>> On 12/10/14 22:43, Kevin Fishburne wrote: >>>> At least using the "Quick" theme, there are two problems. >>>> >>>> Demonstrated by the first attachment ("Bad Colors 1.png"), the pop-up >>>> message caused by a syntax error is difficult to read. The light blue >>>> background color isn't a background color defined in the theme >>>> (perhaps it borrows one of the foreground color definitions). >>>> >>>> Demonstrated by the second attachment ("Bad Colors 2.png"), the >>>> background color of the pop-up message caused by a double-click when >>>> the program is paused also isn't a background color defined in the theme. >>>> >>>> I think the simplest solution would be to borrow two existing theme >>>> color definitions, keeping their background and foreground pairings. >>>> That way, if the pop-ups look like shit, at least it will be obvious >>>> by examining the theme color definitions and can be manually corrected >>>> by the user. >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>>> http://p.sf.net/sfu/Zoho >>>> >>>> >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> ------------------------------------------------------------------------------ >>> Comprehensive Server Monitoring with Site24x7. >>> Monitor 10 servers for $9/Month. >>> Get alerted through email, SMS, voice calls or mobile push notifications. >>> Take corrective actions from your mobile device. >>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata da 2014-11-16 09:45:54.jpg Type: image/jpeg Size: 138643 bytes Desc: not available URL: From gambas.fr at ...626... Sun Nov 16 09:53:09 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 16 Nov 2014 09:53:09 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors) In-Reply-To: <546864DC.1080904@...325...> References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> <543AE7D8.7020506@...1887...> <5468536A.9030001@...1950...> <5468604B.6090407@...1950...> <546864DC.1080904@...325...> Message-ID: 2014-11-16 9:48 GMT+01:00 roberto : > Dear Caveat, > > you should install on your system Qt configurator to change the colors of > tooltips ( background and foreground) Yes... > > Regards > > > Il 16/11/2014 09:28, Caveat ha scritto: > >> It's the colours, very light text on a light background. With >> screenshot and the colours inverted, I was able to read the message, and >> was then able to see it was actually nothing to worry about "This >> project is read-only". >> >> Kind regards, >> Caveat >> >> On 16/11/14 09:21, Fabien Bodard wrote: >>> >>> 2014-11-16 8:34 GMT+01:00 Caveat : >>>> >>>> On opening a read-only project from the examples, I also (still) see an >>>> almost impossible to read error message. >>>> >>>> I could only see that the warning message said "This project is >>>> read-only" by taking a screenshot and inverting the colours! >>>> >>>> This is with a recent build out of svn, yesterday or so... >>>> >>>> Is this to be fixed in Gambas or do we all have to take some action? >>>> >>>> Kind regards, >>>> Caveat >>> >>> Can you explain me more slowly the problem ? :-) >>> >>> Is it a problem of delay or of colors ?... is it that you can't read >>> the bubble ? >>> >>> >>>> On 12/10/14 22:43, Kevin Fishburne wrote: >>>>> >>>>> At least using the "Quick" theme, there are two problems. >>>>> >>>>> Demonstrated by the first attachment ("Bad Colors 1.png"), the pop-up >>>>> message caused by a syntax error is difficult to read. The light blue >>>>> background color isn't a background color defined in the theme >>>>> (perhaps it borrows one of the foreground color definitions). >>>>> >>>>> Demonstrated by the second attachment ("Bad Colors 2.png"), the >>>>> background color of the pop-up message caused by a double-click when >>>>> the program is paused also isn't a background color defined in the >>>>> theme. >>>>> >>>>> I think the simplest solution would be to borrow two existing theme >>>>> color definitions, keeping their background and foreground pairings. >>>>> That way, if the pop-ups look like shit, at least it will be obvious >>>>> by examining the theme color definitions and can be manually corrected >>>>> by the user. >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>>>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS >>>>> Reports >>>>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>>>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>>>> http://p.sf.net/sfu/Zoho >>>>> >>>>> >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Comprehensive Server Monitoring with Site24x7. >>>> Monitor 10 servers for $9/Month. >>>> Get alerted through email, SMS, voice calls or mobile push >>>> notifications. >>>> Take corrective actions from your mobile device. >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Comprehensive Server Monitoring with Site24x7. >> Monitor 10 servers for $9/Month. >> Get alerted through email, SMS, voice calls or mobile push notifications. >> Take corrective actions from your mobile device. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From dl7nb at ...17... Sun Nov 16 15:31:52 2014 From: dl7nb at ...17... (Wolfgang, dl7nb) Date: Sun, 16 Nov 2014 15:31:52 +0100 Subject: [Gambas-user] Progressbar_mousedown() does not work Message-ID: <5468B558.6060409@...17...> Hello all, I have tested with Gambas3.6.2. I placed a simple Progressbar and tried: ##### Public Sub ProgressBar1_Enter() Debug "Here we are!" End ##### Which worked perfectly. But ##### Public Sub ProgressBar1_MouseDown() Debug "Here we are!" End ##### did never execute. What went wrong? Please help me.... Wolf From gambas at ...1... Sun Nov 16 17:14:35 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 16 Nov 2014 17:14:35 +0100 Subject: [Gambas-user] Progressbar_mousedown() does not work In-Reply-To: <5468B558.6060409@...17...> References: <5468B558.6060409@...17...> Message-ID: <5468CD6B.1050307@...1...> Le 16/11/2014 15:31, Wolfgang, dl7nb a ?crit : > Hello all, > I have tested with Gambas3.6.2. I placed a simple Progressbar and tried: > > ##### > Public Sub ProgressBar1_Enter() > > Debug "Here we are!" > > End > ##### > > Which worked perfectly. But > > ##### > Public Sub ProgressBar1_MouseDown() > > Debug "Here we are!" > > End > ##### > > did never execute. What went wrong? > > Please help me.... > > Wolf > It's because ProgressBar has be remade in Gambas, and then you don't automatically get the standard events. Because controls made in Gambas are always embedded into an invisible "UserControl" container. As I didn't think it would be useful to catch events in ProgressBar (which is normally a read-only display control), I didn't enabled them. I will add them, so that things keep being as they were before, but I'm curious why you need to catch mouse events on a ProgressBar! -- Beno?t Minisini From dl7nb at ...17... Sun Nov 16 18:03:39 2014 From: dl7nb at ...17... (Wolfgang) Date: Sun, 16 Nov 2014 18:03:39 +0100 Subject: [Gambas-user] Progressbar_mousedown() does not work [solved] In-Reply-To: <5468CD6B.1050307@...1...> References: <5468B558.6060409@...17...> <5468CD6B.1050307@...1...> Message-ID: <1f1feaee-c86e-4ad6-84d1-f5dae5f59235@...2550...> On 16. November 2014 17:14:35 MEZ, "Beno?t Minisini" wrote: >Le 16/11/2014 15:31, Wolfgang, dl7nb a ?crit : >> Hello all, >> I have tested with Gambas3.6.2. I placed a simple Progressbar and >tried: >> >> ##### >> Public Sub ProgressBar1_Enter() >> >> Debug "Here we are!" >> >> End >> ##### >> >> Which worked perfectly. But >> >> ##### >> Public Sub ProgressBar1_MouseDown() >> >> Debug "Here we are!" >> >> End >> ##### >> >> did never execute. What went wrong? >> >> Please help me.... >> >> Wolf >> > >It's because ProgressBar has be remade in Gambas, and then you don't >automatically get the standard events. Because controls made in Gambas >are always embedded into an invisible "UserControl" container. > >As I didn't think it would be useful to catch events in ProgressBar >(which is normally a read-only display control), I didn't enabled them. > >I will add them, so that things keep being as they were before, but I'm > >curious why you need to catch mouse events on a ProgressBar! > >-- >Beno?t Minisini > >------------------------------------------------------------------------------ >Comprehensive Server Monitoring with Site24x7. >Monitor 10 servers for $9/Month. >Get alerted through email, SMS, voice calls or mobile push >notifications. >Take corrective actions from your mobile device. >http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user I use it as a meter in an amplifier. The display is a touch screen and by touching it I want to open a control/setting window. Just a "point-to-set" feeling. I totally agree that in "normal" programs there is no need for such a behaviour. ;-) For now I placed a draw-area in front of the progressbar. The draw-area is empty and therefore transparent. Now touching over the ProgressBar does what is needed here. Just thought I had missed something. Thank you for answering so quickly! ...mobile message... From sammy_dadds at ...43... Sun Nov 16 18:57:43 2014 From: sammy_dadds at ...43... (Sam Dadds) Date: Sun, 16 Nov 2014 17:57:43 +0000 (UTC) Subject: [Gambas-user] ComboBox UserContol, with pictures. Message-ID: <1622814751.796254.1416160663133.JavaMail.yahoo@...3395...> Hi All, Need help with a custom ComboBox. ? I've created a UserControl (extends UserControl) with the normal stuff (TextBox for selection, picture for selected item and picture for dropdown button). ? The actual drop down list is a ListView instead of a ListBox for item pictures. This all works well. ? Problem is with positioning the drop down list.? The ListView actually gets re-parented to the underlying form so it will display normally even when the ComboBox is inside a toolbar or other container. ? Finding the correct X and Y is a problem. Depending on how many containers the actual ComboBox is inside the X and Y become difficult to calculate. ? It seems the borders or margin padding of the additional containers are not taken into consideration when reporting the X and Y of the ComboBox container. ? Currently I've tried iterating up the containers via the parent of the ComboBox and add up the left or X properties until the actual parent form is found.? This is close but not 100% accurate.? By adding in the Desktop.Scale it gets a bit closer but still off. ? I've looked at the source for the db version of a ComboBox but the internal ListBox is actually used. ? Does anyone have an example of this or a better idea of how to use a ListView as the List container of the ComboBox? ? It's not critical but it would be nice to have item pictures in a ListBox or ComboBox. Thanks. From cybercamera at ...626... Sun Nov 16 23:47:15 2014 From: cybercamera at ...626... (Cam Era) Date: Mon, 17 Nov 2014 09:47:15 +1100 Subject: [Gambas-user] Pre-release of Gambas 3.6 (Theme Colors) In-Reply-To: References: <543AB511.1090704@...1...> <543AC984.5000103@...626...> <543ADCC0.70203@...1...> <543AE7D8.7020506@...1887...> <5468536A.9030001@...1950...> <5468604B.6090407@...1950...> <546864DC.1080904@...325...> Message-ID: On Sun, Nov 16, 2014 at 7:53 PM, Fabien Bodard wrote: > 2014-11-16 9:48 GMT+01:00 roberto : > > Dear Caveat, > > > > you should install on your system Qt configurator to change the colors of > > tooltips ( background and foreground) > Caveat, you can check for yourself that the problem is related to desktop settings by changing to another desktop. For example, this problem appears under Ubuntu 14.04 Unity, but not under Ubuntu 14.04 running the Cinnamon desktop. From gambas.fr at ...626... Mon Nov 17 07:20:57 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 07:20:57 +0100 Subject: [Gambas-user] Progressbar_mousedown() does not work [solved] In-Reply-To: <1f1feaee-c86e-4ad6-84d1-f5dae5f59235@...2550...> References: <5468B558.6060409@...17...> <5468CD6B.1050307@...1...> <1f1feaee-c86e-4ad6-84d1-f5dae5f59235@...2550...> Message-ID: Progressbar is just a drawingarea that dsplay a blue square ....so putting a drawingarea on another is not really the soluce You can do : ' Gambas class file Private OBS As Observer Public Sub Form_Open() OBS = New Observer(ProgressBar1.Children[0]) As "OBS" End Public Sub OBS_MouseDown() ProgressBar1.Value = Mouse.x / ProgressBar1.W End 2014-11-16 18:03 GMT+01:00 Wolfgang : > On 16. November 2014 17:14:35 MEZ, "Beno?t Minisini" wrote: >>Le 16/11/2014 15:31, Wolfgang, dl7nb a ?crit : >>> Hello all, >>> I have tested with Gambas3.6.2. I placed a simple Progressbar and >>tried: >>> >>> ##### >>> Public Sub ProgressBar1_Enter() >>> >>> Debug "Here we are!" >>> >>> End >>> ##### >>> >>> Which worked perfectly. But >>> >>> ##### >>> Public Sub ProgressBar1_MouseDown() >>> >>> Debug "Here we are!" >>> >>> End >>> ##### >>> >>> did never execute. What went wrong? >>> >>> Please help me.... >>> >>> Wolf >>> >> >>It's because ProgressBar has be remade in Gambas, and then you don't >>automatically get the standard events. Because controls made in Gambas >>are always embedded into an invisible "UserControl" container. >> >>As I didn't think it would be useful to catch events in ProgressBar >>(which is normally a read-only display control), I didn't enabled them. >> >>I will add them, so that things keep being as they were before, but I'm >> >>curious why you need to catch mouse events on a ProgressBar! >> >>-- >>Beno?t Minisini >> >>------------------------------------------------------------------------------ >>Comprehensive Server Monitoring with Site24x7. >>Monitor 10 servers for $9/Month. >>Get alerted through email, SMS, voice calls or mobile push >>notifications. >>Take corrective actions from your mobile device. >>http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user > > I use it as a meter in an amplifier. The display is a touch screen and by touching it I want to open a control/setting window. Just a "point-to-set" feeling. > I totally agree that in "normal" programs there is no need for such a behaviour. ;-) > For now I placed a draw-area in front of the progressbar. The draw-area is empty and therefore transparent. Now touching over the ProgressBar does what is needed here. Just thought I had missed something. > Thank you for answering so quickly! > ...mobile message... > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Mon Nov 17 13:53:06 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Nov 2014 13:53:06 +0100 Subject: [Gambas-user] Progressbar_mousedown() does not work [solved] In-Reply-To: References: <5468B558.6060409@...17...> <5468CD6B.1050307@...1...> <1f1feaee-c86e-4ad6-84d1-f5dae5f59235@...2550...> Message-ID: <20141117125306.GA1321@...2774...> On Mon, 17 Nov 2014, Fabien Bodard wrote: > Progressbar is just a drawingarea that dsplay a blue square ....so > putting a drawingarea on another is not really the soluce > > You can do : > > > ' Gambas class file > > Private OBS As Observer > > > Public Sub Form_Open() > > OBS = New Observer(ProgressBar1.Children[0]) As "OBS" > > End > > > Public Sub OBS_MouseDown() > > ProgressBar1.Value = Mouse.x / ProgressBar1.W > > End > ... but note that this solution depends on the ordering of children in the ProgressBar control, which you have no control over or guarantees about. Fabien is perfectly right with his answer but if I decide tomorrow to put another thing into the ProgressBar, the above code may not work any longer. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From seany at ...3224... Mon Nov 17 14:50:15 2014 From: seany at ...3224... (Sean Sayandeep Khan) Date: Mon, 17 Nov 2014 14:50:15 +0100 Subject: [Gambas-user] Scrollarea Graphics Message-ID: Hello, I have the folloing setup (See attached image, UI1.png). The Canvas is a scrollarea. I want to add text commands, such as "ADDTILE 10,10 40,60 hello" in the textbox called Command. I expect as output (on clicking the button "exec") a tile of width 40 and height 60 to appear with top left being 10, 10 in the canvas. Here is my code : ' Gambas class file Public func As String Public cmds As String[] Public Sub addtile() Dim dtls As String[] Dim coordinatestring As String Dim coords As String[] Dim tile_x As Integer Dim tile_y As Integer Dim sizestring As String Dim size As String[] Dim height As Integer Dim width As Integer Dim lbl As String dtls = Me.cmds Status.Text = "Adding tile" coordinatestring = dtls[1] coords = Split(coordinatestring, ",") tile_x = Eval(coords[0]) tile_y = Eval(coords[1]) sizestring = dtls[2] size = Split(sizestring, ",") height = size[0] width = size[1] lbl = dtls[3] Paint.Rectangle(tile_x, tile_y, width, height) Paint.Stroke() End Public Sub execute() Dim commands As String[] Status.Text = "Executing Command" commands = Split(Command.Text, " ", "\\", True, False) Select commands[0] Case "ADDTILE" Me.func = "addtile" Me.cmds = commands Case "REMOVETILE" End Select Command.Text = "" Status.Text = "Done" End Public Sub _new() func = "_new" Canvas.ResizeContents(400, 400) Canvas.Refresh() End Public Sub Form_Open() End Public Sub Status_MouseDown() End Public Sub History_KeyPress() End Public Sub Button1_Click() execute() End Public Sub Command_KeyPress() End Public Sub Canvas_Draw() Dim a As Variant[] a = Canvas.Children Object.Call(Me, func) Canvas.Refresh() End You see, if I drop the canvas.refresh() in subroutine canvas_draw() , then only the first tille would be drawn, and all subsequent ADDTILE .... calls will be ignored, i.e. no new tile is drawn. If I keep the refresh() then only the last tile is drawn, and the previous tiles are erased. However, I want to keep on adding tiles, and keep the previously added tiles. Also, how do I remove a particular tile added, say as the second one, in the sequence, of say, five tiles, and retain the other four? Thank you. From taboege at ...626... Mon Nov 17 14:55:39 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Nov 2014 14:55:39 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: Message-ID: <20141117135539.GD1321@...2774...> On Mon, 17 Nov 2014, Sean Sayandeep Khan wrote: > Hello, I have the folloing setup (See attached image, > UI1.png). The Canvas is a scrollarea. I want to add text > commands, such as "ADDTILE 10,10 40,60 hello" in the > textbox called Command. I expect as output (on clicking > the button "exec") a tile of width 40 and height 60 to > appear with top left being 10, 10 in the canvas. Here is > my code : > > --8< Snip --8<-- > > You see, > I see nothing. Please send a full project archive. I don't want to guess how your Form looks like and rebuild it manually. To get a source code archive, go into the IDE, menu Project -> Make -> Source archive. Please attach that thing. Once the source is here, we can tackle your questions. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From seany at ...3224... Mon Nov 17 15:06:28 2014 From: seany at ...3224... (Sean Sayandeep Khan) Date: Mon, 17 Nov 2014 15:06:28 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: Message-ID: Here the source archive : attached -------------- next part -------------- A non-text attachment was scrubbed... Name: archive-0.0.1.tar.gz Type: application/gzip Size: 5524 bytes Desc: not available URL: From gambas.fr at ...626... Mon Nov 17 15:17:38 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 15:17:38 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: Message-ID: What is your goal ? 2014-11-17 15:06 GMT+01:00 Sean Sayandeep Khan : > Here the source archive : attached > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From seany at ...3224... Mon Nov 17 15:22:06 2014 From: seany at ...3224... (Sean Sayandeep Khan) Date: Mon, 17 Nov 2014 15:22:06 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: Message-ID: @Fabian, this is from the first message : > ... I want to add text > commands, such as "ADDTILE 10,10 40,60 hello" in the > textbox called Command. I expect as output (on clicking > the button "exec") a tile of width 40 and height 60 to > appear with top left being 10, 10 in the canvas. Here is > my code : From taboege at ...626... Mon Nov 17 18:05:44 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Nov 2014 18:05:44 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: Message-ID: <20141117170544.GG1321@...2774...> On Mon, 17 Nov 2014, Sean Sayandeep Khan wrote: > Hello, I have the folloing setup (See attached image, > UI1.png). The Canvas is a scrollarea. I want to add text > commands, such as "ADDTILE 10,10 40,60 hello" in the > textbox called Command. I expect as output (on clicking > the button "exec") a tile of width 40 and height 60 to > appear with top left being 10, 10 in the canvas. Here is > my code : > > --8<-- Snip --8<-- > > Public Sub _new() > > func = "_new" > Canvas.ResizeContents(400, 400) > Canvas.Refresh() > End > > --8<-- Snip --8<-- > > Public Sub Canvas_Draw() > > Dim a As Variant[] > a = Canvas.Children > Object.Call(Me, func) > > Canvas.Refresh() > End > > Did you notice that your program has a very high input latency? Above is the reason why: _new() calls Canvas.Refresh() which triggers Canvas_Draw() (during the next event loop?) which again calls _new(), and so on. On a second glance, there is yet another loop: Canvas.Refresh() from inside Canvas_Draw() triggers a (useless) new Canvas_Draw() event immediately after this one finished. So these two loops (only one after you executed the first command) spin in the background drawing the same thing every free moment of your process' life. Note that the Draw event for ScrollAreas is triggered once when the program starts, so Canvas.Refresh() in _new() is superfluous. The proper code would be: Public Sub _new() Canvas.ResizeContents(400, 400) End Public Sub Canvas_Draw() If Not func Then Return Object.Call(Me, func) End Also note that (at least in more recent Gambas versions) Canvas.Children is a virtual object so assigning it to a Variant[] variable a will produce an error. > > You see, if I drop the canvas.refresh() in subroutine > canvas_draw() , then only the first tille would be drawn, > and all subsequent ADDTILE .... calls will be ignored, > i.e. no new tile is drawn. > If I keep the refresh() then only the last tile is drawn, > and the previous tiles are erased. > > However, I want to keep on adding tiles, and keep the > previously added tiles. > OK, I guess you don't understand the Draw event concept. The Draw event of the Canvas object is raised whenever the interpreter deems it necessary that the contents of Canvas be redrawn. Before each such redraw, the Canvas is entirely cleared. You can force a Draw event by calling Canvas.Refresh(). This explains both problems you stated above: if you drop Canvas.Refresh() in Canvas_Draw(), then there are no new Draw events. How could the Canvas, or the interpreter for that matter, know that someone entered a new command and that this command has anything to do with drawing? Solution: call Canvas.Refresh() when you received the command and want it to be drawn, like in: Public Sub execute() Dim commands As String[] ' Your stuff as it was... Canvas.Refresh() End This gets us immediately to the second problem you mentioned above. You only see the outcome of your last command because the ScrollArea contents are fleeting in the sense that whenever a Draw event is raised (like when you force one with Canvas.Refresh() above), the entire ScrollArea is cleared for you to redraw the image from scratch. This behaviour is sometimes useful and always more efficient, memory-wise, because we need to store only what is visible in the ScrollArea at a time, not the whole (potentially arbitrarily large) virtual content through which you can scroll. Your application, however, needs a more persistent storage for your drawings, right? I've heard artists used to paint "pictures". Maybe we can also try that? :-) The basic idea is that your command interpreter does not paint onto the (fleeting) Canvas directly but on an Image object. There, you can draw sequentially, on top of what you drew before. Then you call Refresh() and in Canvas_Draw() you simply put that Image onto the Canvas. > Also, how do I remove a particular tile added, say as the > second one, in the sequence, of say, five tiles, and > retain the other four? > What sequence do you mean? :-) To talk about a sequence of commands, you need to save a sequence of commands in your program, let's say in an array. You can then loop through that array of commands to create a painting. To remove some command from the sequence, remove the corresponding element of the array and recreate the painting from the remaining elements. If that's too inefficient for your needs (I'd guess the border is around a few thousand commands here?), you can still paint over that tile with the background colour. In any case, you need to somehow save the specification of your tiles if you want to be able to remove them. I will attach you a patch for your project which implements all the things I discussed here, so you can play around with it. If your Gambas is recent enough (I guess it is 3.5.4?), you can apply this patch via the IDE, menu Project -> Patch -> Apply. [ And sorry, I couldn't help but tidy your code up a bit on the way -- using my personal definition of "tidying up". ] There is a demo button, labelled "TEST" for a quick tour of what the code can do now. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: archive-0.0.1~Pahu-0.0.1.patch Type: text/x-diff Size: 3894 bytes Desc: not available URL: From gambas at ...1... Mon Nov 17 18:40:04 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Nov 2014 18:40:04 +0100 Subject: [Gambas-user] Bug with IDE detach Tab In-Reply-To: <20141116131215.aa31b9301a2482fe0059df3b@...2308...> References: <20141116131215.aa31b9301a2482fe0059df3b@...2308...> Message-ID: <546A32F4.4080106@...1...> Le 16/11/2014 03:42, B Bruen a ?crit : > > If an IDE tab is detached and then reattached then if there are lines in the file to wide to display there is no scroll bar. > > I'd raise an error report but I have mucked up my login credentials. > > regards > Bruce > I don't have this problem. Please send a project that has that error, and tell me what to do to reproduce it. Regards, -- Beno?t Minisini From gambas.fr at ...626... Mon Nov 17 18:50:24 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 18:50:24 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: <20141117170544.GG1321@...2774...> References: <20141117170544.GG1321@...2774...> Message-ID: ouch ... i've a problem with your patch... it allow me to just ugrade the .project file... 2014-11-17 18:05 GMT+01:00 Tobias Boege : > On Mon, 17 Nov 2014, Sean Sayandeep Khan wrote: >> Hello, I have the folloing setup (See attached image, >> UI1.png). The Canvas is a scrollarea. I want to add text >> commands, such as "ADDTILE 10,10 40,60 hello" in the >> textbox called Command. I expect as output (on clicking >> the button "exec") a tile of width 40 and height 60 to >> appear with top left being 10, 10 in the canvas. Here is >> my code : >> >> --8<-- Snip --8<-- >> >> Public Sub _new() >> >> func = "_new" >> Canvas.ResizeContents(400, 400) >> Canvas.Refresh() >> End >> >> --8<-- Snip --8<-- >> >> Public Sub Canvas_Draw() >> >> Dim a As Variant[] >> a = Canvas.Children >> Object.Call(Me, func) >> >> Canvas.Refresh() >> End >> >> > > Did you notice that your program has a very high input latency? Above is the > reason why: _new() calls Canvas.Refresh() which triggers Canvas_Draw() > (during the next event loop?) which again calls _new(), and so on. > > On a second glance, there is yet another loop: Canvas.Refresh() from inside > Canvas_Draw() triggers a (useless) new Canvas_Draw() event immediately after > this one finished. > > So these two loops (only one after you executed the first command) spin in > the background drawing the same thing every free moment of your process' > life. > > Note that the Draw event for ScrollAreas is triggered once when the program > starts, so Canvas.Refresh() in _new() is superfluous. The proper code would > be: > > Public Sub _new() > Canvas.ResizeContents(400, 400) > End > > Public Sub Canvas_Draw() > If Not func Then Return > Object.Call(Me, func) > End > > Also note that (at least in more recent Gambas versions) Canvas.Children is > a virtual object so assigning it to a Variant[] variable a will produce an > error. > >> >> You see, if I drop the canvas.refresh() in subroutine >> canvas_draw() , then only the first tille would be drawn, >> and all subsequent ADDTILE .... calls will be ignored, >> i.e. no new tile is drawn. >> If I keep the refresh() then only the last tile is drawn, >> and the previous tiles are erased. >> >> However, I want to keep on adding tiles, and keep the >> previously added tiles. >> > > OK, I guess you don't understand the Draw event concept. > > The Draw event of the Canvas object is raised whenever the interpreter deems > it necessary that the contents of Canvas be redrawn. Before each such redraw, > the Canvas is entirely cleared. You can force a Draw event by calling > Canvas.Refresh(). > > This explains both problems you stated above: if you drop Canvas.Refresh() > in Canvas_Draw(), then there are no new Draw events. How could the Canvas, > or the interpreter for that matter, know that someone entered a new command > and that this command has anything to do with drawing? > > Solution: call Canvas.Refresh() when you received the command and want it to > be drawn, like in: > > Public Sub execute() > Dim commands As String[] > > ' Your stuff as it was... > Canvas.Refresh() > End > > This gets us immediately to the second problem you mentioned above. You only > see the outcome of your last command because the ScrollArea contents are > fleeting in the sense that whenever a Draw event is raised (like when you > force one with Canvas.Refresh() above), the entire ScrollArea is cleared for > you to redraw the image from scratch. > > This behaviour is sometimes useful and always more efficient, memory-wise, > because we need to store only what is visible in the ScrollArea at a time, > not the whole (potentially arbitrarily large) virtual content through which > you can scroll. > > Your application, however, needs a more persistent storage for your drawings, > right? I've heard artists used to paint "pictures". Maybe we can also try > that? :-) The basic idea is that your command interpreter does not paint > onto the (fleeting) Canvas directly but on an Image object. There, you can > draw sequentially, on top of what you drew before. Then you call Refresh() > and in Canvas_Draw() you simply put that Image onto the Canvas. > >> Also, how do I remove a particular tile added, say as the >> second one, in the sequence, of say, five tiles, and >> retain the other four? >> > > What sequence do you mean? :-) To talk about a sequence of commands, you > need to save a sequence of commands in your program, let's say in an array. > You can then loop through that array of commands to create a painting. > > To remove some command from the sequence, remove the corresponding element > of the array and recreate the painting from the remaining elements. > > If that's too inefficient for your needs (I'd guess the border is around a > few thousand commands here?), you can still paint over that tile with the > background colour. In any case, you need to somehow save the specification > of your tiles if you want to be able to remove them. > > I will attach you a patch for your project which implements all the things > I discussed here, so you can play around with it. If your Gambas is recent > enough (I guess it is 3.5.4?), you can apply this patch via the IDE, menu > Project -> Patch -> Apply. [ And sorry, I couldn't help but tidy your code > up a bit on the way -- using my personal definition of "tidying up". ] > > There is a demo button, labelled "TEST" for a quick tour of what the code > can do now. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From taboege at ...626... Mon Nov 17 18:54:03 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Nov 2014 18:54:03 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: <20141117170544.GG1321@...2774...> Message-ID: <20141117175403.GI1321@...2774...> On Mon, 17 Nov 2014, Fabien Bodard wrote: > ouch ... i've a problem with your patch... it allow me to just ugrade > the .project file... > Strange. For me it works as follows: 1. Unpack the archive.tar.gz from Sean, 2. Open that project, 3. Project -> Patch -> Apply, 4. Applies cleanly. Did you do that? The patch may not apply if you changed the code base yourself too heavily. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Nov 17 18:57:37 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 17 Nov 2014 18:57:37 +0100 Subject: [Gambas-user] gb.args: Negative numbers as arguments In-Reply-To: <20141115105157.GB792@...2774...> References: <20141115105157.GB792@...2774...> Message-ID: <546A3711.9060408@...1...> Le 15/11/2014 11:51, Tobias Boege a ?crit : > Hi, > > with the attached project, negative numbers (indicated by a minus sign in > fron of them) are treated differently under various circumstances: > > 0. Setup: > $ tar -zxvf ColorSelect-1.1.37.tar.gz > $ cd ColorSelect > $ gbc3 -ga > $ gba3 > Nothing to see here. > > 1. gbr3 -- everything as expected: > $ gbr3 ColorSelect.gambas -- -10 10 10 > Correctly transfers the "-10" as an argument to the program which then > displays an error. > > 2. gbx3 -- not working: > $ gbx3 -- -10 10 10 > ColorSelect: unknown option: -1 > > 3. gbx3 (when the project does NOT call Args.End()) -- working: > $ vim .src/FColor.class # Remove the Args.End(), line 17 > $ gbc3 -ga > $ gbx3 -- -10 10 10 > Correctly transfers the argument. > > (Now change the FColor.class back to again contain the Args.End() and > recompile.) > > 4. gbx3 (with a cheap masking trick) -- working: > $ gbx3 -- " -10" 10 10 > Correctly transfers the argument and Val()'ing it does the trick. > > Why does gbr3 get it right? As the project file argument of gbx3 is optional, you have to issue one more "--". See the subtle difference between the output of 'gbr3 -h' and 'gbx3 -h'. So you must do: $ gbx3 -- -- -10 10 10 One "--" for gbx3 itself, and another one for your project. Yeah, it's a bit weird. :-) > Why does the behaviour seem to depend on the > call to Args.End()? Because Args.Ends() checks for unknown options and abort the program if it detects some. And because you can't use directly Args[] if you use Args.Ends(). You have to use the array returned by Args.Ends() which is the list of arguments that you are free to deal with. Regards, -- Beno?t Minisini From gambas.fr at ...626... Mon Nov 17 19:05:44 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 19:05:44 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: <20141117175403.GI1321@...2774...> References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> Message-ID: nothing to do ... at same on a clean unpacked project. 2014-11-17 18:54 GMT+01:00 Tobias Boege : > On Mon, 17 Nov 2014, Fabien Bodard wrote: >> ouch ... i've a problem with your patch... it allow me to just ugrade >> the .project file... >> > > Strange. For me it works as follows: > > 1. Unpack the archive.tar.gz from Sean, > 2. Open that project, > 3. Project -> Patch -> Apply, > 4. Applies cleanly. > > Did you do that? The patch may not apply if you changed the code base > yourself too heavily. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Mon Nov 17 19:49:49 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Nov 2014 19:49:49 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> Message-ID: <20141117184949.GL1321@...2774...> On Mon, 17 Nov 2014, Fabien Bodard wrote: > nothing to do ... at same on a clean unpacked project. > I have no explanation. I think we're both using pretty recent Gambas versions and nothing was done to the patch dialogs recently... You can still try to apply the patch manually, assuming the source archive and the patch are both in /tmp: $ cd /tmp/ $ tar -zxvf archive-0.0.1.tar.gz Pahu/ Pahu/.settings Pahu/.src/ Pahu/.src/FMain.form Pahu/.src/FMain.class Pahu/.project Pahu/.directory Pahu/.action/ Pahu/.icon.png Pahu/.lang/ Pahu/.startup Pahu/.gambas/ Pahu/.hidden/ $ cd Pahu/ $ patch -p1 <../archive-0.0.1~Pahu-0.0.1.patch patching file .project patching file .src/FMain.class patching file .src/FMain.form gives me the patched project in /tmp/Pahu. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Mon Nov 17 21:36:14 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 17 Nov 2014 21:36:14 +0100 Subject: [Gambas-user] ComboBox UserContol, with pictures. In-Reply-To: <1622814751.796254.1416160663133.JavaMail.yahoo@...3395...> References: <1622814751.796254.1416160663133.JavaMail.yahoo@...3395...> Message-ID: <1416256574.3462.6.camel@...40...> Am Sonntag, den 16.11.2014, 17:57 +0000 schrieb Sam Dadds: > Hi All, > > Need help with a custom ComboBox. > > I've created a UserControl (extends UserControl) with the normal stuff > (TextBox for selection, picture for selected item and picture for dropdown button). > > The actual drop down list is a ListView instead of a ListBox for item pictures. > This all works well. > > Problem is with positioning the drop down list. The ListView actually gets re-parented > to the underlying form so it will display normally even when the ComboBox is inside a > toolbar or other container. > > Finding the correct X and Y is a problem. Depending on how many containers the actual > ComboBox is inside the X and Y become difficult to calculate. > > It seems the borders or margin padding of the additional containers are not taken into consideration when reporting the X and Y of the ComboBox container. > > Currently I've tried iterating up the containers via the parent of the ComboBox and > add up the left or X properties until the actual parent form is found. This is close > but not 100% accurate. By adding in the Desktop.Scale it gets a bit closer but still > off. > > I've looked at the source for the db version of a ComboBox but the internal ListBox > is actually used. > > Does anyone have an example of this or a better idea of how to use a ListView as the > List container of the ComboBox? > > It's not critical but it would be nice to have item pictures in a ListBox or ComboBox. > > Thanks. Salut Sam, have a look at Christof Thalhofer's "Gambas Combobox for Lists and Databases", https://github.com/Deganius/DegComboBox , may be you find some ideas. -- Amicalement Charlie From gambas.fr at ...626... Mon Nov 17 22:14:12 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 22:14:12 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: <20141117184949.GL1321@...2774...> References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> Message-ID: [fabien at ...3278... GAMBAS]$ tar -zxvf archive-0.0.1.tar.gz Pahu/ Pahu/.settings Pahu/.src/ Pahu/.src/FMain.form Pahu/.src/FMain.class Pahu/.project Pahu/.directory Pahu/.action/ Pahu/.icon.png Pahu/.lang/ Pahu/.startup Pahu/.gambas/ Pahu/.hidden/ [fabien at ...3278... GAMBAS]$ cd Pahu/ [fabien at ...3278... Pahu]$ patch -p1 <../archive-0.0.1~Pahu-0.0.1.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file .project (Stripping trailing CRs from patch; use --binary to disable.) patching file .src/FMain.class (Stripping trailing CRs from patch; use --binary to disable.) patching file .src/FMain.form [fabien at ...3278... Pahu]$ then it work in the direct way ... file is correctly patched... 2014-11-17 19:49 GMT+01:00 Tobias Boege : > On Mon, 17 Nov 2014, Fabien Bodard wrote: >> nothing to do ... at same on a clean unpacked project. >> > > I have no explanation. I think we're both using pretty recent Gambas > versions and nothing was done to the patch dialogs recently... > > You can still try to apply the patch manually, assuming the source archive > and the patch are both in /tmp: > > $ cd /tmp/ > $ tar -zxvf archive-0.0.1.tar.gz > Pahu/ > Pahu/.settings > Pahu/.src/ > Pahu/.src/FMain.form > Pahu/.src/FMain.class > Pahu/.project > Pahu/.directory > Pahu/.action/ > Pahu/.icon.png > Pahu/.lang/ > Pahu/.startup > Pahu/.gambas/ > Pahu/.hidden/ > $ cd Pahu/ > $ patch -p1 <../archive-0.0.1~Pahu-0.0.1.patch > patching file .project > patching file .src/FMain.class > patching file .src/FMain.form > > gives me the patched project in /tmp/Pahu. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Mon Nov 17 22:18:10 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 22:18:10 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> Message-ID: Maybe the difference in my output of patch make trouble in the output parsing in the IDE 2014-11-17 22:14 GMT+01:00 Fabien Bodard : > [fabien at ...3278... GAMBAS]$ tar -zxvf archive-0.0.1.tar.gz > Pahu/ > Pahu/.settings > Pahu/.src/ > Pahu/.src/FMain.form > Pahu/.src/FMain.class > Pahu/.project > Pahu/.directory > Pahu/.action/ > Pahu/.icon.png > Pahu/.lang/ > Pahu/.startup > Pahu/.gambas/ > Pahu/.hidden/ > [fabien at ...3278... GAMBAS]$ cd Pahu/ > [fabien at ...3278... Pahu]$ patch -p1 <../archive-0.0.1~Pahu-0.0.1.patch > (Stripping trailing CRs from patch; use --binary to disable.) > patching file .project > (Stripping trailing CRs from patch; use --binary to disable.) > patching file .src/FMain.class > (Stripping trailing CRs from patch; use --binary to disable.) > patching file .src/FMain.form > [fabien at ...3278... Pahu]$ > > then it work in the direct way ... file is correctly patched... > > > 2014-11-17 19:49 GMT+01:00 Tobias Boege : >> On Mon, 17 Nov 2014, Fabien Bodard wrote: >>> nothing to do ... at same on a clean unpacked project. >>> >> >> I have no explanation. I think we're both using pretty recent Gambas >> versions and nothing was done to the patch dialogs recently... >> >> You can still try to apply the patch manually, assuming the source archive >> and the patch are both in /tmp: >> >> $ cd /tmp/ >> $ tar -zxvf archive-0.0.1.tar.gz >> Pahu/ >> Pahu/.settings >> Pahu/.src/ >> Pahu/.src/FMain.form >> Pahu/.src/FMain.class >> Pahu/.project >> Pahu/.directory >> Pahu/.action/ >> Pahu/.icon.png >> Pahu/.lang/ >> Pahu/.startup >> Pahu/.gambas/ >> Pahu/.hidden/ >> $ cd Pahu/ >> $ patch -p1 <../archive-0.0.1~Pahu-0.0.1.patch >> patching file .project >> patching file .src/FMain.class >> patching file .src/FMain.form >> >> gives me the patched project in /tmp/Pahu. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From gambas at ...2524... Mon Nov 17 22:18:30 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 17 Nov 2014 21:18:30 +0000 Subject: [Gambas-user] Issue 578 in gambas: Quiting a program while Showmodal window open segfaults Message-ID: <0-6813199134517018827-6188865173771266184-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 578 by r... at ...1740...: Quiting a program while Showmodal window open segfaults https://code.google.com/p/gambas/issues/detail?id=578 ____________________________________________________________ / \ | IMPORTANT NOTE #1 | | | | Don't create an issue if you have a compilation problem on | | the development version. Send a mail to the mailing-list | | instead, thanks! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #2 | | | | If you encounter several different problems or bugs, (for | | example, a bug in your project, and an interpreter crash | | while debugging it), please create distinct issues! | \____________________________________________________________/ 1) Describe the problem. When you have a program open on showmodal() and do a QUIT Gambas ide crashes (segfault 11) or give circular references (4 alloc non freed) 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-39-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7953M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 3.6.2 4) Provide a little project that reproduces the bug or the crash. Attached 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Open project click button and them click Quit button. Watch IDE console. gbx3: warning: circular references detected: gbx3: 1 FModal gbx3: 1 FMain gbx3: warning: 4 allocation(s) non freed. My bigger project gives segmentation fault, cannot reproduce that in this project though. ____________________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ Attachments: CrashModal-0.0.1.tar.gz 3.9 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Mon Nov 17 22:17:05 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Nov 2014 22:17:05 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> Message-ID: <20141117211705.GO1321@...2774...> On Mon, 17 Nov 2014, Fabien Bodard wrote: > [fabien at ...3278... GAMBAS]$ tar -zxvf archive-0.0.1.tar.gz > Pahu/ > Pahu/.settings > Pahu/.src/ > Pahu/.src/FMain.form > Pahu/.src/FMain.class > Pahu/.project > Pahu/.directory > Pahu/.action/ > Pahu/.icon.png > Pahu/.lang/ > Pahu/.startup > Pahu/.gambas/ > Pahu/.hidden/ > [fabien at ...3278... GAMBAS]$ cd Pahu/ > [fabien at ...3278... Pahu]$ patch -p1 <../archive-0.0.1~Pahu-0.0.1.patch > (Stripping trailing CRs from patch; use --binary to disable.) > patching file .project > (Stripping trailing CRs from patch; use --binary to disable.) > patching file .src/FMain.class > (Stripping trailing CRs from patch; use --binary to disable.) > patching file .src/FMain.form > [fabien at ...3278... Pahu]$ > > then it work in the direct way ... file is correctly patched... > OK, thanks for output above. Seemingly your "patch" program is a bit more picky than mine. Maybe I can do something about that kind of error/warning in the patch dialogs... -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Mon Nov 17 22:25:48 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 22:25:48 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: <20141117211705.GO1321@...2774...> References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> <20141117211705.GO1321@...2774...> Message-ID: But what is curious that is the FPath dialog output .. is present to me only the .project file ... look at the screenshot. Normally no program will affect the parsing of the file as the Patch class doing it in pur gambas way. 2014-11-17 22:17 GMT+01:00 Tobias Boege : > On Mon, 17 Nov 2014, Fabien Bodard wrote: >> [fabien at ...3278... GAMBAS]$ tar -zxvf archive-0.0.1.tar.gz >> Pahu/ >> Pahu/.settings >> Pahu/.src/ >> Pahu/.src/FMain.form >> Pahu/.src/FMain.class >> Pahu/.project >> Pahu/.directory >> Pahu/.action/ >> Pahu/.icon.png >> Pahu/.lang/ >> Pahu/.startup >> Pahu/.gambas/ >> Pahu/.hidden/ >> [fabien at ...3278... GAMBAS]$ cd Pahu/ >> [fabien at ...3278... Pahu]$ patch -p1 <../archive-0.0.1~Pahu-0.0.1.patch >> (Stripping trailing CRs from patch; use --binary to disable.) >> patching file .project >> (Stripping trailing CRs from patch; use --binary to disable.) >> patching file .src/FMain.class >> (Stripping trailing CRs from patch; use --binary to disable.) >> patching file .src/FMain.form >> [fabien at ...3278... Pahu]$ >> >> then it work in the direct way ... file is correctly patched... >> > > OK, thanks for output above. Seemingly your "patch" program is a bit more > picky than mine. Maybe I can do something about that kind of error/warning > in the patch dialogs... > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: capture1.png Type: image/png Size: 27320 bytes Desc: not available URL: From epost at ...3323... Mon Nov 17 22:30:58 2014 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Mon, 17 Nov 2014 22:30:58 +0100 Subject: [Gambas-user] ComboBox UserContol, with pictures. In-Reply-To: <1416256574.3462.6.camel@...40...> References: <1622814751.796254.1416160663133.JavaMail.yahoo@...3395...> <1416256574.3462.6.camel@...40...> Message-ID: <546A6912.5020706@...3323...> Den 17. nov. 2014 21:36, skrev Charlie Reinl: > Am Sonntag, den 16.11.2014, 17:57 +0000 schrieb Sam Dadds: >> Hi All, >> >> Need help with a custom ComboBox. >> >> I've created a UserControl (extends UserControl) with the normal stuff >> (TextBox for selection, picture for selected item and picture for dropdown button). >> >> The actual drop down list is a ListView instead of a ListBox for item pictures. >> This all works well. >> >> Problem is with positioning the drop down list. The ListView actually gets re-parented >> to the underlying form so it will display normally even when the ComboBox is inside a >> toolbar or other container. >> >> Finding the correct X and Y is a problem. Depending on how many containers the actual >> ComboBox is inside the X and Y become difficult to calculate. >> >> It seems the borders or margin padding of the additional containers are not taken into consideration when reporting the X and Y of the ComboBox container. >> >> Currently I've tried iterating up the containers via the parent of the ComboBox and >> add up the left or X properties until the actual parent form is found. This is close >> but not 100% accurate. By adding in the Desktop.Scale it gets a bit closer but still >> off. >> >> I've looked at the source for the db version of a ComboBox but the internal ListBox >> is actually used. >> >> Does anyone have an example of this or a better idea of how to use a ListView as the >> List container of the ComboBox? >> >> It's not critical but it would be nice to have item pictures in a ListBox or ComboBox. >> >> Thanks. > Salut Sam, > > have a look at Christof Thalhofer's "Gambas Combobox for Lists and > Databases", https://github.com/Deganius/DegComboBox , may be you find > some ideas. > Perhaps I haven't understood your issue, but why not set the ListView.Ignore = True and the parent to the current form? From taboege at ...626... Mon Nov 17 22:31:06 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Nov 2014 22:31:06 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> <20141117211705.GO1321@...2774...> Message-ID: <20141117213106.GP1321@...2774...> On Mon, 17 Nov 2014, Fabien Bodard wrote: > But what is curious that is the FPath dialog output .. is present to > me only the .project file ... look at the screenshot. Normally no > program will affect the parsing of the file as the Patch class doing > it in pur gambas way. > Indeed. Actually I don't remember testing the parser with weird data. Could you send me the "hexdump -C" of the patch file you're using? Maybe it got screwed up somewhere between my mail client and your hard disk? It works here, as the attached screenshot shows. In any case, something I need to investigate when I have time. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-dialog.png Type: image/png Size: 13979 bytes Desc: not available URL: From gambas.fr at ...626... Mon Nov 17 22:43:28 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 22:43:28 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: <20141117213106.GP1321@...2774...> References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> <20141117211705.GO1321@...2774...> <20141117213106.GP1321@...2774...> Message-ID: This is the hexdump 2014-11-17 22:31 GMT+01:00 Tobias Boege : > On Mon, 17 Nov 2014, Fabien Bodard wrote: >> But what is curious that is the FPath dialog output .. is present to >> me only the .project file ... look at the screenshot. Normally no >> program will affect the parsing of the file as the Patch class doing >> it in pur gambas way. >> > > Indeed. Actually I don't remember testing the parser with weird data. Could > you send me the "hexdump -C" of the patch file you're using? Maybe it got > screwed up somewhere between my mail client and your hard disk? It works > here, as the attached screenshot shows. > > In any case, something I need to investigate when I have time. > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: hexdump.out Type: chemical/x-gulp Size: 20150 bytes Desc: not available URL: From taboege at ...626... Mon Nov 17 22:47:32 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Nov 2014 22:47:32 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> <20141117211705.GO1321@...2774...> <20141117213106.GP1321@...2774...> Message-ID: <20141117214732.GQ1321@...2774...> On Mon, 17 Nov 2014, Fabien Bodard wrote: > This is the hexdump > Yep, it has those weird 0xd 0xa sequences, a.k.a. Windows-style newlines, which my original file didn't have... Can't be too difficult to make the patch parser resistant to that, as Gambas already supports different line delimiters in the Stream class. Also Sean, sorry for hijacking this thread. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Mon Nov 17 23:03:39 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 23:03:39 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: <20141117214732.GQ1321@...2774...> References: <20141117170544.GG1321@...2774...> <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> <20141117211705.GO1321@...2774...> <20141117213106.GP1321@...2774...> <20141117214732.GQ1321@...2774...> Message-ID: 2014-11-17 22:47 GMT+01:00 Tobias Boege : > On Mon, 17 Nov 2014, Fabien Bodard wrote: >> This is the hexdump >> > > Yep, it has those weird 0xd 0xa sequences, a.k.a. Windows-style newlines, > which my original file didn't have... Can't be too difficult to make the > patch parser resistant to that, as Gambas already supports different line > delimiters in the Stream class. > > Also Sean, sorry for hijacking this thread. yes it's that : 125: aScan = Scan(.LineInfo, "@@ -* +* @@") the line finish by \r so in this case aScan is null.. you can simply do : aScan = Scan(Rtrim(.LineInfo), "@@ -* +* @@") It a good moment for hijacking ! > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bbruen at ...2308... Mon Nov 17 23:04:52 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 18 Nov 2014 08:34:52 +1030 Subject: [Gambas-user] Bug with IDE detach Tab In-Reply-To: <546A32F4.4080106@...1...> References: <20141116131215.aa31b9301a2482fe0059df3b@...2308...> <546A32F4.4080106@...1...> Message-ID: <20141118083452.21ff7d1a99eeba2040486ff3@...2308...> On Mon, 17 Nov 2014 18:40:04 +0100 Beno?t Minisini wrote: > Le 16/11/2014 03:42, B Bruen a ?crit : > > > > If an IDE tab is detached and then reattached then if there are lines in the file to wide to display there is no scroll bar. > > > > I'd raise an error report but I have mucked up my login credentials. > > > > regards > > Bruce > > > > I don't have this problem. Please send a project that has that error, > and tell me what to do to reproduce it. > > Regards, > > -- > Beno?t Minisini > > Hmm. I updated to rev 6652 yesterday and now the problem has gone away. The prior version was one of the interim revs from the 6.5.2 pre-release. Sorry about the noise. Bruce -- B Bruen From gambas.fr at ...626... Mon Nov 17 23:14:05 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 17 Nov 2014 23:14:05 +0100 Subject: [Gambas-user] Progressbar_mousedown() does not work [solved] In-Reply-To: <20141117125306.GA1321@...2774...> References: <5468B558.6060409@...17...> <5468CD6B.1050307@...1...> <1f1feaee-c86e-4ad6-84d1-f5dae5f59235@...2550...> <20141117125306.GA1321@...2774...> Message-ID: well this is another temporary soluce for this problem Tobias : Private Function FindControl(hParent as Container, sControlName as String) as Object dim hControl as Object For each hControl in hParent.Children if hControl is Container then hControl = FindControl(hControl, sControlName) if hControl then return hControl Else if Object.Class(hControl).Name = sControlName then return hControl endif next End OBS = New Observer(FindControl(ProgressBar1, "DrawingArea")) as "OBS" 2014-11-17 13:53 GMT+01:00 Tobias Boege : > On Mon, 17 Nov 2014, Fabien Bodard wrote: >> Progressbar is just a drawingarea that dsplay a blue square ....so >> putting a drawingarea on another is not really the soluce >> >> You can do : >> >> >> ' Gambas class file >> >> Private OBS As Observer >> >> >> Public Sub Form_Open() >> >> OBS = New Observer(ProgressBar1.Children[0]) As "OBS" >> >> End >> >> >> Public Sub OBS_MouseDown() >> >> ProgressBar1.Value = Mouse.x / ProgressBar1.W >> >> End >> > > ... but note that this solution depends on the ordering of children in the > ProgressBar control, which you have no control over or guarantees about. > > Fabien is perfectly right with his answer but if I decide tomorrow to put > another thing into the ProgressBar, the above code may not work any longer. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...2524... Mon Nov 17 23:39:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 17 Nov 2014 22:39:37 +0000 Subject: [Gambas-user] Issue 579 in gambas: Sqlite Conn.Exec failure with a CTE query Message-ID: <0-6813199134517018827-8462259086410782777-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 579 by brucedot... at ...626...: Sqlite Conn.Exec failure with a CTE query https://code.google.com/p/gambas/issues/detail?id=579 I have a common table expression (CTE) query that I want to use on an Sqlite3 database. Essentially its goal is to return a result for a hierarchical data table in such a way that all parent items are listed before their children. The same query works properly in the sqlite3 CLI utility but fails when run either in a program using Connection.Exec() or in the IDE database browser. The same query works on a postgresql database in the CLI utility, in a gambas program and in the IDE database browser. I have checked through the sqlite3 website and cannot see any reference to a known error with the API. ____________________________________________________________ 1) Describe the problem. The CTE query in the attached project fails with a DBError code of 1 when issued from a gambas program against an sqlite3 dtabase. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.12.18-pclos2 Architecture=x86 Distribution=PCLinuxOS Desktop=LXDE Theme=QWindows Language=en_AU.UTF-8 Memory=1008M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.3.0.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.403.0 GTK+3=libgtk-3.so.0.1200.2 GTK+=libgtk-x11-2.0.so.0.2400.22 OpenGL=libGL.so.1.2.0 OpenGL=libGL.so.173.14.39 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.13.0.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.5 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. rev 6652 4) Provide a little project that reproduces the bug or the crash. Attached. 5) If your project needs a database, try to provide it, or part of it. The attached project contains code and scripts to create the necessary database. 6) Explain clearly how to reproduce the bug or the crash. In the attached project are three modules and an sqlite ".READ" script. The postgresql modules are only there to demonstrate that the query works against a postgresql database and can be ignored if you accept that it does work. 1) Create the required "democte" in your home directory as follows: [you at ...3396... ~]$ sqlite3 democte sqlite> .echo on sqlite> .read /demo.sql (This creates the database, creates the "pages" table, loads the sample data, lists it and finally runs the said CTE query.) 2) Ensure that the MSqlite module is the startup class and run it. Attachments: execCTE-0.0.1.tar.gz 5.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Tue Nov 18 02:56:03 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 18 Nov 2014 12:26:03 +1030 Subject: [Gambas-user] Events in local classes dont show up in the help Message-ID: <20141118122603.8ecef79cd1822d92897d9cf1@...2308...> Looking at the help for a class in the current project it seems that any events declared do not appear in the help for that class. e.g. ' Gambas class file ''' A test for event inline help in local classes Event Test() '' A simple event Public Sub _new() End All that appears in the help browser is as attached. -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot.png Type: image/png Size: 48188 bytes Desc: not available URL: From sammy_dadds at ...43... Tue Nov 18 04:35:15 2014 From: sammy_dadds at ...43... (Sam Dadds) Date: Tue, 18 Nov 2014 03:35:15 +0000 (UTC) Subject: [Gambas-user] Gambas-user Digest, Vol 102, Issue 34 In-Reply-To: References: Message-ID: <237589902.1214914.1416281715670.JavaMail.yahoo@...3398...> Thanks for the replies. ? The ListView.Ignore is set and works as expected, just unable to line up completly with the ComboBox. ? Starting to look at Christof Thalhofer's Cobmobox and noticed am actual Window is being created within the parent Form then the Screen.X and Screen.Y are used to position the Window.? I'll try downloading this and put the ComboBox into a couple of layered containers to see how it works. ? Are the $Variables or $ in general anything special?? Seems to be instance var and ifStatic class var.? I've been using m_Var ('m_' for member/instance) variables. I've also seen f_ for field var. ? I'm not exactly sure how to use the mailing list correctly.? I was able to submit a question (barely) but never know if it will wind up in an un-related thread, same thing when replying. Thanks. On Monday, November 17, 2014 4:43 PM, "gambas-user-request at ...312...eforge.net" wrote: Send Gambas-user mailing list submissions to ??? gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to ??? gambas-user-request at lists.sourceforge.net You can reach the person managing the list at ??? gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ? 1. Re: ComboBox UserContol, with pictures. (J?rn Erik M?rne) ? 2. Re: Scrollarea Graphics (Tobias Boege) ? 3. Re: Scrollarea Graphics (Fabien Bodard) ---------------------------------------------------------------------- Message: 1 Date: Mon, 17 Nov 2014 22:30:58 +0100 From: J?rn Erik M?rne Subject: Re: [Gambas-user] ComboBox UserContol, with pictures. To: Karl.Reinl at ...2345..., ??? mailing list for gambas users ??? Message-ID: <546A6912.5020706 at ...3323...> Content-Type: text/plain; charset=windows-1252; format=flowed Den 17. nov. 2014 21:36, skrev Charlie Reinl: > Am Sonntag, den 16.11.2014, 17:57 +0000 schrieb Sam Dadds: >> Hi All, >> >> Need help with a custom ComboBox. >> >>? ? I've created a UserControl (extends UserControl) with the normal stuff >> (TextBox for selection, picture for selected item and picture for dropdown button). >> >>? ? The actual drop down list is a ListView instead of a ListBox for item pictures. >> This all works well. >> >>? ? Problem is with positioning the drop down list.? The ListView actually gets re-parented >> to the underlying form so it will display normally even when the ComboBox is inside a >> toolbar or other container. >> >>? ? Finding the correct X and Y is a problem. Depending on how many containers the actual >> ComboBox is inside the X and Y become difficult to calculate. >> >>? ? It seems the borders or margin padding of the additional containers are not taken into consideration when reporting the X and Y of the ComboBox container. >> >>? ? Currently I've tried iterating up the containers via the parent of the ComboBox and >> add up the left or X properties until the actual parent form is found.? This is close >> but not 100% accurate.? By adding in the Desktop.Scale it gets a bit closer but still >> off. >> >>? ? I've looked at the source for the db version of a ComboBox but the internal ListBox >> is actually used. >> >>? ? Does anyone have an example of this or a better idea of how to use a ListView as the >> List container of the ComboBox? >> >>? ? It's not critical but it would be nice to have item pictures in a ListBox or ComboBox. >> >> Thanks. > Salut Sam, > > have a look at Christof Thalhofer's "Gambas Combobox for Lists and > Databases", https://github.com/Deganius/DegComboBox , may be you find > some ideas. > Perhaps I haven't understood your issue, but why not set the ListView.Ignore = True and the parent to the current form? ------------------------------ Message: 2 Date: Mon, 17 Nov 2014 22:31:06 +0100 From: Tobias Boege Subject: Re: [Gambas-user] Scrollarea Graphics To: mailing list for gambas users Message-ID: <20141117213106.GP1321 at ...2774...> Content-Type: text/plain; charset="us-ascii" On Mon, 17 Nov 2014, Fabien Bodard wrote: > But what is curious that is the FPath dialog output .. is present to > me only the .project file ... look at the screenshot. Normally no > program will affect the parsing of the file as the Patch class doing > it in pur gambas way. > Indeed. Actually I don't remember testing the parser with weird data. Could you send me the "hexdump -C" of the patch file you're using? Maybe it got screwed up somewhere between my mail client and your hard disk? It works here, as the attached screenshot shows. In any case, something I need to investigate when I have time. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-dialog.png Type: image/png Size: 13979 bytes Desc: not available ------------------------------ Message: 3 Date: Mon, 17 Nov 2014 22:43:28 +0100 From: Fabien Bodard Subject: Re: [Gambas-user] Scrollarea Graphics To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset="utf-8" This is the hexdump 2014-11-17 22:31 GMT+01:00 Tobias Boege : > On Mon, 17 Nov 2014, Fabien Bodard wrote: >> But what is curious that is the FPath dialog output .. is present to >> me only the .project file ... look at the screenshot. Normally no >> program will affect the parsing of the file as the Patch class doing >> it in pur gambas way. >> > > Indeed. Actually I don't remember testing the parser with weird data. Could > you send me the "hexdump -C" of the patch file you're using? Maybe it got > screwed up somewhere between my mail client and your hard disk? It works > here, as the attached screenshot shows. > > In any case, something I need to investigate when I have time. > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: hexdump.out Type: chemical/x-gulp Size: 20149 bytes Desc: not available ------------------------------ ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 102, Issue 34 ******************************************** From gambas.fr at ...626... Tue Nov 18 07:08:42 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 18 Nov 2014 07:08:42 +0100 Subject: [Gambas-user] Events in local classes dont show up in the help In-Reply-To: <20141118122603.8ecef79cd1822d92897d9cf1@...2308...> References: <20141118122603.8ecef79cd1822d92897d9cf1@...2308...> Message-ID: Well it seem that the problem is for all local helps. As you can see in my screenshot the class events are not listed. 2014-11-18 2:56 GMT+01:00 B Bruen : > Looking at the help for a class in the current project it seems that any events declared do not appear in the help for that class. > e.g. > ' Gambas class file > > ''' A test for event inline help in local classes > > Event Test() '' A simple event > > Public Sub _new() > > End > > All that appears in the help browser is as attached. > > -- > B Bruen > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: capture3.png Type: image/png Size: 328374 bytes Desc: not available URL: From gambas at ...1... Tue Nov 18 10:54:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Nov 2014 10:54:07 +0100 Subject: [Gambas-user] Events in local classes dont show up in the help In-Reply-To: References: <20141118122603.8ecef79cd1822d92897d9cf1@...2308...> Message-ID: <546B173F.8040908@...1...> Le 18/11/2014 07:08, Fabien Bodard a ?crit : > Well it seem that the problem is for all local helps. As you can see > in my screenshot the class events are not listed. > > 2014-11-18 2:56 GMT+01:00 B Bruen : >> Looking at the help for a class in the current project it seems that any events declared do not appear in the help for that class. >> e.g. >> ' Gambas class file >> >> ''' A test for event inline help in local classes >> >> Event Test() '' A simple event >> >> Public Sub _new() >> >> End >> >> All that appears in the help browser is as attached. >> >> -- >> B Bruen >> Fixed in revision #6654. Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Tue Nov 18 10:58:47 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 18 Nov 2014 10:58:47 +0100 Subject: [Gambas-user] Gambas-user Digest, Vol 102, Issue 34 In-Reply-To: <237589902.1214914.1416281715670.JavaMail.yahoo@...3398...> References: <237589902.1214914.1416281715670.JavaMail.yahoo@...3398...> Message-ID: <1416304727.3458.7.camel@...40...> Am Dienstag, den 18.11.2014, 03:35 +0000 schrieb Sam Dadds: > Thanks for the replies. > > The ListView.Ignore is set and works as expected, just unable to line up completly with the > ComboBox. > > Starting to look at Christof Thalhofer's Cobmobox and noticed am actual Window is being > created within the parent Form then the Screen.X and Screen.Y are used to position the > Window. I'll try downloading this and put the ComboBox into a couple of layered containers to see how it works. > > Are the $Variables or $ in general anything special? Seems to be instance var and ifStatic class var. I've been using m_Var ('m_' for member/instance) variables. I've > also seen f_ for field var. No the $ just part of the name, but the $ marks that in a special way, thats too. > I'm not exactly sure how to use the mailing list correctly. I was able to submit a question (barely) but never know if it will wind up in an un-related thread, same thing when replying. > At gambas-user at lists.sourceforge.net after login at Your Gambas-user Subscription Options Set Digest Mode OFF , the you get every mail and not the bulk-mail See also the other options. > Thanks. -- Amicalement Charlie From vuott at ...325... Tue Nov 18 14:21:45 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 18 Nov 2014 13:21:45 +0000 Subject: [Gambas-user] Borders of Panel aren't visible. Message-ID: <1416316905.73515.YahooMailBasic@...3268...> Hello, by using QT4 border of Panel Container aren't visible. By using GTK: - border.Rised is not visible; - border.Suken I do not see differences (it seems like Etched). Regards vuott [System] Gambas=3.6.90 --> OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QCleanlooks Language=it_IT.UTF-8 Memory=1245M [Libraries] Cairo=libcairo.so.2.11301.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas.fr at ...626... Tue Nov 18 18:07:31 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 18 Nov 2014 18:07:31 +0100 Subject: [Gambas-user] Progressbar_mousedown() does not work [solved] In-Reply-To: References: <5468B558.6060409@...17...> <5468CD6B.1050307@...1...> <1f1feaee-c86e-4ad6-84d1-f5dae5f59235@...2550...> <20141117125306.GA1321@...2774...> Message-ID: if Object.Class(hControl).Name = sControlName then return hControl Can be replaced by if Object.Type(hControl) = sControlName then return hControl 2014-11-17 23:14 GMT+01:00 Fabien Bodard : > well this is another temporary soluce for this problem Tobias : > > > Private Function FindControl(hParent as Container, sControlName as > String) as Object > > dim hControl as Object > > For each hControl in hParent.Children > > if hControl is Container then > hControl = FindControl(hControl, sControlName) > if hControl then return hControl > Else > if Object.Class(hControl).Name = sControlName then return hControl > endif > next > > End > > > OBS = New Observer(FindControl(ProgressBar1, "DrawingArea")) as "OBS" > > > 2014-11-17 13:53 GMT+01:00 Tobias Boege : >> On Mon, 17 Nov 2014, Fabien Bodard wrote: >>> Progressbar is just a drawingarea that dsplay a blue square ....so >>> putting a drawingarea on another is not really the soluce >>> >>> You can do : >>> >>> >>> ' Gambas class file >>> >>> Private OBS As Observer >>> >>> >>> Public Sub Form_Open() >>> >>> OBS = New Observer(ProgressBar1.Children[0]) As "OBS" >>> >>> End >>> >>> >>> Public Sub OBS_MouseDown() >>> >>> ProgressBar1.Value = Mouse.x / ProgressBar1.W >>> >>> End >>> >> >> ... but note that this solution depends on the ordering of children in the >> ProgressBar control, which you have no control over or guarantees about. >> >> Fabien is perfectly right with his answer but if I decide tomorrow to put >> another thing into the ProgressBar, the above code may not work any longer. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From gambas.fr at ...626... Tue Nov 18 19:59:18 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 18 Nov 2014 19:59:18 +0100 Subject: [Gambas-user] Borders of Panel aren't visible. In-Reply-To: <1416316905.73515.YahooMailBasic@...3268...> References: <1416316905.73515.YahooMailBasic@...3268...> Message-ID: Can you tell us what is the themes you are using ? 2014-11-18 14:21 GMT+01:00 Ru Vuott : > Hello, > > by using QT4 border of Panel Container aren't visible. > By using GTK: > - border.Rised is not visible; > - border.Suken I do not see differences (it seems like Etched). > > Regards > vuott > > > [System] > Gambas=3.6.90 --> > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QCleanlooks > Language=it_IT.UTF-8 > Memory=1245M > [Libraries] > Cairo=libcairo.so.2.11301.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From vuott at ...325... Tue Nov 18 20:24:45 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 18 Nov 2014 19:24:45 +0000 Subject: [Gambas-user] Borders of Panel aren't visible. In-Reply-To: Message-ID: <1416338685.25383.YahooMailBasic@...3274...> I use: > Theme=QCleanlooks regards vuott -------------------------------------------- Mar 18/11/14, Fabien Bodard ha scritto: Oggetto: Re: [Gambas-user] Borders of Panel aren't visible. A: "mailing list for gambas users" Data: Marted? 18 novembre 2014, 19:59 Can you tell us what is the themes you are using ? 2014-11-18 14:21 GMT+01:00 Ru Vuott : > Hello, > > by using QT4 border of Panel Container aren't visible. > By using GTK: >? - border.Rised is not visible; > - border.Suken I do not see differences (it seems like Etched). > > Regards > vuott > > > [System] > Gambas=3.6.90???--> > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QCleanlooks > Language=it_IT.UTF-8 > Memory=1245M > [Libraries] > Cairo=libcairo.so.2.11301.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mmcg29440 at ...3163... Tue Nov 18 20:42:47 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 18 Nov 2014 14:42:47 -0500 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? Message-ID: Hello, I have created a dialog form. As created by Gambas, it has an OK and Cancel button. I want to return three properties or an array from the form. One each for the three textboxes on the form. I added a textbox to the form to test it. Call it Textbox1. Used the code below to add a property called "Login" to the Dialog: Property Login As String Private strLogin AS String Private Function Login_Read() Return txtTextbox1.Text Return Private Sub Login_Write(Value as String) as String strLogin = Value End I call the Dialog from the main form by frmDialog.ShowModal. When I load the frmDialog, enter the text in the textbox and click OK. The Dialog closes but no value is returned to the main form. If I explicitly set Login_Read to Return "XYZ" it works properly. It returns "XYZ" to the main form. If I try to get the contents of Textbox1.Text it returns an empty string. There has got to be a way of returning the value of a textbox as a property of a dialog form. I'd rather not use public variables on the main form as there are too many variables already. Would you guys please point me in the right direction. Thanks, Marty From karl.reinl at ...9... Tue Nov 18 21:06:41 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 18 Nov 2014 21:06:41 +0100 Subject: [Gambas-user] problems in trie class Message-ID: <1416341201.3515.8.camel@...40...> Salut Tobi, played with you trie example (trietest) it crash if p = h.GetPrefix("texte") find nothing (p=null), even when change to p = h.GetPrefix("Texte") My change is h["texte"] to h["Texte"] (source attached) -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: trietest-0.0.1_Charlie.tar.gz Type: application/x-compressed-tar Size: 4172 bytes Desc: not available URL: From rhoct at ...325... Tue Nov 18 21:11:54 2014 From: rhoct at ...325... (roberto) Date: Tue, 18 Nov 2014 21:11:54 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: References: Message-ID: <546BA80A.4060609@...325...> Hi Marty, you would use a new class file were store your variables. In this case the class is a bridge from your dialog to main form Regards Il 18/11/2014 20:42, Martin McGlensey ha scritto: > Hello, > > > > I have created a dialog form. As created by Gambas, it has an OK and Cancel > button. I want to return three properties or an array from the form. One > each for the three textboxes on the form. > > I added a textbox to the form to test it. Call it Textbox1. Used the code > below to add a property called "Login" to the Dialog: > > > > Property Login As String > > Private strLogin AS String > > > > Private Function Login_Read() > > Return txtTextbox1.Text > > Return > > > > Private Sub Login_Write(Value as String) as String > > strLogin = Value > > End > > > > I call the Dialog from the main form by frmDialog.ShowModal. When I load the > frmDialog, enter the text in the textbox and click OK. The Dialog closes but > no value is returned to the main form. > > If I explicitly set Login_Read to Return "XYZ" it works properly. It > returns "XYZ" to the main form. If I try to get the contents of > Textbox1.Text it returns an empty string. There has got to be a way of > returning the value of a textbox as a property of a dialog form. I'd rather > not use public variables on the main form as there are too many variables > already. > > > > Would you guys please point me in the right direction. > > > > Thanks, > > Marty > > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From n.rogozarski at ...626... Tue Nov 18 21:23:35 2014 From: n.rogozarski at ...626... (Roki) Date: Tue, 18 Nov 2014 21:23:35 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: References: Message-ID: <546BAAC7.50801@...626...> try this: 1) in main form Property Login As String Private strLogin AS String Private Function Login_Read() Return strLogin End Private Sub Login_Write(Value as String) as String strLogin = Value End Private sub Button1_Click() dim f as new frmDialog <-- Your name of dialog form if f.ShowModal() Then return TextBox1.Text = strLogin End 2) On DialogForm when you click on OK button Private Sub btnOK_Click() FMain.Login = TextBox1.Text < ---I guess this is the name of TextBox on your dialog form End And 3) I'm sorry for my bad English, and I guess this will help! On 18.11.2014 20:42, Martin McGlensey wrote: > Hello, > > > > I have created a dialog form. As created by Gambas, it has an OK and Cancel > button. I want to return three properties or an array from the form. One > each for the three textboxes on the form. > > I added a textbox to the form to test it. Call it Textbox1. Used the code > below to add a property called "Login" to the Dialog: > > > > Property Login As String > > Private strLogin AS String > > > > Private Function Login_Read() > > Return txtTextbox1.Text > > Return > > > > Private Sub Login_Write(Value as String) as String > > strLogin = Value > > End > > > > I call the Dialog from the main form by frmDialog.ShowModal. When I load the > frmDialog, enter the text in the textbox and click OK. The Dialog closes but > no value is returned to the main form. > > If I explicitly set Login_Read to Return "XYZ" it works properly. It > returns "XYZ" to the main form. If I try to get the contents of > Textbox1.Text it returns an empty string. There has got to be a way of > returning the value of a textbox as a property of a dialog form. I'd rather > not use public variables on the main form as there are too many variables > already. > > > > Would you guys please point me in the right direction. > > > > Thanks, > > Marty > > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Tue Nov 18 21:48:01 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 18 Nov 2014 21:48:01 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <1416341201.3515.8.camel@...40...> References: <1416341201.3515.8.camel@...40...> Message-ID: <20141118204801.GB1306@...2774...> On Tue, 18 Nov 2014, Karl Reinl wrote: > Salut Tobi, > > played with you trie example (trietest) > I'm glad to hear that :-) > > it crash if > p = h.GetPrefix("texte") find nothing (p=null), even when change > to p = h.GetPrefix("Texte") > > My change is h["texte"] to h["Texte"] (source attached) Not so glad about that... Did it really crash (i.e. segfault or abort or ...)? When I run the project it stops at line 25 with the error "Null object" which is to be expected because the prefix "texte" doesn't exist anymore after your changes. If I change line 25 to p = h.GetPrefix("Texte"), then it runs through flawlessly here. If it really crashes, I need to know your Gambas version / revision and your system specs, especially your 32- or 64-bitness. It would also help if you provided a gdb backtrace and a valgrind log of the crash. Do you know how to do that? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Nov 18 21:58:21 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 18 Nov 2014 21:58:21 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: References: Message-ID: <20141118205821.GC1306@...2774...> On Tue, 18 Nov 2014, Martin McGlensey wrote: > Hello, > > > > I have created a dialog form. As created by Gambas, it has an OK and Cancel > button. I want to return three properties or an array from the form. One > each for the three textboxes on the form. > > I added a textbox to the form to test it. Call it Textbox1. Used the code > below to add a property called "Login" to the Dialog: > > > > Property Login As String > > Private strLogin AS String > > > > Private Function Login_Read() > > Return txtTextbox1.Text > > Return > > > > Private Sub Login_Write(Value as String) as String > > strLogin = Value > > End > > > > I call the Dialog from the main form by frmDialog.ShowModal. When I load the > frmDialog, enter the text in the textbox and click OK. The Dialog closes but > no value is returned to the main form. > > If I explicitly set Login_Read to Return "XYZ" it works properly. It > returns "XYZ" to the main form. If I try to get the contents of > Textbox1.Text it returns an empty string. There has got to be a way of > returning the value of a textbox as a property of a dialog form. I'd rather > not use public variables on the main form as there are too many variables > already. > > Would you guys please point me in the right direction. > This is a standard task and therefore a "template solution" evolved in the Gambas sources. Attached is a project which shows how to do it cleanly, no public variables and no auxiliary classes needed. If you have a problem with the project and comments being German, I will translate it for you... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: login-form-0.0.2.tar.gz Type: application/octet-stream Size: 5130 bytes Desc: not available URL: From gambas.fr at ...626... Tue Nov 18 22:14:08 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 18 Nov 2014 22:14:08 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: <546BAAC7.50801@...626...> References: <546BAAC7.50801@...626...> Message-ID: the common way is : In the form : Static Public Param1 as string Static Public Param2 as String Static Public Param3 as string Public Function Run(hParam1 as string, hParam2 as string, hParam3 as string) as boolean dim hForm as FDialog Return Not Me.ShowDialog() end Public Sub Form_Open1 TextBox1.Text = Param1 TextBox2.Text = Param2 TextBox3.Text = Param3 end Public Sub btnValidate_Click() Param1 =TextBox1.Text Param2 = TextBox2.Text Param3 = TextBox3.Text me.Close(True) End Public sub btnCancel_Click() Me.Close End Calling the form : FDialog.Param1 = "myparam1" FDialog.Param2 = "MyParam2" FDialog.Param3 = "MyParam3" If Not Fdialog.Run() then Print FDialog.Param1 ,FDialog.Param2 ,FDialog.Param3 endif From gambas.fr at ...626... Tue Nov 18 22:15:56 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 18 Nov 2014 22:15:56 +0100 Subject: [Gambas-user] Borders of Panel aren't visible. In-Reply-To: <1416338685.25383.YahooMailBasic@...3274...> References: <1416338685.25383.YahooMailBasic@...3274...> Message-ID: I think the problem come from there as the Theme provide the style 2014-11-18 20:24 GMT+01:00 Ru Vuott : > I use: > >> Theme=QCleanlooks > > > regards > vuott > > > > -------------------------------------------- > Mar 18/11/14, Fabien Bodard ha scritto: > > Oggetto: Re: [Gambas-user] Borders of Panel aren't visible. > A: "mailing list for gambas users" > Data: Marted? 18 novembre 2014, 19:59 > > Can you tell us what is > the themes you are using ? > > > > 2014-11-18 > 14:21 GMT+01:00 Ru Vuott : > > Hello, > > > > by using QT4 border of Panel Container > aren't visible. > > By using GTK: > > - border.Rised is not visible; > > - border.Suken I do not see differences > (it seems like Etched). > > > > Regards > > vuott > > > > > > > [System] > > > Gambas=3.6.90 --> > > > OperatingSystem=Linux > > > Kernel=3.13.0-24-generic > > > Architecture=x86_64 > > Distribution=Linux > Mint 17 Qiana > > Desktop=GNOME > > Theme=QCleanlooks > > > Language=it_IT.UTF-8 > > Memory=1245M > > [Libraries] > > > Cairo=libcairo.so.2.11301.0 > > > DBus=libdbus-1.so.3.7.6 > > > GStreamer=libgstreamer-0.10.so.0.30.0 > > > GStreamer=libgstreamer-1.0.so.0.204.0 > > > GTK+3=libgtk-3.so.0.1000.8 > > > GTK+=libgtk-x11-2.0.so.0.2400.23 > > > OpenGL=libGL.so.1.2.0 > > > Poppler=libpoppler.so.44.0.0 > > > Qt4=libQtCore.so.4.8.6 > > > SDL=libSDL-1.2.so.0.11.4 > > > > > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free > Enterprise-Grade BIRT Server > > from > Actuate! Instantly Supercharge Your Business Reports and > Dashboards > > with Interactivity, Sharing, > Native Excel Exports, App Integration & more > > Get technology previously reserved for > billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free > Enterprise-Grade BIRT Server > from Actuate! > Instantly Supercharge Your Business Reports and > Dashboards > with Interactivity, Sharing, > Native Excel Exports, App Integration & more > Get technology previously reserved for > billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From Karl.Reinl at ...2345... Tue Nov 18 22:34:45 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 18 Nov 2014 22:34:45 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <20141118204801.GB1306@...2774...> References: <1416341201.3515.8.camel@...40...> <20141118204801.GB1306@...2774...> Message-ID: <1416346485.3515.23.camel@...40...> Am Dienstag, den 18.11.2014, 21:48 +0100 schrieb Tobias Boege: > On Tue, 18 Nov 2014, Karl Reinl wrote: > > Salut Tobi, > > > > played with you trie example (trietest) > > > > I'm glad to hear that :-) > > > > > it crash if > > p = h.GetPrefix("texte") find nothing (p=null), even when change > > to p = h.GetPrefix("Texte") > > > > My change is h["texte"] to h["Texte"] (source attached) > > Not so glad about that... > > Did it really crash (i.e. segfault or abort or ...)? When I run the project > it stops at line 25 with the error "Null object" which is to be expected > because the prefix "texte" doesn't exist anymore after your changes. If I > change line 25 to p = h.GetPrefix("Texte"), then it runs through flawlessly > here. > It is a #11, CRASH REPORT windows opens > If it really crashes, I need to know your Gambas version / revision and your > system specs, especially your 32- or 64-bitness. It would also help if you > provided a gdb backtrace and a valgrind log of the crash. Do you know how to > do that? > [System] Gambas=3.6.90 -----------------> rev.6647 OperatingSystem=Linux Kernel=3.2.0-70-generic Architecture=x86 ------------------> 32 bit Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 > Regards, > Tobi > (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". -> root q -> p Texte -> french tall -> small term -> 2+3 test -> tomorrow text -> words Program received signal SIGSEGV, Segmentation fault. 0x00337331 in destroy_trie (trie=0x80b53ac, dtor=0x3379f8 ) at trie.c:256 256 destroy_trie(trie->children[i], dtor); (gdb) bt #0 0x00337331 in destroy_trie (trie=0x80b53ac, dtor=0x3379f8 ) at trie.c:256 #1 0x00338368 in Trie_free (_object=0x80aeeec, _param=0xb74a8050) at c_trie.c:68 #2 0x08051f54 in EXEC_native () at gbx_exec.c:1366 #3 0x08052657 in EXEC_special (special=1, class=0x80b1884, object=, nparam=0, drop=1 '\001') at gbx_exec.c:1674 #4 0x080527d2 in EXEC_special_inheritance (special=1, class=0x80b1884, object=0x80aeeec, nparam=0, drop=1 '\001') at gbx_exec.c:1730 #5 0x08055895 in CLASS_free (object=0x80aeeec) at gbx_class.c:754 #6 0x08050175 in RELEASE_many (value=, n=0) at gbx_exec.c:240 #7 0x08050cf0 in EXEC_leave_drop () at gbx_exec.c:795 #8 0x080514fb in EXEC_function_loop () at gbx_exec.c:1053 #9 0x08051826 in EXEC_function_real () at gbx_exec.c:895 #10 0x0804b568 in main (argc=1457883477, argv=0xbffff384) at gbx.c:416 (gdb) but I have to say also this. I can NOT run the IDE with gdb :~/src/gambas/3/gambas-svn30/app/src/gambas3$ gdb gbx3 GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/gbx3...done. (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". ERROR: #2: Cannot load class 'AngleBox': Unable to load class file [Inferior 1 (process 7146) exited with code 01] (gdb) -- Amicalement Charlie -------------- next part -------------- ==7196== Memcheck, a memory error detector ==7196== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==7196== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==7196== Command: gbx3 ==7196== ==7196== Invalid read of size 4 ==7196== at 0x403B331: destroy_trie (trie.c:256) ==7196== by 0x403C367: Trie_free (c_trie.c:68) ==7196== by 0x8051F53: EXEC_native (gbx_exec.c:1366) ==7196== by 0x8052656: EXEC_special (gbx_exec.c:1674) ==7196== by 0x80527D1: EXEC_special_inheritance (gbx_exec.c:1730) ==7196== by 0x8055894: CLASS_free (gbx_class.c:754) ==7196== by 0x8050174: RELEASE_many (gbx_exec.c:240) ==7196== by 0x8050CEF: EXEC_leave_drop (gbx_exec.c:795) ==7196== by 0x80514FA: EXEC_function_loop (gbx_exec.c:1053) ==7196== by 0x8051825: EXEC_function_real (gbx_exec.c:895) ==7196== by 0x804B567: main (gbx.c:416) ==7196== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==7196== ==7196== ==7196== Process terminating with default action of signal 11 (SIGSEGV) ==7196== Access not within mapped region at address 0x0 ==7196== at 0x403B331: destroy_trie (trie.c:256) ==7196== by 0x403C367: Trie_free (c_trie.c:68) ==7196== by 0x8051F53: EXEC_native (gbx_exec.c:1366) ==7196== by 0x8052656: EXEC_special (gbx_exec.c:1674) ==7196== by 0x80527D1: EXEC_special_inheritance (gbx_exec.c:1730) ==7196== by 0x8055894: CLASS_free (gbx_class.c:754) ==7196== by 0x8050174: RELEASE_many (gbx_exec.c:240) ==7196== by 0x8050CEF: EXEC_leave_drop (gbx_exec.c:795) ==7196== by 0x80514FA: EXEC_function_loop (gbx_exec.c:1053) ==7196== by 0x8051825: EXEC_function_real (gbx_exec.c:895) ==7196== by 0x804B567: main (gbx.c:416) ==7196== If you believe this happened as a result of a stack ==7196== overflow in your program's main thread (unlikely but ==7196== possible), you can try to increase the size of the ==7196== main thread stack using the --main-stacksize= flag. ==7196== The main thread stack size used in this run was 8388608. -> root q -> p Texte -> french tall -> small term -> 2+3 test -> tomorrow text -> words ==7196== ==7196== HEAP SUMMARY: ==7196== in use at exit: 42,656 bytes in 419 blocks ==7196== total heap usage: 511 allocs, 92 frees, 53,384 bytes allocated ==7196== ==7196== LEAK SUMMARY: ==7196== definitely lost: 0 bytes in 0 blocks ==7196== indirectly lost: 0 bytes in 0 blocks ==7196== possibly lost: 40,816 bytes in 386 blocks ==7196== still reachable: 1,840 bytes in 33 blocks ==7196== suppressed: 0 bytes in 0 blocks ==7196== Rerun with --leak-check=full to see details of leaked memory ==7196== ==7196== For counts of detected and suppressed errors, rerun with: -v ==7196== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) From vuott at ...325... Wed Nov 19 01:25:39 2014 From: vuott at ...325... (Ru Vuott) Date: Wed, 19 Nov 2014 00:25:39 +0000 Subject: [Gambas-user] Borders of Panel aren't visible. In-Reply-To: Message-ID: <1416356739.98281.YahooMailBasic@...3275...> Hello Fabien, uhmmmm.... it's possible. However, by using GTK3 the different types of border work. ...bah ! OK, thanks, Fabien. vuott -------------------------------------------- Mar 18/11/14, Fabien Bodard ha scritto: Oggetto: Re: [Gambas-user] Borders of Panel aren't visible. A: "mailing list for gambas users" Data: Marted? 18 novembre 2014, 22:15 I think the problem come from there as the Theme provide the style 2014-11-18 20:24 GMT+01:00 Ru Vuott : > I use: > >> Theme=QCleanlooks > > > regards > vuott > > > > -------------------------------------------- > Mar 18/11/14, Fabien Bodard ha scritto: > >? Oggetto: Re: [Gambas-user] Borders of Panel aren't visible. >? A: "mailing list for gambas users" >? Data: Marted? 18 novembre 2014, 19:59 > >? Can you tell us what is >? the themes you are using ? > > > >? 2014-11-18 >? 14:21 GMT+01:00 Ru Vuott : >? > Hello, >? > >? > by using QT4 border of Panel Container >? aren't visible. >? > By using GTK: >? >? - border.Rised is not visible; >? > - border.Suken I do not see differences >? (it seems like Etched). >? > >? > Regards >? > vuott >? > >? > >? > >? [System] >? > >? Gambas=3.6.90???--> >? > >? OperatingSystem=Linux >? > >? Kernel=3.13.0-24-generic >? > >? Architecture=x86_64 >? > Distribution=Linux >? Mint 17 Qiana >? > Desktop=GNOME >? > Theme=QCleanlooks >? > >? Language=it_IT.UTF-8 >? > Memory=1245M >? > [Libraries] >? > >? Cairo=libcairo.so.2.11301.0 >? > >? DBus=libdbus-1.so.3.7.6 >? > >? GStreamer=libgstreamer-0.10.so.0.30.0 >? > >? GStreamer=libgstreamer-1.0.so.0.204.0 >? > >? GTK+3=libgtk-3.so.0.1000.8 >? > >? GTK+=libgtk-x11-2.0.so.0.2400.23 >? > >? OpenGL=libGL.so.1.2.0 >? > >? Poppler=libpoppler.so.44.0.0 >? > >? Qt4=libQtCore.so.4.8.6 >? > >? SDL=libSDL-1.2.so.0.11.4 >? > >? > >? > >? ------------------------------------------------------------------------------ >? > Download BIRT iHub F-Type - The Free >? Enterprise-Grade BIRT Server >? > from >? Actuate! Instantly Supercharge Your Business Reports and >? Dashboards >? > with Interactivity, Sharing, >? Native Excel Exports, App Integration & more >? > Get technology previously reserved for >? billion-dollar corporations, FREE >? > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >? > >? _______________________________________________ >? > Gambas-user mailing list >? > Gambas-user at lists.sourceforge.net >? > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >? -- >? Fabien Bodard > >? ------------------------------------------------------------------------------ >? Download BIRT iHub F-Type - The Free >? Enterprise-Grade BIRT Server >? from Actuate! >? Instantly Supercharge Your Business Reports and >? Dashboards >? with Interactivity, Sharing, >? Native Excel Exports, App Integration & more >? Get technology previously reserved for >? billion-dollar corporations, FREE >? http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >? _______________________________________________ >? Gambas-user mailing list >? Gambas-user at lists.sourceforge.net >? https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mmcg29440 at ...3163... Wed Nov 19 01:37:36 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 18 Nov 2014 19:37:36 -0500 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? Message-ID: Tobi, Thanks for your response. I did not get the attachment. It was scrubbed of the list. Would you please send it to my personal e-mail (MMCG29440 at ...3400... ). The method of adding a property should work. I tried adding a Class but, I'm not real sure how to do it. Appreciate your help. Regards, Marty From eilert-sprachen at ...221... Wed Nov 19 09:13:36 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 19 Nov 2014 09:13:36 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: <20141118205821.GC1306@...2774...> References: <20141118205821.GC1306@...2774...> Message-ID: <546C5130.5000607@...221...> Am 18.11.2014 21:58, schrieb Tobias Boege: > On Tue, 18 Nov 2014, Martin McGlensey wrote: >> Hello, >> >> >> >> I have created a dialog form. As created by Gambas, it has an OK and Cancel >> button. I want to return three properties or an array from the form. One >> each for the three textboxes on the form. >> >> I added a textbox to the form to test it. Call it Textbox1. Used the code >> below to add a property called "Login" to the Dialog: >> >> >> >> Property Login As String >> >> Private strLogin AS String >> >> >> >> Private Function Login_Read() >> >> Return txtTextbox1.Text >> >> Return >> >> >> >> Private Sub Login_Write(Value as String) as String >> >> strLogin = Value >> >> End >> >> >> >> I call the Dialog from the main form by frmDialog.ShowModal. When I load the >> frmDialog, enter the text in the textbox and click OK. The Dialog closes but >> no value is returned to the main form. >> >> If I explicitly set Login_Read to Return "XYZ" it works properly. It >> returns "XYZ" to the main form. If I try to get the contents of >> Textbox1.Text it returns an empty string. There has got to be a way of >> returning the value of a textbox as a property of a dialog form. I'd rather >> not use public variables on the main form as there are too many variables >> already. >> >> Would you guys please point me in the right direction. >> > > This is a standard task and therefore a "template solution" evolved in the > Gambas sources. Attached is a project which shows how to do it cleanly, no > public variables and no auxiliary classes needed. > > If you have a problem with the project and comments being German, I will > translate it for you... > > Regards, > Tobi > > Thanks for that example. Never realised there would be this way to do it. It does indeed save a lot of trouble with values from dialogs. On the other hand, it means changing the form calls I'm used to from a simple "formxyz.ShowModal" to "DIM hForm As New formxyz" "aCollection = hForm(...)". Let me ask two things I stumbled over when studying the code: Where would I find this "call" thing in the documentation? F2 doesn't react to event calls, and I cannot find it under the event descriptions (like Event Management etc.). Why is a SUB used with a Return value? Wouldn't it be more up to standards to use a FUNCTION instead? (As far as I understand, a SUB is a function without a return value, one that would be of type "void" under C.) Regards Rolf From gambas.fr at ...626... Wed Nov 19 09:24:45 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 19 Nov 2014 09:24:45 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: <546C5130.5000607@...221...> References: <20141118205821.GC1306@...2774...> <546C5130.5000607@...221...> Message-ID: Function sub and procedure are the same . It's just a use Le 19 nov. 2014 09:14, "Rolf-Werner Eilert" a ?crit : > > > Am 18.11.2014 21:58, schrieb Tobias Boege: > > On Tue, 18 Nov 2014, Martin McGlensey wrote: > >> Hello, > >> > >> > >> > >> I have created a dialog form. As created by Gambas, it has an OK and > Cancel > >> button. I want to return three properties or an array from the form. One > >> each for the three textboxes on the form. > >> > >> I added a textbox to the form to test it. Call it Textbox1. Used the > code > >> below to add a property called "Login" to the Dialog: > >> > >> > >> > >> Property Login As String > >> > >> Private strLogin AS String > >> > >> > >> > >> Private Function Login_Read() > >> > >> Return txtTextbox1.Text > >> > >> Return > >> > >> > >> > >> Private Sub Login_Write(Value as String) as String > >> > >> strLogin = Value > >> > >> End > >> > >> > >> > >> I call the Dialog from the main form by frmDialog.ShowModal. When I > load the > >> frmDialog, enter the text in the textbox and click OK. The Dialog > closes but > >> no value is returned to the main form. > >> > >> If I explicitly set Login_Read to Return "XYZ" it works properly. It > >> returns "XYZ" to the main form. If I try to get the contents of > >> Textbox1.Text it returns an empty string. There has got to be a way of > >> returning the value of a textbox as a property of a dialog form. I'd > rather > >> not use public variables on the main form as there are too many > variables > >> already. > >> > >> Would you guys please point me in the right direction. > >> > > > > This is a standard task and therefore a "template solution" evolved in > the > > Gambas sources. Attached is a project which shows how to do it cleanly, > no > > public variables and no auxiliary classes needed. > > > > If you have a problem with the project and comments being German, I will > > translate it for you... > > > > Regards, > > Tobi > > > > > > > Thanks for that example. Never realised there would be this way to do > it. It does indeed save a lot of trouble with values from dialogs. On > the other hand, it means changing the form calls I'm used to from a > simple "formxyz.ShowModal" to "DIM hForm As New formxyz" "aCollection = > hForm(...)". > > Let me ask two things I stumbled over when studying the code: > > Where would I find this "call" thing in the documentation? F2 doesn't > react to event calls, and I cannot find it under the event descriptions > (like Event Management etc.). > > Why is a SUB used with a Return value? Wouldn't it be more up to > standards to use a FUNCTION instead? (As far as I understand, a SUB is a > function without a return value, one that would be of type "void" under C.) > > > > > Regards > Rolf > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Nov 19 11:01:11 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 19 Nov 2014 11:01:11 +0100 Subject: [Gambas-user] ComboBox UserContol, with pictures. In-Reply-To: <546A6912.5020706@...3323...> References: <1622814751.796254.1416160663133.JavaMail.yahoo@...3395...> <1416256574.3462.6.camel@...40...> <546A6912.5020706@...3323...> Message-ID: And why reparent... The listview must be in a popup type window.. and then just move it at textbox screenx and .screeny Le 17 nov. 2014 22:31, "J?rn Erik M?rne" a ?crit : > > Den 17. nov. 2014 21:36, skrev Charlie Reinl: > > Am Sonntag, den 16.11.2014, 17:57 +0000 schrieb Sam Dadds: > >> Hi All, > >> > >> Need help with a custom ComboBox. > >> > >> I've created a UserControl (extends UserControl) with the normal > stuff > >> (TextBox for selection, picture for selected item and picture for > dropdown button). > >> > >> The actual drop down list is a ListView instead of a ListBox for > item pictures. > >> This all works well. > >> > >> Problem is with positioning the drop down list. The ListView > actually gets re-parented > >> to the underlying form so it will display normally even when the > ComboBox is inside a > >> toolbar or other container. > >> > >> Finding the correct X and Y is a problem. Depending on how many > containers the actual > >> ComboBox is inside the X and Y become difficult to calculate. > >> > >> It seems the borders or margin padding of the additional containers > are not taken into consideration when reporting the X and Y of the ComboBox > container. > >> > >> Currently I've tried iterating up the containers via the parent of > the ComboBox and > >> add up the left or X properties until the actual parent form is found. > This is close > >> but not 100% accurate. By adding in the Desktop.Scale it gets a bit > closer but still > >> off. > >> > >> I've looked at the source for the db version of a ComboBox but the > internal ListBox > >> is actually used. > >> > >> Does anyone have an example of this or a better idea of how to use a > ListView as the > >> List container of the ComboBox? > >> > >> It's not critical but it would be nice to have item pictures in a > ListBox or ComboBox. > >> > >> Thanks. > > Salut Sam, > > > > have a look at Christof Thalhofer's "Gambas Combobox for Lists and > > Databases", https://github.com/Deganius/DegComboBox , may be you find > > some ideas. > > > Perhaps I haven't understood your issue, but why not set the > ListView.Ignore = True and the parent to the current form? > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Wed Nov 19 15:11:02 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Nov 2014 14:11:02 +0000 Subject: [Gambas-user] Issue 580 in gambas: Menu bar background color seems wrong. Message-ID: <0-6813199134517018827-7815319398573939980-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 580 by Kokok... at ...626...: Menu bar background color seems wrong. https://code.google.com/p/gambas/issues/detail?id=580 As you can see in the screenshots, the menubar doesn't follow the main form background. In my case, the standard oxygen style is used, which is drawn with a gradient. Menu bar doesn't use the gradient anymore, while in the past (before 3.6.x) it worked. My system: [System] Gambas=3.6.1 OperatingSystem=Linux Kernel=3.17.3-1-ARCH Architecture=x86_64 Distribution=Arch Linux Desktop=KDE4 Theme=Oxygen Language=it_IT.utf8 Memory=3957M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.7 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.47.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Attachments: 16.png 14.5 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Nov 19 15:16:56 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Nov 2014 14:16:56 +0000 Subject: [Gambas-user] Issue 581 in gambas: Progressbar and mouse events are gone Message-ID: <0-6813199134517018827-14683283210564340637-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 581 by Kokok... at ...626...: Progressbar and mouse events are gone https://code.google.com/p/gambas/issues/detail?id=581 Progressbar doesn't raise mouse events anymore. It worked before gambas 3.6.x My system: [System] Gambas=3.6.1 OperatingSystem=Linux Kernel=3.17.3-1-ARCH Architecture=x86_64 Distribution=Arch Linux Desktop=KDE4 Theme=Oxygen Language=it_IT.utf8 Memory=3957M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.7 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.47.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Test code: Public Sub ProgressBar1_MouseDown() Debug End Public Sub ProgressBar1_MouseDrag() Debug End -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Nov 19 15:23:37 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 19 Nov 2014 14:23:37 +0000 Subject: [Gambas-user] Issue 582 in gambas: ProgressBars are ugly Message-ID: <0-6813199134517018827-429741752051832921-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.6.0 Type-Enhancement Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 582 by Kokok... at ...626...: ProgressBars are ugly https://code.google.com/p/gambas/issues/detail?id=582 Since gambas 3.6.x, the progressbars dont follow the widget style anymore. May i ask for a way to get them back by choice, please. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Wed Nov 19 16:37:40 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 19 Nov 2014 16:37:40 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: <546C5130.5000607@...221...> References: <20141118205821.GC1306@...2774...> <546C5130.5000607@...221...> Message-ID: <20141119153740.GA688@...2774...> On Wed, 19 Nov 2014, Rolf-Werner Eilert wrote: > > This is a standard task and therefore a "template solution" evolved in the > > Gambas sources. Attached is a project which shows how to do it cleanly, no > > public variables and no auxiliary classes needed. > > > > If you have a problem with the project and comments being German, I will > > translate it for you... > > > > Regards, > > Tobi > > > > > > > Thanks for that example. Never realised there would be this way to do > it. It does indeed save a lot of trouble with values from dialogs. On > the other hand, it means changing the form calls I'm used to from a > simple "formxyz.ShowModal" to "DIM hForm As New formxyz" "aCollection = > hForm(...)". > > Let me ask two things I stumbled over when studying the code: > > Where would I find this "call" thing in the documentation? F2 doesn't > react to event calls, and I cannot find it under the event descriptions > (like Event Management etc.). > _call is a special method that allows you to use an object like a function. It is documented in the "Special methods" section[0]. However, it is not mandatory here. In Gambas sources you mostly see a function named Run() instead. I just like the _call() syntax better. > Why is a SUB used with a Return value? Wouldn't it be more up to > standards to use a FUNCTION instead? (As far as I understand, a SUB is a > function without a return value, one that would be of type "void" under C.) > Definitely! Usually I do that, but sometimes signatures change when I develop the code further. I must have overseen that spot. Anyway, in Gambas Sub, Procedure and Function are mutually interchangeable. Regards, Tobi [0] http://gambaswiki.org/wiki/cat/special -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Wed Nov 19 16:39:55 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 19 Nov 2014 16:39:55 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: References: Message-ID: <20141119153955.GB688@...2774...> On Tue, 18 Nov 2014, Martin McGlensey wrote: > Tobi, > > > > Thanks for your response. I did not get the attachment. It was scrubbed of > the list. Would you please send it to my personal e-mail > (MMCG29440 at ...3400... ). The method of > adding a property should work. I tried adding a Class but, I'm not real sure > how to do it. > > > > Appreciate your help. > You can download the archive from the mailing list archive: [0]. Regards, Tobi [0] http://sourceforge.net/p/gambas/mailman/message/33053382/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sammy_dadds at ...43... Wed Nov 19 18:42:08 2014 From: sammy_dadds at ...43... (Sam Dadds) Date: Wed, 19 Nov 2014 17:42:08 +0000 (UTC) Subject: [Gambas-user] Gambas-user Digest, Vol 102, Issue 40 In-Reply-To: References: Message-ID: <1291606847.1729274.1416418928372.JavaMail.yahoo@...3402...> ComboBox UserContol, with pictures Hi Fabien, ? Exactly.? After looking at the code from Christof Thalhofer's "Gambas Combobox for Lists and Databases"? https://github.com/Deganius/DegComBox I saw exactly that.? A simple Window object to parent the ListView into and then position the Window to the ScreenX and ScreenY of the ComboBox container. ? This lines up exactly.? I added true for the skip taskbar and it looks nice. ? ? The ability to create custom controls in Gambas is really powerful.? Sometimes I use a dummy form with panels of stock objects then reparent the panels into the real form or container and sometimes custom controls.? Both allow the bulk of event handling logic to be keep separate from the specific event handling code. ? I have to get a little better with defining property getter and setters the way Gambas does, I'm use to defining getProperty and setProperty from the Java syntax. But then again, I still use Hungarian notation too, even in PL/SQL. Old habits are hard to break, but there are good reasons for this madness. Thanks. On Wednesday, November 19, 2014 9:24 AM, "gambas-user-request at ...1117...urceforge.net" wrote: Send Gambas-user mailing list submissions to ??? gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit ??? https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to ??? gambas-user-request at lists.sourceforge.net You can reach the person managing the list at ??? gambas-user-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: ? 1. Re: How do I pass a user parameter from a dialog form? ? ? ? (Rolf-Werner Eilert) ? 2. Re: How do I pass a user parameter from a dialog form? ? ? ? (Fabien Bodard) ? 3. Re: ComboBox UserContol, with pictures. (Fabien Bodard) ? 4. Issue 580 in gambas: Menu bar background color seems??? wrong. ? ? ? (gambas at ...2524...) ? 5. Issue 581 in gambas: Progressbar and mouse events are??? gone ? ? ? (gambas at ...2524...) ? 6. Issue 582 in gambas: ProgressBars are ugly (gambas at ...2524...) ---------------------------------------------------------------------- Message: 1 Date: Wed, 19 Nov 2014 09:13:36 +0100 From: Rolf-Werner Eilert Subject: Re: [Gambas-user] How do I pass a user parameter from a ??? dialog form? To: gambas-user at lists.sourceforge.net Message-ID: <546C5130.5000607 at ...221...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Am 18.11.2014 21:58, schrieb Tobias Boege: > On Tue, 18 Nov 2014, Martin McGlensey wrote: >> Hello, >> >> >> >> I have created a dialog form. As created by Gambas, it has an OK and Cancel >> button. I want to return three properties or an array from the form. One >> each for the three textboxes on the form. >> >> I added a textbox to the form to test it. Call it Textbox1. Used the code >> below to add a property called "Login" to the Dialog: >> >> >> >> Property Login As String >> >> Private strLogin AS String >> >> >> >> Private Function Login_Read() >> >>? ? ? ? ? ? ? ? ? Return txtTextbox1.Text >> >> Return >> >> >> >> Private Sub Login_Write(Value as String) as String >> >>? ? ? ? ? ? ? ? ? strLogin = Value >> >> End >> >> >> >> I call the Dialog from the main form by frmDialog.ShowModal. When I load the >> frmDialog, enter the text in the textbox and click OK. The Dialog closes but >> no value is returned to the main form. >> >> If I explicitly set Login_Read to Return "XYZ" it works? properly. It >> returns "XYZ" to the main form. If I try to get the contents of >> Textbox1.Text it returns an empty string. There has got to be a way of >> returning the value of a textbox as a property of a dialog form.? I'd rather >> not use public variables on the main form as there are too many variables >> already. >> >> Would you guys please point me in the right direction. >> > > This is a standard task and therefore a "template solution" evolved in the > Gambas sources. Attached is a project which shows how to do it cleanly, no > public variables and no auxiliary classes needed. > > If you have a problem with the project and comments being German, I will > translate it for you... > > Regards, > Tobi > > Thanks for that example. Never realised there would be this way to do it. It does indeed save a lot of trouble with values from dialogs. On the other hand, it means changing the form calls I'm used to from a simple "formxyz.ShowModal" to "DIM hForm As New formxyz" "aCollection = hForm(...)". Let me ask two things I stumbled over when studying the code: Where would I find this "call" thing in the documentation? F2 doesn't react to event calls, and I cannot find it under the event descriptions (like Event Management etc.). Why is a SUB used with a Return value? Wouldn't it be more up to standards to use a FUNCTION instead? (As far as I understand, a SUB is a function without a return value, one that would be of type "void" under C.) Regards Rolf ------------------------------ Message: 2 Date: Wed, 19 Nov 2014 09:24:45 +0100 From: Fabien Bodard Subject: Re: [Gambas-user] How do I pass a user parameter from a ??? dialog form? To: eilert-sprachen at ...221..., gambas-user at lists.sourceforge.net Message-ID: ??? Content-Type: text/plain; charset=UTF-8 Function sub and procedure are the same . It's just a use Le 19 nov. 2014 09:14, "Rolf-Werner Eilert" a ?crit : > > > Am 18.11.2014 21:58, schrieb Tobias Boege: > > On Tue, 18 Nov 2014, Martin McGlensey wrote: > >> Hello, > >> > >> > >> > >> I have created a dialog form. As created by Gambas, it has an OK and > Cancel > >> button. I want to return three properties or an array from the form. One > >> each for the three textboxes on the form. > >> > >> I added a textbox to the form to test it. Call it Textbox1. Used the > code > >> below to add a property called "Login" to the Dialog: > >> > >> > >> > >> Property Login As String > >> > >> Private strLogin AS String > >> > >> > >> > >> Private Function Login_Read() > >> > >>? ? ? ? ? ? ? ? ? Return txtTextbox1.Text > >> > >> Return > >> > >> > >> > >> Private Sub Login_Write(Value as String) as String > >> > >>? ? ? ? ? ? ? ? ? strLogin = Value > >> > >> End > >> > >> > >> > >> I call the Dialog from the main form by frmDialog.ShowModal. When I > load the > >> frmDialog, enter the text in the textbox and click OK. The Dialog > closes but > >> no value is returned to the main form. > >> > >> If I explicitly set Login_Read to Return "XYZ" it works? properly. It > >> returns "XYZ" to the main form. If I try to get the contents of > >> Textbox1.Text it returns an empty string. There has got to be a way of > >> returning the value of a textbox as a property of a dialog form.? I'd > rather > >> not use public variables on the main form as there are too many > variables > >> already. > >> > >> Would you guys please point me in the right direction. > >> > > > > This is a standard task and therefore a "template solution" evolved in > the > > Gambas sources. Attached is a project which shows how to do it cleanly, > no > > public variables and no auxiliary classes needed. > > > > If you have a problem with the project and comments being German, I will > > translate it for you... > > > > Regards, > > Tobi > > > > > > > Thanks for that example. Never realised there would be this way to do > it. It does indeed save a lot of trouble with values from dialogs. On > the other hand, it means changing the form calls I'm used to from a > simple "formxyz.ShowModal" to "DIM hForm As New formxyz" "aCollection = > hForm(...)". > > Let me ask two things I stumbled over when studying the code: > > Where would I find this "call" thing in the documentation? F2 doesn't > react to event calls, and I cannot find it under the event descriptions > (like Event Management etc.). > > Why is a SUB used with a Return value? Wouldn't it be more up to > standards to use a FUNCTION instead? (As far as I understand, a SUB is a > function without a return value, one that would be of type "void" under C.) > > > > > Regards > Rolf > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------ Message: 3 Date: Wed, 19 Nov 2014 11:01:11 +0100 From: Fabien Bodard Subject: Re: [Gambas-user] ComboBox UserContol, with pictures. To: mailing list for gambas users Message-ID: ??? Content-Type: text/plain; charset=UTF-8 And why reparent... The listview must be in a popup type window.. and then just move it at textbox screenx and .screeny Le 17 nov. 2014 22:31, "J?rn Erik M?rne" a ?crit : > > Den 17. nov. 2014 21:36, skrev Charlie Reinl: > > Am Sonntag, den 16.11.2014, 17:57 +0000 schrieb Sam Dadds: > >> Hi All, > >> > >> Need help with a custom ComboBox. > >> > >>? ? I've created a UserControl (extends UserControl) with the normal > stuff > >> (TextBox for selection, picture for selected item and picture for > dropdown button). > >> > >>? ? The actual drop down list is a ListView instead of a ListBox for > item pictures. > >> This all works well. > >> > >>? ? Problem is with positioning the drop down list.? The ListView > actually gets re-parented > >> to the underlying form so it will display normally even when the > ComboBox is inside a > >> toolbar or other container. > >> > >>? ? Finding the correct X and Y is a problem. Depending on how many > containers the actual > >> ComboBox is inside the X and Y become difficult to calculate. > >> > >>? ? It seems the borders or margin padding of the additional containers > are not taken into consideration when reporting the X and Y of the ComboBox > container. > >> > >>? ? Currently I've tried iterating up the containers via the parent of > the ComboBox and > >> add up the left or X properties until the actual parent form is found. > This is close > >> but not 100% accurate.? By adding in the Desktop.Scale it gets a bit > closer but still > >> off. > >> > >>? ? I've looked at the source for the db version of a ComboBox but the > internal ListBox > >> is actually used. > >> > >>? ? Does anyone have an example of this or a better idea of how to use a > ListView as the > >> List container of the ComboBox? > >> > >>? ? It's not critical but it would be nice to have item pictures in a > ListBox or ComboBox. > >> > >> Thanks. > > Salut Sam, > > > > have a look at Christof Thalhofer's "Gambas Combobox for Lists and > > Databases", https://github.com/Deganius/DegComboBox , may be you find > > some ideas. > > > Perhaps I haven't understood your issue, but why not set the > ListView.Ignore = True and the parent to the current form? > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------ Message: 4 Date: Wed, 19 Nov 2014 14:11:02 +0000 From: gambas at ...2524... Subject: [Gambas-user] Issue 580 in gambas: Menu bar background color ??? seems??? wrong. To: gambas-user at lists.sourceforge.net Message-ID: ??? <0-6813199134517018827-7815319398573939980-gambas=googlecode.com at ...2524...> ??? Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any? Desktop-Any GUI-Any New issue 580 by Kokok... at ...626...: Menu bar background color seems wrong. https://code.google.com/p/gambas/issues/detail?id=580 As you can see in the screenshots, the menubar doesn't follow the main form? background. In my case, the standard oxygen style is used, which is drawn with a? gradient. Menu bar doesn't use the gradient anymore, while in the past (before 3.6.x)? it worked. My system: [System] Gambas=3.6.1 OperatingSystem=Linux Kernel=3.17.3-1-ARCH Architecture=x86_64 Distribution=Arch Linux Desktop=KDE4 Theme=Oxygen Language=it_IT.utf8 Memory=3957M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.7 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.47.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Attachments: ??? 16.png? 14.5 KB -- You received this message because this project is configured to send all? issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings ------------------------------ Message: 5 Date: Wed, 19 Nov 2014 14:16:56 +0000 From: gambas at ...2524... Subject: [Gambas-user] Issue 581 in gambas: Progressbar and mouse ??? events are??? gone To: gambas-user at lists.sourceforge.net Message-ID: ??? <0-6813199134517018827-14683283210564340637-gambas=googlecode.com at ...2524...> ??? Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any? Desktop-Any GUI-Any New issue 581 by Kokok... at ...626...: Progressbar and mouse events are gone https://code.google.com/p/gambas/issues/detail?id=581 Progressbar doesn't raise mouse events anymore. It worked before gambas 3.6.x My system: [System] Gambas=3.6.1 OperatingSystem=Linux Kernel=3.17.3-1-ARCH Architecture=x86_64 Distribution=Arch Linux Desktop=KDE4 Theme=Oxygen Language=it_IT.utf8 Memory=3957M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.7 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.47.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Test code: Public Sub ProgressBar1_MouseDown() ? Debug End Public Sub ProgressBar1_MouseDrag() ? Debug End -- You received this message because this project is configured to send all? issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings ------------------------------ Message: 6 Date: Wed, 19 Nov 2014 14:23:37 +0000 From: gambas at ...2524... Subject: [Gambas-user] Issue 582 in gambas: ProgressBars are ugly To: gambas-user at lists.sourceforge.net Message-ID: ??? <0-6813199134517018827-429741752051832921-gambas=googlecode.com at ...2524...> ??? Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Status: New Owner: ---- Labels: Version-3.6.0 Type-Enhancement Priority-Medium OpSys-Any Dist-Any? Arch-Any Desktop-Any GUI-Any New issue 582 by Kokok... at ...626...: ProgressBars are ugly https://code.google.com/p/gambas/issues/detail?id=582 Since gambas 3.6.x, the progressbars dont follow the widget style anymore. May i ask for a way to get them back by choice, please. -- You received this message because this project is configured to send all? issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings ------------------------------ ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk ------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest, Vol 102, Issue 40 ******************************************** From gambas at ...1... Wed Nov 19 20:20:17 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 19 Nov 2014 20:20:17 +0100 Subject: [Gambas-user] IDE: non-existing help pages from different languages In-Reply-To: <20141115110324.GC792@...2774...> References: <20141115110324.GC792@...2774...> Message-ID: <546CED71.9080305@...1...> Le 15/11/2014 12:03, Tobias Boege a ?crit : > Hi Benoit, > > when you work in the IDE under a, say, German locale, then the IDE help > popups would show you a minimal page (with the syntax of the symbol only) > if the page does not exist in your language. > > Hans suggests that we fall back to the richer English documentation version > in that case. I see that this might not be easy to implement as the IDE just > queries the wiki which displays those minimal pages but maybe you have an > idea? > > Regards, > Tobi > Hi, This is implemented now in the wiki: - If the page does not exist in the current language, then I look in the english part. - If the page does not exist again, and if it is the page of an inherited class symbol, I search the parent class recursively. - If the page does not exist again, then I try to display a default page, or the "This page does not exist." message. Regards, -- Beno?t Minisini From taboege at ...626... Wed Nov 19 20:21:56 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 19 Nov 2014 20:21:56 +0100 Subject: [Gambas-user] IDE: non-existing help pages from different languages In-Reply-To: <546CED71.9080305@...1...> References: <20141115110324.GC792@...2774...> <546CED71.9080305@...1...> Message-ID: <20141119192156.GC688@...2774...> On Wed, 19 Nov 2014, Beno?t Minisini wrote: > Le 15/11/2014 12:03, Tobias Boege a ?crit : > > Hi Benoit, > > > > when you work in the IDE under a, say, German locale, then the IDE help > > popups would show you a minimal page (with the syntax of the symbol only) > > if the page does not exist in your language. > > > > Hans suggests that we fall back to the richer English documentation version > > in that case. I see that this might not be easy to implement as the IDE just > > queries the wiki which displays those minimal pages but maybe you have an > > idea? > > > > Regards, > > Tobi > > > > Hi, > > This is implemented now in the wiki: > > - If the page does not exist in the current language, then I look in the > english part. > > - If the page does not exist again, and if it is the page of an > inherited class symbol, I search the parent class recursively. > > - If the page does not exist again, then I try to display a default > page, or the "This page does not exist." message. > Sounds good and works as far as I have tested. Thanks! Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bbruen at ...2308... Thu Nov 20 00:22:58 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 20 Nov 2014 09:52:58 +1030 Subject: [Gambas-user] Re-ordering menus Message-ID: <20141120095258.ad1e2a5526d93072124db375@...2308...> Probably a silly question, but I'm just having a little think. Is there any way to programatically (i.e. dynamically) change the order in which a menu item appears in a drop down menu? regards Bruce -- B Bruen From gambas at ...1... Thu Nov 20 00:26:07 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Nov 2014 00:26:07 +0100 Subject: [Gambas-user] Re-ordering menus In-Reply-To: <20141120095258.ad1e2a5526d93072124db375@...2308...> References: <20141120095258.ad1e2a5526d93072124db375@...2308...> Message-ID: <546D270F.9030603@...1...> Le 20/11/2014 00:22, B Bruen a ?crit : > Probably a silly question, but I'm just having a little think. > > Is there any way to programatically (i.e. dynamically) change the order in which a menu item appears in a drop down menu? > > regards > Bruce > Alas no, the toolkits do not allow that easily. You have to recreate the menu from scratch in order. Regards, -- Beno?t Minisini From bbruen at ...2308... Thu Nov 20 00:39:14 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 20 Nov 2014 10:09:14 +1030 Subject: [Gambas-user] Re-ordering menus In-Reply-To: <546D270F.9030603@...1...> References: <20141120095258.ad1e2a5526d93072124db375@...2308...> <546D270F.9030603@...1...> Message-ID: <20141120100914.45576d27fd519dfa890c9b7e@...2308...> On Thu, 20 Nov 2014 00:26:07 +0100 Beno?t Minisini wrote: > Le 20/11/2014 00:22, B Bruen a ?crit : > > Probably a silly question, but I'm just having a little think. > > > > Is there any way to programatically (i.e. dynamically) change the order in which a menu item appears in a drop down menu? > > > > regards > > Bruce > > > > Alas no, the toolkits do not allow that easily. You have to recreate the > menu from scratch in order. > > Regards, > > -- > Beno?t Minisini > Damn! (It was a nice little "think".) It came about from a comment from Felicity, our gui design expert, who said "How come we let the users configure the toolbars to their own satisfaction but they can't do it with menus?" and several other things including "How about a user "Favorites" menu then?" etc etc. Oh well, never mind. regards Bruce -- B Bruen From rhoct at ...325... Thu Nov 20 11:33:08 2014 From: rhoct at ...325... (roberto) Date: Thu, 20 Nov 2014 11:33:08 +0100 Subject: [Gambas-user] Seek problem Message-ID: <546DC364.4060607@...325...> Dear All, I have a problem with a seek on a mbox file (thunderbird) After open the file (size 3764088424 byte) without error with hfile = Open mbox For Input I have seek with: Seek #hfile, SeekPoint where SeekPoint is a Long with value 3687556402, gambas stop and return error "Bad argument" system is ubuntu 12.04 32 bit gambas is 3.6.2 from repository Regards From mmcg29440 at ...3163... Thu Nov 20 14:43:16 2014 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Thu, 20 Nov 2014 08:43:16 -0500 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? Message-ID: Thanks, Tobi. That answered my question. Yes I could use some help with the German comments. Are there any limits on the number of data items that can be returned? Marty From gambas at ...1... Thu Nov 20 14:56:12 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 20 Nov 2014 14:56:12 +0100 Subject: [Gambas-user] Seek problem In-Reply-To: <546DC364.4060607@...325...> References: <546DC364.4060607@...325...> Message-ID: <546DF2FC.6030005@...1...> Le 20/11/2014 11:33, roberto a ?crit : > Dear All, > > I have a problem with a seek on a mbox file (thunderbird) > > After open the file (size 3764088424 byte) without error with > > hfile = Open mbox For Input > > I have seek with: > > Seek #hfile, SeekPoint > > where SeekPoint is a Long with value 3687556402, gambas stop and return > error "Bad argument" > > system is ubuntu 12.04 32 bit > gambas is 3.6.2 from repository > > Regards > Please provide your full project. Thanks. -- Beno?t Minisini From taboege at ...626... Thu Nov 20 15:13:11 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 20 Nov 2014 15:13:11 +0100 Subject: [Gambas-user] How do I pass a user parameter from a dialog form? In-Reply-To: References: Message-ID: <20141120141311.GA1437@...2774...> On Thu, 20 Nov 2014, Martin McGlensey wrote: > Thanks, Tobi. That answered my question. Yes I could use some help with the > German comments. > The translated project is attached. Please refer to the mailing list archive if you don't receive it. It will be there at least. > > Are there any limits on the number of data items that can > be returned? > Of course, but no realistic ones. The return values are provided through a Collection, so the hard limit here is your amount of memory. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: login-form-en-0.0.2.tar.gz Type: application/octet-stream Size: 5026 bytes Desc: not available URL: From taboege at ...626... Thu Nov 20 15:54:46 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 20 Nov 2014 15:54:46 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <1416346485.3515.23.camel@...40...> References: <1416341201.3515.8.camel@...40...> <20141118204801.GB1306@...2774...> <1416346485.3515.23.camel@...40...> Message-ID: <20141120145446.GC1437@...2774...> On Tue, 18 Nov 2014, Charlie Reinl wrote: > It is a #11, CRASH REPORT windows opens > Thanks. I'm sure I can work with this but give me a little time; I have a busy week lying ahead... As it is a NULL pointer dereference bug (apparently), I can commit a "quick fix", that is one which cures the symptom but not the cause, if you need the Trie to work ASAP? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Thu Nov 20 16:22:20 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 20 Nov 2014 16:22:20 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <20141120145446.GC1437@...2774...> References: <1416341201.3515.8.camel@...40...> <20141118204801.GB1306@...2774...> <1416346485.3515.23.camel@...40...> <20141120145446.GC1437@...2774...> Message-ID: <1416496940.14764.13.camel@...40...> Am Donnerstag, den 20.11.2014, 15:54 +0100 schrieb Tobias Boege: > On Tue, 18 Nov 2014, Charlie Reinl wrote: > > It is a #11, CRASH REPORT windows opens > > > > Thanks. I'm sure I can work with this but give me a little time; I have a > busy week lying ahead... > > As it is a NULL pointer dereference bug (apparently), I can commit a "quick > fix", that is one which cures the symptom but not the cause, if you need the > Trie to work ASAP? > > Regards, > Tobi > Salut Tobi, no worry, about that, that was just a test to see if and how that works. The rest of my project keeps me behind the keyboard and the trie can come later, the current 'Do While' loop works good and fast. A wish, something like .Add(Value,Key) would simplify filling. -- Amicalement Charlie From taboege at ...626... Thu Nov 20 16:24:03 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 20 Nov 2014 16:24:03 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <1416496940.14764.13.camel@...40...> References: <1416341201.3515.8.camel@...40...> <20141118204801.GB1306@...2774...> <1416346485.3515.23.camel@...40...> <20141120145446.GC1437@...2774...> <1416496940.14764.13.camel@...40...> Message-ID: <20141120152403.GD1437@...2774...> On Thu, 20 Nov 2014, Charlie Reinl wrote: > Am Donnerstag, den 20.11.2014, 15:54 +0100 schrieb Tobias Boege: > > On Tue, 18 Nov 2014, Charlie Reinl wrote: > > > It is a #11, CRASH REPORT windows opens > > > > > > > Thanks. I'm sure I can work with this but give me a little time; I have a > > busy week lying ahead... > > > > As it is a NULL pointer dereference bug (apparently), I can commit a "quick > > fix", that is one which cures the symptom but not the cause, if you need the > > Trie to work ASAP? > > > > Regards, > > Tobi > > > > Salut Tobi, > > no worry, about that, that was just a test to see if and how that works. > The rest of my project keeps me behind the keyboard and the trie can > come later, the current 'Do While' loop works good and fast. > > A wish, something like .Add(Value,Key) would simplify filling. > Will do. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From abbat.81 at ...787... Thu Nov 20 16:40:33 2014 From: abbat.81 at ...787... (abbat81) Date: Thu, 20 Nov 2014 08:40:33 -0700 (MST) Subject: [Gambas-user] DateChooser mouse_scroll Message-ID: <1416498033281-49313.post@...3046...> Hi in DateChooser control, as I think it must be fixed a vector of scrolling. Scrolling_UP_Month = Scrolling_UP_Day Scrolling_UP_Month -= 1 Scrolling_UP_Day -= 1 Scrolling_DOWN_Month += 1 Scrolling_DOWN_Day += 1 Or invert. -- View this message in context: http://gambas.8142.n7.nabble.com/DateChooser-mouse-scroll-tp49313.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...2345... Thu Nov 20 23:16:08 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 20 Nov 2014 23:16:08 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <20141120152403.GD1437@...2774...> References: <1416341201.3515.8.camel@...40...> <20141118204801.GB1306@...2774...> <1416346485.3515.23.camel@...40...> <20141120145446.GC1437@...2774...> <1416496940.14764.13.camel@...40...> <20141120152403.GD1437@...2774...> Message-ID: <1416521768.3523.5.camel@...40...> Am Donnerstag, den 20.11.2014, 16:24 +0100 schrieb Tobias Boege: > On Thu, 20 Nov 2014, Charlie Reinl wrote: > > Am Donnerstag, den 20.11.2014, 15:54 +0100 schrieb Tobias Boege: > > > On Tue, 18 Nov 2014, Charlie Reinl wrote: > > > > It is a #11, CRASH REPORT windows opens > > > > > > > > > > Thanks. I'm sure I can work with this but give me a little time; I have a > > > busy week lying ahead... > > > > > > As it is a NULL pointer dereference bug (apparently), I can commit a "quick > > > fix", that is one which cures the symptom but not the cause, if you need the > > > Trie to work ASAP? > > > > > > Regards, > > > Tobi > > > > > > > Salut Tobi, > > > > no worry, about that, that was just a test to see if and how that works. > > The rest of my project keeps me behind the keyboard and the trie can > > come later, the current 'Do While' loop works good and fast. > > > > A wish, something like .Add(Value,Key) would simplify filling. > > > > Will do. > Salut Tobi, couldn't let the hand off, seems to have a big leak there, or a problem on my box. Have for key and value entry. h["OttO"]="OttO" -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2014-11-20 23:08:11.png Type: image/png Size: 60144 bytes Desc: not available URL: From karl.reinl at ...9... Fri Nov 21 20:39:48 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 21 Nov 2014 20:39:48 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <20141120152403.GD1437@...2774...> References: <1416341201.3515.8.camel@...40...> <20141118204801.GB1306@...2774...> <1416346485.3515.23.camel@...40...> <20141120145446.GC1437@...2774...> <1416496940.14764.13.camel@...40...> <20141120152403.GD1437@...2774...> Message-ID: <1416598788.3613.3.camel@...40...> Am Donnerstag, den 20.11.2014, 16:24 +0100 schrieb Tobias Boege: > On Thu, 20 Nov 2014, Charlie Reinl wrote: > > Am Donnerstag, den 20.11.2014, 15:54 +0100 schrieb Tobias Boege: > > > On Tue, 18 Nov 2014, Charlie Reinl wrote: > > > > It is a #11, CRASH REPORT windows opens > > > > > > > > > > Thanks. I'm sure I can work with this but give me a little time; I have a > > > busy week lying ahead... > > > > > > As it is a NULL pointer dereference bug (apparently), I can commit a "quick > > > fix", that is one which cures the symptom but not the cause, if you need the > > > Trie to work ASAP? > > > > > > Regards, > > > Tobi > > > > > > > Salut Tobi, > > > > no worry, about that, that was just a test to see if and how that works. > > The rest of my project keeps me behind the keyboard and the trie can > > come later, the current 'Do While' loop works good and fast. > > > > A wish, something like .Add(Value,Key) would simplify filling. > > > > Will do. > Salut Tobi, send you a test project with 2 screens included. The mentioned " different results with arList declaration " is not proofed. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TestApp01-0.0.1.tar.gz Type: application/x-compressed-tar Size: 41732 bytes Desc: not available URL: From gambas at ...2524... Fri Nov 21 21:22:12 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Nov 2014 20:22:12 +0000 Subject: [Gambas-user] Issue 578 in gambas: Quiting a program while Showmodal window open segfaults In-Reply-To: <0-6813199134517018827-6188865173771266184-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6188865173771266184-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6188865173771266184-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.6.0 Comment #1 on issue 578 by benoit.m... at ...626...: Quiting a program while Showmodal window open segfaults https://code.google.com/p/gambas/issues/detail?id=578 I will try to fix it. If you want to avoid it, never use QUIT in a GUI application. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 21 21:38:39 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Nov 2014 20:38:39 +0000 Subject: [Gambas-user] Issue 578 in gambas: Quiting a program while Showmodal window open segfaults In-Reply-To: <1-6813199134517018827-6188865173771266184-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6188865173771266184-gambas=googlecode.com@...2524...> <0-6813199134517018827-6188865173771266184-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6188865173771266184-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 578 by benoit.m... at ...626...: Quiting a program while Showmodal window open segfaults https://code.google.com/p/gambas/issues/detail?id=578 Crash fixed in revision #6661. As for the non freed allocations, it may be normal. Please open another issue for that different problem. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 21 21:40:19 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Nov 2014 20:40:19 +0000 Subject: [Gambas-user] Issue 581 in gambas: Progressbar and mouse events are gone In-Reply-To: <0-6813199134517018827-14683283210564340637-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14683283210564340637-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14683283210564340637-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-3.6.0 Comment #1 on issue 581 by benoit.m... at ...626...: Progressbar and mouse events are gone https://code.google.com/p/gambas/issues/detail?id=581 Fixed in revision #6652. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 21 21:41:19 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Nov 2014 20:41:19 +0000 Subject: [Gambas-user] Issue 537 in gambas: (Exec - for Read Write As "Process") Don't work In-Reply-To: <12-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> <0-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-13968117574682166062-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #13 on issue 537 by benoit.m... at ...626...: (Exec - for Read Write As "Process") Don't work https://code.google.com/p/gambas/issues/detail?id=537 mplayer may need a virtual terminal (FOR INPUT OUTPUT instead of FOR READ WRITE). Any news about that problem ? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From t.lee.davidson at ...626... Fri Nov 21 23:06:09 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 21 Nov 2014 17:06:09 -0500 Subject: [Gambas-user] DnsClient not working? Message-ID: <546FB751.7090601@...626...> Greetings, Either I am doing something wrong, my network config is amiss (LAN with DNS server set to router's IP), or DnsClient is not working. Exec ["host", Domain] works. But, both DnsClient.GetHostName and DnsClient.GetHostIP return null for a valid, resolvable host. Project attached. By the way, the documentation states that the default process mode for DnsClient is synchronous. But, when I dropped the DnsClient control onto the main form, the Async property defaulted to True. Does the documentation need to be updated? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." -------------- next part -------------- A non-text attachment was scrubbed... Name: DnsClientTest-0.0.1.tar.gz Type: application/x-gzip Size: 4358 bytes Desc: not available URL: From gambas at ...1... Fri Nov 21 23:19:55 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 21 Nov 2014 23:19:55 +0100 Subject: [Gambas-user] DnsClient not working? In-Reply-To: <546FB751.7090601@...626...> References: <546FB751.7090601@...626...> Message-ID: <546FBA8B.2060403@...1...> Le 21/11/2014 23:06, T Lee Davidson a ?crit : > Greetings, > > Either I am doing something wrong, my network config is amiss (LAN with > DNS server set to router's IP), or DnsClient is not working. > > Exec ["host", Domain] works. But, both DnsClient.GetHostName and > DnsClient.GetHostIP return null for a valid, resolvable host. The documentation is false. You must call GetHostName() to get the hostname, and GetHostIP() to get the ip. Note that gambaswiki.org is currently down (not my fault). > > Project attached. > > By the way, the documentation states that the default process mode for > DnsClient is synchronous. But, when I dropped the DnsClient control onto > the main form, the Async property defaulted to True. Does the > documentation need to be updated? The doc is right there, the IDE is false. I will fix it. -- Beno?t Minisini From t.lee.davidson at ...626... Sat Nov 22 00:04:21 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 21 Nov 2014 18:04:21 -0500 Subject: [Gambas-user] DnsClient not working? In-Reply-To: <546FBA8B.2060403@...1...> References: <546FB751.7090601@...626...> <546FBA8B.2060403@...1...> Message-ID: <546FC4F5.8040005@...626...> On 11/21/2014 05:19 PM, Beno?t Minisini wrote: > Le 21/11/2014 23:06, T Lee Davidson a ?crit : >> Greetings, >> >> Either I am doing something wrong, my network config is amiss (LAN with >> DNS server set to router's IP), or DnsClient is not working. >> >> Exec ["host", Domain] works. But, both DnsClient.GetHostName and >> DnsClient.GetHostIP return null for a valid, resolvable host. > > The documentation is false. You must call GetHostName() to get the > hostname, and GetHostIP() to get the ip. Note that gambaswiki.org is > currently down (not my fault). Yes, that works better :-) Thank you, Beno?t. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...2524... Sat Nov 22 02:41:40 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Nov 2014 01:41:40 +0000 Subject: [Gambas-user] Issue 583 in gambas: GridView.Select does not behave as documented Message-ID: <0-6813199134517018827-2688879732713664902-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.6.0 Type-Bug Priority-Medium OpSys-Linux Dist-Other Arch-X86 Desktop-KDE GUI-QT4 New issue 583 by t.lee.da... at ...626...: GridView.Select does not behave as documented https://code.google.com/p/gambas/issues/detail?id=583 1) Describe the problem. The documentation for GridView.Select (http://gambaswiki.org/wiki/comp/gb.qt4/gridview/select) states, "If [Length] is not specifed, then one row is selected. If it is negative, then all rows from Start up to the last row of the GridView are selected." However, when Length is not specified, Select behaves as though a negative Length was specified. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.10.58-desktop-1.mga3 Architecture=x86 Distribution=Mageia 3 Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11200.12 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.5.0 GTK+3=libgtk-3.so.0.600.4 GTK+=libgtk-x11-2.0.so.0.2400.17 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.34.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Note: Theme is incorrectly reported as Oxygen. Truly, it is QtCurve-Luna. 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. Done. 4) Provide a little project that reproduces the bug or the crash. Attached. 5) If your project needs a database, try to provide it, or part of it. N/A 6) Explain clearly how to reproduce the bug or the crash. Load the attached project; click the two buttons to see the different behaviour between a Select with no Length specified and a Select with a Length of 1. Attachments: GridviewSelectTest-0.0.1.tar.gz 4.3 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jusabejusabe at ...626... Sat Nov 22 20:47:49 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sat, 22 Nov 2014 20:47:49 +0100 Subject: [Gambas-user] pintaScreen Message-ID: Hello friends: I leave here a new application made with gambas3. This is a screen where you can add drawings, lines, arrows, images, etc to the images captured http://jsbsan.blogspot.com.es/2014/11/pintascreen-algo-mas-que-un-capturador.html http://jsbsan.blogspot.com.es/2014/11/pintascreen-novedades-version-0048.html enjoy!! Jsbsan From t.lee.davidson at ...626... Sat Nov 22 20:49:29 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 22 Nov 2014 14:49:29 -0500 Subject: [Gambas-user] Desktop.Open [,Wait], what does it do? Message-ID: <5470E8C9.8010500@...626...> Hi, Desktop.Open is quite a handy utility. Thank you for that, Beno?t. But now can anyone help me understand what Desktop.Open, with Wait=True, does? The Gambas documentation does not say, and the 'xdg-open' documentation gives no mention of it. I thought perhaps it might cause Desktop.Open to wait until the opened application terminates. But it does not. I have tested it with Wait set to True and False, and with image and text files. And, the only difference I see is that Wait=True causes only a slight delay before Desktop.Open returns. In both cases (True or False), Desktop.Open returns before the application fully launches and becomes the active window. One more thing to clarify. Am I correct in assuming that since it is optional, the default would be False? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From taboege at ...626... Sat Nov 22 21:04:08 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 22 Nov 2014 21:04:08 +0100 Subject: [Gambas-user] Desktop.Open [,Wait], what does it do? In-Reply-To: <5470E8C9.8010500@...626...> References: <5470E8C9.8010500@...626...> Message-ID: <20141122200408.GB888@...2774...> On Sat, 22 Nov 2014, T Lee Davidson wrote: > Hi, > > Desktop.Open is quite a handy utility. Thank you for that, Beno??t. > > > But now can anyone help me understand what Desktop.Open, with Wait=True, > does? > > The Gambas documentation does not say, and the 'xdg-open' documentation > gives no mention of it. > > I thought perhaps it might cause Desktop.Open to wait until the opened > application terminates. But it does not. > > I have tested it with Wait set to True and False, and with image and > text files. And, the only difference I see is that Wait=True causes only > a slight delay before Desktop.Open returns. > > In both cases (True or False), Desktop.Open returns before the > application fully launches and becomes the active window. > > > One more thing to clarify. Am I correct in assuming that since it is > optional, the default would be False? > Apparently it waits for the xdg script to terminate. There is no relation to the actually launched application -- the xdg script can a priori terminate before the application window emerges, or it can terminate even after the launched application did (if it's very short-lived), or everything between these extremes. But when Wait = True, Desktop.Open() tries to report errors that happened during running the xdg script. You can answer these questions yourself, too, if you care to do that, by looking at the source code. gb.desktop is written in Gambas. The particular sources I got these answers from are [0] and [1]. Regards, Tobi [0] http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.desktop/.src/Desktop.class [1] http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.desktop/.src/Main.module -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Sat Nov 22 22:40:54 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 22 Nov 2014 22:40:54 +0100 Subject: [Gambas-user] pintaScreen In-Reply-To: References: Message-ID: interesting... maybe buttons more bigger and semi transparent when the mouse is not in it. 2014-11-22 20:47 GMT+01:00 Julio Sanchez : > Hello friends: > I leave here a new application made with gambas3. This is a screen where > you can add drawings, lines, arrows, images, etc to the images captured > > http://jsbsan.blogspot.com.es/2014/11/pintascreen-algo-mas-que-un-capturador.html > http://jsbsan.blogspot.com.es/2014/11/pintascreen-novedades-version-0048.html > > enjoy!! > > Jsbsan > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Sat Nov 22 22:59:08 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 22 Nov 2014 22:59:08 +0100 Subject: [Gambas-user] [GambasMag] Articles for Feb 2015 issue Message-ID: <20141122215908.GC888@...2774...> Hi Randall, since the Oct 2014 issue had problems and I don't see anything for the Dec issue, I want to let you know that I'm in my element with Feb 2015. I have three articles in mind which I'm eager for submitting: 1. Graphs in Gambas. I will explain _in detail_ the objectives behind the design of gb.data's Graph interface (the ability to _interpret_ existing data as a graph while saving memory) and show two sample graph classes. One will be a solver for certain systems of linear inequalities using the Bellman-Ford algorithm, for the more theoretic audience. The second is a little more "salonfaehig"[*]: a flood fill using breadth-first- search over a graph implicitely defined by the pixels of a picture. [ The latter I have actually already sent to the mailing list, so maybe I do something different. But it will surely be implicitely defining a graph via properties of an already existing object and using graph algorithms to solve the original problem. ] Also I intend to write a small GraphViz class which can export graphs as PNG images via graphviz' "dot" utility. I'll see if this fits in... [*] A German word I can't find a suitable translation for. It means to be appropriate/decent in the particular society's context/etiquette. Here it simply means: not so theoretic, more appealing for those hands-on people (because you actually see something). 2. Boolean expression parser. Some years ago I have developed a simple boolean expression parser in C which understands up to 26 variables and the boolean functions not, and, or, equivalence and implication. It will print out the given expression and its truth values in all possible configurations for the variables. [ It solved all of these boring "write down the truth table for this expression" assignments for me in the first semester :-) ] I will use the Shunting-yard algorithm to parse the input and then a queue-based RPN evaluator to get the truth value. So we have Stack and Queue as the central characters here. We will also face the need to extend the Queue class -- a very cool technique in Gambas which too few people seem to be aware of. 3. Graphical Gnuplot control. Another question which I saw popping up frequently lately is that people want to write their own graphical controls to put on their forms. In this article I will do just that: write a GnuplotArea control which you can give a function to let gnuplot plot onto your form. It will support some style options which gnuplot offers. The gnuplot / data visualisation part is why it is relevant to the Feb 2015 issue. The beginning of this thing goes back to a thread from, I think, Bruce on the mailing list. The outcome of this article will be a standalone (modulo gnuplot), reusable control. [ Maybe I will throw a class in there for interpolating functions using Lagrange's method if I find that the GUI is not already too crammed. ] By-product insights of this article are: how to write a custom control and integrate it with the IDE; and how to talk properly to an external process (including error management). [ With (quite!) some luck I'll have trees by that time in gb.data for your evolutionary algorithms... but don't count on that. ] As you see, those three will loosely fit into the agenda for Feb 2015. While we are at it, looking at the current article depression, maybe it would be better if the magazine schedules new issues for every half a year instead of quarters? Most work of writing the articles will just be recapitulating things I have already done, so I'm pretty confident that I can make all three until Feb. But I can't promise to make it until the deadline which appears to be already towards the end of December! I promise to make articles then which won't require review ;-) Regards, Tobi PS: I will send a copy of this to the mailing list in an effort to install some moral pressure there to write articles. If you want, you can also read that as "... in an effort to inspire others ..." :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Sat Nov 22 23:27:54 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Nov 2014 22:27:54 +0000 Subject: [Gambas-user] Issue 583 in gambas: GridView.Select does not behave as documented In-Reply-To: <0-6813199134517018827-2688879732713664902-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2688879732713664902-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2688879732713664902-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 583 by benoit.m... at ...626...: GridView.Select does not behave as documented https://code.google.com/p/gambas/issues/detail?id=583 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Nov 22 23:28:54 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Nov 2014 22:28:54 +0000 Subject: [Gambas-user] Issue 583 in gambas: GridView.Select does not behave as documented In-Reply-To: <1-6813199134517018827-2688879732713664902-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2688879732713664902-gambas=googlecode.com@...2524...> <0-6813199134517018827-2688879732713664902-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2688879732713664902-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Dist-Other -Arch-X86 -Desktop-KDE -GUI-QT4 Dist-Any Arch-Any Desktop-Any GUI-Any Comment #2 on issue 583 by benoit.m... at ...626...: GridView.Select does not behave as documented https://code.google.com/p/gambas/issues/detail?id=583 Fixed in revision #6662. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sun Nov 23 03:30:28 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 23 Nov 2014 03:30:28 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6666 (!) Message-ID: <547146C4.6080405@...1...> Hi, It's late there, but I wanted to make that available as soon as possible so that people can see it and comment, even if it is not finished at all. (It's for the revision number too...) I added a new button in the IDE welcome dialog that opens the "Gambas Software Farm" dialog. At the moment, it allows to browse the content of a Gambas farm. By default, it should points at 'http://gambaswiki.org' for testing. Voting for a software and installing a software is not done yet. I have registered the 'gambasfarm.org' website, so that it become the official Gambas Software Repository in the future. At the moment, registering to a farm is possible from the IDE option dialog only. And publishing is done from the 'Publish...' menu entry. Waiting for the comments now... -- Beno?t Minisini From kevinfishburne at ...1887... Sun Nov 23 05:31:46 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 22 Nov 2014 23:31:46 -0500 Subject: [Gambas-user] Blues: new IDE color theme Message-ID: <54716332.2070306@...1887...> For those whose eyes are blinded by 255,255,255, I put together an IDE color theme loosely based on these: https://studiostyl.es/schemes/nightfall https://studiostyl.es/schemes/blue-jeans I attached the GAMBAS theme file and a screenshot. At least for me this is an improvement over the Quick theme, which was my previous effort. Tweak until your eyes are happy, and have a good weekend everyone. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: blues.gambas.theme Type: application/x-theme Size: 361 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Blues.png Type: image/png Size: 191064 bytes Desc: not available URL: From kevinfishburne at ...1887... Sun Nov 23 05:48:34 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 22 Nov 2014 23:48:34 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6666 (!) In-Reply-To: <547146C4.6080405@...1...> References: <547146C4.6080405@...1...> Message-ID: <54716722.2010702@...1887...> On 11/22/2014 09:30 PM, Beno?t Minisini wrote: > Hi, > > It's late there, but I wanted to make that available as soon as possible > so that people can see it and comment, even if it is not finished at > all. (It's for the revision number too...) > > I added a new button in the IDE welcome dialog that opens the "Gambas > Software Farm" dialog. > > At the moment, it allows to browse the content of a Gambas farm. By > default, it should points at 'http://gambaswiki.org' for testing. > > Voting for a software and installing a software is not done yet. > > I have registered the 'gambasfarm.org' website, so that it become the > official Gambas Software Repository in the future. > > At the moment, registering to a farm is possible from the IDE option > dialog only. And publishing is done from the 'Publish...' menu entry. > > Waiting for the comments now... > This is going to be a killer feature, so thanks for your continued work on it. Despite the fact that we currently have a pretty tight-knit community of (hopefully) virtuous people, as with any software repository something that will require consideration is the potential for malicious applications to be uploaded to a repo. The recent Sylph demo I made available, for example, is a binary without source (since I plan to release it commercially). I could have made it search for personal information and upload it to an FTP site somewhere and no one would have known the difference. Obviously I didn't do that, but the point is how would anyone know? GAMBAS currently (as far as I know) doesn't have a budget to have people review source code, and I'm not even sure if making the source code publicly available should even be a requirement for addition to a repo, so I'm not quite sure how this problem could be addressed. At the bare minimum there should be (perhaps as an expansion of the voting system) a "Flag as malware" option or a review period before an application is made available to the public. The registration process to upload applications could also be made stronger somehow. Something else to consider are applications that contain illegal content, such as IP violations or other things that shall not be mentioned. Any sort of centralized (non P2P) "content distribution" system has to face these issues, so I just wanted to give everyone food for thought to prevent us showing up on Slashdot for the wrong reasons. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From t.lee.davidson at ...626... Sun Nov 23 06:38:55 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 23 Nov 2014 00:38:55 -0500 Subject: [Gambas-user] Desktop.Open [,Wait], what does it do? In-Reply-To: <20141122200408.GB888@...2774...> References: <5470E8C9.8010500@...626...> <20141122200408.GB888@...2774...> Message-ID: <547172EF.3090904@...626...> On 11/22/2014 03:04 PM, Tobias Boege wrote: > Apparently it waits for the xdg script to terminate. There is no relation to > the actually launched application -- the xdg script can a priori terminate > before the application window emerges, or it can terminate even after the > launched application did (if it's very short-lived), or everything between > these extremes. > > But when Wait = True, Desktop.Open() tries to report errors that happened > during running the xdg script. You can answer these questions yourself, too, > if you care to do that, by looking at the source code. gb.desktop is written > in Gambas. The particular sources I got these answers from are [0] and [1]. > > Regards, > Tobi > > [0]http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.desktop/.src/Desktop.class > [1]http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.desktop/.src/Main.module Thank you, Tobi. Those links helped me get right to it. I can now see the difference clearly. I have updated the documentation (http://gambaswiki.org/wiki/comp/gb.desktop/desktop/open) based on your response. However, Desktop.Open with Wait=True does not Error.Raise("The action has failed") when it should. On the command-line, `xdg-open doesnotexist.txt` causes an error message box to pop up and exits with a status code of 4, which is "The action failed." (It sure would be nice if xdg-open provided a --quiet option.) The following code in a form, when executed, prints no errors: Public Sub Button1_Click() Try Desktop.Open("doesnotexist.txt", True) If Error Then Print Error.Text Catch Print Error.Text End So, perhaps the documentation revision I just made is not entirely correct in practice. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From t.lee.davidson at ...626... Sun Nov 23 08:23:16 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 23 Nov 2014 02:23:16 -0500 Subject: [Gambas-user] [CRASH REPORT] Graphical App Test -- UPDATED Message-ID: <54718B64.2050705@...626...> Hello, Damned, my program crashed Gambas! Updated HttpClient project attached. Notice the command-line printout for the second URL. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." -------------- next part -------------- A non-text attachment was scrubbed... Name: GraphicalAppTest-0.0.1-crash-141123-022113.tar.bz2 Type: application/x-bzip Size: 6318 bytes Desc: not available URL: From t.lee.davidson at ...626... Sun Nov 23 08:30:30 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 23 Nov 2014 02:30:30 -0500 Subject: [Gambas-user] [CRASH REPORT] Graphical App Test -- UPDATED In-Reply-To: <54718B64.2050705@...626...> References: <54718B64.2050705@...626...> Message-ID: <54718D16.6090002@...626...> Oops, sorry about the noise folks. I meant to send that to Beno?t privately. On 11/23/2014 02:23 AM, T Lee Davidson wrote: > Hello, > > Damned, my program crashed Gambas! > > Updated HttpClient project attached. Notice the command-line printout > for the second URL. > > -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Sun Nov 23 11:00:10 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 23 Nov 2014 11:00:10 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6666 (!) In-Reply-To: <54716722.2010702@...1887...> References: <547146C4.6080405@...1...> <54716722.2010702@...1887...> Message-ID: <5471B02A.2050808@...1...> Le 23/11/2014 05:48, Kevin Fishburne a ?crit : > On 11/22/2014 09:30 PM, Beno?t Minisini wrote: >> Hi, >> >> It's late there, but I wanted to make that available as soon as possible >> so that people can see it and comment, even if it is not finished at >> all. (It's for the revision number too...) >> >> I added a new button in the IDE welcome dialog that opens the "Gambas >> Software Farm" dialog. >> >> At the moment, it allows to browse the content of a Gambas farm. By >> default, it should points at 'http://gambaswiki.org' for testing. >> >> Voting for a software and installing a software is not done yet. >> >> I have registered the 'gambasfarm.org' website, so that it become the >> official Gambas Software Repository in the future. >> >> At the moment, registering to a farm is possible from the IDE option >> dialog only. And publishing is done from the 'Publish...' menu entry. >> >> Waiting for the comments now... >> > > This is going to be a killer feature, so thanks for your continued work > on it. > > Despite the fact that we currently have a pretty tight-knit community of > (hopefully) virtuous people, as with any software repository something > that will require consideration is the potential for malicious > applications to be uploaded to a repo. > > The recent Sylph demo I made available, for example, is a binary without > source (since I plan to release it commercially). I could have made it > search for personal information and upload it to an FTP site somewhere > and no one would have known the difference. Obviously I didn't do that, > but the point is how would anyone know? > > GAMBAS currently (as far as I know) doesn't have a budget to have people > review source code, and I'm not even sure if making the source code > publicly available should even be a requirement for addition to a repo, > so I'm not quite sure how this problem could be addressed. At the bare > minimum there should be (perhaps as an expansion of the voting system) a > "Flag as malware" option or a review period before an application is > made available to the public. The registration process to upload > applications could also be made stronger somehow. > > Something else to consider are applications that contain illegal > content, such as IP violations or other things that shall not be > mentioned. Any sort of centralized (non P2P) "content distribution" > system has to face these issues, so I just wanted to give everyone food > for thought to prevent us showing up on Slashdot for the wrong reasons. :) > The Gambas farm server will only store full source archive of free software project. When installing a project, the source archive will be downloaded, and compiled directly on the user's computer. As for the malware problem, I think it may be possible to analyze the source and display warnings to the user: - This project uses extern functions to the X,Y and Z libraries. - This project call extern programs with SHELL or EXEC. - This project open files for writing. - ... We could imagine a slower version of the interpreter that do run time tests for preventing the interpreter for doing what the user does not want. Of course, it cannot block all possible malware, but it could avoid most of them. Regards, -- Beno?t Minisini From taboege at ...626... Sun Nov 23 11:31:36 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 23 Nov 2014 11:31:36 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6666 (!) In-Reply-To: <547146C4.6080405@...1...> References: <547146C4.6080405@...1...> Message-ID: <20141123103136.GA546@...2774...> On Sun, 23 Nov 2014, Beno??t Minisini wrote: > Hi, > > It's late there, but I wanted to make that available as soon as possible > so that people can see it and comment, even if it is not finished at > all. (It's for the revision number too...) > :-) > I added a new button in the IDE welcome dialog that opens the "Gambas > Software Farm" dialog. > > At the moment, it allows to browse the content of a Gambas farm. By > default, it should points at 'http://gambaswiki.org' for testing. > > Voting for a software and installing a software is not done yet. > > I have registered the 'gambasfarm.org' website, so that it become the > official Gambas Software Repository in the future. > > At the moment, registering to a farm is possible from the IDE option > dialog only. And publishing is done from the 'Publish...' menu entry. > > Waiting for the comments now... > I can say that the Gambas-Buch wants to store its projects, properly tagged, on some farm. It's an ultra-convenient way to update them and sometimes we produce even some interesting stuff. The dependency system (there was one planned, right?) is a great help with that, too. It allows us to clean up some projects. It might very well change the way people write Gambas applications: because components are easier to distribute/obtain, projects might become more modular. That results in benefit on both sides: cleaner projects are better for the developer and the things they outsource may help others -- and all that from within the IDE. At least I can see me doing this. Oh, and when I open a project and go to Project -> Publish, the IDE crashes with "[13] Null object. FarmRequest.GetFarms.22". I have just installed #6667 and haven't done anything else yet related to farms. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Nov 23 11:39:33 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Nov 2014 11:39:33 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6666 (!) In-Reply-To: <20141123103136.GA546@...2774...> References: <547146C4.6080405@...1...> <20141123103136.GA546@...2774...> Message-ID: <5471B965.8000202@...1...> Le 23/11/2014 11:31, Tobias Boege a ?crit : > > Oh, and when I open a project and go to Project -> Publish, the IDE crashes > with "[13] Null object. FarmRequest.GetFarms.22". I have just installed > #6667 and haven't done anything else yet related to farms. > > Regards, > Tobi > It should be fixed now. Regards, -- Beno?t Minisini From jusabejusabe at ...626... Sun Nov 23 12:09:50 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 23 Nov 2014 12:09:50 +0100 Subject: [Gambas-user] pintaScreen In-Reply-To: References: Message-ID: Fabien: The button bar has the maximum size so that it looks good on whiteboards ?Semi transparent? As you do that, I do not know Regards Julio 2014-11-22 22:40 GMT+01:00 Fabien Bodard : > interesting... maybe buttons more bigger and semi transparent when the > mouse is not in it. > > 2014-11-22 20:47 GMT+01:00 Julio Sanchez : > > Hello friends: > > I leave here a new application made with gambas3. This is a screen where > > you can add drawings, lines, arrows, images, etc to the images captured > > > > > http://jsbsan.blogspot.com.es/2014/11/pintascreen-algo-mas-que-un-capturador.html > > > http://jsbsan.blogspot.com.es/2014/11/pintascreen-novedades-version-0048.html > > > > enjoy!! > > > > Jsbsan > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > Get technology previously reserved for billion-dollar corporations, FREE > > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Nov 23 13:17:42 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Nov 2014 13:17:42 +0100 Subject: [Gambas-user] Desktop.Open [,Wait], what does it do? In-Reply-To: <547172EF.3090904@...626...> References: <5470E8C9.8010500@...626...> <20141122200408.GB888@...2774...> <547172EF.3090904@...626...> Message-ID: <5471D066.3010405@...1...> Le 23/11/2014 06:38, T Lee Davidson a ?crit : > On 11/22/2014 03:04 PM, Tobias Boege wrote: >> Apparently it waits for the xdg script to terminate. There is no relation to >> the actually launched application -- the xdg script can a priori terminate >> before the application window emerges, or it can terminate even after the >> launched application did (if it's very short-lived), or everything between >> these extremes. >> >> But when Wait = True, Desktop.Open() tries to report errors that happened >> during running the xdg script. You can answer these questions yourself, too, >> if you care to do that, by looking at the source code. gb.desktop is written >> in Gambas. The particular sources I got these answers from are [0] and [1]. >> >> Regards, >> Tobi >> >> [0]http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.desktop/.src/Desktop.class >> [1]http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.desktop/.src/Main.module > > Thank you, Tobi. Those links helped me get right to it. I can now see > the difference clearly. > > I have updated the documentation > (http://gambaswiki.org/wiki/comp/gb.desktop/desktop/open) based on your > response. > > > However, Desktop.Open with Wait=True does not Error.Raise("The action > has failed") when it should. > > On the command-line, `xdg-open doesnotexist.txt` causes an error message > box to pop up and exits with a status code of 4, which is "The action > failed." (It sure would be nice if xdg-open provided a --quiet option.) > > The following code in a form, when executed, prints no errors: > > Public Sub Button1_Click() > > Try Desktop.Open("doesnotexist.txt", True) > If Error Then Print Error.Text > > Catch > Print Error.Text > > End > > > So, perhaps the documentation revision I just made is not entirely > correct in practice. > > I guess it's not my fault: the 'kde-open' executable (which is used by xdg-open on KDE) returns "0" inside the script, whereas it returns "1" when run from the shell. So 'xdg-open' thinks it has been successfull. And I have no idea how it could be possible... Regards, -- Beno?t Minisini From gambas at ...1... Sun Nov 23 14:04:04 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Nov 2014 14:04:04 +0100 Subject: [Gambas-user] Desktop.Open [,Wait], what does it do? In-Reply-To: <5471D066.3010405@...1...> References: <5470E8C9.8010500@...626...> <20141122200408.GB888@...2774...> <547172EF.3090904@...626...> <5471D066.3010405@...1...> Message-ID: <5471DB44.6070300@...1...> Le 23/11/2014 13:17, Beno?t Minisini a ?crit : > > I guess it's not my fault: the 'kde-open' executable (which is used by > xdg-open on KDE) returns "0" inside the script, whereas it returns "1" > when run from the shell. So 'xdg-open' thinks it has been successfull. > And I have no idea how it could be possible... > > Regards, > I found a workaround in revision #6670. Now Desktop.Open() should behave as expected, at least on KDE desktops. I didn't test the others. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Nov 23 17:32:02 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Nov 2014 18:32:02 +0200 Subject: [Gambas-user] Problem with Process_Read Message-ID: 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 It seem not to crash when run from IDE. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-39-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=3953M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTester-0.9.28.tar.gz Type: application/x-gzip Size: 17691 bytes Desc: not available URL: From gambas at ...1... Sun Nov 23 19:24:01 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Nov 2014 19:24:01 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: Message-ID: <54722641.5060200@...1...> 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 > > It seem not to crash when run from IDE. > 1) Can you try with revision #6671? It should not change anything, but then we will run exactly the same code. 2) Can you uncomment the line #64 in the '/trunk/main/gbx/gbx_c_process.c' source file before recompiling? That way you will have many debugging message that will allow to know what happens behind the curtain. 3) In the future, will you modify your project to be purely command-line (no dialog, no window, no GUI used at all)? Note that if you use a GUI component, you use its event loop, not the one provided by the interpreter. That may change the behaviour of bugs... Thanks! -- Beno?t Minisini From gambas at ...1... Sun Nov 23 19:26:41 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Nov 2014 19:26:41 +0100 Subject: [Gambas-user] Blues: new IDE color theme In-Reply-To: <54716332.2070306@...1887...> References: <54716332.2070306@...1887...> Message-ID: <547226E1.4020003@...1...> Le 23/11/2014 05:31, Kevin Fishburne a ?crit : > For those whose eyes are blinded by 255,255,255, I put together an IDE > color theme loosely based on these: > > https://studiostyl.es/schemes/nightfall > https://studiostyl.es/schemes/blue-jeans > > I attached the GAMBAS theme file and a screenshot. At least for me this > is an improvement over the Quick theme, which was my previous effort. > Tweak until your eyes are happy, and have a good weekend everyone. > Thanks. I added it to the IDE. -- Beno?t Minisini From bbruen at ...2308... Sun Nov 23 21:43:28 2014 From: bbruen at ...2308... (B Bruen) Date: Mon, 24 Nov 2014 07:13:28 +1030 Subject: [Gambas-user] Gambas Software Farm in revision #6666 (!) In-Reply-To: <547146C4.6080405@...1...> References: <547146C4.6080405@...1...> Message-ID: <20141124071328.6e4aeb9285fb49447844ecdd@...2308...> On Sun, 23 Nov 2014 03:30:28 +0100 Beno?t Minisini wrote: > Hi, > > It's late there, but I wanted to make that available as soon as possible > so that people can see it and comment, even if it is not finished at > all. (It's for the revision number too...) > > I added a new button in the IDE welcome dialog that opens the "Gambas > Software Farm" dialog. > > At the moment, it allows to browse the content of a Gambas farm. By > default, it should points at 'http://gambaswiki.org' for testing. > > Voting for a software and installing a software is not done yet. > > I have registered the 'gambasfarm.org' website, so that it become the > official Gambas Software Repository in the future. > > At the moment, registering to a farm is possible from the IDE option > dialog only. And publishing is done from the 'Publish...' menu entry. > > Waiting for the comments now... > > -- > Beno?t Minisini Deleting a tag by clicking on the red cross fails. See pic. -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_037.png Type: image/png Size: 100412 bytes Desc: not available URL: From t.lee.davidson at ...626... Sun Nov 23 22:07:13 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 23 Nov 2014 16:07:13 -0500 Subject: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each Message-ID: <54724C81.4080501@...626...> Okay, I've done more testing related to the noise I accidentally sent to the list yesterday. Attempting to enumerate through HttpClient.Headers with For Each causes a SegFault 11 under certain conditions. In the attached project, there is a procedure that traverses through a list of three URLs from a GridView and does HttpClient.Get on each one. If HttpClient.Headers for each URL is enumerated with Headers[iIndex], I can run through the list of URLs multiple times all day long. But, if I enumerate the Headers array with For Each, the application SegFaults at the second execution of the procedure. When using Headers[iIndex], Headers.Count is correct. But, when using For Each, URL[1].Headers.Count is obviously URL[0].Headers.Count plus URL[1].Headers.Count. And, actually printing out the headers shows that URL[1].Headers is the URL[0].Headers with URL[1].Headers appended. Interestingly, the Headers for the third URL are correct no matter which enumeration method is used. And, the application does not SegFault when attempting to enumerate the Headers (with For Each) for the third URL on the first run. Only after the procedure is re-entered the second time does the app SegFault. How to reproduce: Set "Actually Print Headers to Console" to your preference. A. 1. Leave "Enumerate Response Headers With" set to "Headers[iIndex]". 2. Click "Get Response Status Codes" as many times as you wish to show that enumerating with Headers[iIndex] does not SegFault. B. 1. Set "Enumerate Response Headers With" to "For Each Headers". 2. Click "Get Response Status Codes" twice. (>>SegFault) One last note: I stumbled across this while trying to determine why HttpClient.Code sometimes returned "0", and IIRC, I was enumerating with For Each at the time. Now just for clarification, is enumerating HttpClient.Headers with For Each something I should not be doing? Have I done something else wrong? Or is this actually a bug? Oops, almost forgot. System info: [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.10.60-desktop-1.mga3 Architecture=x86 Distribution=Mageia 3 Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11200.12 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.5.0 GTK+3=libgtk-3.so.0.600.4 GTK+=libgtk-x11-2.0.so.0.2400.17 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.34.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- Lee __________ "Artificial Intelligence is no match for natural stupidity." -------------- next part -------------- A non-text attachment was scrubbed... Name: GraphicalAppTest-0.0.1-crash-141123-151942.tar.bz2 Type: application/x-bzip Size: 6509 bytes Desc: not available URL: From t.lee.davidson at ...626... Sun Nov 23 22:29:06 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 23 Nov 2014 16:29:06 -0500 Subject: [Gambas-user] Submitting projects with bug reports? Message-ID: <547251A2.3010306@...626...> On 11/23/2014 01:24 PM, Beno?t Minisini wrote:> 3) In the future, will you modify your project to be purely command-line > (no dialog, no window, no GUI used at all)? Note that if you use a GUI > component, you use its event loop, not the one provided by the > interpreter. That may change the behaviour of bugs... Beno?t, do you wish this for ALL projects submitted with bug reports, or just that one submitted by Jussi? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Sun Nov 23 22:37:50 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 23 Nov 2014 22:37:50 +0100 Subject: [Gambas-user] Submitting projects with bug reports? In-Reply-To: <547251A2.3010306@...626...> References: <547251A2.3010306@...626...> Message-ID: <547253AE.9010900@...1...> Le 23/11/2014 22:29, T Lee Davidson a ?crit : > On 11/23/2014 01:24 PM, Beno?t Minisini wrote:> 3) In the future, will > you modify your project to be purely command-line > > (no dialog, no window, no GUI used at all)? Note that if you use a GUI > > component, you use its event loop, not the one provided by the > > interpreter. That may change the behaviour of bugs... > > Beno?t, do you wish this for ALL projects submitted with bug reports, or > just that one submitted by Jussi? > > No, only the one submitted by Jussi. -- Beno?t Minisini From gambas at ...1... Sun Nov 23 22:48:34 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 23 Nov 2014 22:48:34 +0100 Subject: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each In-Reply-To: <54724C81.4080501@...626...> References: <54724C81.4080501@...626...> Message-ID: <54725632.9040406@...1...> Le 23/11/2014 22:07, T Lee Davidson a ?crit : > Okay, I've done more testing related to the noise I accidentally sent to > the list yesterday. > > Attempting to enumerate through HttpClient.Headers with For Each causes > a SegFault 11 under certain conditions. > > In the attached project, there is a procedure that traverses through a > list of three URLs from a GridView and does HttpClient.Get on each one. > > If HttpClient.Headers for each URL is enumerated with Headers[iIndex], I > can run through the list of URLs multiple times all day long. But, if I > enumerate the Headers array with For Each, the application SegFaults at > the second execution of the procedure. > > When using Headers[iIndex], Headers.Count is correct. > > But, when using For Each, URL[1].Headers.Count is obviously > URL[0].Headers.Count plus URL[1].Headers.Count. And, actually printing > out the headers shows that URL[1].Headers is the URL[0].Headers with > URL[1].Headers appended. > > Interestingly, the Headers for the third URL are correct no matter which > enumeration method is used. And, the application does not SegFault when > attempting to enumerate the Headers (with For Each) for the third URL on > the first run. Only after the procedure is re-entered the second time > does the app SegFault. > > > How to reproduce: > > Set "Actually Print Headers to Console" to your preference. > > A. > 1. Leave "Enumerate Response Headers With" set to "Headers[iIndex]". > 2. Click "Get Response Status Codes" as many times as you wish to show > that enumerating with Headers[iIndex] does not SegFault. > > B. > 1. Set "Enumerate Response Headers With" to "For Each Headers". > 2. Click "Get Response Status Codes" twice. (>>SegFault) > > > One last note: I stumbled across this while trying to determine why > HttpClient.Code sometimes returned "0", and IIRC, I was enumerating with > For Each at the time. > > > Now just for clarification, is enumerating HttpClient.Headers with For > Each something I should not be doing? Have I done something else wrong? > Or is this actually a bug? > I will look at it. But if you have a segfault, this is a bug, whatever the reason. You are not doing anything wrong, the interpret should never crash, only raising errors. If the crash is a library bug, I can't do nothing, but it seems to not be the case there. Regards, -- Beno?t Minisini From rhoct at ...325... Sun Nov 23 23:22:54 2014 From: rhoct at ...325... (roberto) Date: Sun, 23 Nov 2014 23:22:54 +0100 Subject: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each In-Reply-To: <54725632.9040406@...1...> References: <54724C81.4080501@...626...> <54725632.9040406@...1...> Message-ID: <54725E3E.6020100@...325...> Hi Beno?t and All I have a similar problem of fault segment 11 with a hpart (as MimePart) enumerated from a a MimeMessage in the special condition that the part is empty, as for example -> **************************************************************** ------ = _ Part_819_1944908340.1380722116143 Content-Type: text / plain; charset = us-ascii Content-Transfer-Encoding: 7bit ------ = _ Part_819_1944908340.1380722116143 **************************************************************** In this condition a simple return hPart.Data which is NULL, causes the segment fault if it is necessary to solve the problem, I will send you a part of the project code Regards Il 23/11/2014 22:48, Beno?t Minisini ha scritto: > Le 23/11/2014 22:07, T Lee Davidson a ?crit : >> Okay, I've done more testing related to the noise I accidentally sent to >> the list yesterday. >> >> Attempting to enumerate through HttpClient.Headers with For Each causes >> a SegFault 11 under certain conditions. >> >> In the attached project, there is a procedure that traverses through a >> list of three URLs from a GridView and does HttpClient.Get on each one. >> >> If HttpClient.Headers for each URL is enumerated with Headers[iIndex], I >> can run through the list of URLs multiple times all day long. But, if I >> enumerate the Headers array with For Each, the application SegFaults at >> the second execution of the procedure. >> >> When using Headers[iIndex], Headers.Count is correct. >> >> But, when using For Each, URL[1].Headers.Count is obviously >> URL[0].Headers.Count plus URL[1].Headers.Count. And, actually printing >> out the headers shows that URL[1].Headers is the URL[0].Headers with >> URL[1].Headers appended. >> >> Interestingly, the Headers for the third URL are correct no matter which >> enumeration method is used. And, the application does not SegFault when >> attempting to enumerate the Headers (with For Each) for the third URL on >> the first run. Only after the procedure is re-entered the second time >> does the app SegFault. >> >> >> How to reproduce: >> >> Set "Actually Print Headers to Console" to your preference. >> >> A. >> 1. Leave "Enumerate Response Headers With" set to "Headers[iIndex]". >> 2. Click "Get Response Status Codes" as many times as you wish to show >> that enumerating with Headers[iIndex] does not SegFault. >> >> B. >> 1. Set "Enumerate Response Headers With" to "For Each Headers". >> 2. Click "Get Response Status Codes" twice. (>>SegFault) >> >> >> One last note: I stumbled across this while trying to determine why >> HttpClient.Code sometimes returned "0", and IIRC, I was enumerating with >> For Each at the time. >> >> >> Now just for clarification, is enumerating HttpClient.Headers with For >> Each something I should not be doing? Have I done something else wrong? >> Or is this actually a bug? >> > I will look at it. > > But if you have a segfault, this is a bug, whatever the reason. You are > not doing anything wrong, the interpret should never crash, only raising > errors. > > If the crash is a library bug, I can't do nothing, but it seems to not > be the case there. > > Regards, > From jussi.lahtinen at ...626... Mon Nov 24 00:15:08 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 24 Nov 2014 01:15:08 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <54722641.5060200@...1...> References: <54722641.5060200@...1...> Message-ID: > 1) Can you try with revision #6671? It should not change anything, but > then we will run exactly the same code. > I did that and nothing seemed to change in regards of this problem, just like expected. 2) Can you uncomment the line #64 in the > '/trunk/main/gbx/gbx_c_process.c' source file before recompiling? That > way you will have many debugging message that will allow to know what > happens behind the curtain. > I recompiled with the debugging on, but this changed the situation. No more crash, but GambasTester gave error 239, which means the content of sTest was not "test" as expected. Instead the string contains "init_child_tty: /dev/pts/13\ntest\n", so I temporarily commented out the return line. Still, no more crashing. I attached output of non-crashing run, if there is any help from it. I will investigate more later. 3) In the future, will you modify your project to be purely command-line > (no dialog, no window, no GUI used at all)? Note that if you use a GUI > component, you use its event loop, not the one provided by the > interpreter. That may change the behaviour of bugs... > Yes I can do that, but not sure if I have understood this right... shouldn't there then be GambasTester for Qt4, GTK+ and for command line? Jussi -------------- next part -------------- mTest.DoTests.360: This Gambas version is somewhat tested for string errors. run_process 0x254bcb8: echo 'This Gambas version is somewhat tested for string errors.' | md5sum init_child() fork: pid = 13801 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13801 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13801 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: echo test run_process: slave = /dev/pts/0 init_child() fork: pid = 13804 watch: out = 7 err = -1 run_process: check child state immediately run_process (child): slave = /dev/pts/0 isatty = 1 run_process: child is OK callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13804 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_write: 7 0x254bcb8 len: 30 -> 29 callback_write: 7 0x254bcb8 len: 29 -> 28 callback_write: 7 0x254bcb8 len: 28 -> 27 callback_write: 7 0x254bcb8 len: 27 -> 26 callback_write: 7 0x254bcb8 len: 26 -> 25 callback_write: 7 0x254bcb8 len: 25 -> 24 callback_write: 7 0x254bcb8 len: 24 -> 23 callback_write: 7 0x254bcb8 len: 23 -> 22 callback_write: 7 0x254bcb8 len: 22 -> 21 callback_write: 7 0x254bcb8 len: 21 -> 20 callback_write: 7 0x254bcb8 len: 20 -> 19 callback_write: 7 0x254bcb8 len: 19 -> 18 callback_write: 7 0x254bcb8 len: 18 -> 17 callback_write: 7 0x254bcb8 len: 17 -> 16 callback_write: 7 0x254bcb8 len: 16 -> 15 callback_write: 7 0x254bcb8 len: 15 -> 14 callback_write: 7 0x254bcb8 len: 14 -> 13 callback_write: 7 0x254bcb8 len: 13 -> 12 callback_write: 7 0x254bcb8 len: 12 -> 11 callback_write: 7 0x254bcb8 len: 11 -> 10 callback_write: 7 0x254bcb8 len: 10 -> 9 callback_write: 7 0x254bcb8 len: 9 -> 8 callback_write: 7 0x254bcb8 len: 8 -> 7 callback_write: 7 0x254bcb8 len: 7 -> 6 callback_write: 7 0x254bcb8 len: 6 -> 5 callback_write: 7 0x254bcb8 len: 5 -> 4 callback_write: 7 0x254bcb8 len: 4 -> 3 callback_write: 7 0x254bcb8 len: 3 -> 2 callback_write: 7 0x254bcb8 len: 2 -> 1 callback_write: 7 0x254bcb8 len: 1 -> 0 exit_process: 0x254bcb8 unwatch & close: 7 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child run_process 0x2551288: echo test run_process: slave = /dev/pts/0 init_child() fork: pid = 13805 watch: out = 7 err = -1 run_process: check child state immediately run_process (child): slave = /dev/pts/0 isatty = 1 run_process: child is OK Process_free 0x254bcb8 exit_process: 0x254bcb8 callback_write: 7 0x2551288 >> callback_child Process 13805 has returned 0 stop_process: 0x2551288 stop_process_after: 0x2551288 callback_write: 7 0x2551288 len: 31 -> 30 callback_write: 7 0x2551288 len: 30 -> 29 callback_write: 7 0x2551288 len: 29 -> 28 callback_write: 7 0x2551288 len: 28 -> 27 callback_write: 7 0x2551288 len: 27 -> 26 callback_write: 7 0x2551288 len: 26 -> 25 callback_write: 7 0x2551288 len: 25 -> 24 callback_write: 7 0x2551288 len: 24 -> 23 callback_write: 7 0x2551288 len: 23 -> 22 callback_write: 7 0x2551288 len: 22 -> 21 callback_write: 7 0x2551288 len: 21 -> 20 callback_write: 7 0x2551288 len: 20 -> 19 callback_write: 7 0x2551288 len: 19 -> 18 callback_write: 7 0x2551288 len: 18 -> 17 callback_write: 7 0x2551288 len: 17 -> 16 callback_write: 7 0x2551288 len: 16 -> 15 callback_write: 7 0x2551288 len: 15 -> 14 callback_write: 7 0x2551288 len: 14 -> 13 callback_write: 7 0x2551288 len: 13 -> 12 callback_write: 7 0x2551288 len: 12 -> 11 callback_write: 7 0x2551288 len: 11 -> 10 callback_write: 7 0x2551288 len: 10 -> 9 callback_write: 7 0x2551288 len: 9 -> 8 callback_write: 7 0x2551288 len: 8 -> 7 callback_write: 7 0x2551288 len: 7 -> 6 callback_write: 7 0x2551288 len: 6 -> 5 callback_write: 7 0x2551288 len: 5 -> 4 callback_write: 7 0x2551288 len: 4 -> 3 callback_write: 7 0x2551288 len: 3 -> 2 callback_write: 7 0x2551288 len: 2 -> 1 callback_write: 7 0x2551288 len: 1 -> 0 exit_process: 0x2551288 unwatch & close: 7 Raising Kill event for 0x2551288: parent = 0x245cb08 can raise = 0 exit_child() << callback_child run_process 0x254bcb8: grep -siwF -m 1 -- #Else /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13806 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13806 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13806 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- #Else If /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13807 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13807 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13807 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- #EndIf /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13808 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13808 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13808 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- #IF /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13809 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13809 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13809 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Abs /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13810 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13810 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13810 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Access /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13811 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13811 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13811 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ACos /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13812 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13812 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13812 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ACosh /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13813 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13813 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13813 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Alloc /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13814 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13814 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13814 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- AND /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13815 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13815 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13815 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- AND IF /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13816 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13816 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13816 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Ang /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13817 watch: out = 7 err = 9 run_process: check child state immediately Process 13817 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 callback_write: 7 0x254bcb8 len: 38 -> 0 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() run_process: child is OK Waiting for 13817 Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- APPEND /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13818 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13818 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13818 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- + /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13819 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13819 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13819 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- - /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13820 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13820 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13820 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- * /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13821 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13821 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13821 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- / /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13822 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13822 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13822 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ^ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13823 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13823 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13823 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- \ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13824 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13824 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13824 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Float[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13825 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13825 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13825 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Single[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13826 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13826 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13826 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Long[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13827 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13827 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13827 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Integer[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13828 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13828 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13828 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Short[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13829 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13829 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13829 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Byte[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13830 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13830 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13830 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Boolean[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13831 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13831 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13831 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New String[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13832 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13832 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13832 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Date[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13833 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13833 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13833 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Variant[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13834 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13834 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13834 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Object[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13835 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13835 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13835 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- New Pointer[ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13836 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13836 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13836 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- AS /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13837 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13837 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13837 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Asc /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13838 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13838 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13838 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ASin /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13839 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13839 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13839 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ASinh /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13840 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13840 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13840 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Asl /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13841 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13841 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13841 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Asr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13842 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13842 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13842 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- = /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13843 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13843 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13843 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- += /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13844 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13844 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13844 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- -= /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13845 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13845 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13845 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- *= /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13846 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13846 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13846 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- /= /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13847 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13847 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13847 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- \= /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13848 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13848 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13848 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- &= /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13849 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13849 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13849 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- <= /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13850 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13850 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13850 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- >= /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13851 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13851 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13851 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- <> /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13852 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13852 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13852 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ATan /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13853 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13853 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13853 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ATan2 /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13854 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13854 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13854 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ATanh /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13855 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13855 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13855 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- BChg /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13856 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13856 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13856 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- BClr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13857 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13857 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13857 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- BEGINS /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13858 watch: out = 7 err = 9 run_process: check child state immediately Process 13858 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 callback_write: 7 0x254bcb8 len: 42 -> 0 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() run_process: child is OK Waiting for 13858 Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Bin$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13859 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13859 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13859 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Boolean@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13860 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13860 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13860 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- BREAK /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13861 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13861 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13861 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- BSet /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13862 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13862 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13862 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- BTst /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13863 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13863 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13863 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- BYREF /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13864 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13864 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13864 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Byte@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13865 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13865 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13865 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CASE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13866 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13866 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13866 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CATCH /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13867 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13867 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13867 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CBool /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13868 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13868 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13868 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Cbr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13869 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13869 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13869 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CByte /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13870 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13870 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13870 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CDate /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13871 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13871 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13871 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Ceil /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13872 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13872 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13872 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CFloat /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13873 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13873 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13873 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Choose /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13874 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13874 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13874 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Chr$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13875 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13875 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13875 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CInt /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13876 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13876 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13876 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CLong /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13877 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13877 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13877 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CLOSE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13878 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13878 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13878 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Comp /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13879 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13879 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13879 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- gb.Binary /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13880 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13880 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13880 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- gb.IgnoreCase /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13881 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13881 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13881 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- gb.Like /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13882 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13882 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13882 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CONST /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13883 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13883 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13883 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CONTINUE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13884 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13884 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13884 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- COPY /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13885 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13885 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13885 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Cos /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13886 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13886 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13886 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Cosh /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13887 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13887 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13887 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CREATE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13888 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13888 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13888 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CShort /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13889 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13889 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13889 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CSingle /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13890 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13890 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13890 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CStr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13891 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13891 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13891 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- CVariant /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13892 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13892 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13892 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Date /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13893 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13893 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13893 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DateAdd /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13894 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13894 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13894 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DateDiff /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13895 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13895 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13895 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Day /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13896 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13896 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13896 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DEBUG /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13897 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13897 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13897 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DEC /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13898 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13898 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13898 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DEFAULT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13899 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13899 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13899 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Deg /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13900 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13900 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13900 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DFree /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13901 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13901 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13901 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DIM /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13902 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13902 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13902 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Dir /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13903 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13903 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13903 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DIV /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13904 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13904 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13904 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- DO /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13905 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13905 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13905 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ELSE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13906 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13906 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13906 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- END /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13907 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13907 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13907 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- END SELECT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13908 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13908 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13908 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- END STRUCT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13909 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13909 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13909 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- END WITH /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13910 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13910 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13910 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ENDIF /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13911 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13911 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13911 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ENDS /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13912 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13912 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13912 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ENUM /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13913 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13913 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13913 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Eof /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13914 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13914 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13914 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ERROR /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13915 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13915 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13915 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Eval /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13916 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13916 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13916 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Even /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13917 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13917 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13917 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- EXEC /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13918 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13918 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13918 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Exist /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13919 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13919 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13919 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Exp /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13920 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13920 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13920 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Exp10 /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13921 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13921 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13921 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Exp2 /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13922 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13922 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13922 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Expm /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13923 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13923 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13923 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- EXTERN /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13924 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13924 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13924 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- FALSE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13925 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13925 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13925 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- FINALLY /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13926 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13926 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13926 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Fix /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13927 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13927 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13927 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Float@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13928 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13928 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13928 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Floor /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13929 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13929 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13929 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- FOR /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13930 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13930 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13930 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- FOR EACH /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13931 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13931 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13931 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Format$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13932 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13932 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13932 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Frac /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13933 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13933 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13933 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- FUNCTION /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13934 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13934 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13934 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Application /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13935 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13935 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13935 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- GOTO /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13936 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13936 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13936 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Gosub /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13937 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13937 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13937 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Free /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13938 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13938 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13938 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Hex$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13939 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13939 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13939 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Hour /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13940 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13940 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13940 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Html$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13941 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13941 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13941 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Hyp /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13942 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13942 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13942 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IF /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13943 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13943 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13943 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IIf /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13944 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13944 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13944 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IN /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13945 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13945 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13945 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- INC /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13946 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13946 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13946 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ["A", "B", "C"] /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13947 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13947 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13947 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ["A": 1, "B": 2, "C": 3] /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13948 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13948 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13948 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- INPUT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13949 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13949 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13949 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- InStr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13950 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13950 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13950 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Int /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13951 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13951 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13951 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Int@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13952 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13952 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13952 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IS /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13953 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13953 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13953 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsAscii /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13954 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13954 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13954 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsBlank /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13955 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13955 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13955 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsBoolean /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13956 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13956 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13956 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsDate /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13957 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13957 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13957 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsDigit /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13958 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13958 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13958 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsDir /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13959 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13959 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13959 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsFloat /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13960 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13960 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13960 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsHexa /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13961 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13961 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13961 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsInteger /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13962 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13962 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13962 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsLCase /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13963 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13963 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13963 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsLetter /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13964 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13964 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13964 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsLong /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13965 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13965 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13965 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsNull /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13966 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13966 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13966 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsNumber /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13967 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13967 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13967 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsPunct /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13968 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13968 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13968 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsSpace /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13969 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13969 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13969 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- IsUCase /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13970 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13970 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13970 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- KILL /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13971 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13971 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13971 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- LCase$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13972 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13972 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13972 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Left$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13973 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13973 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13973 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Len /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13974 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13974 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13974 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- LET /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13975 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13975 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13975 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- LIBRARY /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13976 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13976 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13976 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- LIKE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13977 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13977 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13977 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- LINE INPUT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13978 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13978 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13978 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- LINK /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13979 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13979 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13979 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Lof /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13980 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13980 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13980 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Log /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13981 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13981 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13981 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Log10 /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13982 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13982 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13982 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Log2 /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13983 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13983 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13983 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Logp /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13984 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13984 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13984 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Long@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13985 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13985 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13985 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- LOOP /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13986 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13986 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13986 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Lsl /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13987 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13987 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13987 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Lsr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13988 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13988 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13988 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- LTrim$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13989 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13989 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13989 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Mag /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13990 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13990 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13990 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Max /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13991 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13991 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13991 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- ME /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13992 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13992 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13992 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- MEMORY /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13993 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13993 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13993 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Mid$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13994 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13994 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13994 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Min /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13995 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13995 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13995 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Minute /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13996 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13996 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13996 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- MKDIR /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13997 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13997 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13997 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- MOD /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13998 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13998 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13998 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Month /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 13999 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 13999 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 13999 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- MOVE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14000 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14000 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14000 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- NEW /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14001 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14001 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14001 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- NEXT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14002 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14002 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14002 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- NOT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14003 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14003 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14003 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Now /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14004 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14004 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14004 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- NULL /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14005 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14005 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14005 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Odd /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14006 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14006 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14006 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- OPEN /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14007 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14007 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14007 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- OPTIONAL /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14008 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14008 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14008 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- OR /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14009 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14009 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14009 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- OR IF /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14010 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14010 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14010 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- OUTPUT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14011 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14011 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14011 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Pi /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14012 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14012 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14012 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- PRINT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14013 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14013 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14013 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- PRIVATE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14014 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14014 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14014 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Pointer@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14015 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14015 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14015 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- PUBLIC /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14016 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14016 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14016 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Quote$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14017 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14017 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14017 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Rad /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14018 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14018 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14018 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- RANDOMIZE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14019 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14019 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14019 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- RDir /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14020 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14020 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14020 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- READ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14021 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14021 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14021 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Realloc /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14022 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14022 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14022 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- REPEAT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14023 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14023 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14023 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Replace$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14024 watch: out = 7 err = 9 run_process: check child state immediately Process 14024 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 callback_write: 7 0x254bcb8 len: 34 -> 0 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() run_process: child is OK Waiting for 14024 Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- RETURN /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14025 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14025 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14025 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Right$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14026 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14026 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14026 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- RInStr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14027 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14027 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14027 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- RMDIR /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14028 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14028 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14028 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Rnd /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14029 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14029 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14029 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Rol /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14030 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14030 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14030 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Ror /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14031 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14031 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14031 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Round /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14032 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14032 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14032 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- RTrim$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14033 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14033 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14033 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Scan /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14034 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14034 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14034 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Second /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14035 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14035 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14035 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Seek /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14036 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14036 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14036 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- SELECT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14037 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14037 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14037 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Sgn /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14038 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14038 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14038 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- SHELL /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14039 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14039 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14039 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Shl /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14040 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14040 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14040 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Short@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14041 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14041 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14041 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Shr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14042 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14042 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14042 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Sin /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14043 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14043 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14043 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Single@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14044 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14044 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14044 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Sinh /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14045 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14045 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14045 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- SizeOf /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14046 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14046 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14046 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- SLEEP /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14047 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14047 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14047 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Space$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14048 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14048 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14048 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Split /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14049 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14049 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14049 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Sqr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14050 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14050 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14050 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Stat /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14051 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14051 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14051 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- STEP /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14052 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14052 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14052 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Str$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14053 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14053 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14053 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- == /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14054 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14054 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14054 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- String$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14055 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14055 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14055 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Str@ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14056 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14056 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14056 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- STRUCT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14057 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14057 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14057 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- SUB /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14058 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14058 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14058 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Subst$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14059 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14059 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14059 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- SWAP /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14060 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14060 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14060 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- System.Architecture /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14061 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14061 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14061 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- System.ByteOrder /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14062 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14062 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14062 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- System.Family /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14063 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14063 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14063 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Tan /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14064 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14064 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14064 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Tanh /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14065 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14065 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14065 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Temp$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14066 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14066 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14066 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- THEN /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14067 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14067 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14067 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Time /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14068 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14068 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14068 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Timer /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14069 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14069 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14069 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- TO /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14070 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14070 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14070 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Tr$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14071 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14071 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14071 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Trim$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14072 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14072 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14072 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- TRUE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14073 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14073 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14073 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- TRY /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14074 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14074 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14074 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- TypeOf /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14075 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14075 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14075 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- UCase$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14076 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14076 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14076 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Unquote$ /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14077 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14077 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14077 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- UNTIL /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14078 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14078 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14078 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Val /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14079 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14079 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14079 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- VarPtr /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14080 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14080 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14080 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- WAIT /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14081 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14081 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14081 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- WATCH /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14082 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14082 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14082 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Week /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14083 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14083 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14083 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- WeekDay /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14084 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14084 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14084 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- WEND /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14085 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14085 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14085 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- WHILE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14086 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14086 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14086 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- WITH /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14087 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14087 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14087 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- WRITE /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14088 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14088 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14088 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- XOR /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14089 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14089 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14089 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- Year /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14090 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14090 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14090 has returned 0 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 run_process 0x254bcb8: grep -siwF -m 1 -- EndOfThisList /tmp/gambas.1000/13800/grep.tmp init_child() fork: pid = 14091 watch: out = 7 err = 9 run_process: check child state immediately run_process: child is OK Waiting for 14091 callback_write: 7 0x254bcb8 callback_write: 7 0x254bcb8 >> callback_child Process 14091 has returned 256 stop_process: 0x254bcb8 stop_process_after: 0x254bcb8 callback_error: 9 0x254bcb8 exit_process: 0x254bcb8 unwatch & close: 7 unwatch & close: 9 Raising Kill event for 0x254bcb8: parent = 0x245cb08 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x254bcb8 exit_process: 0x254bcb8 Process_free 0x2551288 exit_process: 0x2551288 From rhoct at ...325... Mon Nov 24 04:27:54 2014 From: rhoct at ...325... (roberto) Date: Mon, 24 Nov 2014 04:27:54 +0100 Subject: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each In-Reply-To: <54725E3E.6020100@...325...> References: <54724C81.4080501@...626...> <54725632.9040406@...1...> <54725E3E.6020100@...325...> Message-ID: <5472A5BA.9040202@...325...> to bypass the segfault 11 , if I wanted to use the external library libgmime with: Library "libgmime-2.6:0" the declaration of the function should be this: Private Extern g_mime_part_get_content_object(GMimePart As Pointer) As Pointer and my data is in variable hPart as MimePart how i can pass hPart to the libgmime function? Regards how do I go hpart to function? Il 23/11/2014 23:22, roberto ha scritto: > Hi Beno?t and All > I have a similar problem of fault segment 11 with a hpart (as MimePart) > enumerated from a a MimeMessage > in the special condition that the part is empty, as for example -> > **************************************************************** > ------ = _ Part_819_1944908340.1380722116143 > Content-Type: text / plain; charset = us-ascii > Content-Transfer-Encoding: 7bit > > > ------ = _ Part_819_1944908340.1380722116143 > **************************************************************** > In this condition a simple > return hPart.Data > which is NULL, causes the segment fault > > if it is necessary to solve the problem, I will send you a part of the > project code > > Regards > > > Il 23/11/2014 22:48, Beno?t Minisini ha scritto: >> Le 23/11/2014 22:07, T Lee Davidson a ?crit : >>> Okay, I've done more testing related to the noise I accidentally sent to >>> the list yesterday. >>> >>> Attempting to enumerate through HttpClient.Headers with For Each causes >>> a SegFault 11 under certain conditions. >>> >>> In the attached project, there is a procedure that traverses through a >>> list of three URLs from a GridView and does HttpClient.Get on each one. >>> >>> If HttpClient.Headers for each URL is enumerated with Headers[iIndex], I >>> can run through the list of URLs multiple times all day long. But, if I >>> enumerate the Headers array with For Each, the application SegFaults at >>> the second execution of the procedure. >>> >>> When using Headers[iIndex], Headers.Count is correct. >>> >>> But, when using For Each, URL[1].Headers.Count is obviously >>> URL[0].Headers.Count plus URL[1].Headers.Count. And, actually printing >>> out the headers shows that URL[1].Headers is the URL[0].Headers with >>> URL[1].Headers appended. >>> >>> Interestingly, the Headers for the third URL are correct no matter which >>> enumeration method is used. And, the application does not SegFault when >>> attempting to enumerate the Headers (with For Each) for the third URL on >>> the first run. Only after the procedure is re-entered the second time >>> does the app SegFault. >>> >>> >>> How to reproduce: >>> >>> Set "Actually Print Headers to Console" to your preference. >>> >>> A. >>> 1. Leave "Enumerate Response Headers With" set to "Headers[iIndex]". >>> 2. Click "Get Response Status Codes" as many times as you wish to show >>> that enumerating with Headers[iIndex] does not SegFault. >>> >>> B. >>> 1. Set "Enumerate Response Headers With" to "For Each Headers". >>> 2. Click "Get Response Status Codes" twice. (>>SegFault) >>> >>> >>> One last note: I stumbled across this while trying to determine why >>> HttpClient.Code sometimes returned "0", and IIRC, I was enumerating with >>> For Each at the time. >>> >>> >>> Now just for clarification, is enumerating HttpClient.Headers with For >>> Each something I should not be doing? Have I done something else wrong? >>> Or is this actually a bug? >>> >> I will look at it. >> >> But if you have a segfault, this is a bug, whatever the reason. You are >> not doing anything wrong, the interpret should never crash, only raising >> errors. >> >> If the crash is a library bug, I can't do nothing, but it seems to not >> be the case there. >> >> Regards, >> > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From t.lee.davidson at ...626... Mon Nov 24 04:47:39 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 23 Nov 2014 22:47:39 -0500 Subject: [Gambas-user] Roberto, Re: [SegFault 11] Enumerating HttpClient.Headers with For Each In-Reply-To: <5472A5BA.9040202@...325...> References: <54724C81.4080501@...626...> <54725632.9040406@...1...> <54725E3E.6020100@...325...> <5472A5BA.9040202@...325...> Message-ID: <5472AA5B.1020503@...626...> Roberto, I don't mind you hi-jacking my thread, but I'm sure others do as it disrupts thread integrity and makes email message management more difficult, especially for those who have alot to manage. Plus, you would likely get better response if you started your own thread. To do so, DO NOT use the Reply button. Compose a NEW message to gambas-user at lists.sourceforge.net . When you do, try to include as much applicable code in the same message as is practical. The snippets you have provided here may not be enough information for someone to give you an intelligent answer. (For example, where did "hPart as MimePart" come from?) That being said, I do not have an answer for your question, sorry. --- Lee __________ On 11/23/2014 10:27 PM, roberto wrote: > to bypass the segfault 11 , if I wanted to use the external library > libgmime with: > > Library "libgmime-2.6:0" > > the declaration of the function should be this: > > Private Extern g_mime_part_get_content_object(GMimePart As Pointer) As > Pointer > > and my data is in variable hPart as MimePart > > how i can pass hPart to the libgmime function? From rhoct at ...325... Mon Nov 24 10:32:50 2014 From: rhoct at ...325... (roberto) Date: Mon, 24 Nov 2014 10:32:50 +0100 Subject: [Gambas-user] Roberto, Re: [SegFault 11] Enumerating HttpClient.Headers with For Each In-Reply-To: <5472AA5B.1020503@...626...> References: <54724C81.4080501@...626...> <54725632.9040406@...1...> <54725E3E.6020100@...325...> <5472A5BA.9040202@...325...> <5472AA5B.1020503@...626...> Message-ID: <5472FB42.7040907@...325...> I'm sorry to have destroyed the integrity of your thread regards Il 24/11/2014 04:47, T Lee Davidson ha scritto: > Roberto, > > I don't mind you hi-jacking my thread, but I'm sure others do as it > disrupts thread integrity and makes email message management more > difficult, especially for those who have alot to manage. > > Plus, you would likely get better response if you started your own > thread. To do so, DO NOT use the Reply button. Compose a NEW message to > gambas-user at lists.sourceforge.net . > > When you do, try to include as much applicable code in the same message > as is practical. The snippets you have provided here may not be enough > information for someone to give you an intelligent answer. (For example, > where did "hPart as MimePart" come from?) From gambas at ...1... Mon Nov 24 13:39:19 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Nov 2014 13:39:19 +0100 Subject: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each In-Reply-To: <54725632.9040406@...1...> References: <54724C81.4080501@...626...> <54725632.9040406@...1...> Message-ID: <547326F7.6090307@...1...> Le 23/11/2014 22:48, Beno?t Minisini a ?crit : >> Now just for clarification, is enumerating HttpClient.Headers with For >> Each something I should not be doing? Have I done something else wrong? >> Or is this actually a bug? >> > > I will look at it. > > But if you have a segfault, this is a bug, whatever the reason. You are > not doing anything wrong, the interpret should never crash, only raising > errors. > > If the crash is a library bug, I can't do nothing, but it seems to not > be the case there. > > Regards, > It's fixed in revision #6675. It was a bug in the internal management of the header array in the HttpClient class. Regards, -- Beno?t Minisini From gambas at ...1... Mon Nov 24 13:46:58 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Nov 2014 13:46:58 +0100 Subject: [Gambas-user] Roberto, Re: [SegFault 11] Enumerating HttpClient.Headers with For Each In-Reply-To: <5472FB42.7040907@...325...> References: <54724C81.4080501@...626...> <54725632.9040406@...1...> <54725E3E.6020100@...325...> <5472A5BA.9040202@...325...> <5472AA5B.1020503@...626...> <5472FB42.7040907@...325...> Message-ID: <547328C2.4040000@...1...> Le 24/11/2014 10:32, roberto a ?crit : > I'm sorry to have destroyed the integrity of your thread > regards > No problem. But do create a new thread for a new bug, otherwise it may be lost! Anyway, can you provide your project, or part of it reproducing the problem? If you need a specific mail for that, you can provide it in *.eml format. Regards, -- Beno?t Minisini From gambas at ...1... Mon Nov 24 14:11:54 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 24 Nov 2014 14:11:54 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 Message-ID: <54732E9A.5020705@...1...> The recent news about Gambas Software Farm: - Many bug fixes. - The farm configuration (server list, identities) has been removed from the IDE option dialog, and is now in its own dialog. That way, the code of the software farm is independent, and will be put in its own executable (gambas3-farm) in the future. - Voting is now possible by clicking on the star button, as soon as you are identified on the server. Each user can assing zero or one vote for each software. The number displayed beside the star is the total number of votes - Installing is not done. As for installing software, here are my thoughts: - The farm server will extract the ".project" file for the submitted software to know about its component dependencies (not done). - When installing, the farm client will download the ".project" file to check these dependencies. If they do not match, an error message will be displayed, and the installation will abort. - In the future, the error message could be replaced by an automatic installation of binary packages depending on the distribution. I need help for that: for each distribution, I need to know how to install a binary package, and if the distribution follows the gambas binary package naming convention. - If there are dependencies of other softwares, then a recursive search of all the dependencies is done, and the corresponding software must be installed first. - The source package is downloaded, and stored in something like '~/.local/gambas3/farm//'. - The software is compiled on the user's computer, and the executable is installed in '~/.local/gambas3/bin/'. - A *.desktop file is created and installed in '~/.local/share/applications' so that it appears in the desktop menu. Waiting for your comments! -- Beno?t Minisini From rhoct at ...325... Mon Nov 24 15:11:29 2014 From: rhoct at ...325... (roberto) Date: Mon, 24 Nov 2014 15:11:29 +0100 Subject: [Gambas-user] gb.mime segfault 11 Message-ID: <54733C91.2010800@...325...> As discuss in other thread , I have a problem with a segment fault 11 using gb.mime Find attachment with project. Inside the tar.gz is a eml file that caused the seg fault. I have parsed the same eml file in a procedure in c using libgmime-2.6 without problem. Other question: if I wanted to use the libgmime as external library, how do I go and / or create specific types of structure that need functions? ' Gambas class file Library "libgmime-2.6:0" Private Extern g_mime_part_get_content_object(GMimePart As Pointer) As Pointer In C I have call the function with: GMimeDataWrapper *mycontent = g_mime_part_get_content_object(GMIME_PART(part)); mycontent is a pointer to a struct type GMimeDataWrapper In Gambas3 I must declare a structure as GMimeDataWrapper? Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: GetPart.tar.gz Type: application/x-gzip Size: 8329 bytes Desc: not available URL: From gambas at ...1... Mon Nov 24 15:29:22 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Nov 2014 15:29:22 +0100 Subject: [Gambas-user] gb.mime segfault 11 In-Reply-To: <54733C91.2010800@...325...> References: <54733C91.2010800@...325...> Message-ID: <547340C2.3020101@...1...> Le 24/11/2014 15:11, roberto a ?crit : > As discuss in other thread , I have a problem with a segment fault 11 > using gb.mime > > Find attachment with project. Inside the tar.gz is a eml file that > caused the seg fault. > > I have parsed the same eml file in a procedure in c using libgmime-2.6 > without problem. Fixed in revision #6677. > > Other question: > > if I wanted to use the libgmime as external library, how do I go and / > or create specific types of structure that need functions? > > ' Gambas class file > Library "libgmime-2.6:0" > Private Extern g_mime_part_get_content_object(GMimePart As Pointer) As > Pointer > > > In C I have call the function with: > > GMimeDataWrapper *mycontent = > g_mime_part_get_content_object(GMIME_PART(part)); > > mycontent is a pointer to a struct type GMimeDataWrapper > In Gambas3 I must declare a structure as GMimeDataWrapper? > > Regards > GMimeDataWrapper is a GObject, so you can replace it by a Gambas Pointer, unless you need to access its structure: then you have to mimic in Gambas the C declaration of the structure from the header file, which may be a pain. You should better tell exactly what you need, and maybe we could add that to the component directly. Regards, -- Beno?t Minisini From rmorgan62 at ...626... Mon Nov 24 15:33:10 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 24 Nov 2014 07:33:10 -0700 Subject: [Gambas-user] [GambasMag] Articles for Feb 2015 issue In-Reply-To: <20141122215908.GC888@...2774...> References: <20141122215908.GC888@...2774...> Message-ID: 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 have a few good days and many not so good days. But I would love to publish your articles. The magazine's next issue will not follow the outline for issues as I just don't have the energy to produce all I had hoped for. I haven't even been coding at all in the past couple months. Once my treatment is over I hope I can get back to following the outline and publishing the magazine. At the moment is you write articles I will publish a mini-issue with your article and two on game development I had sent to me. I have high hopes for Gambas Magazine but at the moment I simply can't put in all the time it requires due to health issues. Thank you for all your help. Randall On Sat, Nov 22, 2014 at 2:59 PM, Tobias Boege wrote: > Hi Randall, > > since the Oct 2014 issue had problems and I don't see anything for the Dec > issue, I want to let you know that I'm in my element with Feb 2015. I have > three articles in mind which I'm eager for submitting: > > 1. Graphs in Gambas. I will explain _in detail_ the objectives behind the > design of gb.data's Graph interface (the ability to _interpret_ > existing > data as a graph while saving memory) and show two sample graph > classes. > > One will be a solver for certain systems of linear inequalities using > the Bellman-Ford algorithm, for the more theoretic audience. The > second > is a little more "salonfaehig"[*]: a flood fill using breadth-first- > search over a graph implicitely defined by the pixels of a picture. > [ The latter I have actually already sent to the mailing list, so > maybe > I do something different. But it will surely be implicitely defining > a graph via properties of an already existing object and using graph > algorithms to solve the original problem. ] > > Also I intend to write a small GraphViz class which can export graphs > as PNG images via graphviz' "dot" utility. I'll see if this fits in... > > [*] A German word I can't find a suitable translation for. It means to be > appropriate/decent in the particular society's context/etiquette. Here > it simply means: not so theoretic, more appealing for those hands-on > people (because you actually see something). > > 2. Boolean expression parser. Some years ago I have developed a simple > boolean expression parser in C which understands up to 26 variables > and > the boolean functions not, and, or, equivalence and implication. It > will print out the given expression and its truth values in all > possible configurations for the variables. [ It solved all of these > boring "write down the truth table for this expression" assignments > for > me in the first semester :-) ] > > I will use the Shunting-yard algorithm to parse the input and then a > queue-based RPN evaluator to get the truth value. So we have Stack and > Queue as the central characters here. We will also face the need to > extend the Queue class -- a very cool technique in Gambas which too > few > people seem to be aware of. > > 3. Graphical Gnuplot control. Another question which I saw popping up > frequently lately is that people want to write their own graphical > controls to put on their forms. > > In this article I will do just that: write a GnuplotArea control which > you can give a function to let gnuplot plot onto your form. It will > support some style options which gnuplot offers. The gnuplot / data > visualisation part is why it is relevant to the Feb 2015 issue. The > beginning of this thing goes back to a thread from, I think, Bruce on > the mailing list. The outcome of this article will be a standalone > (modulo gnuplot), reusable control. > > [ Maybe I will throw a class in there for interpolating functions > using Lagrange's method if I find that the GUI is not already too > crammed. ] > > By-product insights of this article are: how to write a custom control > and integrate it with the IDE; and how to talk properly to an external > process (including error management). > > [ With (quite!) some luck I'll have trees by that time in gb.data for your > evolutionary algorithms... but don't count on that. ] > > As you see, those three will loosely fit into the agenda for Feb 2015. > While > we are at it, looking at the current article depression, maybe it would be > better if the magazine schedules new issues for every half a year instead > of > quarters? > > Most work of writing the articles will just be recapitulating things I have > already done, so I'm pretty confident that I can make all three until Feb. > But I can't promise to make it until the deadline which appears to be > already > towards the end of December! I promise to make articles then which won't > require review ;-) > > Regards, > Tobi > > PS: I will send a copy of this to the mailing list in an effort to install > some moral pressure there to write articles. If you want, you can also > read that as "... in an effort to inspire others ..." :-) > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From eilert-sprachen at ...221... Mon Nov 24 15:37:53 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 24 Nov 2014 15:37:53 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <54732E9A.5020705@...1...> References: <54732E9A.5020705@...1...> Message-ID: <547342C1.3080009@...221...> As far as I know from KDE 3 and 4, > - A *.desktop file is created and installed in > '~/.local/share/applications' so that it appears in the desktop menu. the .desktop files are stored in ~/Desktop. On my system, firefox.desktop is the only one residing in ~/.local/share/applications and there is a copy of it in ~/Desktop. By the way, the farm is a very good idea! And it reminded me of your idea of a simple picture editor. I needed such a thing this weekend, but in lack of other software I used Gimp instead which is a bit of a functional dinosaur for just cutting an area from a smartphone photo and reducing the resulting picture to a smaller size... Thinking about your idea, I came to the point where it should be possible to just "install" such a program, with all dependencies (and the Gambas interpreter itself) installing automagically. As far as I understand, your farm will work like this. The only thing I'm not clear about is if you intend the farm to be for people just using the software or for potential Gambas programmers who want to take a look at the code? Regards Rolf From gambas at ...1... Mon Nov 24 15:46:33 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Nov 2014 15:46:33 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <547342C1.3080009@...221...> References: <54732E9A.5020705@...1...> <547342C1.3080009@...221...> Message-ID: <547344C9.8080207@...1...> Le 24/11/2014 15:37, Rolf-Werner Eilert a ?crit : > As far as I know from KDE 3 and 4, > >> - A *.desktop file is created and installed in >> '~/.local/share/applications' so that it appears in the desktop menu. > > the .desktop files are stored in ~/Desktop. On my system, > firefox.desktop is the only one residing in ~/.local/share/applications > and there is a copy of it in ~/Desktop. I'm talking about the desktop application menu: this is a freedesktop.org standard. To add a menu entry, you have to install a *.desktop file in that folder. > > By the way, the farm is a very good idea! > > And it reminded me of your idea of a simple picture editor. I needed > such a thing this weekend, but in lack of other software I used Gimp > instead which is a bit of a functional dinosaur for just cutting an area > from a smartphone photo and reducing the resulting picture to a smaller > size... You can use the image editor of the IDE. It has a few bugs, but it is useful for not so simple tasks. > > Thinking about your idea, I came to the point where it should be > possible to just "install" such a program, with all dependencies (and > the Gambas interpreter itself) installing automagically. > > As far as I understand, your farm will work like this. The only thing > I'm not clear about is if you intend the farm to be for people just > using the software or for potential Gambas programmers who want to take > a look at the code? > The last goal: the farm server can only host source code archive. The source code is compiled on the user's system, but the source remains available. In other words, it's not a "market place". :-) -- Beno?t Minisini From jjmoncar at ...626... Mon Nov 24 17:18:50 2014 From: jjmoncar at ...626... (=?utf-8?b?SnVsaW8gTW9udGHDsW8=?=) Date: Mon, 24 Nov 2014 16:18:50 +0000 (UTC) Subject: [Gambas-user] =?utf-8?q?Invitaci=C3=B3n_a_Nubelo?= Message-ID: <149e299316e.2fbb.43fd27@...3408...> ?Hola mailing list for gambas users! Bienvenido al mercado de servicios freelance en la nube m?s grande, de habla hispana. Tu amigo Julio Monta?o ha pensado que te podr?a interesar conocer nuestra plataforma. "Los invito a formar parte de esta red donde permite promocionar sus servicios profesionales, dentro y fuera del pais." Te animamos a formar parte de nuestra plataforma y para ello puedes registrarte haciendo clic aqu?. S?guenos: Linkedin Twitter Facebook Google+ Blog Este es un email enviado por: Nubelo Solutions From charlie at ...2793... Mon Nov 24 17:47:57 2014 From: charlie at ...2793... (Charlie) Date: Mon, 24 Nov 2014 09:47:57 -0700 (MST) Subject: [Gambas-user] DateChooser mouse_scroll In-Reply-To: <1416498033281-49313.post@...3046...> References: <1416498033281-49313.post@...3046...> Message-ID: <1416847677571-49369.post@...3046...> I'm not quite sure what you are needing help with but maybe the attached will help as your query got me thinking. DateChooser.tar -- View this message in context: http://gambas.8142.n7.nabble.com/DateChooser-mouse-scroll-tp49313p49369.html Sent from the gambas-user mailing list archive at Nabble.com. From allegfede at ...626... Mon Nov 24 19:25:39 2014 From: allegfede at ...626... (Federico Allegretti) Date: Mon, 24 Nov 2014 19:25:39 +0100 Subject: [Gambas-user] browse for samba shares Message-ID: hello. In my daily work i need to connect to various samba share from my gambas applications. Modern linux distro can mount "on the fly" a samba share when the user select from the "browse dialog" a network share resource. could this feature be implemented in gambas dialogs like the FILECHOOSER? i really need to pass UNC like smb://server/share/folder/file.extension ... any plan in that direction? thanks Federico :D -- Open TV Architecture project: http://sourceforge.net/projects/otva/ Messagenet VOIP: 5338759 My blogs: http://altri-media.blogspot.com/ http://subbaqquerie.blogspot.com/ YouTube Channel: AllegFede VIMEO HD videos: http://www.vimeo.com/user1912745/videos From gambas at ...2524... Mon Nov 24 21:46:17 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 24 Nov 2014 20:46:17 +0000 Subject: [Gambas-user] Issue 584 in gambas: Button has wrong underscored letter Message-ID: <0-6813199134517018827-9166914594436289454-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 584 by martin.k... at ...626...: Button has wrong underscored letter https://code.google.com/p/gambas/issues/detail?id=584 ____________________________________________________________ / \ | IMPORTANT NOTE #1 | | | | Don't create an issue if you have a compilation problem on | | the development version. Send a mail to the mailing-list | | instead, thanks! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #2 | | | | If you encounter several different problems or bugs, (for | | example, a bug in your project, and an interpreter crash | | while debugging it), please create distinct issues! | \____________________________________________________________/ 1) Describe the problem. I has a button on a form with the text "Sort By &Size". When this is displayed at runtime the Underscore is under the first S not the second. However if I set the button text in code (Button1.text = "Sort By &Size") then the button is displayed correctly 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-39-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=LXDE Theme=QGtk Language=en_GB.UTF-8 Memory=1885M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 6) Explain clearly how to reproduce the bug or the crash. Simple - create a standard GUI project and add a button to the screen. Set the button text property to "Sort by &Size" run the app - display is wrong if you add the line Button1.text = "Sort By &Size" to the load event then the display is correct Attachments: MyBug.tar.gz 4.6 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From rhoct at ...325... Mon Nov 24 22:02:58 2014 From: rhoct at ...325... (roberto) Date: Mon, 24 Nov 2014 22:02:58 +0100 Subject: [Gambas-user] gb.mime segfault 11 In-Reply-To: <547340C2.3020101@...1...> References: <54733C91.2010800@...325...> <547340C2.3020101@...1...> Message-ID: <54739D02.2040403@...325...> Thank you very mych for the fast resolution of the problem wait tomorrow for the revision #6677 revision, which is already available in svn but has a version 2.6.62 , while i have installed the version 6.2.99 and revision 6671 from the daily repository. For inquiries concerning the use of the library was to use the function g_mime_object_get_content_type() to take value of charset that I know are in structure GMimeParam. I don't know if you've seen, but I've tried to implement in the code that I posted, but I do not think that is compliance with the rfc822 Best Regards Il 24/11/2014 15:29, Beno?t Minisini ha scritto: > Le 24/11/2014 15:11, roberto a ?crit : >> As discuss in other thread , I have a problem with a segment fault 11 >> using gb.mime >> >> Find attachment with project. Inside the tar.gz is a eml file that >> caused the seg fault. >> >> I have parsed the same eml file in a procedure in c using libgmime-2.6 >> without problem. > Fixed in revision #6677. > >> Other question: >> >> if I wanted to use the libgmime as external library, how do I go and / >> or create specific types of structure that need functions? >> >> ' Gambas class file >> Library "libgmime-2.6:0" >> Private Extern g_mime_part_get_content_object(GMimePart As Pointer) As >> Pointer >> >> >> In C I have call the function with: >> >> GMimeDataWrapper *mycontent = >> g_mime_part_get_content_object(GMIME_PART(part)); >> >> mycontent is a pointer to a struct type GMimeDataWrapper >> In Gambas3 I must declare a structure as GMimeDataWrapper? >> >> Regards >> > GMimeDataWrapper is a GObject, so you can replace it by a Gambas > Pointer, unless you need to access its structure: then you have to mimic > in Gambas the C declaration of the structure from the header file, which > may be a pain. > > You should better tell exactly what you need, and maybe we could add > that to the component directly. > > Regards, > From gambas at ...1... Mon Nov 24 23:32:56 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Nov 2014 23:32:56 +0100 Subject: [Gambas-user] gb.mime segfault 11 In-Reply-To: <54739D02.2040403@...325...> References: <54733C91.2010800@...325...> <547340C2.3020101@...1...> <54739D02.2040403@...325...> Message-ID: <5473B218.5090709@...1...> Le 24/11/2014 22:02, roberto a ?crit : > Thank you very mych for the fast resolution of the problem > wait tomorrow for the revision #6677 revision, which is already > available in svn but has a version 2.6.62 , while i have installed the > version 6.2.99 and revision 6671 from the daily repository. > > For inquiries concerning the use of the library was to use the function > g_mime_object_get_content_type() to take value of charset that I know > are in structure GMimeParam. > > I don't know if you've seen, but I've tried to implement in the code > that I posted, but I do not think that is compliance with the rfc822 > > Best Regards > Isn't it enough to parse the ContentType string? sContentType = hPart.ContentType aScan = Scan(sContentType,"*;charset=*") If aScan.Count = 2 Then sCharset = aScan[1] If Left(sCharset) = Chr$(34) Then sCharset = Unquote(sCharset) Print "Charset is "; sCharset Else Print "Charset is unknown" Endif -- Beno?t Minisini From gambas.fr at ...626... Mon Nov 24 23:38:08 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 24 Nov 2014 23:38:08 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <547344C9.8080207@...1...> References: <54732E9A.5020705@...1...> <547342C1.3080009@...221...> <547344C9.8080207@...1...> Message-ID: 2014-11-24 15:46 GMT+01:00 Beno?t Minisini : > Le 24/11/2014 15:37, Rolf-Werner Eilert a ?crit : >> As far as I know from KDE 3 and 4, >> >>> - A *.desktop file is created and installed in >>> '~/.local/share/applications' so that it appears in the desktop menu. >> >> the .desktop files are stored in ~/Desktop. On my system, >> firefox.desktop is the only one residing in ~/.local/share/applications >> and there is a copy of it in ~/Desktop. > > I'm talking about the desktop application menu: this is a > freedesktop.org standard. To add a menu entry, you have to install a > *.desktop file in that folder. > >> >> By the way, the farm is a very good idea! >> >> And it reminded me of your idea of a simple picture editor. I needed >> such a thing this weekend, but in lack of other software I used Gimp >> instead which is a bit of a functional dinosaur for just cutting an area >> from a smartphone photo and reducing the resulting picture to a smaller >> size... > > You can use the image editor of the IDE. It has a few bugs, but it is > useful for not so simple tasks. > >> >> Thinking about your idea, I came to the point where it should be >> possible to just "install" such a program, with all dependencies (and >> the Gambas interpreter itself) installing automagically. >> >> As far as I understand, your farm will work like this. The only thing >> I'm not clear about is if you intend the farm to be for people just >> using the software or for potential Gambas programmers who want to take >> a look at the code? >> > > The last goal: the farm server can only host source code archive. The > source code is compiled on the user's system, but the source remains > available. > > In other words, it's not a "market place". :-) But it can be a good source base for someone that want to do one > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From kevinfishburne at ...1887... Tue Nov 25 00:41:02 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 24 Nov 2014 18:41:02 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: References: <54732E9A.5020705@...1...> <547342C1.3080009@...221...> <547344C9.8080207@...1...> Message-ID: <5473C20E.5050901@...1887...> On 11/24/2014 05:38 PM, Fabien Bodard wrote: > 2014-11-24 15:46 GMT+01:00 Beno?t Minisini : >> >> The last goal: the farm server can only host source code archive. The >> source code is compiled on the user's system, but the source remains >> available. >> >> In other words, it's not a "market place". :-) > But it can be a good source base for someone that want to do one > Embrace the market place. Without it semiconductors and mailing lists wouldn't exist, and we'd all be out in the woods gathering berries and hitting each other over the heads with rocks. Free software is good, but having food and shelter is better. Even if the source code being made available is a requirement (GPL and kindred), having a way to pay for an application or donate to its developer should be strongly considered. Beno?t could be the new Gabe Newell, taking 10% off the top to ensure the continued development of GAMBAS and pay the repository bandwidth bills. The bearded old man in the sky agrees with this: https://www.gnu.org/philosophy/selling.html -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bbruen at ...2308... Tue Nov 25 01:35:41 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 25 Nov 2014 11:05:41 +1030 Subject: [Gambas-user] IDE enhancement request - "Run that form" Message-ID: <20141125110541.1a86aec00a34b17b0e30f79b@...2308...> The "Run that form" button on the form editor toolbar is so handy I'd like to request that it also be included in the project tree popup menu (when the item selected is a form obviously). And to really go out on a limb, could the popup menu for a selected module have a "Run that module" entry that would invoke the module if it has a "Main" method" tia Bruce -- B Bruen From t.lee.davidson at ...626... Tue Nov 25 01:40:48 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Mon, 24 Nov 2014 19:40:48 -0500 Subject: [Gambas-user] [SegFault 11] Enumerating HttpClient.Headers with For Each In-Reply-To: <547326F7.6090307@...1...> References: <54724C81.4080501@...626...> <54725632.9040406@...1...> <547326F7.6090307@...1...> Message-ID: <5473D010.8020503@...626...> On 11/24/2014 07:39 AM, Beno?t Minisini wrote: > Le 23/11/2014 22:48, Beno?t Minisini a ?crit : >>> Now just for clarification, is enumerating HttpClient.Headers with For >>> Each something I should not be doing? Have I done something else wrong? >>> Or is this actually a bug? >>> >> >> I will look at it. >> >> But if you have a segfault, this is a bug, whatever the reason. You are >> not doing anything wrong, the interpret should never crash, only raising >> errors. >> >> If the crash is a library bug, I can't do nothing, but it seems to not >> be the case there. >> >> Regards, >> > > It's fixed in revision #6675. It was a bug in the internal management of > the header array in the HttpClient class. Thank you, Beno?t. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...2524... Tue Nov 25 11:09:59 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 25 Nov 2014 10:09:59 +0000 Subject: [Gambas-user] Issue 585 in gambas: free() invalid pointer exit in cli project running trunk Message-ID: <0-6813199134517018827-8291526499870057349-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 585 by r... at ...1740...: free() invalid pointer exit in cli project running trunk https://code.google.com/p/gambas/issues/detail?id=585 1) Describe the problem. When running my cli project with latest trunk (from today) upon Ctrl-C to stop it if will give : free(): invalid pointer: 0xb5f28580 *** Aborted 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. Not possible headless system. 3.4.79-sun7i+ #1 SMP PREEMPT Sun May 4 12:31:58 CEST 2014 armv7l armv7l armv7l GNU/Linux 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 4) Provide a little project that reproduces the bug or the crash. Not succeeded to extract issue from my big project yet. 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Exit my project with ctrl-C, it's to big to provide. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bbruen at ...2308... Tue Nov 25 11:20:10 2014 From: bbruen at ...2308... (B Bruen) Date: Tue, 25 Nov 2014 20:50:10 +1030 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <54732E9A.5020705@...1...> References: <54732E9A.5020705@...1...> Message-ID: <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> On Mon, 24 Nov 2014 14:11:54 +0100 Beno?t Minisini wrote: > The recent news about Gambas Software Farm: > > - Many bug fixes. I am now getting quite excited about this. At the moment it appears that it will be a very good solution to our current very manual way of distributing new and updated software to our client base. > > - The farm configuration (server list, identities) has been removed from > the IDE option dialog, and is now in its own dialog. That way, the code > of the software farm is independent, and will be put in its own > executable (gambas3-farm) in the future. Definitely looking forward to the stand alone version! However, the configuration now looks a lot more logical. (I was having concerns about the modal nature of the whole publishing thing.) > > - Voting is now possible by clicking on the star button, as soon as you > are identified on the server. Each user can assing zero or one vote for > each software. The number displayed beside the star is the total number > of votes > One thing that isn't immediately apparent is that clicking on the star a second time seems to remove your vote? > - Installing is not done. I still maintain that autotools is the way to go. It is, as far as I know, distro independent and complies with the desire to make the whole menagerie based on "source code visibility". The installer, apart from the nastiness checking previously posted, could use the existing code in the IDE to create an autotools package and then run the ".reconf;.configure;make;su(do) make install" circus to install it. > > As for installing software, here are my thoughts: > > - The farm server will extract the ".project" file for the submitted > software to know about its component dependencies (not done). I am not sure what you are implying here but I think you are saying that if a published project has dependencies on an unpublished component, for example a non-native component then it will not be installable until the said non-native component is also published? > > - When installing, the farm client will download the ".project" file to > check these dependencies. If they do not match, an error message will be > displayed, and the installation will abort. And here I think you are saying that if a published project has dependencies on any component that is not installed on the local machine then the "installation" would fail with an appropriate message. In short, "Here be beasties!" or in Aussie "Been there, done that, seen the movie, bought the T-shirt ". The best solution we have come up with is, again autotools, including extra checks in the script along the lines of: AC_MSG_CHECKING(for required components - sysinfos.gambas) if !(test -e /usr/lib/gambas3/sysinfos.gambas); then AC_MSG_RESULT(Not found) AC_MSG_ERROR(Required libraries must be installed BEFORE this package) else AC_MSG_RESULT(Ok) fi With a bit of thought I could probably modify our autotools installer to generate these required checks automatically... > > - In the future, the error message could be replaced by an automatic > installation of binary packages depending on the distribution. I need > help for that: for each distribution, I need to know how to install a > binary package, and if the distribution follows the gambas binary > package naming convention. As mentioned by Kevin, I would eschew binary installs. Too much danger. > > - If there are dependencies of other softwares, then a recursive search > of all the dependencies is done, and the corresponding software must be > installed first. We have found that too hard. Better a message "Can't install, you need the zyxxy component to be installed first". > > - The source package is downloaded, and stored in something like > '~/.local/gambas3/farm//'. Hmmm. Not sure. I have a feeling "~/Downloads" may be more friendly, or a configurable target. > > - The software is compiled on the user's computer, and the executable is > installed in '~/.local/gambas3/bin/'. Q'est que se? (whatever, it's been 40++ years since high school French!) Surely the compiled executable should go into the (default) project directory.. I think that promoting a compiled program to executable status is a matter for the user. Again, given Kevin's comments, I would like to see an ability to 1) download the source code to a selected area 2) review the code via the IDE, with some possible assistance regarding "this program converses with the internet at large" etc 3) make my own decision as to whether to install the said program in any automatically executable directory. 4) only install it with a locally executed su(do) command or utility. > > - A *.desktop file is created and installed in > '~/.local/share/applications' so that it appears in the desktop menu. I think this should only happen if the project is a "Normal". > > Waiting for your comments! You got em. > > -- > Beno?t Minisini > Most of the above is based on my intent to use our own farm server, which I wont use until this whole thing works fully. But as I said, it is looking good. best regards Bruce -- B Bruen From eilert-sprachen at ...221... Tue Nov 25 11:27:15 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 25 Nov 2014 11:27:15 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <547344C9.8080207@...1...> References: <54732E9A.5020705@...1...> <547342C1.3080009@...221...> <547344C9.8080207@...1...> Message-ID: <54745983.90809@...221...> Am 24.11.2014 15:46, schrieb Beno?t Minisini: > Le 24/11/2014 15:37, Rolf-Werner Eilert a ?crit : >> As far as I know from KDE 3 and 4, >> >>> - A *.desktop file is created and installed in >>> '~/.local/share/applications' so that it appears in the desktop menu. >> >> the .desktop files are stored in ~/Desktop. On my system, >> firefox.desktop is the only one residing in ~/.local/share/applications >> and there is a copy of it in ~/Desktop. > > I'm talking about the desktop application menu: this is a > freedesktop.org standard. To add a menu entry, you have to install a > *.desktop file in that folder. Yes, I got you wrong here of course! > >> >> By the way, the farm is a very good idea! >> >> And it reminded me of your idea of a simple picture editor. I needed >> such a thing this weekend, but in lack of other software I used Gimp >> instead which is a bit of a functional dinosaur for just cutting an area >> from a smartphone photo and reducing the resulting picture to a smaller >> size... > > You can use the image editor of the IDE. It has a few bugs, but it is > useful for not so simple tasks. Ah, forgot about that one. But it was on my wife's laptop, and she doesn't have a Gambas installed :) > >> >> Thinking about your idea, I came to the point where it should be >> possible to just "install" such a program, with all dependencies (and >> the Gambas interpreter itself) installing automagically. >> >> As far as I understand, your farm will work like this. The only thing >> I'm not clear about is if you intend the farm to be for people just >> using the software or for potential Gambas programmers who want to take >> a look at the code? >> > > The last goal: the farm server can only host source code archive. The > source code is compiled on the user's system, but the source remains > available. > > In other words, it's not a "market place". :-) > Ok... I don't have any experience with such a thing, so I can't say what I would use it for. Maybe I'll find out later! Regards Rolf From t.lee.davidson at ...626... Tue Nov 25 17:55:58 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 25 Nov 2014 11:55:58 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> Message-ID: <5474B49E.7030003@...626...> On 11/25/2014 05:20 AM, B Bruen wrote: > On Mon, 24 Nov 2014 14:11:54 +0100 > Beno?t Minisini wrote: > >> - Installing is not done. > > I still maintain that autotools is the way to go. It is, as far as I know, distro independent and complies with the desire to make the whole menagerie based on "source code visibility". The installer, apart from the nastiness checking previously posted, could use the existing code in the IDE to create an autotools package and then run the ".reconf;.configure;make;su(do) make install" circus to install it. Maybe I'm missing something, but why do all that? The IDE already has a package maker. Why not just let the user make their own application package and install from that? Gambas must be installed to run the application anyway, right? Perhaps an option to install the package after its creation could be added to the package maker. >> - In the future, the error message could be replaced by an automatic >> installation of binary packages depending on the distribution. I need >> help for that: for each distribution, I need to know how to install a >> binary package, and if the distribution follows the gambas binary >> package naming convention. > > As mentioned by Kevin, I would eschew binary installs. Too much danger. Not necessarily. People install binary packages from various "unofficial" repositories all the time, like the Daily PPA. I think the main issue with installing binary packages is: Is the repository trusted. That being said, I think that doing binary installs of applications published on the Farm just complicates things needlessly. But then there are components which I have not worked with. Can they also be made into packages via the IDE? Or are we talking about installing the necessary Gambas components from the distribution's repository? >> - If there are dependencies of other softwares, then a recursive search >> of all the dependencies is done, and the corresponding software must be >> installed first. > > We have found that too hard. Better a message "Can't install, you need the zyxxy component to be installed first". That may be what Beno?t was saying. >> - The source package is downloaded, and stored in something like >> '~/.local/gambas3/farm//'. > > Hmmm. Not sure. I have a feeling "~/Downloads" may be more friendly, or a configurable target. "~/Downloads" is not guaranteed to exist. So, if a hard-coded '~/.local/gambas3/farm//' is not acceptable, then a configurable target should be allowed. But, in my opinion, '~/.local/gambas3/farm//' makes more sense since this *is* a Gambas "thing", and "~/Downloads" can get cluttered just like "~/Desktop" does. Now, for those who may wish to use the Farm as a (pseudo-)marketplace. I wonder if adding the ability to password-protect an application/component listing, like "published" and "private", would be worth considering. It would definitely not be ideal, but might be workable. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Tue Nov 25 23:11:28 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Nov 2014 23:11:28 +0100 Subject: [Gambas-user] browse for samba shares In-Reply-To: References: Message-ID: <5474FE90.7060009@...1...> Le 24/11/2014 19:25, Federico Allegretti a ?crit : > hello. > > In my daily work i need to connect to various samba share from my gambas > applications. > > Modern linux distro can mount "on the fly" a samba share when the user > select from the "browse dialog" a network share resource. > > could this feature be implemented in gambas dialogs like the FILECHOOSER? > > i really need to pass UNC like smb://server/share/folder/file.extension ... > any plan in that direction? > > thanks > > Federico :D > Not at the moment. This is a big job, and none of these urls are standard. I suggest you use 'fuse' in the meantime. Regards, -- Beno?t Minisini From gambas at ...1... Tue Nov 25 23:25:19 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Nov 2014 23:25:19 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <5474B49E.7030003@...626...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> Message-ID: <547501CF.90303@...1...> Le 25/11/2014 17:55, T Lee Davidson a ?crit : > On 11/25/2014 05:20 AM, B Bruen wrote: >> On Mon, 24 Nov 2014 14:11:54 +0100 Beno?t Minisini >> wrote: >> >>> - Installing is not done. >> >> I still maintain that autotools is the way to go. It is, as far as >> I know, distro independent and complies with the desire to make the >> whole menagerie based on "source code visibility". The installer, >> apart from the nastiness checking previously posted, could use the >> existing code in the IDE to create an autotools package and then >> run the ".reconf;.configure;make;su(do) make install" circus to >> install it. > > Maybe I'm missing something, but why do all that? The IDE already has > a package maker. Why not just let the user make their own > application package and install from that? Gambas must be installed > to run the application anyway, right? > > Perhaps an option to install the package after its creation could be > added to the package maker. > Binary packages must be made for all distributions, and some distributions are not well supported, or not supported at all. The Gambas Farm allows to install any Gambas program in one click whatever your Linux system is. And you have to upload only one package. > >>> - In the future, the error message could be replaced by an >>> automatic installation of binary packages depending on the >>> distribution. I need help for that: for each distribution, I need >>> to know how to install a binary package, and if the distribution >>> follows the gambas binary package naming convention. >> >> As mentioned by Kevin, I would eschew binary installs. Too much >> danger. > > Not necessarily. People install binary packages from various > "unofficial" repositories all the time, like the Daily PPA. I think > the main issue with installing binary packages is: Is the repository > trusted. > > That being said, I think that doing binary installs of applications > published on the Farm just complicates things needlessly. But then > there are components which I have not worked with. Can they also be > made into packages via the IDE? > > Or are we talking about installing the necessary Gambas components > from the distribution's repository? The later. > > >>> - If there are dependencies of other softwares, then a recursive >>> search of all the dependencies is done, and the corresponding >>> software must be installed first. >> >> We have found that too hard. Better a message "Can't install, you >> need the zyxxy component to be installed first". > > That may be what Beno?t was saying. > > >>> - The source package is downloaded, and stored in something like >>> '~/.local/gambas3/farm//'. >> >> Hmmm. Not sure. I have a feeling "~/Downloads" may be more >> friendly, or a configurable target. > > "~/Downloads" is not guaranteed to exist. So, if a hard-coded > '~/.local/gambas3/farm//' is not acceptable, then a > configurable target should be allowed. But, in my opinion, > '~/.local/gambas3/farm//' makes more sense since this > *is* a Gambas "thing", and "~/Downloads" can get cluttered just like > "~/Desktop" does. > See my answer in Bruen's mail. > > Now, for those who may wish to use the Farm as a > (pseudo-)marketplace. I wonder if adding the ability to > password-protect an application/component listing, like "published" > and "private", would be worth considering. It would definitely not be > ideal, but might be workable. > Please elaborate. Regards, -- Beno?t Minisini From t.lee.davidson at ...626... Wed Nov 26 01:07:41 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 25 Nov 2014 19:07:41 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <547501CF.90303@...1...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> Message-ID: <547519CD.4020807@...626...> On 11/25/2014 05:25 PM, Beno?t Minisini wrote: > > Binary packages must be made for all distributions I would ask why must binary packages be made for all distributions (IMHO a huge undertaking), but you have answered that in the paragraph below. > The Gambas Farm allows to install any Gambas program in one click > whatever your Linux system is. And you have to upload only one package. That is definitely an awesome goal. But, I just have to wonder why is it necessary to go that far? If, as I thought, the Gambas Farm would be more of a source-code repository, compiling/packaging could be left up to the user, greatly simplifying things. However, if that particular decision has already been made, then my thoughts on it are moot. >> Now, for those who may wish to use the Farm as a >> (pseudo-)marketplace. I wonder if adding the ability to >> password-protect an application/component listing, like "published" >> and "private", would be worth considering. It would definitely not be >> ideal, but might be workable. >> > > Please elaborate. I don't know if I can elaborate much as it was just a conceptual idea. Wordpress allows pages/posts to be published as public or private. It is a similar concept but applied instead to application/component listings on the Farm. Conceptually, publishers could choose to password-protect their listing. It may be visible, with its description, in whatever directory or listing there is, or found through a search. But, to view the source code or to download/install the program would require a password that the user would need to get from the publisher. One of the reasons it is not ideal is that passwords can be easily shared. A publisher might, therefore, wish to periodically change the password for their listing. Again, not ideal, but maybe workable. For a true marketplace, specially coded (redirect) download links would likely be generated on-the-fly after payment processing. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From jussi.lahtinen at ...626... Wed Nov 26 01:42:16 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 26 Nov 2014 02:42:16 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <54722641.5060200@...1...> Message-ID: I did more testing with latest revision (6679). I made pure command-line version of the tester and I do not get the crash. However I get random failing of the test. Sometimes the string is not returned, instead null string. The project is attached. Test 239 is disabled, and test 240 reports always fail because the string gets mangled ("test\n" --> "init_child_tty: /dev/pts/13\ntest\n") when debugging is on. However, when you look the output files, you will see that without mangling only the other case would really fail. Adjusting the wait value (from 0.1 to 0.5) doesn't make any difference. Jussi On Mon, Nov 24, 2014 at 1:15 AM, Jussi Lahtinen wrote: > > 1) Can you try with revision #6671? It should not change anything, but >> then we will run exactly the same code. >> > > I did that and nothing seemed to change in regards of this problem, just > like expected. > > > > 2) Can you uncomment the line #64 in the >> '/trunk/main/gbx/gbx_c_process.c' source file before recompiling? That >> way you will have many debugging message that will allow to know what >> happens behind the curtain. >> > > I recompiled with the debugging on, but this changed the situation. > No more crash, but GambasTester gave error 239, which means the content of > sTest was not "test" as expected. > Instead the string contains "init_child_tty: /dev/pts/13\ntest\n", so I > temporarily commented out the return line. > Still, no more crashing. > I attached output of non-crashing run, if there is any help from it. > > I will investigate more later. > > > > 3) In the future, will you modify your project to be purely command-line >> (no dialog, no window, no GUI used at all)? Note that if you use a GUI >> component, you use its event loop, not the one provided by the >> interpreter. That may change the behaviour of bugs... >> > > Yes I can do that, but not sure if I have understood this right... > shouldn't there then be GambasTester for Qt4, GTK+ and for command line? > > > > Jussi > > -------------- next part -------------- mTest.DoTests.364: This Gambas version is somewhat tested for string errors. run_process 0xd4ab58: echo 'This Gambas version is somewhat tested for string errors.' | md5sum init_child() fork: pid = 25520 watch: out = 3 err = 5 run_process: check child state immediately run_process: child is OK Waiting for 25520 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 >> callback_child Process 25520 has returned 0 stop_process: 0xd4ab58 stop_process_after: 0xd4ab58 callback_error: 5 0xd4ab58 exit_process: 0xd4ab58 unwatch & close: 3 unwatch & close: 5 Raising Kill event for 0xd4ab58: parent = 0xd3df88 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0xd4ab58 exit_process: 0xd4ab58 run_process 0xd4ab58: echo test run_process: slave = /dev/pts/12 init_child() fork: pid = 25523 watch: out = 3 err = -1 run_process: check child state immediately run_process: child is OK callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 callback_write: 3 0xd4ab58 unwatch & close: 3 >> callback_child Process 25523 has returned 0 stop_process: 0xd4ab58 stop_process_after: 0xd4ab58 Raising Kill event for 0xd4ab58: parent = 0xd3df88 can raise = 0 exit_child() << callback_child mTest.DoTests.1544: init_child_tty: /dev/pts/12 Process_free 0xd4ab58 exit_process: 0xd4ab58 ERROR: 240 -------------- next part -------------- mTest.DoTests.364: This Gambas version is somewhat tested for string errors. run_process 0x1060b58: echo 'This Gambas version is somewhat tested for string errors.' | md5sum init_child() fork: pid = 25532 watch: out = 3 err = 5 run_process: check child state immediately run_process: child is OK Waiting for 25532 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 >> callback_child Process 25532 has returned 0 stop_process: 0x1060b58 stop_process_after: 0x1060b58 callback_error: 5 0x1060b58 exit_process: 0x1060b58 unwatch & close: 3 unwatch & close: 5 Raising Kill event for 0x1060b58: parent = 0x1053f88 can raise = 0 exit_child() << callback_child Waiting for: got it ! Process_free 0x1060b58 exit_process: 0x1060b58 run_process 0x1060b58: echo test run_process: slave = /dev/pts/12 init_child() fork: pid = 25535 watch: out = 3 err = -1 run_process: check child state immediately run_process: child is OK callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 callback_write: 3 0x1060b58 >> callback_child Process 25535 has returned 0 stop_process: 0x1060b58 stop_process_after: 0x1060b58 exit_process: 0x1060b58 unwatch & close: 3 Raising Kill event for 0x1060b58: parent = 0x1053f88 can raise = 0 exit_child() << callback_child mTest.DoTests.1544: init_child_tty: /dev/pts/12 test Process_free 0x1060b58 exit_process: 0x1060b58 ERROR: 240 -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.28.tar.gz Type: application/x-gzip Size: 16790 bytes Desc: not available URL: From kevinfishburne at ...1887... Wed Nov 26 04:38:57 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 25 Nov 2014 22:38:57 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <547519CD.4020807@...626...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> Message-ID: <54754B51.1040605@...1887...> On 11/25/2014 07:07 PM, T Lee Davidson wrote: > On 11/25/2014 05:25 PM, Beno?t Minisini wrote: >>> Now, for those who may wish to use the Farm as a >>> (pseudo-)marketplace. I wonder if adding the ability to >>> password-protect an application/component listing, like "published" >>> and "private", would be worth considering. It would definitely not be >>> ideal, but might be workable. >>> >> Please elaborate. > I don't know if I can elaborate much as it was just a conceptual idea. > Wordpress allows pages/posts to be published as public or private. It is > a similar concept but applied instead to application/component listings > on the Farm. > > Conceptually, publishers could choose to password-protect their listing. > It may be visible, with its description, in whatever directory or > listing there is, or found through a search. But, to view the source > code or to download/install the program would require a password that > the user would need to get from the publisher. > > One of the reasons it is not ideal is that passwords can be easily > shared. A publisher might, therefore, wish to periodically change the > password for their listing. > > Again, not ideal, but maybe workable. For a true marketplace, specially > coded (redirect) download links would likely be generated on-the-fly > after payment processing. > Since the farm (as it stands currently) is only for free software (as in GPL), users will be free to circumvent payment by downloading the application from another source, such as someone who paid and then began hosting the source code and/or binaries themselves. This is perfectly legal, as the GPL states users may modify or distribute the application as they see fit as long as they provide access to the source code. So payment will effectively be for convenience, application support or kindness rather than the only way they can access the application. I'm thinking that creating a payment system for GAMBAS would be an insane amount of work and probably isn't a good idea. A much easier way would be to support existing payment solutions such as PayPal. Here's some information on their "digital goods" payment solutions: https://www.paypal.com/webapps/mpp/digital-goods https://cms.paypal.com/cms_content/US/en_US/files/merchant/paypal_digital_goods-express_checkout_getting_started.pdf "Express Checkout" supports NVP and SOAP while "Adaptive Payments" (not sure what the difference is) support those and JSON. Adaptive Payments also supports multi-party payments, meaning Beno?t can have his 10%. =) When submitting an application to the farm it would need to give you the option to enter a PayPal merchant ID and a sale price. When someone chooses to download that project, the farm would use PayPal's mechanism in conjunction with that information. When the purchase is successful, I'm guessing PayPal would communicate back the payment status, after which the Farm would download/install the application. I think all of this is web-based, perhaps someone else has more experience with this? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From t.lee.davidson at ...626... Wed Nov 26 06:02:28 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 26 Nov 2014 00:02:28 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <54754B51.1040605@...1887...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> Message-ID: <54755EE4.5070403@...626...> On 11/25/2014 10:38 PM, Kevin Fishburne wrote: > Since the farm (as it stands currently) is only for free software (as in > GPL), users will be free to circumvent payment by downloading the > application from another source, such as someone who paid and then began > hosting the source code and/or binaries themselves. This is perfectly > legal, as the GPL states users may modify or distribute the application > as they see fit as long as they provide access to the source code. So > payment will effectively be for convenience, application support or > kindness rather than the only way they can access the application. > > I'm thinking that creating a payment system for GAMBAS would be an > insane amount of work and probably isn't a good idea. A much easier way > would be to support existing payment solutions such as PayPal. Here's > some information on their "digital goods" payment solutions: Beno?t stated that the Farm was not intended to be a marketplace. Hence, my suggestion that it could be used as a pseudo-marketplace by allowing publishers to make their listing private. The payment and/or transaction details, access credential delivery, and level of on-going support (free/paid) would be the responsibility the individual publisher. I was not suggesting creating a payment system for GAMBAS, nor complicating or burdening the Farm platform with transactional needs. All I was proposing was simply allowing publishers to make their listing private if they wished. The rest would be up to them. Any publishers successfully using the Farm commercially could graciously 'buy Beno?t a beer', or three. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From kevinfishburne at ...1887... Wed Nov 26 06:24:55 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 26 Nov 2014 00:24:55 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <54755EE4.5070403@...626...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> Message-ID: <54756427.7010201@...1887...> On 11/26/2014 12:02 AM, T Lee Davidson wrote: > On 11/25/2014 10:38 PM, Kevin Fishburne wrote: >> Since the farm (as it stands currently) is only for free software (as in >> GPL), users will be free to circumvent payment by downloading the >> application from another source, such as someone who paid and then began >> hosting the source code and/or binaries themselves. This is perfectly >> legal, as the GPL states users may modify or distribute the application >> as they see fit as long as they provide access to the source code. So >> payment will effectively be for convenience, application support or >> kindness rather than the only way they can access the application. >> >> I'm thinking that creating a payment system for GAMBAS would be an >> insane amount of work and probably isn't a good idea. A much easier way >> would be to support existing payment solutions such as PayPal. Here's >> some information on their "digital goods" payment solutions: > Beno?t stated that the Farm was not intended to be a marketplace. While that is true, it may not always be the case. Things change according to the wants and needs of users and developers. At this time there may be little interest in that particular functionality among developers, but it seems an obvious extension to what is essentially a digital distribution service, so I think it's worth at least discussing. > Hence, my suggestion that it could be used as a pseudo-marketplace by > allowing publishers to make their listing private. The payment and/or > transaction details, access credential delivery, and level of on-going > support (free/paid) would be the responsibility the individual publisher. That's an interesting suggestion, but I'm not sure if it can be made to fit in with the plan to have the farm compile and install the application on the end user's system. If that's the farm's primary objective then it would be too late for a password-protective archive as the program would already be installed. > I was not suggesting creating a payment system for GAMBAS, nor > complicating or burdening the Farm platform with transactional needs. I am suggesting 3rd party payment processing integration. :) Didn't mean to imply that you were suggesting it. > Any publishers successfully using the Farm commercially could graciously > 'buy Beno?t a beer', or three. True, I've even bought him a few beers myself, but I wouldn't build a business on that premise. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From mike.crean at ...2897... Wed Nov 26 07:57:52 2014 From: mike.crean at ...2897... (Mike Crean) Date: Wed, 26 Nov 2014 06:57:52 +0000 (UTC) Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <54756427.7010201@...1887...> References: <54756427.7010201@...1887...> Message-ID: <295183437.586949.1416985072600.JavaMail.yahoo@...3411...> I for one would be in favor of a?"published" and "private" access to components available on the farm. RegardsMike On Wednesday, 26 November 2014, 13:25, Kevin Fishburne wrote: On 11/26/2014 12:02 AM, T Lee Davidson wrote: > On 11/25/2014 10:38 PM, Kevin Fishburne wrote: >> Since the farm (as it stands currently) is only for free software (as in >> GPL), users will be free to circumvent payment by downloading the >> application from another source, such as someone who paid and then began >> hosting the source code and/or binaries themselves. This is perfectly >> legal, as the GPL states users may modify or distribute the application >> as they see fit as long as they provide access to the source code. So >> payment will effectively be for convenience, application support or >> kindness rather than the only way they can access the application. >> >> I'm thinking that creating a payment system for GAMBAS would be an >> insane amount of work and probably isn't a good idea. A much easier way >> would be to support existing payment solutions such as PayPal. Here's >> some information on their "digital goods" payment solutions: > Beno?t stated that the Farm was not intended to be a marketplace. While that is true, it may not always be the case. Things change according to the wants and needs of users and developers. At this time there may be little interest in that particular functionality among developers, but it seems an obvious extension to what is essentially a digital distribution service, so I think it's worth at least discussing. > Hence, my suggestion that it could be used as a pseudo-marketplace by > allowing publishers to make their listing private. The payment and/or > transaction details, access credential delivery, and level of on-going > support (free/paid) would be the responsibility the individual publisher. That's an interesting suggestion, but I'm not sure if it can be made to fit in with the plan to have the farm compile and install the application on the end user's system. If that's the farm's primary objective then it would be too late for a password-protective archive as the program would already be installed. > I was not suggesting creating a payment system for GAMBAS, nor > complicating or burdening the Farm platform with transactional needs. I am suggesting 3rd party payment processing integration. :) Didn't mean to imply that you were suggesting it. > Any publishers successfully using the Farm commercially could graciously > 'buy Beno?t a beer', or three. True, I've even bought him a few beers myself, but I wouldn't build a business on that premise. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Wed Nov 26 12:05:29 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 26 Nov 2014 06:05:29 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <54756427.7010201@...1887...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> Message-ID: <5475B3F9.3050109@...626...> On 11/26/2014 12:24 AM, Kevin Fishburne wrote: > On 11/26/2014 12:02 AM, T Lee Davidson wrote: > >> Hence, my suggestion that it could be used as a pseudo-marketplace by >> allowing publishers to make their listing private. The payment and/or >> transaction details, access credential delivery, and level of on-going >> support (free/paid) would be the responsibility the individual publisher. > > > That's an interesting suggestion, but I'm not sure if it can be made to > fit in with the plan to have the farm compile and install the > application on the end user's system. If that's the farm's primary > objective then it would be too late for a password-protective archive as > the program would already be installed. I don't see why it would be too late. The password-protection would naturally come into play prior to the download/compile/install access being granted. >> Any publishers successfully using the Farm commercially could graciously >> 'buy Beno?t a beer', or three. > > > True, I've even bought him a few beers myself, but I wouldn't build a > business on that premise. Oh, I didn't realize Beno?t was trying to build a business from the Farm. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Wed Nov 26 12:22:26 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 26 Nov 2014 12:22:26 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <5475B3F9.3050109@...626...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> Message-ID: <5475B7F2.7000101@...1...> Le 26/11/2014 12:05, T Lee Davidson a ?crit : > > Oh, I didn't realize Beno?t was trying to build a business from the Farm. > No, I don't. Did I say that? -- Beno?t Minisini From jusabejusabe at ...67... Wed Nov 26 14:02:55 2014 From: jusabejusabe at ...67... (julio sanchez) Date: Wed, 26 Nov 2014 14:02:55 +0100 Subject: [Gambas-user] from: julio sanchez Message-ID: Hi http://www.creamslide.com/hes.php?lead=bv6pzc0fmf70vtc jusabejusabe at ...67... Sent from my iPhone From lewis at ...3412... Wed Nov 26 13:45:06 2014 From: lewis at ...3412... (Lewis Balentine) Date: Wed, 26 Nov 2014 06:45:06 -0600 Subject: [Gambas-user] Problem with EXEC and GB.Desktop Message-ID: <5475CB52.5010803@...3412...> "As a last resort, and if you are almost sure that it is an awful bug, you can _send me an e-mail_, but ?" /the challenge is finding the email address. / //For anyone interested I have full documentation in the form of a 120 KB PDF file but I need an email address to send it to. // ///----------------------------------------------------------------------------------------------------------/ / / // /' Gambas module file ' uses: ' gb ' gb.desktop ' gb.desktop.x11(automatically selected by gb.desktop) ' gb.image(automatically selected by gb.desktop) ' gb.qt4 (alternates are: gb.gtk, gb.gtk3, gb.gui) Public Sub Main() Dim S0, S1, S2 As String Dim ww As Integer[] Dim n, WinId As Integer S0 = "/usr/bin/mate-terminal" S1 = "--title=" & Chr(34) & "Exec Terminal" & Chr(34) S2 = "DISPLAY=:0.0" Exec [S0, S1] With [S2] ' at list 0.25 second delay required between exec and Desktop.FindWindow ' may vary according to hardware Wait 2 ww = Desktop.FindWindow("Shell Terminal") n = ww.Count - 1 'WinId is the same as xwininfo id WinId = ww[n] WinId = ww[0] Desktop.ActiveWindow = WinId Desktop.SendKeys("ls -l \n") Quit End /----------------------------------------------------------------------------------------------------------/ / /With ALL component options ww.Count returns 0 although ww[0] holds a valid ID. With ALL component options *ww[0] *generates *?out of bounds? error*.. With gb.gui.opengl (select GTK+3) the program crashes at the first line of code. / //Lewis Balentine lewis at ...3412... // / / From gambas.fr at ...626... Wed Nov 26 15:47:53 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 26 Nov 2014 15:47:53 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <5475B7F2.7000101@...1...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> Message-ID: 2014-11-26 12:22 GMT+01:00 Beno?t Minisini : > Le 26/11/2014 12:05, T Lee Davidson a ?crit : >> >> Oh, I didn't realize Beno?t was trying to build a business from the Farm. >> > > No, I don't. Did I say that? > XD...... Not Benoit, ... I would keep the money for you, Benoit. I understand quite users who want to protect their work and of course earn some money. This is not my case, I am a pure geek who also work full time. I like the idea of a password, one could also imagine a password dynamic key. That is to say a calculated key and unique provided by the farm at the time of payment. This key would last permanent validity or limited. In the case of a pseudo binary call the source would be downloaded in the background and compiled on the client machine to a temporary folder before being deleted. Of course this is only a very superficial protection code. -- Fabien Bodard From gambas.fr at ...626... Wed Nov 26 15:58:01 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 26 Nov 2014 15:58:01 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> Message-ID: hum an Hurry need... Can we have a way to change the password ... or a way to retreive it ... I forget mine. :-/ From gambas.fr at ...626... Wed Nov 26 16:00:48 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 26 Nov 2014 16:00:48 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> Message-ID: 2014-11-26 15:58 GMT+01:00 Fabien Bodard : > hum an Hurry need... Can we have a way to change the password ... or a > way to retreive it ... I forget mine. :-/ And Benoit : The click on the cross must abort the connection... actually if there is text in the textboxes it is not the case. (FFarmConfig) -- Fabien Bodard From lewis at ...3412... Wed Nov 26 17:29:09 2014 From: lewis at ...3412... (Lewis Balentine) Date: Wed, 26 Nov 2014 10:29:09 -0600 Subject: [Gambas-user] Feature Request: Val Function In-Reply-To: <5475CB52.5010803@...3412...> References: <5475CB52.5010803@...3412...> Message-ID: <5475FFD5.4050807@...3412...> There does not seem to be an inverse function for HEX$. Feature Request: Add ability to VAL function to return the value of a HEX string. Example: Print Val("0xc25688") ' formatted as used internally by Gambas 12736136 Print Val("0Hc25688") ' formatted as used in Gambas Documentation 12736136 Thank you, lewis at ...3412... From ron at ...1740... Wed Nov 26 18:02:38 2014 From: ron at ...1740... (Ron) Date: Wed, 26 Nov 2014 18:02:38 +0100 Subject: [Gambas-user] Feature Request: Val Function In-Reply-To: <5475FFD5.4050807@...3412...> References: <5475CB52.5010803@...3412...> <5475FFD5.4050807@...3412...> Message-ID: There is: Print Val("&H" & "c25688") 12736136 2014-11-26 17:29 GMT+01:00 Lewis Balentine : > There does not seem to be an inverse function for HEX$. > > Feature Request: > Add ability to VAL function to return the value of a HEX string. > > > Example: > Print Val("0xc25688") ' formatted as used internally by Gambas > 12736136 > > Print Val("0Hc25688") ' formatted as used in Gambas Documentation > 12736136 > > Thank you, > > lewis at ...3412... > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From t.lee.davidson at ...626... Wed Nov 26 18:55:01 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 26 Nov 2014 12:55:01 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <5475B7F2.7000101@...1...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> Message-ID: <547613F5.5050508@...626...> On 11/26/2014 06:22 AM, Beno?t Minisini wrote: > Le 26/11/2014 12:05, T Lee Davidson a ?crit : >> >> Oh, I didn't realize Beno?t was trying to build a business from the Farm. >> > > No, I don't. Did I say that? > No, Beno?t, to my knowledge you never said that. My statement was only in response to: >> Any publishers successfully using the Farm commercially could graciously >> 'buy Beno?t a beer', or three. > > > True, I've even bought him a few beers myself, but I wouldn't build a > business on that premise. For which the only logical, even if incorrect, conclusion would be that you would be the one trying to build a business on the 'buy me a beer' premise. It was implied. But again, to be clear, to my knowledge you never said or even hinted at that. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From t.lee.davidson at ...626... Wed Nov 26 19:12:57 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 26 Nov 2014 13:12:57 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> Message-ID: <54761829.2020108@...626...> On 11/26/2014 09:47 AM, Fabien Bodard wrote: > I like the idea of a password, one could also imagine a password > dynamic key. That is to say a calculated key and unique provided by > the farm at the time of payment. Yes, Fabien, that would be very handy for a marketplace. But, my idea of protecting private listings with a password was not intended to complicate the Farm platform, nor to try turning it into a marketplace. If the Farm provided any access credentials at the time of payment, then it would have to process payments -- and would be a marketplace. The idea was primarily intended to respect Beno?t's declaration that the Farm is not intended to be a marketplace while giving publishers, who wished to do so, the ability to use it *somewhat* in that manner. It should be quite simple in concept. 1. Publisher sets listing to Private and sets a password. 2. User wishing to have publisher's software follows publisher's URL. 3. Publisher handles all the rest through to providing the password. Of course, if Beno?t wants to make it more complicated than that, that's up to him. :-) -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...2524... Wed Nov 26 19:48:22 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 26 Nov 2014 18:48:22 +0000 Subject: [Gambas-user] Issue 586 in gambas: gb.net.smtp with SSL hangs gambas if unknown host or not listening port Message-ID: <0-6813199134517018827-11080923561523040382-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.6.2 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 586 by uAle... at ...626...: gb.net.smtp with SSL hangs gambas if unknown host or not listening port https://code.google.com/p/gambas/issues/detail?id=586 1) Describe the problem. The 3.6.2 has the new rewritten gb.net.smtp, if the host and port are reachable it works good. Only if SSL is used and the host is unknown (e.g. 10.10.10.10) or a not listening port on an existing ip/host gambas3 hangs and goes to 99% CPU usage. At that moment you will see the openssl binary as follows with ps -ef: testuser 123142 123141 0 19:46 pts/11 00:00:00 [openssl] 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-39-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=980M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 4) Provide a little project that reproduces the bug or the crash. Attached 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Run the example project Attachments: TestSMTP.tar.gz 4.5 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From t.lee.davidson at ...626... Wed Nov 26 19:55:48 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 26 Nov 2014 13:55:48 -0500 Subject: [Gambas-user] Problem with EXEC and GB.Desktop In-Reply-To: <5475CB52.5010803@...3412...> References: <5475CB52.5010803@...3412...> Message-ID: <54762234.4010207@...626...> On 11/26/2014 07:45 AM, Lewis Balentine wrote: > /' Gambas module file > ' uses: > ' gb > ' gb.desktop > ' gb.desktop.x11(automatically selected by gb.desktop) > ' gb.image(automatically selected by gb.desktop) > ' gb.qt4 (alternates are: gb.gtk, gb.gtk3, gb.gui) > > Public Sub Main() > Dim S0, S1, S2 As String > Dim ww As Integer[] > Dim n, WinId As Integer > > S0 = "/usr/bin/mate-terminal" > S1 = "--title=" & Chr(34) & "Exec Terminal" & Chr(34) > S2 = "DISPLAY=:0.0" > Exec [S0, S1] With [S2] > ' at list 0.25 second delay required between exec and Desktop.FindWindow > ' may vary according to hardware > Wait 2 > ww = Desktop.FindWindow("Shell Terminal") > n = ww.Count - 1 > 'WinId is the same as xwininfo id > WinId = ww[n] > WinId = ww[0] > Desktop.ActiveWindow = WinId > Desktop.SendKeys("ls -l \n") > Quit > End > /----------------------------------------------------------------------------------------------------------/ > / > > /With ALL component options ww.Count returns 0 although ww[0] holds a > valid ID. > With ALL component options *ww[0] *generates *?out of bounds? error*.. > With gb.gui.opengl (select GTK+3) the program crashes at the first line > of code. I think maybe you are not waiting long enough. I have to "Wait 5" (on my admittedly slow system) to keep from getting the "out of bounds error". When I do that, all works just fine. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From jussi.lahtinen at ...626... Wed Nov 26 20:04:23 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 26 Nov 2014 21:04:23 +0200 Subject: [Gambas-user] Problem with EXEC and GB.Desktop In-Reply-To: <54762234.4010207@...626...> References: <5475CB52.5010803@...3412...> <54762234.4010207@...626...> Message-ID: Why not to loop until the task is completed? ff = Timer Do ww = Desktop.FindWindow("Shell Terminal") Wait 0.2 If (Timer - ff) > 10 Then HandleTimeOutError() Return Endif Loop Until ww.Count > 0 Jussi On Wed, Nov 26, 2014 at 8:55 PM, T Lee Davidson wrote: > On 11/26/2014 07:45 AM, Lewis Balentine wrote: > > /' Gambas module file > > ' uses: > > ' gb > > ' gb.desktop > > ' gb.desktop.x11(automatically selected by gb.desktop) > > ' gb.image(automatically selected by gb.desktop) > > ' gb.qt4 (alternates are: gb.gtk, gb.gtk3, gb.gui) > > > > Public Sub Main() > > Dim S0, S1, S2 As String > > Dim ww As Integer[] > > Dim n, WinId As Integer > > > > S0 = "/usr/bin/mate-terminal" > > S1 = "--title=" & Chr(34) & "Exec Terminal" & Chr(34) > > S2 = "DISPLAY=:0.0" > > Exec [S0, S1] With [S2] > > ' at list 0.25 second delay required between exec and > Desktop.FindWindow > > ' may vary according to hardware > > Wait 2 > > ww = Desktop.FindWindow("Shell Terminal") > > n = ww.Count - 1 > > 'WinId is the same as xwininfo id > > WinId = ww[n] > > WinId = ww[0] > > Desktop.ActiveWindow = WinId > > Desktop.SendKeys("ls -l \n") > > Quit > > End > > > /----------------------------------------------------------------------------------------------------------/ > > / > > > > /With ALL component options ww.Count returns 0 although ww[0] holds a > > valid ID. > > With ALL component options *ww[0] *generates *?out of bounds? error*.. > > With gb.gui.opengl (select GTK+3) the program crashes at the first line > > of code. > > I think maybe you are not waiting long enough. I have to "Wait 5" (on my > admittedly slow system) to keep from getting the "out of bounds error". > When I do that, all works just fine. > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Nov 26 22:05:26 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 26 Nov 2014 22:05:26 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <54761829.2020108@...626...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> <54761829.2020108@...626...> Message-ID: 2014-11-26 19:12 GMT+01:00 T Lee Davidson : > On 11/26/2014 09:47 AM, Fabien Bodard wrote: >> I like the idea of a password, one could also imagine a password >> dynamic key. That is to say a calculated key and unique provided by >> the farm at the time of payment. > > Yes, Fabien, that would be very handy for a marketplace. > > But, my idea of protecting private listings with a password was not > intended to complicate the Farm platform, nor to try turning it into a > marketplace. If the Farm provided any access credentials at the time of > payment, then it would have to process payments -- and would be a > marketplace. > > The idea was primarily intended to respect Beno?t's declaration that the > Farm is not intended to be a marketplace while giving publishers, who > wished to do so, the ability to use it *somewhat* in that manner. > > It should be quite simple in concept. > 1. Publisher sets listing to Private and sets a password. > 2. User wishing to have publisher's software follows publisher's URL. > 3. Publisher handles all the rest through to providing the password. > > Of course, if Beno?t wants to make it more complicated than that, that's > up to him. :-) I don't want to it to be so complicated... it was just an idea. As the farm can be not only on the wiki place but on private servers too. It was an idea for extends. > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From kevinfishburne at ...1887... Wed Nov 26 22:32:14 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 26 Nov 2014 16:32:14 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <5475B7F2.7000101@...1...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> Message-ID: <547646DE.1050303@...1887...> On 11/26/2014 06:22 AM, Beno?t Minisini wrote: > Le 26/11/2014 12:05, T Lee Davidson a ?crit : >> Oh, I didn't realize Beno?t was trying to build a business from the Farm. >> > No, I don't. Did I say that? > LOL. T Lee keeps assigning my desires as other people's desires. The opinions I express here are my own and generally reflect my interests. With any hypothetical situation I describe, feel free to assume it pertains to me and not Beno?t or anyone else. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Wed Nov 26 22:35:34 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 26 Nov 2014 16:35:34 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <547613F5.5050508@...626...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> <547613F5.5050508@...626...> Message-ID: <547647A6.2070801@...1887...> On 11/26/2014 12:55 PM, T Lee Davidson wrote: > > No, Beno?t, to my knowledge you never said that. > > My statement was only in response to: > >>> Any publishers successfully using the Farm commercially could graciously >>> 'buy Beno?t a beer', or three. >> >> True, I've even bought him a few beers myself, but I wouldn't build a >> business on that premise. > For which the only logical, even if incorrect, conclusion would be that > you would be the one trying to build a business on the 'buy me a beer' > premise. It was implied. > > But again, to be clear, to my knowledge you never said or even hinted at > that. It's my fault. Confusion and chaos follow me like a swarm of hornets. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From bbruen at ...2308... Wed Nov 26 23:18:30 2014 From: bbruen at ...2308... (B Bruen) Date: Thu, 27 Nov 2014 08:48:30 +1030 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> <54761829.2020108@...626...> Message-ID: <20141127084830.7b5043073f32e2ac613f5905@...2308...> On Wed, 26 Nov 2014 22:05:26 +0100 Fabien Bodard wrote: > 2014-11-26 19:12 GMT+01:00 T Lee Davidson : > > On 11/26/2014 09:47 AM, Fabien Bodard wrote: > >> I like the idea of a password, one could also imagine a password > >> dynamic key. That is to say a calculated key and unique provided by > >> the farm at the time of payment. > > > > Yes, Fabien, that would be very handy for a marketplace. > > > > But, my idea of protecting private listings with a password was not > > intended to complicate the Farm platform, nor to try turning it into a > > marketplace. If the Farm provided any access credentials at the time of > > payment, then it would have to process payments -- and would be a > > marketplace. > > > > The idea was primarily intended to respect Beno?t's declaration that the > > Farm is not intended to be a marketplace while giving publishers, who > > wished to do so, the ability to use it *somewhat* in that manner. > > > > It should be quite simple in concept. > > 1. Publisher sets listing to Private and sets a password. > > 2. User wishing to have publisher's software follows publisher's URL. > > 3. Publisher handles all the rest through to providing the password. > > > > Of course, if Beno?t wants to make it more complicated than that, that's > > up to him. :-) > > I don't want to it to be so complicated... it was just an idea. As the > farm can be not only on the wiki place but on private servers too. > It was an idea for extends. > Which is certainly the way we intend to use it. One thought, if the download part was managed using ftp rather than http then the "private" downloading could possibly be handled via the ftp server security features without much internal effort? I believe, but haven't tried it, that the ftpClient has the means to pass the necessary credentials on a Get. (Note: I mean the actual retrieval part only, not the whole farm concept.) regards Bruce -- B Bruen From lewis at ...3412... Thu Nov 27 00:24:38 2014 From: lewis at ...3412... (Lewis Balentine) Date: Wed, 26 Nov 2014 17:24:38 -0600 Subject: [Gambas-user] Problem with EXEC and GB.Desktop In-Reply-To: References: Message-ID: <54766136.8060509@...3412...> Oh, I waited long enough. Here is the work around ... ----------------- WW = Desktop.FindWindow(WindowTitle) ' WW[?] ALWAYS returns an 'out of bounds' error regardless of what value "?" is. ' However WW does hold a valid Window ID WorkStr = Str$(WW) ' this gives us a string of the form "(Integer[] 0xc25688)" ' now we need to extract HEX digits and convert them to an integer p = InStr(WorkStr, "0x") WorkStr = Mid(WorkStr, InStr(WorkStr, "0x") + 2) WorkStr = Left(WorkStr, Len(WorkStr) - 1) n = Val("&H" & WorkStr) -------------------------------- Regards, Lewis P.S. "Artificial Intelligence is no match for natural stupidity." I like that :>) Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net ------------------------------ Message: 3 Date: Wed, 26 Nov 2014 13:55:48 -0500 From: T Lee Davidson Subject: Re: [Gambas-user] Problem with EXEC and GB.Desktop To: gambas-user at lists.sourceforge.net Message-ID: <54762234.4010207 at ...626...> Content-Type: text/plain; charset=utf-8; format=flowed On 11/26/2014 07:45 AM, Lewis Balentine wrote: > /' Gambas module file > ' uses: > ' gb > ' gb.desktop > ' gb.desktop.x11(automatically selected by gb.desktop) > ' gb.image(automatically selected by gb.desktop) > ' gb.qt4 (alternates are: gb.gtk, gb.gtk3, gb.gui) > > Public Sub Main() > Dim S0, S1, S2 As String > Dim ww As Integer[] > Dim n, WinId As Integer > > S0 = "/usr/bin/mate-terminal" > S1 = "--title=" & Chr(34) & "Exec Terminal" & Chr(34) > S2 = "DISPLAY=:0.0" > Exec [S0, S1] With [S2] > ' at list 0.25 second delay required between exec and Desktop.FindWindow > ' may vary according to hardware > Wait 2 > ww = Desktop.FindWindow("Shell Terminal") > n = ww.Count - 1 > 'WinId is the same as xwininfo id > WinId = ww[n] > WinId = ww[0] > Desktop.ActiveWindow = WinId > Desktop.SendKeys("ls -l \n") > Quit > End > /----------------------------------------------------------------------------------------------------------/ > / > > /With ALL component options ww.Count returns 0 although ww[0] holds a > valid ID. > With ALL component options *ww[0] *generates *?out of bounds? error*.. > With gb.gui.opengl (select GTK+3) the program crashes at the first line > of code. I think maybe you are not waiting long enough. I have to "Wait 5" (on my admittedly slow system) to keep from getting the "out of bounds error". When I do that, all works just fine. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From t.lee.davidson at ...626... Thu Nov 27 00:32:00 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 26 Nov 2014 18:32:00 -0500 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> <54761829.2020108@...626...> Message-ID: <547662F0.2060200@...626...> On 11/26/2014 04:05 PM, Fabien Bodard wrote: > I don't want to it to be so complicated... it was just an idea. As the > farm can be not only on the wiki place but on private servers too. > It was an idea for extends. Okay, Fabien. I understand; and thank you. I just wanted to be clear on the fact that my suggestion was in no way intended to turn the Farm into a marketplace, nor to make development unduly more complicated than reasonable. Perhaps extensions could ultimately be "plugged in". -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Thu Nov 27 00:43:02 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Nov 2014 00:43:02 +0100 Subject: [Gambas-user] Gambas Software Farm in revision #6676 In-Reply-To: <547662F0.2060200@...626...> References: <54732E9A.5020705@...1...> <20141125205010.bdb924940103ddc9b38fd2d9@...2308...> <5474B49E.7030003@...626...> <547501CF.90303@...1...> <547519CD.4020807@...626...> <54754B51.1040605@...1887...> <54755EE4.5070403@...626...> <54756427.7010201@...1887...> <5475B3F9.3050109@...626...> <5475B7F2.7000101@...1...> <54761829.2020108@...626...> <547662F0.2060200@...626...> Message-ID: <54766586.2060007@...1...> Le 27/11/2014 00:32, T Lee Davidson a ?crit : > On 11/26/2014 04:05 PM, Fabien Bodard wrote: >> I don't want to it to be so complicated... it was just an idea. As the >> farm can be not only on the wiki place but on private servers too. >> It was an idea for extends. > > Okay, Fabien. I understand; and thank you. > > I just wanted to be clear on the fact that my suggestion was in no way > intended to turn the Farm into a marketplace, nor to make development > unduly more complicated than reasonable. > > Perhaps extensions could ultimately be "plugged in". > > No problem : a suggestion changes nothing. Writing code does. And it's free software, so anybody can take the code and transform the Gambas farm into a market place. :-) -- Beno?t Minisini From jussi.lahtinen at ...626... Thu Nov 27 01:01:15 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Nov 2014 02:01:15 +0200 Subject: [Gambas-user] Problem with EXEC and GB.Desktop In-Reply-To: <54766136.8060509@...3412...> References: <54766136.8060509@...3412...> Message-ID: Str(ww) should return memory address of the object ww, not window ID! Jussi On Thu, Nov 27, 2014 at 1:24 AM, Lewis Balentine wrote: > Oh, I waited long enough. Here is the work around ... > ----------------- > WW = Desktop.FindWindow(WindowTitle) > ' WW[?] ALWAYS returns an 'out of bounds' error regardless of what > value "?" is. > ' However WW does hold a valid Window ID > WorkStr = Str$(WW) > ' this gives us a string of the form "(Integer[] 0xc25688)" > ' now we need to extract HEX digits and convert them to an integer > p = InStr(WorkStr, "0x") > WorkStr = Mid(WorkStr, InStr(WorkStr, "0x") + 2) > WorkStr = Left(WorkStr, Len(WorkStr) - 1) > n = Val("&H" & WorkStr) > -------------------------------- > > Regards, > > Lewis > > P.S. > > "Artificial Intelligence is no match for natural stupidity." > > I like that :>) > > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > ------------------------------ > > Message: 3 > Date: Wed, 26 Nov 2014 13:55:48 -0500 > From: T Lee Davidson > Subject: Re: [Gambas-user] Problem with EXEC and GB.Desktop > To: gambas-user at lists.sourceforge.net > Message-ID: <54762234.4010207 at ...626...> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 11/26/2014 07:45 AM, Lewis Balentine wrote: > > /' Gambas module file > > ' uses: > > ' gb > > ' gb.desktop > > ' gb.desktop.x11(automatically selected by gb.desktop) > > ' gb.image(automatically selected by gb.desktop) > > ' gb.qt4 (alternates are: gb.gtk, gb.gtk3, gb.gui) > > > > Public Sub Main() > > Dim S0, S1, S2 As String > > Dim ww As Integer[] > > Dim n, WinId As Integer > > > > S0 = "/usr/bin/mate-terminal" > > S1 = "--title=" & Chr(34) & "Exec Terminal" & Chr(34) > > S2 = "DISPLAY=:0.0" > > Exec [S0, S1] With [S2] > > ' at list 0.25 second delay required between exec and > Desktop.FindWindow > > ' may vary according to hardware > > Wait 2 > > ww = Desktop.FindWindow("Shell Terminal") > > n = ww.Count - 1 > > 'WinId is the same as xwininfo id > > WinId = ww[n] > > WinId = ww[0] > > Desktop.ActiveWindow = WinId > > Desktop.SendKeys("ls -l \n") > > Quit > > End > > > /----------------------------------------------------------------------------------------------------------/ > > / > > > > /With ALL component options ww.Count returns 0 although ww[0] holds a > > valid ID. > > With ALL component options *ww[0] *generates *?out of bounds? error*.. > > With gb.gui.opengl (select GTK+3) the program crashes at the first line > > of code. > > I think maybe you are not waiting long enough. I have to "Wait 5" (on my > admittedly slow system) to keep from getting the "out of bounds error". > When I do that, all works just fine. > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jusabejusabe at ...626... Thu Nov 27 08:37:49 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 27 Nov 2014 08:37:49 +0100 Subject: [Gambas-user] spam from jusabejusabe@...67... Message-ID: Dear friends of the forum: >From an old account of mine Mail (jusabejusabe at ...67...), is being automatically sent to spam mails forum. I do not know how to avoid this. Perdenad discomfort. regards Julio From sbungay at ...3301... Thu Nov 27 14:08:16 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 27 Nov 2014 08:08:16 -0500 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. Message-ID: <54772240.4060807@...3301...> 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 can be worked around by making a Show subroutine that can be manually called from the parent form. Have a look at the source demonstration project attached to this email. Should these events fire? If not then why? -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems -------------- next part -------------- A non-text attachment was scrubbed... Name: InstantiateFormTest-0.0.1.tar.gz Type: application/x-gzip Size: 5300 bytes Desc: not available URL: From gambas at ...1... Thu Nov 27 14:20:48 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Nov 2014 14:20:48 +0100 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <54772240.4060807@...3301...> References: <54772240.4060807@...3301...> Message-ID: <54772530.9090408@...1...> 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 events for the instantiated form don't > fire. This can be worked around by making a Show subroutine that can be > manually called from the parent form. > > Have a look at the source demonstration project attached to this email. > > Should these events fire? If not then why? > Because you override the event observer when instanciating Form1, which is by default itself. Don't override it, and it will work. -- Beno?t Minisini From sbungay at ...3301... Thu Nov 27 14:29:53 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 27 Nov 2014 08:29:53 -0500 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <54772530.9090408@...1...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> Message-ID: <54772751.90407@...3301...> 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 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 can be worked around by making a Show subroutine that can be >> manually called from the parent form. >> >> Have a look at the source demonstration project attached to this email. >> >> Should these events fire? If not then why? >> > Because you override the event observer when instanciating Form1, which > is by default itself. Don't override it, and it will work. > -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From gambas at ...1... Thu Nov 27 14:39:45 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Nov 2014 14:39:45 +0100 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <54772751.90407@...3301...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> Message-ID: <547729A1.509@...1...> 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" \________/ . /|\ | ' There. -- Beno?t Minisini From sbungay at ...3301... Thu Nov 27 14:42:33 2014 From: sbungay at ...3301... (Stephen) Date: Thu, 27 Nov 2014 08:42:33 -0500 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <547729A1.509@...1...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> Message-ID: <54772A49.80903@...3301...> 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" > \________/ > . > /|\ > | > ' > There. > Ah NOW I see what's happening and why. Merci Benoit! -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From jussi.lahtinen at ...626... Thu Nov 27 16:31:02 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Nov 2014 17:31:02 +0200 Subject: [Gambas-user] spam from jusabejusabe@...67... In-Reply-To: References: Message-ID: 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 (jusabejusabe at ...67...), is being > automatically sent to spam mails forum. > I do not know how to avoid this. > Perdenad discomfort. > > regards > > Julio > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lewis at ...3412... Thu Nov 27 18:22:59 2014 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 27 Nov 2014 11:22:59 -0600 Subject: [Gambas-user] BUG: Settings.Keys (gb.settings) Message-ID: <54775DF3.10408@...3412...> 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 Definition: A value line, which is a "Key=Value" pair. Slot Definition: A slot line, which begins with a "[" character, and ends with a "]" character. Work-Around: The following function will return the key names. '------------- Public Function GetSettingsKeys(FileName As String) As String[] Dim AllKeys As New String[] Dim p As Integer Dim OneLine, C, SlotName As String Dim FileStream As Stream ' Well nuts! Settings.Keys returns a list of the slots rather than the keys. ' This function returns all the key in a array of Strings in the form ' "SlotName/KeyName" as used by the Settings read and Write functions. FileStream = Open FileName For Read While Not Eof(FileStream) Line Input #FileStream, OneLine OneLine = Trim(Oneline) If IsNull(OneLine) Then ' do nothing Else C = Left(OneLine, 1) Select Case C Case "#", ";" ' comment ' do nothing Case "[" ' new slotname SlotName = Mid(Left(OneLine, InStr(OneLine, "]") - 1), 2) & "/" Case Else ' new key p = InStr(Oneline, "=") If P <> 0 Then AllKeys.Add(SlotName & Trim(Left(OneLine, p - 1))) End Select End If Wend Close #FileStream Return AllKeys End '------------- Example use: Public Sub Button1_Click() ' button labeled "Test" Dim S As String For Each S In GetSettingsKeys(TextBox1.Text) Print S Next End '------------- cheers, lewis at ...3412... From t.lee.davidson at ...626... Thu Nov 27 18:50:22 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 27 Nov 2014 12:50:22 -0500 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <547729A1.509@...1...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> Message-ID: <5477645E.5030600@...626...> 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" > \________/ Now *I'm* confused. The documentation for "New" (http://gambaswiki.org/wiki/lang/new) gives its syntax as: Object = NEW Class [ ( Constructor parameters... ) ] [ AS Name ] And, there is a warning box that says, "If you forget to specify the Name part, your object will never raise events!" But after stripping "As Form1" off the end of that line, the form obviously *does* raise events. Is the documentation in need of correction? If so, what should that warning actually say? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From taboege at ...626... Thu Nov 27 18:55:39 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 27 Nov 2014 18:55:39 +0100 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <5477645E.5030600@...626...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> Message-ID: <20141127175539.GC1460@...2774...> 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 Form1(TabStrip1) As "Form1" > > \________/ > > Now *I'm* confused. The documentation for "New" > (http://gambaswiki.org/wiki/lang/new) gives its syntax as: > Object = NEW Class [ ( Constructor parameters... ) ] [ AS Name ] > > > And, there is a warning box that says, "If you forget to specify the > Name part, your object will never raise events!" > > But after stripping "As Form1" off the end of that line, the form > obviously *does* raise events. > > Is the documentation in need of correction? If so, what should that > warning actually say? > What the documentation says is generally true. But Form is a special class: it attaches to itself as event observer by default when instantiated. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Thu Nov 27 19:16:17 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 27 Nov 2014 19:16:17 +0100 Subject: [Gambas-user] BUG: Settings.Keys (gb.settings) In-Reply-To: <54775DF3.10408@...3412...> References: <54775DF3.10408@...3412...> Message-ID: <20141127181617.GD1460@...2774...> 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 a array of strings that are the "Slot Names". > It's not an array, it's a _Settings_Keys object. > Key Definition: A value line, which is a "Key=Value" pair. > Slot Definition: A slot line, which begins with a "[" character, and > ends with a "]" character. > Hmm, I'd define them a little differently: a "key" is not a value line but only the key part of a value line. "Slot" is not a slot line but the slot line minus the brackets. Now we have the nit-picking out of the way, I will say that you are right to a degree. In the _Settings_Keys object you can enumerate the slot names. But in the second iteration, if you have all the slot names, you can use _Settings_Keys to enumerate all the keys under each slot which sums to all the keys there are: 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 ultimately allows you to enumerate all the keys. Obviously (?) the keys are namespaced using a slot, so to enumerate all the keys, it makes sense to require that we go through the namespace level first. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From t.lee.davidson at ...626... Thu Nov 27 19:28:33 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 27 Nov 2014 13:28:33 -0500 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <20141127175539.GC1460@...2774...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> Message-ID: <54776D51.5050600@...626...> 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 have much to learn. >>>> >>> >>> mhForm1 = New Form1(TabStrip1) As "Form1" >>> \________/ >> >> Now *I'm* confused. The documentation for "New" >> (http://gambaswiki.org/wiki/lang/new) gives its syntax as: >> Object = NEW Class [ ( Constructor parameters... ) ] [ AS Name ] >> >> >> And, there is a warning box that says, "If you forget to specify the >> Name part, your object will never raise events!" >> >> But after stripping "As Form1" off the end of that line, the form >> obviously *does* raise events. >> >> Is the documentation in need of correction? If so, what should that >> warning actually say? >> > > What the documentation says is generally true. But Form is a special class: > it attaches to itself as event observer by default when instantiated. > > Regards, > Tobi > Thanks Tobi. I understand that a form is by default its own event observer. What confuses me is that the warning seems to indicate that the "As Name" part is required for the object to be able to raise events. Thinking that the warning should say, "*If you specify As* but forget to specify the Name part ...", I took off just the Name part leaving "As" at the end of the line. I then got, "Unexpected end of line". So, I guess I'm just confused as to what that warning is actually saying. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From taboege at ...626... Thu Nov 27 19:47:32 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 27 Nov 2014 19:47:32 +0100 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <54776D51.5050600@...626...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> Message-ID: <20141127184732.GE1460@...2774...> 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 not clear how > >>>> to not do it. > >>>> Obviously I still have much to learn. > >>>> > >>> > >>> mhForm1 = New Form1(TabStrip1) As "Form1" > >>> \________/ > >> > >> Now *I'm* confused. The documentation for "New" > >> (http://gambaswiki.org/wiki/lang/new) gives its syntax as: > >> Object = NEW Class [ ( Constructor parameters... ) ] [ AS Name ] > >> > >> > >> And, there is a warning box that says, "If you forget to specify the > >> Name part, your object will never raise events!" > >> > >> But after stripping "As Form1" off the end of that line, the form > >> obviously *does* raise events. > >> > >> Is the documentation in need of correction? If so, what should that > >> warning actually say? > >> > > > > What the documentation says is generally true. But Form is a special class: > > it attaches to itself as event observer by default when instantiated. > > > > Regards, > > Tobi > > > > Thanks Tobi. I understand that a form is by default its own event observer. > > What confuses me is that the warning seems to indicate that the "As > Name" part is required for the object to be able to raise events. > > Thinking that the warning should say, "*If you specify As* but forget to > specify the Name part ...", I took off just the Name part leaving "As" > at the end of the line. I then got, "Unexpected end of line". > > So, I guess I'm just confused as to what that warning is actually saying. > 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. This is called "attaching" the object to its observer. "As" without a name is a syntax error. This means that in a class Bob the lines Private h As Alice Public Sub _new() h = New Alice As "Beth" End create a new Alice in the variable "h" and assigns her the event name "Beth" (just to show that the event name is totally free to choose). The current Bob where you create that Alice is now her event observer, that is you can intercept the events of "h" in the code of Bob. Say, Alice raises an event called "Send", you can write Public Sub Beth_Send() ' This is called when the h object raises the Send event. End in your Bob.class. Take your time to experiment if you're still insecure here. (Or ask for a concrete example!) If you don't give "As name", the object will not be attached to any observer and this will prevent it from raising events (actually it _can_ raise events but nobody will hear it). But Form plays a special role. It will attach itself to itself automatically, using the event name "Form". You have very likely already seen code like Public Sub Form_Open() ' ... End without worrying about it. Well, you don't need to worry about it because of the automatic attaching logic that is built into the Form class. However, if you create a new form and explicitely give it an event name, the procedure I described above kicks in. That is, the form is not attached to itself as "Form" but to the object which creates the form, with the given name (an object can have at most have one primary observer). Consequently, Form_Open within the form code will no longer fire. That's what the thread was originally about. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Thu Nov 27 19:53:47 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 27 Nov 2014 19:53:47 +0100 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <20141127184732.GE1460@...2774...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> Message-ID: <20141127185347.GF1460@...2774...> 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... ever!" -- Mr. Monk From gambas at ...2524... Thu Nov 27 20:16:53 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 27 Nov 2014 19:16:53 +0000 Subject: [Gambas-user] Issue 585 in gambas: free() invalid pointer exit in cli project running trunk In-Reply-To: <0-6813199134517018827-8291526499870057349-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8291526499870057349-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8291526499870057349-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 585 by benoit.m... at ...626...: 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 information, I can't figure what happens. But hitting CTRL+C normally aborts the program, and the C library cannot display such messages. So at least it's strange... Did you intercept the 'KILL' signal? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From lewis at ...3412... Thu Nov 27 20:08:34 2014 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 27 Nov 2014 13:08:34 -0600 Subject: [Gambas-user] BUG: Settings.Keys (gb.settings) In-Reply-To: <20141127181617.GD1460@...2774...> References: <54775DF3.10408@...3412...> <20141127181617.GD1460@...2774...> Message-ID: <547776B2.6000401@...3412...> 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 try the syntax Settings.keys("SlotName") "... Obviously (?) the keys are namespaced using a slot, so to enumerate all the keys ..." Well not so obvious to an old fart like me. I think the Wiki could use a few more examples in some cases. It seems a lot of this stuff is based on C++ and OOP conventions. I have done a little work in "C" (/make that darn little/) but most of it was some decades ago. For those of us coming from the ancient VB6 world just providing the function definition (/declaration ?/) leaves us a big short of explanation as how to proceed. It tends to be a process of trial and error (/sometimes a lot of the latter/). I will try your example a little later and see if it works. Thank you for the insight, Lewis On 11/27/2014 12:16 PM, Tobias Boege wrote: > Key Definition: A value line, which is a "Key=Value" pair. > Slot Definition: A slot line, which begins with a "[" character, and > ends with a "]" character. > > Hmm, I'd define them a little differently: a "key" is not a value line but > only the key part of a value line. "Slot" is not a slot line but the slot > line minus the brackets. > > ... you can use _Settings_Keys to enumerate all the keys under each slot which sums to all > the keys there are: > > 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 > ultimately allows you to enumerate all the keys. Obviously (?) the keys > are namespaced using a slot, so to enumerate all the keys, it makes sense > to require that we go through the namespace level first. > > Regards, > Tobi > From t.lee.davidson at ...626... Thu Nov 27 20:36:51 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 27 Nov 2014 14:36:51 -0500 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <20141127184732.GE1460@...2774...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> Message-ID: <54777D53.2080808@...626...> 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_Open()".) I thought, when I first asked, that it would be a simple answer. (I apologize to you, Stephen, for unintentionally hi-jacking your thread. I did think you were done with it.) Okay, so: 1. Should that warning actually say, "Unless ~Class~ is a [Form](/comp/gb.qt4/form), if you forget to specify the ~Name~ part, your object will never raise events!" 2. And, should this explanation be put on the Wiki somewhere? If so, where? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." On 11/27/2014 01:47 PM, Tobias Boege wrote: >> Thanks Tobi. I understand that a form is by default its own event observer. >> > >> >What confuses me is that the warning seems to indicate that the "As >> >Name" part is required for the object to be able to raise events. >> > >> >Thinking that the warning should say, "*If you specify As* but forget to >> >specify the Name part ...", I took off just the Name part leaving "As" >> >at the end of the line. I then got, "Unexpected end of line". >> > >> >So, I guess I'm just confused as to what that warning is actually saying. >> > > 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. > This is called "attaching" the object to its observer. "As" without a name > is a syntax error. > > This means that in a class Bob the lines > > Private h As Alice > > Public Sub _new() > h = New Alice As "Beth" > End > > create a new Alice in the variable "h" and assigns her the event name "Beth" > (just to show that the event name is totally free to choose). > > The current Bob where you create that Alice is now her event observer, that > is you can intercept the events of "h" in the code of Bob. Say, Alice raises > an event called "Send", you can write > > Public Sub Beth_Send() > ' This is called when the h object raises the Send event. > End > > in your Bob.class. Take your time to experiment if you're still insecure > here. (Or ask for a concrete example!) > > If you don't give "As name", the object will not be attached to any observer > and this will prevent it from raising events (actually it_can_ raise events > but nobody will hear it). > > But Form plays a special role. It will attach itself to itself automatically, > using the event name "Form". You have very likely already seen code like > > Public Sub Form_Open() > ' ... > End > > without worrying about it. Well, you don't need to worry about it because of > the automatic attaching logic that is built into the Form class. > > However, if you create a new form and explicitely give it an event name, the > procedure I described above kicks in. That is, the form is not attached to > itself as "Form" but to the object which creates the form, with the given > name (an object can have at most have one primary observer). Consequently, > Form_Open within the form code will no longer fire. That's what the thread > was originally about. > > Regards, > Tobi From t.lee.davidson at ...626... Thu Nov 27 21:12:04 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 27 Nov 2014 15:12:04 -0500 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <54777D53.2080808@...626...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> Message-ID: <54778594.7030907@...626...> 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_Open()", and always > wondered why it did not say "Form1_Open()".) > > I thought, when I first asked, that it would be a simple answer. (I > apologize to you, Stephen, for unintentionally hi-jacking your thread. I > did think you were done with it.) > > Okay, so: > 1. Should that warning actually say, "Unless ~Class~ is a > [Form](/comp/gb.qt4/form), if you forget to specify the ~Name~ part, > your object will never raise events!" > > 2. And, should this explanation be put on the Wiki somewhere? If so, where? Nevermind the second question in #2. Apparently I can't create pages. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From t.lee.davidson at ...626... Thu Nov 27 21:32:16 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 27 Nov 2014 15:32:16 -0500 Subject: [Gambas-user] Gambas Markdown Syntax - Underlining Message-ID: <54778A50.5080404@...626...> 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 experimenting to get the answers, I'm asking here. Are the caveats for "Underlining" basically the same as for "Emphasis"? "Emphasis cannot be used in the middle of a word, nor alone in a word. It will be treated as a literal asterisk. To produce a literal asterisk at a position where it would otherwise be used as an emphasis delimiter, you must escape it with a backslash (see below)." In other words, could "emphasis" and "asterisk" be replaced with "underlining" and "tilde" in that text, and it would be correct? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Thu Nov 27 21:35:08 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Nov 2014 21:35:08 +0100 Subject: [Gambas-user] Gambas Markdown Syntax - Underlining In-Reply-To: <54778A50.5080404@...626...> References: <54778A50.5080404@...626...> Message-ID: <54778AFC.5010604@...1...> 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 avoid the risk of > screwing something up by experimenting to get the answers, I'm asking here. > > Are the caveats for "Underlining" basically the same as for "Emphasis"? > > "Emphasis cannot be used in the middle of a word, nor alone in a word. > > It will be treated as a literal asterisk. > > To produce a literal asterisk at a position where it would otherwise be > used as an emphasis delimiter, you must escape it with a backslash (see > below)." > > In other words, could "emphasis" and "asterisk" be replaced with > "underlining" and "tilde" in that text, and it would be correct? > > Yes. But just try, you have a preview and an illimited undo historic in the wiki. -- Beno?t Minisini From taboege at ...626... Thu Nov 27 22:02:18 2014 From: taboege at ...626... (Tobias Boege) Date: Thu, 27 Nov 2014 22:02:18 +0100 Subject: [Gambas-user] Events not firing in dynamically instantiated forms. In-Reply-To: <54777D53.2080808@...626...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> Message-ID: <20141127210218.GH1460@...2774...> 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_Open()", and always > wondered why it did not say "Form1_Open()".) > > I thought, when I first asked, that it would be a simple answer. (I > apologize to you, Stephen, for unintentionally hi-jacking your thread. I > did think you were done with it.) > > Okay, so: > 1. Should that warning actually say, "Unless ~Class~ is a > [Form](/comp/gb.qt4/form), if you forget to specify the ~Name~ part, > your object will never raise events!" > Well, I'm not going to adjoin that extra information about the internals of some class in gb.qt4 seemlessly to a sentence that makes a warning about a very general case -- in the mostly component-agnostic part of the documen- tation, that is the Gambas language documentation. Granted, Form is a prominent special case, so I'll add another section talking about what happens when you use the "As name" syntax when creating forms. If someone has a problem with that, please tell me. > 2. And, should this explanation be put on the Wiki somewhere? If so, where? > Hmm, comp/gb.qt4/form already says the entire truth -- if you know what all the words mean. But doc/object-model or even def/eventhandler may be places where more detailed information may be put but still far from good... [ I drift off a little from here on: ] 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). If everything was in the docs, what fun would there be in learning [ being able to discover things on your own over time ] ? ;-) It's at least what I enjoy most. But don't listen to me because I know quite exactly already what's where in the docs. And people who got somewhere tend to forget how hard the way may have been or want others to go the same way... I feel like articles like the Gambas Magazine tries to publish are a *way* better platform for this kind of information -- backgrounds that are not of a purely technical manner (which would be the domain of a documentation) but are grown from experience and a good overview of Gambas. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lewis at ...3412... Thu Nov 27 21:42:05 2014 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 27 Nov 2014 14:42:05 -0600 Subject: [Gambas-user] BUG: Settings.Keys (gb.settings) In-Reply-To: <20141127181617.GD1460@...2774...> References: <54775DF3.10408@...3412...> <20141127181617.GD1460@...2774...> Message-ID: <54778C9D.5000805@...3412...> 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 ultimately allows you to enumerate all the keys. Obviously (?) the keys are namespaced using a slot, so to enumerate all the keys, it makes sense to require that we go through the namespace level first. Regards, Tobi From t.lee.davidson at ...626... Fri Nov 28 00:27:30 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 27 Nov 2014 18:27:30 -0500 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: <20141127210218.GH1460@...2774...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> Message-ID: <5477B362.3090206@...626...> 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 Form object are caught by event handlers defined in the form source code. === It does not say anything about the change in event observer when instantiating a form AS FormWhatever. So, to me, not the entire truth. > 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 nice, though, if someone didn't *have* to ask? > If everything was in the docs, what fun would there be in learning [ being > able to discover things on your own over time ] ?;-) It's at least what I > enjoy most. Lol. Yes, discovering and learning can be fun. But, I think it is more fun to learn how to do something with the tools at hand than having to learn the special nuances of any particular tool. As a farmer, I sometimes have to make a tool to get the job done. Do I enjoy that? Well, I enjoy making things. But I do not enjoy feeling robbed of my productive time. Not knowing that instantiating a form As FormWhatever overrides the default event handler could be a "gotcha" for someone who is not as knowledgeable as you, as Stephen found out. And, "As Name" is a feature of the Gambas language implementation. So, in my opinion, the appropriate venue for documenting this behavior would not be in a GambasMag article. But, whatever. I was just looking to try to make things better for others. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Fri Nov 28 00:34:59 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Nov 2014 00:34:59 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: Message-ID: <5477B523.1020108@...1...> 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 > > It seem not to crash when run from IDE. > 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. Regards, -- Beno?t Minisini From taboege at ...626... Fri Nov 28 00:40:06 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 28 Nov 2014 00:40:06 +0100 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: <5477B362.3090206@...626...> References: <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> <5477B362.3090206@...626...> Message-ID: <20141127234006.GI1460@...2774...> 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 nice, though, if someone didn't *have* to ask? > > > > If everything was in the docs, what fun would there be in learning [ being > > able to discover things on your own over time ] ?;-) It's at least what I > > enjoy most. > > Lol. Yes, discovering and learning can be fun. > > But, I think it is more fun to learn how to do something with the tools > at hand than having to learn the special nuances of any particular tool. > > As a farmer, I sometimes have to make a tool to get the job done. Do I > enjoy that? Well, I enjoy making things. But I do not enjoy feeling > robbed of my productive time. > Right, I'm unaware of productivity. Until now I gratefully came away with just learning for learning's sake. > Not knowing that instantiating a form As FormWhatever overrides the > default event handler could be a "gotcha" for someone who is not as > knowledgeable as you, as Stephen found out. > > And, "As Name" is a feature of the Gambas language implementation. So, > in my opinion, the appropriate venue for documenting this behavior would > not be in a GambasMag article. > > But, whatever. I was just looking to try to make things better for others. > I see your point. Are you content with what I wrote[0] into the docs? Regards, Tobi [0] http://gambaswiki.org/wiki/lang/new -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Fri Nov 28 00:52:20 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Nov 2014 00:52:20 +0100 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: <5477B362.3090206@...626...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> <5477B362.3090206@...626...> Message-ID: <5477B934.1080708@...1...> 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 event observer. > > It means that all the events raised by the Form object are caught by > event handlers defined in the form source code. > === > > It does not say anything about the change in event observer when > instantiating a form AS FormWhatever. So, to me, not the entire truth. > > >> 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 nice, though, if someone didn't *have* to ask? > > >> If everything was in the docs, what fun would there be in learning [ being >> able to discover things on your own over time ] ?;-) It's at least what I >> enjoy most. > > Lol. Yes, discovering and learning can be fun. > > But, I think it is more fun to learn how to do something with the tools > at hand than having to learn the special nuances of any particular tool. > > As a farmer, I sometimes have to make a tool to get the job done. Do I > enjoy that? Well, I enjoy making things. But I do not enjoy feeling > robbed of my productive time. > > Not knowing that instantiating a form As FormWhatever overrides the > default event handler could be a "gotcha" for someone who is not as > knowledgeable as you, as Stephen found out. > > And, "As Name" is a feature of the Gambas language implementation. So, > in my opinion, the appropriate venue for documenting this behavior would > not be in a GambasMag article. > > But, whatever. I was just looking to try to make things better for others. > > 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 and tell me if the explanations are clear enough for you. Regards, -- Beno?t Minisini From tercoide at ...67... Fri Nov 28 01:02:57 2014 From: tercoide at ...67... (martin p cristia) Date: Thu, 27 Nov 2014 21:02:57 -0300 Subject: [Gambas-user] Improve a Fast routine In-Reply-To: References: Message-ID: 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 Integer, i1 As Integer, j1 As Integer Dim p1 As Float, iTest As Integer, nTest As Integer contador = 0 If iOrden = 0 Then Return 0 ok = True 'usa el metodo de Gauss 'debe ser cuadrada la matriz ' triangulacion itest = iorden / 100 For i = 0 To iOrden - 1 'This is to show the progress in the GUI FMain.debugInfo("Resolviendo el sistema ", True, Format$(100 * i / iorden, "0.00") & "%") If debanda(i, i) <> 0 Then For j = i + 1 To iOrden - 1 If debanda(j, i) <> 0 Then c1 = - debanda(j, i) / debanda(i, i) For h = i To iOrden - 1 addbanda(j, h, c1 * debanda(i, h)) Next ti[j] = ti[j] + c1 * ti[i] End If Next Else Return l = i If i = iOrden - 1 Or l > iOrden - 1 Then Return 0 ' el sistema es incompatible Do If debanda(l, i) <> 0 Then For h = 0 To iOrden - 1 addbanda(i, h, debanda(l, h)) Next ti[i] = ti[i] + ti[l] Exit Else l = l + 1 If i = iOrden - 1 Or l > iOrden - 1 Then Return 0 ' el sistema es incompatible End If Loop End If Next ' sustitucion atr?s x[iOrden - 1] = ti[iOrden - 1] / debanda(iOrden - 1, iOrden - 1) For i = iOrden - 2 To 0 Step -1 p1 = 0 For j = i + 1 To iOrden - 1 p1 = p1 - x[j] * debanda(i, j) Next p1 = ti[i] + p1 x[i] = p1 / debanda(i, i) Next Return ok End Function Fast Public Sub ABanda(ib As Integer, jb As Integer, valor As Float) modCalculus.MatRigEst[ib * modEstru.ordmatrig + jb] = valor Return End Sub DeBanda() and AddBanda() are similar From t.lee.davidson at ...626... Fri Nov 28 01:03:57 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 27 Nov 2014 19:03:57 -0500 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: <20141127234006.GI1460@...2774...> References: <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> <5477B362.3090206@...626...> <20141127234006.GI1460@...2774...> Message-ID: <5477BBED.3070604@...626...> 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 Intelligence is no match for natural stupidity." From jussi.lahtinen at ...626... Fri Nov 28 01:34:17 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Nov 2014 02:34:17 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <5477B523.1020108@...1...> References: <5477B523.1020108@...1...> Message-ID: > 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 test) fail very often, and test 240 (shell test) rarely. Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.29.tar.gz Type: application/x-gzip Size: 16778 bytes Desc: not available URL: From jussi.lahtinen at ...626... Fri Nov 28 01:47:29 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Nov 2014 02:47:29 +0200 Subject: [Gambas-user] Improve a Fast routine In-Reply-To: References: Message-ID: 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 > > 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 Integer, i1 As Integer, j1 As Integer > Dim p1 As Float, iTest As Integer, nTest As Integer > > contador = 0 > If iOrden = 0 Then Return 0 > ok = True > > 'usa el metodo de Gauss > 'debe ser cuadrada la matriz > ' triangulacion > itest = iorden / 100 > > For i = 0 To iOrden - 1 > > > 'This is to show the progress in the GUI > FMain.debugInfo("Resolviendo el sistema ", True, Format$(100 * > i / iorden, "0.00") & "%") > > If debanda(i, i) <> 0 Then > For j = i + 1 To iOrden - 1 > If debanda(j, i) <> 0 Then > c1 = - debanda(j, i) / debanda(i, i) > For h = i To iOrden - 1 > addbanda(j, h, c1 * debanda(i, h)) > > Next > ti[j] = ti[j] + c1 * ti[i] > End If > Next > Else > Return > l = i > If i = iOrden - 1 Or l > iOrden - 1 Then Return 0 ' el > sistema es incompatible > > Do > If debanda(l, i) <> 0 Then > For h = 0 To iOrden - 1 > addbanda(i, h, debanda(l, h)) > Next > ti[i] = ti[i] + ti[l] > Exit > Else > l = l + 1 > If i = iOrden - 1 Or l > iOrden - 1 Then Return 0 ' > el sistema es incompatible > End If > Loop > End If > > Next > ' sustitucion atr?s > > x[iOrden - 1] = ti[iOrden - 1] / debanda(iOrden - 1, iOrden - 1) > For i = iOrden - 2 To 0 Step -1 > p1 = 0 > For j = i + 1 To iOrden - 1 > p1 = p1 - x[j] * debanda(i, j) > > Next > p1 = ti[i] + p1 > x[i] = p1 / debanda(i, i) > Next > Return ok > > End Function > > Fast Public Sub ABanda(ib As Integer, jb As Integer, valor As Float) > > > modCalculus.MatRigEst[ib * modEstru.ordmatrig + jb] = valor > > Return > > > End Sub > > DeBanda() and AddBanda() are similar > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Fri Nov 28 01:50:22 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 28 Nov 2014 00:50:22 +0000 Subject: [Gambas-user] Issue 586 in gambas: gb.net.smtp with SSL hangs gambas if unknown host or not listening port In-Reply-To: <0-6813199134517018827-11080923561523040382-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11080923561523040382-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11080923561523040382-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version-3.6.2 Version-3.6.0 Comment #1 on issue 586 by benoit.m... at ...626...: 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.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 28 01:51:22 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 28 Nov 2014 00:51:22 +0000 Subject: [Gambas-user] Issue 586 in gambas: gb.net.smtp with SSL hangs gambas if unknown host or not listening port In-Reply-To: <1-6813199134517018827-11080923561523040382-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11080923561523040382-gambas=googlecode.com@...2524...> <0-6813199134517018827-11080923561523040382-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11080923561523040382-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 586 by benoit.m... at ...626...: 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 configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Fri Nov 28 02:04:16 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Nov 2014 02:04:16 +0100 Subject: [Gambas-user] Improve a Fast routine In-Reply-To: References: Message-ID: <5477CA10.7000406@...1...> 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 Integer, b As Integer, ok As > Integer > Dim l As Integer, h As Integer, i1 As Integer, j1 As Integer > Dim p1 As Float, iTest As Integer, nTest As Integer > > contador = 0 > If iOrden = 0 Then Return 0 > ok = True > > 'usa el metodo de Gauss > 'debe ser cuadrada la matriz > ' triangulacion > itest = iorden / 100 > > For i = 0 To iOrden - 1 > > > 'This is to show the progress in the GUI > FMain.debugInfo("Resolviendo el sistema ", True, Format$(100 * > i / iorden, "0.00") & "%") > > If debanda(i, i) <> 0 Then > For j = i + 1 To iOrden - 1 > If debanda(j, i) <> 0 Then > c1 = - debanda(j, i) / debanda(i, i) > For h = i To iOrden - 1 > addbanda(j, h, c1 * debanda(i, h)) > > Next > ti[j] = ti[j] + c1 * ti[i] > End If > Next > Else > Return > l = i > If i = iOrden - 1 Or l > iOrden - 1 Then Return 0 ' el > sistema es incompatible > > Do > If debanda(l, i) <> 0 Then > For h = 0 To iOrden - 1 > addbanda(i, h, debanda(l, h)) > Next > ti[i] = ti[i] + ti[l] > Exit > Else > l = l + 1 > If i = iOrden - 1 Or l > iOrden - 1 Then Return 0 ' > el sistema es incompatible > End If > Loop > End If > > Next > ' sustitucion atr?s > > x[iOrden - 1] = ti[iOrden - 1] / debanda(iOrden - 1, iOrden - 1) > For i = iOrden - 2 To 0 Step -1 > p1 = 0 > For j = i + 1 To iOrden - 1 > p1 = p1 - x[j] * debanda(i, j) > > Next > p1 = ti[i] + p1 > x[i] = p1 / debanda(i, i) > Next > Return ok > > End Function > > Fast Public Sub ABanda(ib As Integer, jb As Integer, valor As Float) > > > modCalculus.MatRigEst[ib * modEstru.ordmatrig + jb] = valor > > Return > > > End Sub > > DeBanda() and AddBanda() are similar > Inline the small ABando function, because a function call takes time. And maybe local variables are faster than global ones, but I'm not sure. Regards, -- Beno?t Minisini From t.lee.davidson at ...626... Fri Nov 28 02:06:17 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Thu, 27 Nov 2014 20:06:17 -0500 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: <5477B934.1080708@...1...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> <5477B362.3090206@...626...> <5477B934.1080708@...1...> Message-ID: <5477CA89.4030807@...626...> 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 and tell me if the explanations are clear enough for you. > > Regards, > > -- Beno?t Minisini Thank you for updating that page, Beno?t. I think it is quite clear regarding the behavior of "As Name". I had given it a cursory read it previously, and have just now read it more thoroughly. I did spot some typos, but I can take the time to fix those. There are some things that I do find confusing: A. "2.2. Default parent object (or default default observer)". Should that be simply, "or default observer"? 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. C. 3.4. Inheritance and constructor: Regarding the order of arguments, it is stated that the arguments of elder classes are specified first. However, 'hMyListBox = NEW MyListBox("Name", hContainer)' appears to contradict this and the other examples. It, as far as I can tell, gives the argument of the younger class first. Should the syntax be, 'hMyListBox = NEW MyListBox(hContainer, "Name")'? That's it. That's all I found confusing. (A truly rare occasion!) -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Fri Nov 28 02:08:00 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Nov 2014 02:08:00 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <5477B523.1020108@...1...> Message-ID: <5477CAF0.9010003@...1...> 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 version doesn't (the project attached). Test 239 (exec > test) fail very often, and test 240 (shell test) rarely. > > > Jussi > Did you recompile your project entirely before running it? -- Beno?t Minisini From gambas at ...1... Fri Nov 28 02:49:13 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Nov 2014 02:49:13 +0100 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: <5477CA89.4030807@...626...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> <5477B362.3090206@...626...> <5477B934.1080708@...1...> <5477CA89.4030807@...626...> Message-ID: <5477D499.4080200@...1...> 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 that document yet, I strongly suggest that you read >> it and tell me if the explanations are clear enough for you. >> >> Regards, >> >> -- Beno?t Minisini > > Thank you for updating that page, Beno?t. I think it is quite clear > regarding the behavior of "As Name". > > > I had given it a cursory read it previously, and have just now read it > more thoroughly. > > I did spot some typos, but I can take the time to fix those. > > There are some things that I do find confusing: > > A. "2.2. Default parent object (or default default observer)". Should > that be simply, "or default observer"? This is really the default default observer. The default observer is the "current running" object where you create your new object. And a form has a default for that, so you have to write the word default twice. > > 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 the class implementation code. > > C. 3.4. Inheritance and constructor: Regarding the order of arguments, > it is stated that the arguments of elder classes are specified first. > > However, 'hMyListBox = NEW MyListBox("Name", hContainer)' appears to > contradict this and the other examples. It, as far as I can tell, gives > the argument of the younger class first. > > Should the syntax be, 'hMyListBox = NEW MyListBox(hContainer, "Name")'? You're right, that is a mistake. The arguments of elder classes come first. If you want to fix that too, you can do it. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Nov 28 02:54:32 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Nov 2014 03:54:32 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <5477CAF0.9010003@...1...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> Message-ID: > 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 From tercoide at ...67... Fri Nov 28 03:41:23 2014 From: tercoide at ...67... (Martin Cristia) Date: Thu, 27 Nov 2014 23:41:23 -0300 Subject: [Gambas-user] Improve a Fast routine Message-ID: I ment improve it interpreter-wise not math wise. Inline functions is something easy to implement. Thx Ing Mart?n P Cristi? From t.lee.davidson at ...626... Fri Nov 28 06:09:46 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 28 Nov 2014 00:09:46 -0500 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: <5477D499.4080200@...1...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> <5477B362.3090206@...626...> <5477B934.1080708@...1...> <5477CA89.4030807@...626...> <5477D499.4080200@...1...> Message-ID: <5478039A.7090802@...626...> 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 the class implementation code. > >> > >> >C. 3.4. Inheritance and constructor: Regarding the order of arguments, >> >it is stated that the arguments of elder classes are specified first. >> > >> >However, 'hMyListBox = NEW MyListBox("Name", hContainer)' appears to >> >contradict this and the other examples. It, as far as I can tell, gives >> >the argument of the younger class first. >> > >> >Should the syntax be, 'hMyListBox = NEW MyListBox(hContainer, "Name")'? > You're right, that is a mistake. The arguments of elder classes come > first. If you want to fix that too, you can do it. Done. :-) -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From kevinfishburne at ...1887... Fri Nov 28 06:55:29 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 28 Nov 2014 00:55:29 -0500 Subject: [Gambas-user] [GambasMag] Articles for Feb 2015 issue In-Reply-To: References: <20141122215908.GC888@...2774...> Message-ID: <54780E51.1090202@...1887...> 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 have a few good days and many not so good days. But I would > love to publish your articles. The magazine's next issue will not follow > the outline for issues as I just don't have the energy to produce all I had > hoped for. I haven't even been coding at all in the past couple months. > Once my treatment is over I hope I can get back to following the outline > and publishing the magazine. At the moment is you write articles I will > publish a mini-issue with your article and two on game development I had > sent to me. > > I have high hopes for Gambas Magazine but at the moment I simply can't put > in all the time it requires due to health issues. > > Thank you for all your help. Hey Randall. I hope you get better soon. My mom's been in the hospital for the last two months so yeah, being sick is no fun. Cool that Tobi is submitting articles on game dev in GAMBAS. I would like to contribute as well, although I'm not sure what specifically I could address. Maybe I could go through the Sylph codebase and try to break it down into the essential code blocks that set up the game loop? Things like OpenGL init stuff, loading textures and models, creating display lists, alpha blending modes and setting up a "camera". After nearly five years of game dev using GAMBAS I've found that once those basic things are taken care of, the rest is just normal (as in easy) programming. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From shordi at ...626... Fri Nov 28 10:03:55 2014 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 28 Nov 2014 10:03:55 +0100 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: <5477CA89.4030807@...626...> References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> <5477B362.3090206@...626...> <5477B934.1080708@...1...> <5477CA89.4030807@...626...> Message-ID: I must say that this has been a very, very enlightening discussion. Thank you all, folks. This simplify a lot some workarounds in my code. Regards 2014-11-28 2:06 GMT+01:00 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 and tell me if the explanations are clear enough for you. > > > > Regards, > > > > -- Beno?t Minisini > > Thank you for updating that page, Beno?t. I think it is quite clear > regarding the behavior of "As Name". > > > I had given it a cursory read it previously, and have just now read it > more thoroughly. > > I did spot some typos, but I can take the time to fix those. > > There are some things that I do find confusing: > > A. "2.2. Default parent object (or default default observer)". Should > that be simply, "or default observer"? > > 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. > > C. 3.4. Inheritance and constructor: Regarding the order of arguments, > it is stated that the arguments of elder classes are specified first. > > However, 'hMyListBox = NEW MyListBox("Name", hContainer)' appears to > contradict this and the other examples. It, as far as I can tell, gives > the argument of the younger class first. > > Should the syntax be, 'hMyListBox = NEW MyListBox(hContainer, "Name")'? > > > That's it. That's all I found confusing. (A truly rare occasion!) > > > -- > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Fri Nov 28 12:05:43 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 28 Nov 2014 12:05:43 +0100 Subject: [Gambas-user] gb.gsl: Polynomial arithmetic / gb.flint Message-ID: <20141128110543.GA1008@...2774...> Hi Benoit, the Polynomial class in gb.gsl does not support all the arithmetic operations I'm going to need. I'd like to multiply two polynomials and to divide a polynomial by a (non-zero) scalar. I just saw that GSL doesn't implement polynomial arithmetic at all and you wrote the addition and subtraction functions by hand... What do you think about the FLINT library? I just glanced at its documentation and it looks like a treasure chest, and already pretty object-oriented. I'll add gb.flint somewhere near the top of my TODO list... And out of curiosity: for the polynomials with real or complex coefficients, there is an euclidean division operation defined. The GB_OPERATOR_DESC structure has no entry for the MOD operator, or does it? If not, there is no chance of doing euclidean division via operators? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagoneo at ...69... Fri Nov 28 12:29:00 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 12:29:00 +0100 Subject: [Gambas-user] Documentation: Events not firing in dynamically instantiated forms. In-Reply-To: References: <54772240.4060807@...3301...> <54772530.9090408@...1...> <54772751.90407@...3301...> <547729A1.509@...1...> <5477645E.5030600@...626...> <20141127175539.GC1460@...2774...> <54776D51.5050600@...626...> <20141127184732.GE1460@...2774...> <54777D53.2080808@...626...> <20141127210218.GH1460@...2774...> <5477B362.3090206@...626...> <5477B934.1080708@...1...> <5477CA89.4030807@...626...> Message-ID: <54785C7C.9010607@...69...> Il 28/11/2014 10:03, Jorge Carri?n ha scritto: > I must say that this has been a very, very enlightening discussion. > > Thank you all, folks. This simplify a lot some workarounds in my code. > > Regards > > 2014-11-28 2:06 GMT+01:00 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 and tell me if the explanations are clear enough for you. >>> >>> Regards, >>> >>> -- Beno?t Minisini >> >> Thank you for updating that page, Beno?t. I think it is quite clear >> regarding the behavior of "As Name". >> >> >> I had given it a cursory read it previously, and have just now read it >> more thoroughly. >> >> I did spot some typos, but I can take the time to fix those. >> >> There are some things that I do find confusing: >> >> A. "2.2. Default parent object (or default default observer)". Should >> that be simply, "or default observer"? >> >> 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. >> >> C. 3.4. Inheritance and constructor: Regarding the order of arguments, >> it is stated that the arguments of elder classes are specified first. >> >> However, 'hMyListBox = NEW MyListBox("Name", hContainer)' appears to >> contradict this and the other examples. It, as far as I can tell, gives >> the argument of the younger class first. >> >> Should the syntax be, 'hMyListBox = NEW MyListBox(hContainer, "Name")'? >> >> >> That's it. That's all I found confusing. (A truly rare occasion!) >> >> >> -- >> Lee >> __________ >> >> "Artificial Intelligence is no match for natural stupidity." >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I also agree and thank Gianluigi From lewis at ...3412... Fri Nov 28 13:24:29 2014 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 28 Nov 2014 06:24:29 -0600 Subject: [Gambas-user] 'FontChooser.SelectedFont' is not static In-Reply-To: <20141128110543.GA1008@...2774...> References: <20141128110543.GA1008@...2774...> Message-ID: <5478697D.8030903@...3412...> Sorry to be a pest but I have run into another problem I can not seem to get past and I can find no examples. I am trying to use the FontChooser control (gb.form) in a very simple form. '--------------------------------------------- Public Sub FontBox1_Click() ' Dim S As String ' Dim S As String[] ' Dim S As New String[] ' Dim S as Font ' S = FontChooser.SelectedFont ' S = FontChooser.Font ' S = FontChooser.Name ' TextArea1.Font = FontChooser.SelectedFont ' TextArea1.Font = FontChooser.Font Print FontChooser.SelectedFont Stop End '--------------------------------------------- Everything that I try gives me an similar error: 'FontChooser.SelectedFont' is not static in Form 2:23. 'FontChooser.Font' is not static in Form 2:24. 'FontChooser.Name' is not static in Form 2:25. When I look at the wiki it states: Property SelectedFont As String Returns or sets the selected font as a string. Property Name As String Returns or sets the name of the control. Property Font As Font Returns or sets the font used to draw text in the control. I have run out of not so clever ideas. regards, Lewis From jussi.lahtinen at ...626... Fri Nov 28 14:23:25 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Nov 2014 15:23:25 +0200 Subject: [Gambas-user] 'FontChooser.SelectedFont' is not static In-Reply-To: <5478697D.8030903@...3412...> References: <20141128110543.GA1008@...2774...> <5478697D.8030903@...3412...> Message-ID: Use IDE to put the FontChooser on your form, or instantiate it first (with New command). Jussi On Fri, Nov 28, 2014 at 2:24 PM, Lewis Balentine wrote: > Sorry to be a pest but I have run into another problem I can not seem to > get past and I can find no examples. I am trying to use the FontChooser > control (gb.form) in a very simple form. > > '--------------------------------------------- > Public Sub FontBox1_Click() > ' Dim S As String > ' Dim S As String[] > ' Dim S As New String[] > ' Dim S as Font > > ' S = FontChooser.SelectedFont > ' S = FontChooser.Font > ' S = FontChooser.Name > ' TextArea1.Font = FontChooser.SelectedFont > ' TextArea1.Font = FontChooser.Font > > Print FontChooser.SelectedFont > Stop > End > '--------------------------------------------- > Everything that I try gives me an similar error: > 'FontChooser.SelectedFont' is not static in Form 2:23. > 'FontChooser.Font' is not static in Form 2:24. > 'FontChooser.Name' is not static in Form 2:25. > > When I look at the wiki it states: > Property SelectedFont As String > Returns or sets the selected font as a string. > > Property Name As String > Returns or sets the name of the control. > > Property Font As Font > Returns or sets the font used to draw text in the control. > > I have run out of not so clever ideas. > > regards, > > Lewis > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lewis at ...3412... Fri Nov 28 14:42:12 2014 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 28 Nov 2014 07:42:12 -0600 Subject: [Gambas-user] 'FontChooser.SelectedFont' is not static In-Reply-To: References: <20141128110543.GA1008@...2774...> <5478697D.8030903@...3412...> Message-ID: <54787BB4.3060703@...3412...> >> Use IDE to put the FontChooser on your form << That is what I did. Then in the IDE I double-clicked on the control. That is what produced the sub declaration that I tried to use below. [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=MATE Theme=QGtk Language=en_US.UTF-8 Memory=15994M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 On 11/28/2014 07:23 AM, Jussi Lahtinen wrote: > Use IDE to put the FontChooser on your form, or instantiate it first (with > New command). > > > Jussi > > On Fri, Nov 28, 2014 at 2:24 PM, Lewis Balentine wrote: > >> Sorry to be a pest but I have run into another problem I can not seem to >> get past and I can find no examples. I am trying to use the FontChooser >> control (gb.form) in a very simple form. >> >> '--------------------------------------------- >> Public Sub FontBox1_Click() >> ' Dim S As String >> ' Dim S As String[] >> ' Dim S As New String[] >> ' Dim S as Font >> >> ' S = FontChooser.SelectedFont >> ' S = FontChooser.Font >> ' S = FontChooser.Name >> ' TextArea1.Font = FontChooser.SelectedFont >> ' TextArea1.Font = FontChooser.Font >> >> Print FontChooser.SelectedFont >> Stop >> End >> '--------------------------------------------- >> Everything that I try gives me an similar error: >> 'FontChooser.SelectedFont' is not static in Form 2:23. >> 'FontChooser.Font' is not static in Form 2:24. >> 'FontChooser.Name' is not static in Form 2:25. >> >> When I look at the wiki it states: >> Property SelectedFont As String >> Returns or sets the selected font as a string. >> >> Property Name As String >> Returns or sets the name of the control. >> >> Property Font As Font >> Returns or sets the font used to draw text in the control. >> >> I have run out of not so clever ideas. >> >> regards, >> >> Lewis >> >> >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Fri Nov 28 14:57:52 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Nov 2014 15:57:52 +0200 Subject: [Gambas-user] 'FontChooser.SelectedFont' is not static In-Reply-To: <54787BB4.3060703@...3412...> References: <20141128110543.GA1008@...2774...> <5478697D.8030903@...3412...> <54787BB4.3060703@...3412...> Message-ID: No that is FontBox, not FontChooser. Jussi On Fri, Nov 28, 2014 at 3:42 PM, Lewis Balentine wrote: > >> Use IDE to put the FontChooser on your form << > That is what I did. Then in the IDE I double-clicked on the control. > That is what produced the sub declaration that I tried to use below. > > [System] > Gambas=3.6.2 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=MATE > Theme=QGtk > Language=en_US.UTF-8 > Memory=15994M > > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > On 11/28/2014 07:23 AM, Jussi Lahtinen wrote: > > Use IDE to put the FontChooser on your form, or instantiate it first > (with > > New command). > > > > > > Jussi > > > > On Fri, Nov 28, 2014 at 2:24 PM, Lewis Balentine > wrote: > > > >> Sorry to be a pest but I have run into another problem I can not seem to > >> get past and I can find no examples. I am trying to use the FontChooser > >> control (gb.form) in a very simple form. > >> > >> '--------------------------------------------- > >> Public Sub FontBox1_Click() > >> ' Dim S As String > >> ' Dim S As String[] > >> ' Dim S As New String[] > >> ' Dim S as Font > >> > >> ' S = FontChooser.SelectedFont > >> ' S = FontChooser.Font > >> ' S = FontChooser.Name > >> ' TextArea1.Font = FontChooser.SelectedFont > >> ' TextArea1.Font = FontChooser.Font > >> > >> Print FontChooser.SelectedFont > >> Stop > >> End > >> '--------------------------------------------- > >> Everything that I try gives me an similar error: > >> 'FontChooser.SelectedFont' is not static in Form 2:23. > >> 'FontChooser.Font' is not static in Form 2:24. > >> 'FontChooser.Name' is not static in Form 2:25. > >> > >> When I look at the wiki it states: > >> Property SelectedFont As String > >> Returns or sets the selected font as a string. > >> > >> Property Name As String > >> Returns or sets the name of the control. > >> > >> Property Font As Font > >> Returns or sets the font used to draw text in the control. > >> > >> I have run out of not so clever ideas. > >> > >> regards, > >> > >> Lewis > >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards > >> with Interactivity, Sharing, Native Excel Exports, App Integration & > more > >> Get technology previously reserved for billion-dollar corporations, FREE > >> > >> > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > Get technology previously reserved for billion-dollar corporations, FREE > > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lewis at ...3412... Fri Nov 28 14:51:16 2014 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 28 Nov 2014 07:51:16 -0600 Subject: [Gambas-user] 'FontChooser.SelectedFont' is not static In-Reply-To: <54787BB4.3060703@...3412...> References: <20141128110543.GA1008@...2774...> <5478697D.8030903@...3412...> <54787BB4.3060703@...3412...> Message-ID: <54787DD4.8070209@...3412...> daaa .... seems that I am confusing FontBox with FontChooser. gee ... I feel like a dunce. Still have not got it to working but I am at least off on another foray through the possibilities :>) On 11/28/2014 07:42 AM, Lewis Balentine wrote: > >> Use IDE to put the FontChooser on your form << > That is what I did. Then in the IDE I double-clicked on the control. > That is what produced the sub declaration that I tried to use below. > > [System] > Gambas=3.6.2 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=MATE > Theme=QGtk > Language=en_US.UTF-8 > Memory=15994M > > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > On 11/28/2014 07:23 AM, Jussi Lahtinen wrote: >> Use IDE to put the FontChooser on your form, or instantiate it first (with >> New command). >> >> >> Jussi >> >> On Fri, Nov 28, 2014 at 2:24 PM, Lewis Balentine wrote: >> >>> Sorry to be a pest but I have run into another problem I can not seem to >>> get past and I can find no examples. I am trying to use the FontChooser >>> control (gb.form) in a very simple form. >>> >>> '--------------------------------------------- >>> Public Sub FontBox1_Click() >>> ' Dim S As String >>> ' Dim S As String[] >>> ' Dim S As New String[] >>> ' Dim S as Font >>> >>> ' S = FontChooser.SelectedFont >>> ' S = FontChooser.Font >>> ' S = FontChooser.Name >>> ' TextArea1.Font = FontChooser.SelectedFont >>> ' TextArea1.Font = FontChooser.Font >>> >>> Print FontChooser.SelectedFont >>> Stop >>> End >>> '--------------------------------------------- >>> Everything that I try gives me an similar error: >>> 'FontChooser.SelectedFont' is not static in Form 2:23. >>> 'FontChooser.Font' is not static in Form 2:24. >>> 'FontChooser.Name' is not static in Form 2:25. >>> >>> When I look at the wiki it states: >>> Property SelectedFont As String >>> Returns or sets the selected font as a string. >>> >>> Property Name As String >>> Returns or sets the name of the control. >>> >>> Property Font As Font >>> Returns or sets the font used to draw text in the control. >>> >>> I have run out of not so clever ideas. >>> >>> regards, >>> >>> Lewis >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Fri Nov 28 15:18:00 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 28 Nov 2014 15:18:00 +0100 Subject: [Gambas-user] 'FontChooser.SelectedFont' is not static In-Reply-To: References: <20141128110543.GA1008@...2774...> <5478697D.8030903@...3412...> <54787BB4.3060703@...3412...> Message-ID: Hum try that ... Public Sub FontBox1_Click() If Last.Value then TextArea1.Font = Font[Last.Value] End This is for the fontbox The font chooser is a complete control set to make dialog or area to choose font. 2014-11-28 14:57 GMT+01:00 Jussi Lahtinen : > No that is FontBox, not FontChooser. > > > Jussi > > On Fri, Nov 28, 2014 at 3:42 PM, Lewis Balentine wrote: > >> >> Use IDE to put the FontChooser on your form << >> That is what I did. Then in the IDE I double-clicked on the control. >> That is what produced the sub declaration that I tried to use below. >> >> [System] >> Gambas=3.6.2 >> OperatingSystem=Linux >> Kernel=3.13.0-24-generic >> Architecture=x86_64 >> Distribution=Linux Mint 17 Qiana >> Desktop=MATE >> Theme=QGtk >> Language=en_US.UTF-8 >> Memory=15994M >> >> [Libraries] >> Cairo=libcairo.so.2.11301.0 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.204.0 >> GTK+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> On 11/28/2014 07:23 AM, Jussi Lahtinen wrote: >> > Use IDE to put the FontChooser on your form, or instantiate it first >> (with >> > New command). >> > >> > >> > Jussi >> > >> > On Fri, Nov 28, 2014 at 2:24 PM, Lewis Balentine >> wrote: >> > >> >> Sorry to be a pest but I have run into another problem I can not seem to >> >> get past and I can find no examples. I am trying to use the FontChooser >> >> control (gb.form) in a very simple form. >> >> >> >> '--------------------------------------------- >> >> Public Sub FontBox1_Click() >> >> ' Dim S As String >> >> ' Dim S As String[] >> >> ' Dim S As New String[] >> >> ' Dim S as Font >> >> >> >> ' S = FontChooser.SelectedFont >> >> ' S = FontChooser.Font >> >> ' S = FontChooser.Name >> >> ' TextArea1.Font = FontChooser.SelectedFont >> >> ' TextArea1.Font = FontChooser.Font >> >> >> >> Print FontChooser.SelectedFont >> >> Stop >> >> End >> >> '--------------------------------------------- >> >> Everything that I try gives me an similar error: >> >> 'FontChooser.SelectedFont' is not static in Form 2:23. >> >> 'FontChooser.Font' is not static in Form 2:24. >> >> 'FontChooser.Name' is not static in Form 2:25. >> >> >> >> When I look at the wiki it states: >> >> Property SelectedFont As String >> >> Returns or sets the selected font as a string. >> >> >> >> Property Name As String >> >> Returns or sets the name of the control. >> >> >> >> Property Font As Font >> >> Returns or sets the font used to draw text in the control. >> >> >> >> I have run out of not so clever ideas. >> >> >> >> regards, >> >> >> >> Lewis >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> >> with Interactivity, Sharing, Native Excel Exports, App Integration & >> more >> >> Get technology previously reserved for billion-dollar corporations, FREE >> >> >> >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > >> ------------------------------------------------------------------------------ >> > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> > from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> > with Interactivity, Sharing, Native Excel Exports, App Integration & more >> > Get technology previously reserved for billion-dollar corporations, FREE >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Fri Nov 28 15:22:28 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 28 Nov 2014 15:22:28 +0100 Subject: [Gambas-user] [GambasMag] Articles for Feb 2015 issue In-Reply-To: <54780E51.1090202@...1887...> References: <20141122215908.GC888@...2774...> <54780E51.1090202@...1887...> Message-ID: Yes Kevin it's a great idea !! 2014-11-28 6:55 GMT+01:00 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 have a few good days and many not so good days. But I would >> love to publish your articles. The magazine's next issue will not follow >> the outline for issues as I just don't have the energy to produce all I had >> hoped for. I haven't even been coding at all in the past couple months. >> Once my treatment is over I hope I can get back to following the outline >> and publishing the magazine. At the moment is you write articles I will >> publish a mini-issue with your article and two on game development I had >> sent to me. >> >> I have high hopes for Gambas Magazine but at the moment I simply can't put >> in all the time it requires due to health issues. >> >> Thank you for all your help. > > Hey Randall. I hope you get better soon. My mom's been in the hospital > for the last two months so yeah, being sick is no fun. > > Cool that Tobi is submitting articles on game dev in GAMBAS. I would > like to contribute as well, although I'm not sure what specifically I > could address. Maybe I could go through the Sylph codebase and try to > break it down into the essential code blocks that set up the game loop? > Things like OpenGL init stuff, loading textures and models, creating > display lists, alpha blending modes and setting up a "camera". After > nearly five years of game dev using GAMBAS I've found that once those > basic things are taken care of, the rest is just normal (as in easy) > programming. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagoneo at ...69... Fri Nov 28 15:39:37 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 15:39:37 +0100 Subject: [Gambas-user] Possible bug on offline help Message-ID: <54788929.90402@...69...> Hello everyone, if I use the off-line help I get everywhere this ?This page does not exist? see attached. If I use the on-line help is ok. regards Gianluigi From bagoneo at ...69... Fri Nov 28 15:44:29 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 15:44:29 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <54788929.90402@...69...> References: <54788929.90402@...69...> Message-ID: <54788A4D.8060202@...69...> Il 28/11/2014 15:39, Gian ha scritto: > Hello everyone, > if I use the off-line help I get everywhere this ?This page does not > exist? see attached. > If I use the on-line help is ok. > regards > Gianluigi > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Sorry for the forgetfulness regards Gianluigi [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-41-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=4537M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata da 2014-11-28 15:11:39.png Type: image/png Size: 28563 bytes Desc: not available URL: From lewis at ...3412... Fri Nov 28 15:55:07 2014 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 28 Nov 2014 08:55:07 -0600 Subject: [Gambas-user] 'FontChooser.SelectedFont' is not static In-Reply-To: References: <20141128110543.GA1008@...2774...> <5478697D.8030903@...3412...> <54787BB4.3060703@...3412...> Message-ID: <54788CCB.7050900@...3412...> Yes I have it now ... just trying to fine tune it a bit. I am writing a demo program as I work through some of Gambas trials and tribulations. It will have example code for: select directory select file select font read/write settings read/write to file display file delete file open a second form open terminal window and send command (via sendkeys) ... not sure what else Just some of the basic stuff that is probably boring obvious to some folks but helpful to Gambas newbies (like myself). cheers, Lewis -------------------------------------------------- Hum try that ... Public Sub FontBox1_Click() If Last.Value then TextArea1.Font = Font[Last.Value] End This is for the fontbox The font chooser is a complete control set to make dialog or area to choose font. 2014-11-28 14:57 GMT+01:00 Jussi Lahtinen : > No that is FontBox, not FontChooser. > > > Jussi > > On Fri, Nov 28, 2014 at 3:42 PM, Lewis Balentine wrote: > >> >> Use IDE to put the FontChooser on your form << >> That is what I did. Then in the IDE I double-clicked on the control. >> That is what produced the sub declaration that I tried to use below. From bagoneo at ...69... Fri Nov 28 16:10:26 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 16:10:26 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <54788A4D.8060202@...69...> References: <54788929.90402@...69...> <54788A4D.8060202@...69...> Message-ID: <54789062.8060805@...69...> Il 28/11/2014 15:44, Gian ha scritto: > Il 28/11/2014 15:39, Gian ha scritto: >> Hello everyone, >> if I use the off-line help I get everywhere this ?This page does not >> exist? see attached. >> If I use the on-line help is ok. >> regards >> Gianluigi >> >> ------------------------------------------------------------------------------ >> >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > Sorry for the forgetfulness > regards > Gianluigi > > [System] > Gambas=3.6.2 > OperatingSystem=Linux > Kernel=3.13.0-41-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.1 LTS > Desktop=GNOME > Theme=QGtk > Language=it_IT.UTF-8 > Memory=4537M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ...also in the trunk regards Gianluigi [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-41-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3020M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas at ...1... Fri Nov 28 16:32:43 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 28 Nov 2014 16:32:43 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <54788929.90402@...69...> References: <54788929.90402@...69...> Message-ID: <5478959B.8000807@...1...> Le 28/11/2014 15:39, Gian a ?crit : > Hello everyone, > if I use the off-line help I get everywhere this ?This page does not > exist? see attached. > If I use the on-line help is ok. > regards > Gianluigi > Mmm... Did you download the offline documentation? -- Beno?t Minisini From bagoneo at ...69... Fri Nov 28 16:46:51 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 16:46:51 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478959B.8000807@...1...> References: <54788929.90402@...69...> <5478959B.8000807@...1...> Message-ID: <547898EB.8050508@...69...> Il 28/11/2014 16:32, Beno?t Minisini ha scritto: > Mmm... Did you download the offline documentation? No Benoit, I was online when I downloaded the help according to your instructions (http://gambas.8142.n7.nabble.com/Support-for-offline-help-td47438.html). I did it because a friend of ours Gambas-it.org reporting the issue. Thanks for interest. Regards Gianluigi From jussi.lahtinen at ...626... Fri Nov 28 18:53:52 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Nov 2014 19:53:52 +0200 Subject: [Gambas-user] 'FontChooser.SelectedFont' is not static In-Reply-To: <54787DD4.8070209@...3412...> References: <20141128110543.GA1008@...2774...> <5478697D.8030903@...3412...> <54787BB4.3060703@...3412...> <54787DD4.8070209@...3412...> Message-ID: > daaa .... seems that I am confusing FontBox with FontChooser. > gee ... I feel like a dunce. Don't worry, that happens. Part of human cognition, sometimes you will see what you expect or think you will see, instead of what there really is. It's good thing to know them well: http://en.wikipedia.org/wiki/List_of_cognitive_biases Jussi From epost at ...3323... Fri Nov 28 20:31:16 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Fri, 28 Nov 2014 20:31:16 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <54788929.90402@...69...> References: <54788929.90402@...69...> Message-ID: <5478CD84.5020208@...3323...> Den 28. nov. 2014 15:39, skrev Gian: > Hello everyone, > if I use the off-line help I get everywhere this ?This page does not > exist? see attached. > If I use the on-line help is ok. > regards > Gianluigi > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I believe this is the same issue I reported a while ago, and also another time a while before a while ago :) I think we got stuck in finding the cause of the bug both times. -- Kind regards J?rn Erik From bagoneo at ...69... Fri Nov 28 20:44:52 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 20:44:52 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478CD84.5020208@...3323...> References: <54788929.90402@...69...> <5478CD84.5020208@...3323...> Message-ID: <5478D0B4.40308@...69...> Il 28/11/2014 20:31, J?rn Erik M?rne ha scritto: > > Den 28. nov. 2014 15:39, skrev Gian: >> Hello everyone, >> if I use the off-line help I get everywhere this ?This page does not >> exist? see attached. >> If I use the on-line help is ok. >> regards >> Gianluigi >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > I believe this is the same issue I reported a while ago, and also > another time a while before a while ago :) I think we got stuck in > finding the cause of the bug both times. > Yes,may be, but now waiting with confidence :) From gambas at ...1... Fri Nov 28 20:46:36 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 28 Nov 2014 20:46:36 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <547898EB.8050508@...69...> References: <54788929.90402@...69...> <5478959B.8000807@...1...> <547898EB.8050508@...69...> Message-ID: <5478D11C.6020808@...1...> Le 28/11/2014 16:46, Gian a ?crit : > Il 28/11/2014 16:32, Beno?t Minisini ha scritto: >> Mmm... Did you download the offline documentation? > > No Benoit, > I was online when I downloaded the help according to your instructions > (http://gambas.8142.n7.nabble.com/Support-for-offline-help-td47438.html). > I did it because a friend of ours Gambas-it.org reporting the issue. > Thanks for interest. > Regards > Gianluigi > Does it change anything if you choose the english language in the help window? The offline help is installed in '~/.local/share/gambas3/wiki'. Can you check it is present? -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Nov 28 20:48:38 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 28 Nov 2014 21:48:38 +0200 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478CD84.5020208@...3323...> References: <54788929.90402@...69...> <5478CD84.5020208@...3323...> Message-ID: Everything seems to work OK with revision 6681. Off-line and on-line help. I downloaded the off-line documentation via the button in IDE preferences. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-40-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=3953M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Jussi On Fri, Nov 28, 2014 at 9:31 PM, J?rn Erik M?rne wrote: > > Den 28. nov. 2014 15:39, skrev Gian: > > Hello everyone, > > if I use the off-line help I get everywhere this ?This page does not > > exist? see attached. > > If I use the on-line help is ok. > > regards > > Gianluigi > > > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > Get technology previously reserved for billion-dollar corporations, FREE > > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > I believe this is the same issue I reported a while ago, and also > another time a while before a while ago :) I think we got stuck in > finding the cause of the bug both times. > > -- > Kind regards J?rn Erik > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Nov 28 20:55:17 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Nov 2014 20:55:17 +0100 Subject: [Gambas-user] gb.gsl: Polynomial arithmetic / gb.flint In-Reply-To: <20141128110543.GA1008@...2774...> References: <20141128110543.GA1008@...2774...> Message-ID: <5478D325.9080709@...1...> Le 28/11/2014 12:05, Tobias Boege a ?crit : > Hi Benoit, > > the Polynomial class in gb.gsl does not support all the arithmetic > operations I'm going to need. I'd like to multiply two polynomials and > to divide a polynomial by a (non-zero) scalar. I just saw that GSL > doesn't implement polynomial arithmetic at all and you wrote the addition > and subtraction functions by hand... > > What do you think about the FLINT library? I just glanced at its > documentation and it looks like a treasure chest, and already pretty > object-oriented. I'll add gb.flint somewhere near the top of my TODO > list... > > And out of curiosity: for the polynomials with real or complex > coefficients, there is an euclidean division operation defined. The > GB_OPERATOR_DESC structure has no entry for the MOD operator, or does it? > If not, there is no chance of doing euclidean division via operators? > > Regards, > Tobi > I will answer in the dev mailing-list... -- Beno?t Minisini From gambas at ...1... Fri Nov 28 21:15:58 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Nov 2014 21:15:58 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> Message-ID: <5478D7FE.401@...1...> Le 28/11/2014 02:54, Jussi Lahtinen a ?crit : >> 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 Can you try revision #6683? I removed a check that was there to fix something I don't rembember. But that check leads to loss of data from the process, so it had to be removed anyway. -- Beno?t Minisini From bagoneo at ...69... Fri Nov 28 21:33:46 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 21:33:46 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478D0B4.40308@...69...> References: <54788929.90402@...69...> <5478CD84.5020208@...3323...> <5478D0B4.40308@...69...> Message-ID: <5478DC2A.7090800@...69...> Il 28/11/2014 20:44, Gian ha scritto: > Il 28/11/2014 20:31, J?rn Erik M?rne ha scritto: >> >> Den 28. nov. 2014 15:39, skrev Gian: >>> Hello everyone, >>> if I use the off-line help I get everywhere this ?This page does not >>> exist? see attached. >>> If I use the on-line help is ok. >>> regards >>> Gianluigi >>> >>> ------------------------------------------------------------------------------ >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> I believe this is the same issue I reported a while ago, and also >> another time a while before a while ago :) I think we got stuck in >> finding the cause of the bug both times. >> > > Yes,may be, but now waiting with confidence :) > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Sorry Jorn, have my best regards also to you Gianluigi From bagoneo at ...69... Fri Nov 28 21:35:08 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 21:35:08 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478D11C.6020808@...1...> References: <54788929.90402@...69...> <5478959B.8000807@...1...> <547898EB.8050508@...69...> <5478D11C.6020808@...1...> Message-ID: <5478DC7C.1090209@...69...> Il 28/11/2014 20:46, Beno?t Minisini ha scritto: > Le 28/11/2014 16:46, Gian a ?crit : >> Il 28/11/2014 16:32, Beno?t Minisini ha scritto: >>> Mmm... Did you download the offline documentation? >> >> No Benoit, >> I was online when I downloaded the help according to your instructions >> (http://gambas.8142.n7.nabble.com/Support-for-offline-help-td47438.html). >> I did it because a friend of ours Gambas-it.org reporting the issue. >> Thanks for interest. >> Regards >> Gianluigi >> > > Does it change anything if you choose the english language in the help > window? > > The offline help is installed in '~/.local/share/gambas3/wiki'. Can you > check it is present? > Yes the offline help is installed in '~/.local/share/gambas3/wiki'. Changing the system language the help offline work. Regards Gianluigi From t.lee.davidson at ...626... Fri Nov 28 22:47:58 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 28 Nov 2014 16:47:58 -0500 Subject: [Gambas-user] Cannot download OfflineHelp because Desktop.NetworkAvailable incorrectly returns False Message-ID: <5478ED8E.3010405@...626...> I couldn't download the offline Help and wanted to know why. I have found that NetworkAvailable_Read() in Desktop.class is relying on '/sbin' being configured in the user's path. On my system, it is not. And, so `ifconfg` and `ip` from a console both produce, "command not found". It is necessary to use the absolute path for these commands, ie. '/sbin/ifconfig' and '/sbin/ip', for them to work on my system. Note: For anyone else experiencing this issue, I have attached two files. One is a script that will update the offline help for you. And, the second is a Gambas command-line app that will let you know if the help needs updating. Note to Beno?t: Stat.LastModified returns a localized time and needs to be corrected to match sTimestamp. (But, of course, I may be confused again.) [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.10.60-desktop-1.mga3 Architecture=x86 Distribution=Mageia 3 Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11200.12 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.5.0 GTK+3=libgtk-3.so.0.600.4 GTK+=libgtk-x11-2.0.so.0.2400.17 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.34.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- Lee __________ "Artificial Intelligence is no match for natural stupidity." -------------- next part -------------- A non-text attachment was scrubbed... Name: GetOfflineHelpStatus-0.0.1.tar.gz Type: application/x-gzip Size: 4325 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: update-offline-help.sh Type: application/x-shellscript Size: 173 bytes Desc: not available URL: From bagoneo at ...69... Fri Nov 28 23:21:01 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 23:21:01 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478DC7C.1090209@...69...> References: <54788929.90402@...69...> <5478959B.8000807@...1...> <547898EB.8050508@...69...> <5478D11C.6020808@...1...> <5478DC7C.1090209@...69...> Message-ID: <5478F54D.4010700@...69...> Il 28/11/2014 21:35, Gian ha scritto: > Il 28/11/2014 20:46, Beno?t Minisini ha scritto: >> Le 28/11/2014 16:46, Gian a ?crit : >>> Il 28/11/2014 16:32, Beno?t Minisini ha scritto: >>>> Mmm... Did you download the offline documentation? >>> >>> No Benoit, >>> I was online when I downloaded the help according to your instructions >>> (http://gambas.8142.n7.nabble.com/Support-for-offline-help-td47438.html). >>> I did it because a friend of ours Gambas-it.org reporting the issue. >>> Thanks for interest. >>> Regards >>> Gianluigi >>> >> >> Does it change anything if you choose the english language in the help >> window? >> >> The offline help is installed in '~/.local/share/gambas3/wiki'. Can you >> check it is present? >> > > > Yes the offline help is installed in '~/.local/share/gambas3/wiki'. > Changing the system language the help offline work. > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > My terrible English struck again, I changed the system language. Instead it was enough to change the help languages. But you are cruel, was not enough tell me that help only works in English, French and Spanish? :) regards Gianluigi From jussi.lahtinen at ...626... Fri Nov 28 23:30:10 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 29 Nov 2014 00:30:10 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <5478D7FE.401@...1...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> Message-ID: Now something else happens... again with command line version. mTest.Process_Read.1623: #47: Read error mTest.DoTests.1543 mTest.Main.1832 Jussi On Fri, Nov 28, 2014 at 10:15 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 28/11/2014 02:54, Jussi Lahtinen a ?crit : > >> 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 > > Can you try revision #6683? > > I removed a check that was there to fix something I don't rembember. But > that check leads to loss of data from the process, so it had to be > removed anyway. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Nov 28 23:30:23 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 28 Nov 2014 23:30:23 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478F54D.4010700@...69...> References: <54788929.90402@...69...> <5478959B.8000807@...1...> <547898EB.8050508@...69...> <5478D11C.6020808@...1...> <5478DC7C.1090209@...69...> <5478F54D.4010700@...69...> Message-ID: <5478F77F.9030500@...1...> Le 28/11/2014 23:21, Gian a ?crit : > Il 28/11/2014 21:35, Gian ha scritto: >> Il 28/11/2014 20:46, Beno?t Minisini ha scritto: >>> Le 28/11/2014 16:46, Gian a ?crit : >>>> Il 28/11/2014 16:32, Beno?t Minisini ha scritto: >>>>> Mmm... Did you download the offline documentation? >>>> >>>> No Benoit, >>>> I was online when I downloaded the help according to your instructions >>>> (http://gambas.8142.n7.nabble.com/Support-for-offline-help-td47438.html). >>>> I did it because a friend of ours Gambas-it.org reporting the issue. >>>> Thanks for interest. >>>> Regards >>>> Gianluigi >>>> >>> >>> Does it change anything if you choose the english language in the help >>> window? >>> >>> The offline help is installed in '~/.local/share/gambas3/wiki'. Can you >>> check it is present? >>> >> >> >> Yes the offline help is installed in '~/.local/share/gambas3/wiki'. >> Changing the system language the help offline work. >> Regards >> Gianluigi >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > My terrible English struck again, I changed the system language. > Instead it was enough to change the help languages. > But you are cruel, was not enough tell me that help only works in > English, French and Spanish? :) > regards > Gianluigi > It's just that the wiki displays the english page if it does not exist in the current language. But not the IDE that displays the error message. Now you just have to find other italian people to translate the wiki. :-) I can't help for that. Despite having four italian grand-parents, I can't speak italian. Regards, -- Beno?t Minisini From gambas at ...1... Fri Nov 28 23:32:45 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Nov 2014 23:32:45 +0100 Subject: [Gambas-user] Cannot download OfflineHelp because Desktop.NetworkAvailable incorrectly returns False In-Reply-To: <5478ED8E.3010405@...626...> References: <5478ED8E.3010405@...626...> Message-ID: <5478F80D.2030200@...1...> Le 28/11/2014 22:47, T Lee Davidson a ?crit : > I couldn't download the offline Help and wanted to know why. > > I have found that NetworkAvailable_Read() in Desktop.class is relying on > '/sbin' being configured in the user's path. On my system, it is not. > And, so `ifconfg` and `ip` from a console both produce, "command not > found". > > It is necessary to use the absolute path for these commands, ie. > '/sbin/ifconfig' and '/sbin/ip', for them to work on my system. > > Note: For anyone else experiencing this issue, I have attached two > files. One is a script that will update the offline help for you. And, > the second is a Gambas command-line app that will let you know if the > help needs updating. > > Note to Beno?t: Stat.LastModified returns a localized time and needs to > be corrected to match sTimestamp. (But, of course, I may be confused > again.) > > You get two points there, and I have two more bugs to fix. -- Beno?t Minisini From epost at ...3323... Fri Nov 28 23:48:07 2014 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Fri, 28 Nov 2014 23:48:07 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478DC2A.7090800@...69...> References: <54788929.90402@...69...> <5478CD84.5020208@...3323...> <5478D0B4.40308@...69...> <5478DC2A.7090800@...69...> Message-ID: <5478FBA7.2090105@...3323...> Den 28. nov. 2014 21:33, skrev Gian: > Il 28/11/2014 20:44, Gian ha scritto: >> Il 28/11/2014 20:31, J?rn Erik M?rne ha scritto: >>> Den 28. nov. 2014 15:39, skrev Gian: >>>> Hello everyone, >>>> if I use the off-line help I get everywhere this ?This page does not >>>> exist? see attached. >>>> If I use the on-line help is ok. >>>> regards >>>> Gianluigi >>>> >>>> ------------------------------------------------------------------------------ >>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>>> Get technology previously reserved for billion-dollar corporations, FREE >>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> I believe this is the same issue I reported a while ago, and also >>> another time a while before a while ago :) I think we got stuck in >>> finding the cause of the bug both times. >>> >> Yes,may be, but now waiting with confidence :) >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > Sorry Jorn, > have my best regards also to you > Gianluigi Well, thank you :D -- Kind regards J?rn Erik From bagoneo at ...69... Fri Nov 28 23:49:03 2014 From: bagoneo at ...69... (Gian) Date: Fri, 28 Nov 2014 23:49:03 +0100 Subject: [Gambas-user] Possible bug on offline help In-Reply-To: <5478F77F.9030500@...1...> References: <54788929.90402@...69...> <5478959B.8000807@...1...> <547898EB.8050508@...69...> <5478D11C.6020808@...1...> <5478DC7C.1090209@...69...> <5478F54D.4010700@...69...> <5478F77F.9030500@...1...> Message-ID: <5478FBDF.4040904@...69...> Il 28/11/2014 23:30, Beno?t Minisini ha scritto: > Le 28/11/2014 23:21, Gian a ?crit : >> Il 28/11/2014 21:35, Gian ha scritto: >>> Il 28/11/2014 20:46, Beno?t Minisini ha scritto: >>>> Le 28/11/2014 16:46, Gian a ?crit : >>>>> Il 28/11/2014 16:32, Beno?t Minisini ha scritto: >>>>>> Mmm... Did you download the offline documentation? >>>>> >>>>> No Benoit, >>>>> I was online when I downloaded the help according to your instructions >>>>> (http://gambas.8142.n7.nabble.com/Support-for-offline-help-td47438.html). >>>>> I did it because a friend of ours Gambas-it.org reporting the issue. >>>>> Thanks for interest. >>>>> Regards >>>>> Gianluigi >>>>> >>>> >>>> Does it change anything if you choose the english language in the help >>>> window? >>>> >>>> The offline help is installed in '~/.local/share/gambas3/wiki'. Can you >>>> check it is present? >>>> >>> >>> >>> Yes the offline help is installed in '~/.local/share/gambas3/wiki'. >>> Changing the system language the help offline work. >>> Regards >>> Gianluigi >>> >>> ------------------------------------------------------------------------------ >>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>> with Interactivity, Sharing, Native Excel Exports, App Integration & more >>> Get technology previously reserved for billion-dollar corporations, FREE >>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> My terrible English struck again, I changed the system language. >> Instead it was enough to change the help languages. >> But you are cruel, was not enough tell me that help only works in >> English, French and Spanish? :) >> regards >> Gianluigi >> > > It's just that the wiki displays the english page if it does not exist > in the current language. But not the IDE that displays the error message. > > Now you just have to find other italian people to translate the wiki. > :-) I can't help for that. Despite having four italian grand-parents, I > can't speak italian. > > Regards, > I am a bad developer and bad english translator, but if there is a italian supervisor I can start sending some translation... Regard Gianluigi From bagoneo at ...69... Sat Nov 29 00:56:27 2014 From: bagoneo at ...69... (Gian) Date: Sat, 29 Nov 2014 00:56:27 +0100 Subject: [Gambas-user] Order forms events Message-ID: <54790BAB.3020806@...69...> Hi all, Normally the order of forms events is this: Enter 1) _new 2) Form_Open 3) Form_Resize 4) Form_BeforeArrange 5) Form_Arrange 6) Form_Move 7) Form_Show 8) Form_Move 9) Form_Activate 10) Form_GotFocus Exit 11) Form_Close 12) Form_Deactivate 13) Form_Hide but sometimes in enter is this: 1) _new 2) Form_Open 3) Form_Resize 4) Form_BeforeArrange 5) Form_Arrange 6) Form_Move 7) Form_Show 8) Form_Activate 9) Form_GotFocus 10) Form_Move Form_Move seems to be undisciplined, is correct or ... Regards Gianluigi From t.lee.davidson at ...626... Sat Nov 29 00:57:57 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 28 Nov 2014 18:57:57 -0500 Subject: [Gambas-user] UTC conversion Tip for Date class doesn't work as expected Message-ID: <54790C05.2040900@...626...> http://gambaswiki.org/wiki/lang/type/date says, "Dates can be converted to numbers. Then the number returned is the number of days stored internally and the fraction of day represented by the number of microseconds." And ,there is a tip box that says: [[ tip As date are internally stored in UTC, the time offset between local time and UTC is represented by the fractional part of the floating point number returned by the date to float conversion. So, to convert a date into UTC, you do the following: UTCDate = LocalDate - Frac(Date(Now)) ]] 1. It is unclear to me how the fractional part can represent both "the fraction of day represented by the number of microseconds" *and* "the time offset between local time and UTC", especially since it would always be changing. 2. A simple command-line app is apparently also confused: Public Sub Main() Dim dDate1, dDate2 As Date Print "System.TimeZone: " & System.TimeZone Print "Number of hours to add: " & Str(System.TimeZone / 60 / 60) Print "Frac(Date(Now)): " & Frac(Date(Now)) & "\n" dDate1 = Now Print "Date now : " & Format(dDate1, "yyyy/mm/dd hh:nn") dDate2 = dDate1 - Frac(Date(Now)) 'To follow example Print "UTC date now: " & Format(dDate2, "yyyy/mm/dd hh:nn") & "\n" Print "Difference: " & DateDiff(dDate1, dDate2, gb.Hour) End On my system, this produced: System.TimeZone: 18000 Number of hours to add: 5 Frac(Date(Now)): 0.79166666651145 Date now : 2014/11/28 18:49 UTC date now: 2014/11/27 23:49 Difference: -19 Instead of adding 5 hours, it subtracted 19. -- Lee __________ "Artificial Intelligence is no match for natural stupidity." P.S. [System] Gambas=3.6.0 OperatingSystem=Linux Kernel=3.10.60-desktop-1.mga3 Architecture=x86 Distribution=Mageia 3 Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11200.12 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.2 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.5.0 GTK+3=libgtk-3.so.0.600.4 GTK+=libgtk-x11-2.0.so.0.2400.17 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.34.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas at ...1... Sat Nov 29 01:06:27 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Nov 2014 01:06:27 +0100 Subject: [Gambas-user] Order forms events In-Reply-To: <54790BAB.3020806@...69...> References: <54790BAB.3020806@...69...> Message-ID: <54790E03.5050505@...1...> Le 29/11/2014 00:56, Gian a ?crit : > Hi all, > Normally the order of forms events is this: > > Enter > 1) _new > 2) Form_Open > 3) Form_Resize > 4) Form_BeforeArrange > 5) Form_Arrange > 6) Form_Move > 7) Form_Show > 8) Form_Move > 9) Form_Activate > 10) Form_GotFocus > > Exit > 11) Form_Close > 12) Form_Deactivate > 13) Form_Hide > > but sometimes in enter is this: > > 1) _new > 2) Form_Open > 3) Form_Resize > 4) Form_BeforeArrange > 5) Form_Arrange > 6) Form_Move > 7) Form_Show > 8) Form_Activate > 9) Form_GotFocus > 10) Form_Move > > Form_Move seems to be undisciplined, is correct or ... > Regards > Gianluigi > Yes. Events like Show or Activate come from the window manager, and so you cannot know exactly when they are received. Regards, -- Beno?t Minisini From bagoneo at ...69... Sat Nov 29 01:14:12 2014 From: bagoneo at ...69... (Gian) Date: Sat, 29 Nov 2014 01:14:12 +0100 Subject: [Gambas-user] Order forms events In-Reply-To: <54790E03.5050505@...1...> References: <54790BAB.3020806@...69...> <54790E03.5050505@...1...> Message-ID: <54790FD4.9090703@...69...> Il 29/11/2014 01:06, Beno?t Minisini ha scritto: > Yes. Events like Show or Activate come from the window manager, and so > you cannot know exactly when they are received. > > Regards, If I may ask, why two events Form_Move Thanks & Regards Gianluigi From gambas at ...1... Sat Nov 29 01:24:16 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Nov 2014 01:24:16 +0100 Subject: [Gambas-user] UTC conversion Tip for Date class doesn't work as expected In-Reply-To: <54790C05.2040900@...626...> References: <54790C05.2040900@...626...> Message-ID: <54791230.6090804@...1...> Le 29/11/2014 00:57, T Lee Davidson a ?crit : > http://gambaswiki.org/wiki/lang/type/date says, "Dates can be converted > to numbers. Then the number returned is the number of days stored > internally and the fraction of day represented by the number of > microseconds." > > And ,there is a tip box that says: > [[ tip > As date are internally stored in UTC, the time offset between local time > and UTC is represented by the fractional part of the floating point > number returned by the date to float conversion. > > So, to convert a date into UTC, you do the following: > UTCDate = LocalDate - Frac(Date(Now)) > ]] > > 1. It is unclear to me how the fractional part can represent both "the > fraction of day represented by the number of microseconds" *and* "the > time offset between local time and UTC", especially since it would > always be changing. > > 2. A simple command-line app is apparently also confused: > Public Sub Main() > > Dim dDate1, dDate2 As Date > > Print "System.TimeZone: " & System.TimeZone > Print "Number of hours to add: " & Str(System.TimeZone / 60 / 60) > Print "Frac(Date(Now)): " & Frac(Date(Now)) & "\n" > > dDate1 = Now > Print "Date now : " & Format(dDate1, "yyyy/mm/dd hh:nn") > dDate2 = dDate1 - Frac(Date(Now)) 'To follow example > Print "UTC date now: " & Format(dDate2, "yyyy/mm/dd hh:nn") & "\n" > > Print "Difference: " & DateDiff(dDate1, dDate2, gb.Hour) > > End > > On my system, this produced: > System.TimeZone: 18000 > Number of hours to add: 5 > Frac(Date(Now)): 0.79166666651145 > > Date now : 2014/11/28 18:49 > UTC date now: 2014/11/27 23:49 > > Difference: -19 > > > Instead of adding 5 hours, it subtracted 19. > > You're right, the tip is false, i.e. it works only when System.TimeZone < 0, otherwise you have a 24h error. It was written before System.TimeZone exist. So you must do that instead: UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone) And the wiki must be fixed... Regards, -- Beno?t Minisini From gambas at ...1... Sat Nov 29 01:25:40 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Nov 2014 01:25:40 +0100 Subject: [Gambas-user] Order forms events In-Reply-To: <54790FD4.9090703@...69...> References: <54790BAB.3020806@...69...> <54790E03.5050505@...1...> <54790FD4.9090703@...69...> Message-ID: <54791284.5050705@...1...> Le 29/11/2014 01:14, Gian a ?crit : > Il 29/11/2014 01:06, Beno?t Minisini ha scritto: >> Yes. Events like Show or Activate come from the window manager, and so >> you cannot know exactly when they are received. >> >> Regards, > > If I may ask, why two events Form_Move > > Thanks & Regards > > Gianluigi > Because a Move event is internally sent by Gambas as soon as you open the window. The other Move event should come from the window manager. -- Beno?t Minisini From t.lee.davidson at ...626... Sat Nov 29 01:32:02 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 28 Nov 2014 19:32:02 -0500 Subject: [Gambas-user] UTC conversion Tip for Date class doesn't work as expected In-Reply-To: <54791230.6090804@...1...> References: <54790C05.2040900@...626...> <54791230.6090804@...1...> Message-ID: <54791402.2080806@...626...> On 11/28/2014 07:24 PM, Beno?t Minisini wrote: > > You're right, the tip is false, i.e. it works only when System.TimeZone > < 0, otherwise you have a 24h error. It was written before > System.TimeZone exist. > > So you must do that instead: > > UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone) > > And the wiki must be fixed... I'd be glad to do that. But, would you like the Tip simply removed or modified re: "UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone)"? -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From bagoneo at ...69... Sat Nov 29 01:32:12 2014 From: bagoneo at ...69... (Gian) Date: Sat, 29 Nov 2014 01:32:12 +0100 Subject: [Gambas-user] Order forms events In-Reply-To: <54791284.5050705@...1...> References: <54790BAB.3020806@...69...> <54790E03.5050505@...1...> <54790FD4.9090703@...69...> <54791284.5050705@...1...> Message-ID: <5479140C.6060502@...69...> Il 29/11/2014 01:25, Beno?t Minisini ha scritto: > Le 29/11/2014 01:14, Gian a ?crit : >> Il 29/11/2014 01:06, Beno?t Minisini ha scritto: >>> Yes. Events like Show or Activate come from the window manager, and so >>> you cannot know exactly when they are received. >>> >>> Regards, >> >> If I may ask, why two events Form_Move >> >> Thanks & Regards >> >> Gianluigi >> > > Because a Move event is internally sent by Gambas as soon as you open > the window. The other Move event should come from the window manager. > Thank you and good night to you and all the shrimp :) Gianluigi From gambas at ...1... Sat Nov 29 01:33:40 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Nov 2014 01:33:40 +0100 Subject: [Gambas-user] UTC conversion Tip for Date class doesn't work as expected In-Reply-To: <54791402.2080806@...626...> References: <54790C05.2040900@...626...> <54791230.6090804@...1...> <54791402.2080806@...626...> Message-ID: <54791464.3020307@...1...> Le 29/11/2014 01:32, T Lee Davidson a ?crit : > On 11/28/2014 07:24 PM, Beno?t Minisini wrote: >> >> You're right, the tip is false, i.e. it works only when System.TimeZone >> < 0, otherwise you have a 24h error. It was written before >> System.TimeZone exist. >> >> So you must do that instead: >> >> UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone) >> >> And the wiki must be fixed... > > I'd be glad to do that. But, would you like the Tip simply removed or > modified re: "UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone)"? > Remove the tip, as it is false. -- Beno?t Minisini From t.lee.davidson at ...626... Sat Nov 29 01:35:46 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 28 Nov 2014 19:35:46 -0500 Subject: [Gambas-user] UTC conversion Tip for Date class doesn't work as expected In-Reply-To: <54791464.3020307@...1...> References: <54790C05.2040900@...626...> <54791230.6090804@...1...> <54791402.2080806@...626...> <54791464.3020307@...1...> Message-ID: <547914E2.6040708@...626...> On 11/28/2014 07:33 PM, Beno?t Minisini wrote: > Le 29/11/2014 01:32, T Lee Davidson a ?crit : >> On 11/28/2014 07:24 PM, Beno?t Minisini wrote: >>> >>> You're right, the tip is false, i.e. it works only when System.TimeZone >>> < 0, otherwise you have a 24h error. It was written before >>> System.TimeZone exist. >>> >>> So you must do that instead: >>> >>> UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone) >>> >>> And the wiki must be fixed... >> >> I'd be glad to do that. But, would you like the Tip simply removed or >> modified re: "UTCDate = DateAdd(LocalDate, gb.Second, System.TimeZone)"? >> > > Remove the tip, as it is false. > Done. :-) -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From lewis at ...3412... Sat Nov 29 05:40:42 2014 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 28 Nov 2014 22:40:42 -0600 Subject: [Gambas-user] Environmental Variable In-Reply-To: <54790E03.5050505@...1...> References: <54790BAB.3020806@...69...> <54790E03.5050505@...1...> Message-ID: <54794E4A.3060608@...3412...> Is there a way to read an Environmental Variable other than: Dim HomeEnvStr as String Shell "echo $HOME" to HomeEnvStr thank you, Lewis From t.lee.davidson at ...626... Sat Nov 29 05:50:05 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 28 Nov 2014 23:50:05 -0500 Subject: [Gambas-user] Environmental Variable In-Reply-To: <54794E4A.3060608@...3412...> References: <54790BAB.3020806@...69...> <54790E03.5050505@...1...> <54794E4A.3060608@...3412...> Message-ID: <5479507D.8050107@...626...> On 11/28/2014 11:40 PM, Lewis Balentine wrote: > Is there a way to read an Environmental Variable other than: > > Dim HomeEnvStr as String > Shell "echo $HOME" to HomeEnvStr > > thank you, > > Lewis Yep. Application.Env (gb) -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From t.lee.davidson at ...626... Sat Nov 29 05:53:04 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 28 Nov 2014 23:53:04 -0500 Subject: [Gambas-user] Environmental Variable In-Reply-To: <5479507D.8050107@...626...> References: <54790BAB.3020806@...69...> <54790E03.5050505@...1...> <54794E4A.3060608@...3412...> <5479507D.8050107@...626...> Message-ID: <54795130.7080303@...626...> On 11/28/2014 11:50 PM, T Lee Davidson wrote: > On 11/28/2014 11:40 PM, Lewis Balentine wrote: >> Is there a way to read an Environmental Variable other than: >> >> Dim HomeEnvStr as String >> Shell "echo $HOME" to HomeEnvStr >> >> thank you, >> >> Lewis > > Yep. Application.Env (gb) I almost forgot. For $HOME, you can use System.User (gb): "User.Home". -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From lewis at ...3412... Sat Nov 29 06:01:15 2014 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 28 Nov 2014 23:01:15 -0600 Subject: [Gambas-user] Environmental Variable In-Reply-To: <54795130.7080303@...626...> References: <54790BAB.3020806@...69...> <54790E03.5050505@...1...> <54794E4A.3060608@...3412...> <5479507D.8050107@...626...> <54795130.7080303@...626...> Message-ID: <5479531B.10607@...3412...> Most interesting. Thank you. On 11/28/2014 10:53 PM, T Lee Davidson wrote: > On 11/28/2014 11:50 PM, T Lee Davidson wrote: >> On 11/28/2014 11:40 PM, Lewis Balentine wrote: >>> Is there a way to read an Environmental Variable other than: >>> >>> Dim HomeEnvStr as String >>> Shell "echo $HOME" to HomeEnvStr >>> >>> thank you, >>> >>> Lewis >> Yep. Application.Env (gb) > I almost forgot. For $HOME, you can use System.User (gb): > "User.Home". > > From ian.roper at ...1974... Sat Nov 29 06:08:14 2014 From: ian.roper at ...1974... (Ian) Date: Sat, 29 Nov 2014 13:08:14 +0800 Subject: [Gambas-user] Conversion of array value to integer Message-ID: <547954BE.8070709@...1974...> If you have an array value that is a number - TmpAry[0] = "1" If you try to convert it to an integer with CInt you get an error "Not a Function" CInt(TmpAry[0]) You get the same error with Val(TmpAry[0]) You DON?T get the same error for CFloat(TmpAry[0]) ? I assume this is a bug ? Thanks, Ian. From t.lee.davidson at ...626... Sat Nov 29 06:24:25 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 29 Nov 2014 00:24:25 -0500 Subject: [Gambas-user] Conversion of array value to integer In-Reply-To: <547954BE.8070709@...1974...> References: <547954BE.8070709@...1974...> Message-ID: <54795889.90002@...626...> On 11/29/2014 12:08 AM, Ian wrote: > If you have an array value that is a number - TmpAry[0] = "1" > > If you try to convert it to an integer with CInt you get an error "Not a > Function" > CInt(TmpAry[0]) > > You get the same error with Val(TmpAry[0]) > > You DON?T get the same error for CFloat(TmpAry[0]) ? > > I assume this is a bug ? > > Thanks, > Ian. Hi Ian, Need more info - like a small program that reproduces the error. I get no error with: Public Sub Main() Dim TmpAry As New String[1] Dim iBucket As Integer Dim fBucket As Float TmpAry[0] = "1" iBucket = CInt(TmpAry[0]) iBucket = Val(TmpAry[0]) fBucket = CFloat(TmpAry[0]) Print "done" End -- Lee __________ "Artificial Intelligence is no match for natural stupidity." From gambas at ...1... Sat Nov 29 15:25:40 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Nov 2014 15:25:40 +0100 Subject: [Gambas-user] Cannot download OfflineHelp because Desktop.NetworkAvailable incorrectly returns False In-Reply-To: <5478F80D.2030200@...1...> References: <5478ED8E.3010405@...626...> <5478F80D.2030200@...1...> Message-ID: <5479D764.6040708@...1...> Le 28/11/2014 23:32, Beno?t Minisini a ?crit : > Le 28/11/2014 22:47, T Lee Davidson a ?crit : >> I couldn't download the offline Help and wanted to know why. >> >> I have found that NetworkAvailable_Read() in Desktop.class is relying on >> '/sbin' being configured in the user's path. On my system, it is not. >> And, so `ifconfg` and `ip` from a console both produce, "command not >> found". >> >> It is necessary to use the absolute path for these commands, ie. >> '/sbin/ifconfig' and '/sbin/ip', for them to work on my system. >> >> Note: For anyone else experiencing this issue, I have attached two >> files. One is a script that will update the offline help for you. And, >> the second is a Gambas command-line app that will let you know if the >> help needs updating. >> >> Note to Beno?t: Stat.LastModified returns a localized time and needs to >> be corrected to match sTimestamp. (But, of course, I may be confused >> again.) >> >> > > You get two points there, and I have two more bugs to fix. > It should be fixed in revision #6685. Regards, -- Beno?t Minisini From gambas at ...1... Sat Nov 29 15:46:47 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 29 Nov 2014 15:46:47 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> Message-ID: <5479DC57.2020206@...1...> Le 28/11/2014 23:30, Jussi Lahtinen a ?crit : > Now something else happens... again with command line version. > > mTest.Process_Read.1623: #47: Read error > mTest.DoTests.1543 mTest.Main.1832 > > > Jussi > Nothing happens there after having run the test an hundred times. Can you try revision #6686 and tell me if it changes anything? -- Beno?t Minisini From rolf.frogs at ...221... Sat Nov 29 17:39:35 2014 From: rolf.frogs at ...221... (rolf) Date: Sat, 29 Nov 2014 17:39:35 +0100 Subject: [Gambas-user] compiling trunk with jit Message-ID: <201411291739.36787.rolf.frogs@...221...> Hi some weeks ago I reported, that gb.jit will not be build. Today I tried again and found in the log file a notice, that "llvm-config" is not found. After searching I found, that it is named "llvm-config-3.1" in debian wheezy - I make a symlink from that to "llvm-config" and now it compiles completly. Perhaps this information can be used to include in the make files. Fine regards Rolf From taboege at ...626... Sat Nov 29 17:43:18 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Nov 2014 17:43:18 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <1416341201.3515.8.camel@...40...> References: <1416341201.3515.8.camel@...40...> Message-ID: <20141129164318.GA501@...2774...> On Tue, 18 Nov 2014, Karl Reinl wrote: > Salut Tobi, > > played with you trie example (trietest) it crash if > p = h.GetPrefix("texte") find nothing (p=null), even when change > to p = h.GetPrefix("Texte") > > My change is h["texte"] to h["Texte"] (source attached) Good news: I can reproduce the crash in a fresh VirtualBox'd Ubuntu 12.04 with 32 bits. Let's see if I am mentally able to use that shaky VirtualBox long enough to fix the error... -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sat Nov 29 20:05:29 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Nov 2014 20:05:29 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <1416341201.3515.8.camel@...40...> References: <1416341201.3515.8.camel@...40...> Message-ID: <20141129190528.GC501@...2774...> On Tue, 18 Nov 2014, Karl Reinl wrote: > Salut Tobi, > > played with you trie example (trietest) it crash if > p = h.GetPrefix("texte") find nothing (p=null), even when change > to p = h.GetPrefix("Texte") > > My change is h["texte"] to h["Texte"] (source attached) Can you run your tests with #6688? Indeed there were bit width errors (I think) but what caused your particular error here was that a TriePrefix object would erroneously drop reference counts of its parent Trie object if it couldn't be created. Total nonsense. Thanks for your report! As for the leak you showed in a follow-up, I couldn't reproduce that. I'll try harder if the problem persists with #6688. But I can tell you that this does not necessarily indicate a severe problem / corruption, as I don't terminate strings in my trie backend code and it could just be some length calculations that went wrong. (Most probably that is because the Gambas string functions automatically use strlen() to determine a string's length when I give 0 as a length parameter. However, strlen() must not be used on the strings from my trie.) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sat Nov 29 20:33:49 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Nov 2014 20:33:49 +0100 Subject: [Gambas-user] Scrollarea Graphics In-Reply-To: References: <20141117175403.GI1321@...2774...> <20141117184949.GL1321@...2774...> <20141117211705.GO1321@...2774...> <20141117213106.GP1321@...2774...> <20141117214732.GQ1321@...2774...> Message-ID: <20141129193349.GD501@...2774...> On Mon, 17 Nov 2014, Fabien Bodard wrote: > 2014-11-17 22:47 GMT+01:00 Tobias Boege : > > On Mon, 17 Nov 2014, Fabien Bodard wrote: > >> This is the hexdump > >> > > > > Yep, it has those weird 0xd 0xa sequences, a.k.a. Windows-style newlines, > > which my original file didn't have... Can't be too difficult to make the > > patch parser resistant to that, as Gambas already supports different line > > delimiters in the Stream class. > > > > Also Sean, sorry for hijacking this thread. > yes it's that : > 125: aScan = Scan(.LineInfo, "@@ -* +* @@") > > the line finish by \r > > so in this case aScan is null.. > > you can simply do : aScan = Scan(Rtrim(.LineInfo), "@@ -* +* @@") > The more I think about it, the less I want to change it. What if someone creates a patch which correctly contains a \r\n sequence? I just can't remove the \r at line ends without risking actual data loss. Your problem was caused by your mail client or something which changed the \n to \r\n. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Nov 29 22:13:59 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 29 Nov 2014 22:13:59 +0100 Subject: [Gambas-user] New behaviour for the Split() instruction Message-ID: <547A3717.2060304@...1...> I'm currently a new behaviour for the Split() instruction, that is normally backward-compatible. Split("abcd",";","\\;") splits the "abcd" string with the ";" character, and uses the backslash character for escaping it. This behaviour is enabled when the escape string (the third argument) has two characters, and its second character is the same as the first splitting character (the second argument). Then the first character of the escape string is the escape character (usually a backslash). What do you think about that? -- Beno?t Minisini From gambas at ...1... Sat Nov 29 22:21:42 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 29 Nov 2014 22:21:42 +0100 Subject: [Gambas-user] New behaviour for the Split() instruction In-Reply-To: <547A3717.2060304@...1...> References: <547A3717.2060304@...1...> Message-ID: <547A38E6.4070503@...1...> Le 29/11/2014 22:13, Beno?t Minisini a ?crit : > I'm currently a new behaviour for the Split() instruction, that is . /|\ defining ------' > normally backward-compatible. > > Split("abcd",";","\\;") > > splits the "abcd" string with the ";" character, and uses the backslash > character for escaping it. > > This behaviour is enabled when the escape string (the third argument) > has two characters, and its second character is the same as the first > splitting character (the second argument). Then the first character of > the escape string is the escape character (usually a backslash). > > What do you think about that? > -- Beno?t Minisini From taboege at ...626... Sat Nov 29 22:22:23 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 29 Nov 2014 22:22:23 +0100 Subject: [Gambas-user] New behaviour for the Split() instruction In-Reply-To: <547A3717.2060304@...1...> References: <547A3717.2060304@...1...> Message-ID: <20141129212223.GE501@...2774...> On Sat, 29 Nov 2014, Beno??t Minisini wrote: > I'm currently a new behaviour for the Split() instruction, that is > normally backward-compatible. > > Split("abcd",";","\\;") > > splits the "abcd" string with the ";" character, and uses the backslash > character for escaping it. > > This behaviour is enabled when the escape string (the third argument) > has two characters, and its second character is the same as the first > splitting character (the second argument). Then the first character of > the escape string is the escape character (usually a backslash). > > What do you think about that? > I have not found any use of a two-character escape string in my collective projects. Therefore, no objection. (Although I don't really understand what the change means. Do you have an example of what Split() gives before and after your change, in a case where they're different?) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Nov 29 22:39:39 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Nov 2014 22:39:39 +0100 Subject: [Gambas-user] New behaviour for the Split() instruction In-Reply-To: <20141129212223.GE501@...2774...> References: <547A3717.2060304@...1...> <20141129212223.GE501@...2774...> Message-ID: <547A3D1B.3080906@...1...> Le 29/11/2014 22:22, Tobias Boege a ?crit : > On Sat, 29 Nov 2014, Beno??t Minisini wrote: >> I'm currently a new behaviour for the Split() instruction, that is >> normally backward-compatible. >> >> Split("abcd",";","\\;") >> >> splits the "abcd" string with the ";" character, and uses the backslash >> character for escaping it. >> >> This behaviour is enabled when the escape string (the third argument) >> has two characters, and its second character is the same as the first >> splitting character (the second argument). Then the first character of >> the escape string is the escape character (usually a backslash). >> >> What do you think about that? >> > > I have not found any use of a two-character escape string in my collective > projects. Therefore, no objection. (Although I don't really understand what > the change means. Do you have an example of what Split() gives before and > after your change, in a case where they're different?) > > Regards, > Tobi > Before that, Split("abcd",";","\\;") did nothing useful, as an escape character cannot be a splitting character. No error was raised in that case, you just got some undefined behaviour. So I decided to use that syntax to implement a different way of splitting the string. Instead of escaping with enclosing characters (everything between these two characters cannot be split), I escape characters one by one with the special character indicated in the beginning of the escape string. Regards, -- Beno?t Minisini From bbruen at ...2308... Sat Nov 29 22:53:02 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 30 Nov 2014 08:23:02 +1030 Subject: [Gambas-user] New behaviour for the Split() instruction In-Reply-To: <20141129212223.GE501@...2774...> References: <547A3717.2060304@...1...> <20141129212223.GE501@...2774...> Message-ID: <20141130082302.0202788923c73cad1dc84b94@...2308...> On Sat, 29 Nov 2014 22:22:23 +0100 Tobias Boege wrote: > On Sat, 29 Nov 2014, Beno??t Minisini wrote: > > I'm currently a new behaviour for the Split() instruction, that is > > normally backward-compatible. > > > > Split("abcd",";","\\;") > > > > splits the "abcd" string with the ";" character, and uses the backslash > > character for escaping it. > > > > This behaviour is enabled when the escape string (the third argument) > > has two characters, and its second character is the same as the first > > splitting character (the second argument). Then the first character of > > the escape string is the escape character (usually a backslash). > > > > What do you think about that? > > > > I have not found any use of a two-character escape string in my collective > projects. Therefore, no objection. (Although I don't really understand what > the change means. Do you have an example of what Split() gives before and > after your change, in a case where they're different?) > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > Yes, I would like to see an example of before and after as well. I think I had a need for exactly this the other day. I wanted to split a comma delimited list except where the comma is immediately followed by a space. Will this change help that? regards Bruce -- B Bruen From Karl.Reinl at ...2345... Sat Nov 29 22:53:33 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 29 Nov 2014 22:53:33 +0100 Subject: [Gambas-user] problems in trie class In-Reply-To: <20141129190528.GC501@...2774...> References: <1416341201.3515.8.camel@...40...> <20141129190528.GC501@...2774...> Message-ID: <1417298013.3608.17.camel@...40...> Am Samstag, den 29.11.2014, 20:05 +0100 schrieb Tobias Boege: > On Tue, 18 Nov 2014, Karl Reinl wrote: > > Salut Tobi, > > > > played with you trie example (trietest) it crash if > > p = h.GetPrefix("texte") find nothing (p=null), even when change > > to p = h.GetPrefix("Texte") > > > > My change is h["texte"] to h["Texte"] (source attached) > > Can you run your tests with #6688? > > Indeed there were bit width errors (I think) but what caused your particular > error here was that a TriePrefix object would erroneously drop reference > counts of its parent Trie object if it couldn't be created. Total nonsense. > > Thanks for your report! > > As for the leak you showed in a follow-up, I couldn't reproduce that. I'll > try harder if the problem persists with #6688. But I can tell you that this > does not necessarily indicate a severe problem / corruption, as I don't > terminate strings in my trie backend code and it could just be some length > calculations that went wrong. (Most probably that is because the Gambas > string functions automatically use strlen() to determine a string's length > when I give 0 as a length parameter. However, strlen() must not be used on > the strings from my trie.) > > Regards, > Tobi > Salut Tobi, yes, now no more crash, only an error raises, thats oK. The leak shown, I can't reproduce any more now..... BUT Now TriePrefix is case sensitive, in my follow-up the TriePrefix "d" showed me "D" AND "d"entries, now only the "d", may be thats how trie work normally, but for my behaves non case sensitive would be better (or a switch to do like that) And we talked about something like .Add(Value,Key) for simplifing filling. Thanks anyway -- Amicalement Charlie From bbruen at ...2308... Sat Nov 29 23:01:33 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 30 Nov 2014 08:31:33 +1030 Subject: [Gambas-user] A good idea? Revisited again. In-Reply-To: <20141012084114.95562602c335b6a3a6f1e90b@...2308...> References: <20140921075407.b80d2fdcc4ce9951715a35a4@...2308...> <20140920225755.GI887@...2774...> <20140921084827.09b60035d15df7e5ba297b75@...2308...> <20141012084114.95562602c335b6a3a6f1e90b@...2308...> Message-ID: <20141130083133.a2b89d4f86f5dfb9f7141d32@...2308...> So far, and ignoring our own "industry specific" (see Note 1) virtual menu items, I have produced the following general popup forms as virtual menu items (custom controls): * Help|About Me : A virtual custom control that implements a "standard" popup form showing information about the current application extracted from the Gambas executable archive. * Help|System Information : A virtual custom control that implements a "standard" popup showing information about the current OS, Gambas and application environment. * Help|Browse Help : A virtual custom control that provides an application level help browser similar to the IDE help browser. This is supported by a help system development utility. However it has some limitations as explained in Note 2 below. * File|Recent : (This one I am very happy with :-) ). A completely self contained implementation of the "Recent Files" concept. *File|* : This one is a bit weird, it creates a "standard" File menu item at the top level and most (well OK "some") of the standard things one would expect in the "File" menu of a normal user application. See Note 3. *Tools|Options : (On the one hand I'm very happy with this, on the other...) A virtual custom control that implements a program options menu item under Tools and a popup form "similar" to the IDE Tools|Preferences menu item. It creates the entire popup form on the fly from a definition file (let's call it .options) within the executable archive. The "other hand" is this. I have hacked the IDE form designer code a bit and can now edit that definition file from within the IDE. That is, the virtual control component has a form that let's the programmer create/modify the definition file. The IDE hack responds to a button click on the "Options" property, shows the editor (which is somewhat similar to the Menu editor) and allows the programmer to set up the Tools|Options for the project without a single line of code. I am not really very happy with the way the hack works (Note 4) but it does appear to work. What's the point of all this? ---------------------------------- These custom controls provide self contained functionality that implement a menu item in a form menu by simply dragging the control from the toolbox onto the form. Little or no coding is needed in the form class to manage that functionality. For developers who support multiple projects and would like to have the same functionality, with the same appearance, shortcut key etc etc across multiple forms this approach makes implementing that "standard-ness" very easy. I would like to know whether there is any interest in this stuff. We are quite prepared to publish them on the Gambas farm if there is such interest (they are "programming tools" if you like and thus have no commercial value to us.) regards Bruce -- B Bruen From gambas at ...1... Sat Nov 29 23:03:46 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Nov 2014 23:03:46 +0100 Subject: [Gambas-user] New behaviour for the Split() instruction In-Reply-To: <20141130082302.0202788923c73cad1dc84b94@...2308...> References: <547A3717.2060304@...1...> <20141129212223.GE501@...2774...> <20141130082302.0202788923c73cad1dc84b94@...2308...> Message-ID: <547A42C2.2040007@...1...> Le 29/11/2014 22:53, B Bruen a ?crit : > > Yes, I would like to see an example of before and after as well. > > I think I had a need for exactly this the other day. I wanted to > split a comma delimited list except where the comma is immediately > followed by a space. Will this change help that? > > regards Bruce > No. It's for splitting such string with the ';' character: "blue;blue\\;yellow;green" to get: ["blue","blue;yellow","green"] -- Beno?t Minisini From bbruen at ...2308... Sat Nov 29 23:25:49 2014 From: bbruen at ...2308... (B Bruen) Date: Sun, 30 Nov 2014 08:55:49 +1030 Subject: [Gambas-user] A good idea? Revisited again. In-Reply-To: <20141130083133.a2b89d4f86f5dfb9f7141d32@...2308...> References: <20140921075407.b80d2fdcc4ce9951715a35a4@...2308...> <20140920225755.GI887@...2774...> <20140921084827.09b60035d15df7e5ba297b75@...2308...> <20141012084114.95562602c335b6a3a6f1e90b@...2308...> <20141130083133.a2b89d4f86f5dfb9f7141d32@...2308...> Message-ID: <20141130085549.e97c13271bb8cb50a6805f22@...2308...> Woops, I chopped off the notes. Notes 1] This concept can also provide with minimal effort your own industry specific virtual menu items. For example, say your system has a EditCustomer form that you want to be able to access from mulitple other forms in your system. By wrapping that form in a "virtual menu" project, which takes but a few minutes, you can create a virtual custom control for the form. 2] The helpset development utility is buggy and there is a problem with relative paths that I haven't got around yet (complex situation where the target helpset file is in a "middle level" component, i.e. application project uses vhelp component and another vmenu component, say a search utility which also uses vhelp. I cannot solve how to extract the target help set file from the middle component ... 3] alpha only 4] This is an interesting thing, I have a patch/hack for the IDE that lets us run the custom control configuration editor. It is a fairly simple change to FProperty.class around line 774: --- FProperty.class (revision 6688) +++ FProperty.class (working copy) @@ -774,8 +774,15 @@ Case Else 'object - hEditor = cmbProperty - InitComboWith($hForm.FindControlFromType($sType).Sort(gb.Natural + gb.IgnoreCase), "(" & ("None") & ")") + If $hObject.Unknown Then + If Project.Sources.Exist("FEditConfig.form") Then + Project.Run(False, -1, "FEditConfig") + Return + Endif + Else + hEditor = cmbProperty + InitComboWith($hForm.FindControlFromType($sType).Sort(gb.Natural + gb.IgnoreCase), "(" & ("None") & ")") + Endif End Select It looks for a specifically named form in the current project and if found then runs that form. The configuration must be self contained, i.e. in this case we write an "options" text file into the source project directory. It cannot send any information back to the IDE. Not entirely satisfactory but it does provide some sort of proof that it may be possible to enhance the IDE properties editor through external code. regards Bruce -- B Bruen From jussi.lahtinen at ...626... Sun Nov 30 01:11:24 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Nov 2014 02:11:24 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <5479DC57.2020206@...1...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> Message-ID: > Nothing happens there after having run the test an hundred times. > > Can you try revision #6686 and tell me if it changes anything? > Sorry to tell but something is still not right. But things are already better, GUI version works perfectly, but command-line version reported error after 40 runs. mTest.DoTests.1545: ERROR: 240 So, I think sTest got null string. Jussi From jussi.lahtinen at ...626... Sun Nov 30 01:13:10 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Nov 2014 02:13:10 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> Message-ID: > > > Nothing happens there after having run the test an hundred times. >> >> Can you try revision #6686 and tell me if it changes anything? >> > > > Sorry to tell but something is still not right. But things are already > better, GUI version works perfectly, but command-line version reported > error after 40 runs. > > mTest.DoTests.1545: > ERROR: 240 > > So, I think sTest got null string. > This was with revision 6688. Jussi From kevinfishburne at ...1887... Sun Nov 30 06:53:10 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 30 Nov 2014 00:53:10 -0500 Subject: [Gambas-user] [GambasMag] Articles for Feb 2015 issue In-Reply-To: References: <20141122215908.GC888@...2774...> <54780E51.1090202@...1887...> Message-ID: <547AB0C6.7040900@...1887...> On 11/28/2014 09:22 AM, Fabien Bodard wrote: > Yes Kevin it's a great idea !! > > 2014-11-28 6:55 GMT+01:00 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 have a few good days and many not so good days. But I would >>> love to publish your articles. The magazine's next issue will not follow >>> the outline for issues as I just don't have the energy to produce all I had >>> hoped for. I haven't even been coding at all in the past couple months. >>> Once my treatment is over I hope I can get back to following the outline >>> and publishing the magazine. At the moment is you write articles I will >>> publish a mini-issue with your article and two on game development I had >>> sent to me. >>> >>> I have high hopes for Gambas Magazine but at the moment I simply can't put >>> in all the time it requires due to health issues. >>> >>> Thank you for all your help. >> Hey Randall. I hope you get better soon. My mom's been in the hospital >> for the last two months so yeah, being sick is no fun. >> >> Cool that Tobi is submitting articles on game dev in GAMBAS. I would >> like to contribute as well, although I'm not sure what specifically I >> could address. Maybe I could go through the Sylph codebase and try to >> break it down into the essential code blocks that set up the game loop? >> Things like OpenGL init stuff, loading textures and models, creating >> display lists, alpha blending modes and setting up a "camera". After >> nearly five years of game dev using GAMBAS I've found that once those >> basic things are taken care of, the rest is just normal (as in easy) >> programming. > Fabien and Randall, I noticed gambasmag.com is down. I can ping it but nmap only returns 4567/tcp. Does it reside at a new location? Also, how should I format the article, or is it a Wordpress site or similar? Lastly, would you prefer the articles to be divided into different topics or a single large article covering all topics? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Sun Nov 30 13:25:36 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Nov 2014 13:25:36 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> Message-ID: <547B0CC0.90406@...1...> Le 30/11/2014 01:13, Jussi Lahtinen a ?crit : >> >> >> Nothing happens there after having run the test an hundred times. >>> >>> Can you try revision #6686 and tell me if it changes anything? >>> >> >> >> Sorry to tell but something is still not right. But things are already >> better, GUI version works perfectly, but command-line version reported >> error after 40 runs. >> >> mTest.DoTests.1545: >> ERROR: 240 >> >> So, I think sTest got null string. >> > > This was with revision 6688. > > > Jussi What is your CPU exactly? -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Nov 30 13:37:52 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Nov 2014 14:37:52 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <547B0CC0.90406@...1...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> Message-ID: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz I think with latest microcode... I'll check later. Jussi On Sun, Nov 30, 2014 at 2:25 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 30/11/2014 01:13, Jussi Lahtinen a ?crit : > >> > >> > >> Nothing happens there after having run the test an hundred times. > >>> > >>> Can you try revision #6686 and tell me if it changes anything? > >>> > >> > >> > >> Sorry to tell but something is still not right. But things are already > >> better, GUI version works perfectly, but command-line version reported > >> error after 40 runs. > >> > >> mTest.DoTests.1545: > >> ERROR: 240 > >> > >> So, I think sTest got null string. > >> > > > > This was with revision 6688. > > > > > > Jussi > > What is your CPU exactly? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lewis at ...3412... Sun Nov 30 14:48:15 2014 From: lewis at ...3412... (Lewis Balentine) Date: Sun, 30 Nov 2014 07:48:15 -0600 Subject: [Gambas-user] Model "T" Button BackGround Color In-Reply-To: References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> Message-ID: <547B201F.6000302@...3412...> It is claimed that Henry Ford said, "You can have a Model 'T' in any color you want as long as it is black." I am having a similar problem with the button controls but in grey. This all started when I was testing 'tabbing' between controls. The difference in color between the control that has focus and the ones that do not was barely perceptible. So first I tried making the text Bold when they got focus but some controls do not seem to be getting focus. So I though I would try changing the background color. I select button one on the form in the IDE and changed the background to bright yellow &H00BFBF&. Then I ran the program and sure enough: Any color I want as long as it is grey. OK ... there is more than one way to skin a cat. I put this line in the Sub Form_Open(): Button1.Background = &H00BFBF& Then I ran the program again. Any color I want as long as it is grey. Well at least it is consistent. So I am guessing that there is a system (gb.desktop or gb.qt4) class color array that I need to 'tamper' with to change the button background colors: normal, focus, selected? /The Wiki could use a search feature./ The original question I was trying to resolve: What is the order of and is there a way to control the Tab Order of controls on a form? Lewis [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=MATE Theme=QGtk Language=en_US.UTF-8 Memory=15994M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas at ...1... Sun Nov 30 15:50:41 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 30 Nov 2014 15:50:41 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> Message-ID: <547B2EC1.8090901@...1...> Le 30/11/2014 13:37, Jussi Lahtinen a ?crit : > Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz > > I think with latest microcode... I'll check later. > > > Jussi > I have tested 100x times on my own 64 bits system, and in a 32 bits VM running ArchLinux. No problem... Are you sure that you have correctly compile the last revision? I will re-run the tests longer anyway... -- Beno?t Minisini From lewis at ...3412... Sun Nov 30 15:59:45 2014 From: lewis at ...3412... (Lewis Balentine) Date: Sun, 30 Nov 2014 08:59:45 -0600 Subject: [Gambas-user] Model "T" Button BackGround Color, Tab order Resolved In-Reply-To: <547B201F.6000302@...3412...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> <547B201F.6000302@...3412...> Message-ID: <547B30E1.6080909@...3412...> OK --- I found the answer to the Tab order. Kind of makes the Button Color Question mute ... On 11/30/2014 07:48 AM, Lewis Balentine wrote: > It is claimed that Henry Ford said, "You can have a Model 'T' in any > color you want as long as it is black." > > I am having a similar problem with the button controls but in grey. This > all started when I was testing 'tabbing' between controls. The > difference in color between the control that has focus and the ones that > do not was barely perceptible. So first I tried making the text Bold > when they got focus but some controls do not seem to be getting focus. > So I though I would try changing the background color. I select button > one on the form in the IDE and changed the background to bright yellow > &H00BFBF&. > > Then I ran the program and sure enough: > Any color I want as long as it is grey. > > OK ... there is more than one way to skin a cat. > I put this line in the Sub Form_Open(): > Button1.Background = &H00BFBF& > > Then I ran the program again. > Any color I want as long as it is grey. > Well at least it is consistent. > > So I am guessing that there is a system (gb.desktop or gb.qt4) class > color array that I need to 'tamper' with to change the button background > colors: normal, focus, selected? /The Wiki could use a search feature./ > > The original question I was trying to resolve: > What is the order of and is there a way to control the Tab Order of > controls on a form? > > Lewis > > [System] > Gambas=3.6.2 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=MATE > Theme=QGtk > Language=en_US.UTF-8 > Memory=15994M > > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Nov 30 16:41:53 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 30 Nov 2014 16:41:53 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <547B2EC1.8090901@...1...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> <547B2EC1.8090901@...1...> Message-ID: <547B3AC1.9010702@...1...> Le 30/11/2014 15:50, Beno?t Minisini a ?crit : > Le 30/11/2014 13:37, Jussi Lahtinen a ?crit : >> Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz >> >> I think with latest microcode... I'll check later. >> >> >> Jussi >> > > I have tested 100x times on my own 64 bits system, and in a 32 bits VM > running ArchLinux. No problem... > > Are you sure that you have correctly compile the last revision? > > I will re-run the tests longer anyway... > Note that yours tests (239 & 240) are not reliable. If the command takes more than 0.1 second to run, your test will fail. And nothing ensures that the command will return before 0.1 seconds. You must wait for the end of the process. -- Beno?t Minisini From gambas at ...1... Sun Nov 30 16:45:40 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 30 Nov 2014 16:45:40 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <547B3AC1.9010702@...1...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> <547B2EC1.8090901@...1...> <547B3AC1.9010702@...1...> Message-ID: <547B3BA4.5020207@...1...> Le 30/11/2014 16:41, Beno?t Minisini a ?crit : > Le 30/11/2014 15:50, Beno?t Minisini a ?crit : >> Le 30/11/2014 13:37, Jussi Lahtinen a ?crit : >>> Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz >>> >>> I think with latest microcode... I'll check later. >>> >>> >>> Jussi >>> >> >> I have tested 100x times on my own 64 bits system, and in a 32 bits VM >> running ArchLinux. No problem... >> >> Are you sure that you have correctly compile the last revision? >> >> I will re-run the tests longer anyway... >> > > Note that yours tests (239 & 240) are not reliable. If the command takes > more than 0.1 second to run, your test will fail. And nothing ensures > that the command will return before 0.1 seconds. You must wait for the > end of the process. > OK, I finally got one error (but 239), even if I replaced "Wait 0.1" by "hProcess.Wait". Let's go back investigating... -- Beno?t Minisini From rmorgan62 at ...626... Sun Nov 30 17:20:45 2014 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 30 Nov 2014 09:20:45 -0700 Subject: [Gambas-user] [GambasMag] Articles for Feb 2015 issue In-Reply-To: <54780E51.1090202@...1887...> References: <20141122215908.GC888@...2774...> <54780E51.1090202@...1887...> Message-ID: Hi Kevin, I would greatly appreciate any input you have for the magazine. Right now I have little time to devote to it. But I am sure I can still get the artist to do the cover and help edit articles. Right now and for at least the next few month my health will limit my ability to produce anything. But I will do what I can when I can to get another issue out. At the moment I have about one day a week I can at least function at a limited level. The others days I simply am too ill or too tired. The site was down on and off the last few days as my isp was updating equipment. This next week the power company will be working in the area and that may effect connectivity at some point. I want to thank everyone for their patients and for their help with the magazine. With any luck I should be back at it in a few months. Sincerely, Randall On Thu, Nov 27, 2014 at 10:55 PM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > 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 have a few good days and many not so good days. But I would > > love to publish your articles. The magazine's next issue will not follow > > the outline for issues as I just don't have the energy to produce all I > had > > hoped for. I haven't even been coding at all in the past couple months. > > Once my treatment is over I hope I can get back to following the outline > > and publishing the magazine. At the moment is you write articles I will > > publish a mini-issue with your article and two on game development I had > > sent to me. > > > > I have high hopes for Gambas Magazine but at the moment I simply can't > put > > in all the time it requires due to health issues. > > > > Thank you for all your help. > > Hey Randall. I hope you get better soon. My mom's been in the hospital > for the last two months so yeah, being sick is no fun. > > Cool that Tobi is submitting articles on game dev in GAMBAS. I would > like to contribute as well, although I'm not sure what specifically I > could address. Maybe I could go through the Sylph codebase and try to > break it down into the essential code blocks that set up the game loop? > Things like OpenGL init stuff, loading textures and models, creating > display lists, alpha blending modes and setting up a "camera". After > nearly five years of game dev using GAMBAS I've found that once those > basic things are taken care of, the rest is just normal (as in easy) > programming. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From jussi.lahtinen at ...626... Sun Nov 30 19:10:43 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Nov 2014 20:10:43 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <547B3BA4.5020207@...1...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> <547B2EC1.8090901@...1...> <547B3AC1.9010702@...1...> <547B3BA4.5020207@...1...> Message-ID: > OK, I finally got one error (but 239), even if I replaced "Wait 0.1" by > "hProcess.Wait". Let's go back investigating... > I'll make the change in the code. "Good" to see it's not fault in my system. Jussi From gambas at ...1... Sun Nov 30 19:33:55 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Nov 2014 19:33:55 +0100 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> <547B2EC1.8090901@...1...> <547B3AC1.9010702@...1...> <547B3BA4.5020207@...1...> Message-ID: <547B6313.6070209@...1...> Le 30/11/2014 19:10, Jussi Lahtinen a ?crit : >> OK, I finally got one error (but 239), even if I replaced "Wait 0.1" by >> "hProcess.Wait". Let's go back investigating... >> > > I'll make the change in the code. "Good" to see it's not fault in my system. > > > Jussi At the moment I can get the 239 error, i.e. when running 'echo test' through a virtual terminal. In Linux, you have a system call that tells you how many bytes can be read on a file descriptor: ioctl(fd, FIONREAD, ...), and a system call (select) that tells you when something can be read on a file descriptor. Apparently, the system tells me that there is something to read, but the ioctl(fd, FIONREAD...) tells me that there is zero bytes! At the end of the child process, I use that to know if there is still something to read from its output. And as I receive zero, I return a void string. If the data from 'echo test' arrives before the process ends, everything works as expected. Strange... -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Nov 30 19:40:23 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Nov 2014 20:40:23 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: <547B6313.6070209@...1...> References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> <547B2EC1.8090901@...1...> <547B3AC1.9010702@...1...> <547B3BA4.5020207@...1...> <547B6313.6070209@...1...> Message-ID: > > At the moment I can get the 239 error, i.e. when running 'echo test' > through a virtual terminal. > > In Linux, you have a system call that tells you how many bytes can be > read on a file descriptor: ioctl(fd, FIONREAD, ...), and a system call > (select) that tells you when something can be read on a file descriptor. > > Apparently, the system tells me that there is something to read, but the > ioctl(fd, FIONREAD...) tells me that there is zero bytes! > > At the end of the child process, I use that to know if there is still > something to read from its output. And as I receive zero, I return a > void string. If the data from 'echo test' arrives before the process > ends, everything works as expected. > > Strange... > I tested if this happens also with "cat" and it didn't make any difference. Hmmm... maybe there is some other system function to check a file descriptors. Jussi From jussi.lahtinen at ...626... Sun Nov 30 19:45:03 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 30 Nov 2014 20:45:03 +0200 Subject: [Gambas-user] Problem with Process_Read In-Reply-To: References: <5477B523.1020108@...1...> <5477CAF0.9010003@...1...> <5478D7FE.401@...1...> <5479DC57.2020206@...1...> <547B0CC0.90406@...1...> <547B2EC1.8090901@...1...> <547B3AC1.9010702@...1...> <547B3BA4.5020207@...1...> <547B6313.6070209@...1...> Message-ID: > I tested if this happens also with "cat" and it didn't make any difference. > Here is GambasTester with improved test (they are just inside loop). Much easier to demonstrate the problem. Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.30.tar.gz Type: application/x-gzip Size: 16863 bytes Desc: not available URL: From horechuk at ...981... Sun Nov 30 19:41:51 2014 From: horechuk at ...981... (Paul Horechuk) Date: Sun, 30 Nov 2014 13:41:51 -0500 Subject: [Gambas-user] Desktop requirements Message-ID: <547B64EF.1070909@...981...> Are there special considerations to implement when moving a source project archive from say a KDE desktop to xfce or gnome3? I've developed an app in Gmabas 3.6.2 that is not accepting keyboard input into TextBoxes under alternate desktops. -- Think Free ... Use Open Source Software From gambas at ...1... Sun Nov 30 20:04:40 2014 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Nov 2014 20:04:40 +0100 Subject: [Gambas-user] Desktop requirements In-Reply-To: <547B64EF.1070909@...981...> References: <547B64EF.1070909@...981...> Message-ID: <547B6A48.70400@...1...> Le 30/11/2014 19:41, Paul Horechuk a ?crit : > Are there special considerations to implement when moving a source > project archive from say a KDE desktop to xfce or gnome3? I've developed > an app in Gmabas 3.6.2 that is not accepting keyboard input into > TextBoxes under alternate desktops. > Do you have more detail about your problem? -- Beno?t Minisini From horechuk at ...981... Sun Nov 30 20:47:55 2014 From: horechuk at ...981... (Paul Horechuk) Date: Sun, 30 Nov 2014 14:47:55 -0500 Subject: [Gambas-user] Desktop requirements In-Reply-To: <547B6A48.70400@...1...> References: <547B64EF.1070909@...981...> <547B6A48.70400@...1...> Message-ID: <547B746B.8030003@...981...> I'm running KDE Plasma on Ubuntu 14.04 AMD64 6 core with 8GB RAM. I have Gambas 3.6.2 from a PPA and have been experiencing Bus error 7 or seg fault 11. Gambas crashes with either error. gdb reports a crash but cannot report to the Ubuntu developers as gambas is treated as a third party application. I have attempted to narrow down the causes by logging in with different desktops, Ubuntu, Gnome3, Unity, Lubuntu, Xubuntu, xfce, etc. The only desktop that allows me to to enter text into the textboxes, appears to be KDE Plasma (not Kubuntu!). The components I have added to the project are: gb, gb.db, gb.db.mysql, gb.db.form, gb.db.odbc, gb.form, gb.image, gb.gui, gb.image, gb.image.effect, gb.image.imlib The program uses 3 external programs: bash to execute commands php to do timestamp conversions, and qrencode to create QRcodes. The process creates up to 10 labels (2 by 5) on an 8.5 by 11" drawing area, parented by the printer class. The crash happens before the printer routines are involved. The crash has even happened while the program was waiting for me to press an OK button to finish a batch of QR codes. Sending you the project is next to useless as it only happens on my KDE desktop. On a VM session with Fedora 20, there are no crashes, but different problems occur in the printer section. On 14-11-30 02:04 PM, Beno?t Minisini wrote: > Le 30/11/2014 19:41, Paul Horechuk a ?crit : >> Are there special considerations to implement when moving a source >> project archive from say a KDE desktop to xfce or gnome3? I've developed >> an app in Gmabas 3.6.2 that is not accepting keyboard input into >> TextBoxes under alternate desktops. >> > Do you have more detail about your problem? > -- Think Free ... Use Open Source Software From gambas at ...1... Sun Nov 30 23:52:27 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 30 Nov 2014 23:52:27 +0100 Subject: [Gambas-user] Important change in revision #6691 Message-ID: <547B9FAB.6070800@...1...> Hi, I'm trying to fix a problem in the Gambas process management that annoys a lot of people for a long time. Sometimes, the output of the process is not entirely read. Some data is lost. This is because I was using a way of detecting data availability that was not reliable. I thought it was, but I was wrong. Concretely, the select() system call tells you if there is data available to read, but, in some cases, it wakes up and there is actually no data to read. So I tried to use a end-of-stream check by using various system calls (it depends on the type of file descriptor: file, pipe, socket...). But this routine sometimes fails. To change that, I now read data ahead by chunk of 1KB before actually raising the Read event. Apparently, using select() + read() is the correct way of accurately detecting end of stream, especially on pipes. Consequently, if the read ahead fails, I decide there is nothing to read anymore and I close the stream. Hopefully, this was not a big job, as internally read ahead was already implemented for optimizing the INPUT and LINE INPUT instruction. But this is a big change that may have side effects, so I ask people who run Gambas projects that watch a lot of file descriptors, and read the output of a lot of external processes, to use that revision and report any problem. Regards, -- Beno?t Minisini