From radoslav.dejanovic at ...116... Wed Dec 1 09:36:02 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 1 Dec 2004 09:36:02 +0100 Subject: [Gambas-user] Gambas in Linux Format In-Reply-To: <200411301111.32698.lordheavy@...512...> References: <200411301111.32698.lordheavy@...512...> Message-ID: <200412010936.02216.radoslav.dejanovic@...116...> I see there's a nice, short article about upcoming Gambas 1.0 in Linux Format. Go, developers, go! :) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From gambas at ...1... Wed Dec 1 10:34:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 1 Dec 2004 10:34:35 +0100 Subject: [Gambas-user] Gambas 1.0RC4 In-Reply-To: <200411301111.32698.lordheavy@...512...> References: <200411301111.32698.lordheavy@...512...> Message-ID: <200412011034.36916.gambas@...1...> On Tuesday 30 November 2004 11:11, Laurent Carlier wrote: > Found on the website : > > 28 Nov 2004 - Release of Gambas 1.0 RC4 > > This release fixes the bugs detected by users since the RC3. Here are the > translations that are not up to date: Arabic, Galician, and Welsh. I didn't > receive any answer from the Mandrake packager that creates bad Gambas > binary packages... > Thanks, Laurent. I didn't have the time to make the announce myself! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Dec 1 10:34:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 1 Dec 2004 10:34:59 +0100 Subject: [Gambas-user] Gambas 1.0RC4 In-Reply-To: <200411300822.07758.sourceforge-raindog2@...94...> References: <200411301111.32698.lordheavy@...512...> <200411300822.07758.sourceforge-raindog2@...94...> Message-ID: <200412011034.59816.gambas@...1...> On Tuesday 30 November 2004 14:22, Rob wrote: > On Tuesday 30 November 2004 05:11, Laurent Carlier quoted: > > I didn't receive any answer from the > > Mandrake packager that creates bad Gambas binary packages... > > Hey Benoit, if you write him again could you CC: the cooker list? > Other people seem interested in the gambas packages too. > What is the address I should CC: ? -- Benoit Minisini mailto:gambas at ...1... From toni at ...706... Wed Dec 1 12:20:36 2004 From: toni at ...706... (Toni Schornboeck) Date: Wed, 01 Dec 2004 12:20:36 +0100 Subject: [Gambas-user] XMLReader: strange message Message-ID: <20041201112036.88672.qmail@...707...> Hello. I don't know wether it is a bug or a mistake by me. I get the following message in the "direktfenster"(I'm using the german version) (word by word translation: "direct window") WARNING: circular references detected RootElement (1) TextElement (5) BlockElement (2) EmptyElement (10) WARNING: 74 allocation(s) non freed. RootElement, TextElement, BlockElement and EmptyElement are classes. And the number is the amount of objects a created for each class. The code parses a XML file and does some evaluation (some kind of very trivial XSLT). The circular references are there, because every Element yields a reference to his parent. I can't avoid this reference to parent and I see no reason to do so. What can I do about it? Obviously gambas does not free all elements, or does it even though this message? Is there something like a weak-reference or stuff like that to tell gambas that the reference to parent is just a pointer which doesn't own the pointee? thank you in advance Toni Schornboeck From gambas at ...1... Wed Dec 1 15:35:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 1 Dec 2004 15:35:00 +0100 Subject: [Gambas-user] Gambas in contrib Message-ID: <200412011535.00488.gambas@...1...> Finally, Gambas has been included in Mandrake contrib the way it is needed. You will see it in the next version of Mandrake (10.2) Thanks to Lenny from MandrakeSoft from having followed my spec file :-) -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Dec 1 17:11:21 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 1 Dec 2004 11:11:21 -0500 Subject: [Gambas-user] Gambas in contrib In-Reply-To: <200412011535.00488.gambas@...1...> References: <200412011535.00488.gambas@...1...> Message-ID: <200412011111.21305.sourceforge-raindog2@...94...> On Wednesday 01 December 2004 09:35, Benoit Minisini wrote: > Finally, Gambas has been included in Mandrake contrib the way > it is needed. You will see it in the next version of Mandrake > (10.2) Cool! I also finally started my repository for 10.1 last night with some Gambas packages. (Got a 10.1 workstation at a client site...) Rob From sourceforge-raindog2 at ...94... Wed Dec 1 20:27:19 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 1 Dec 2004 14:27:19 -0500 Subject: [Gambas-user] Gambas DB manager/sqlite error in RC4 Message-ID: <200412011427.19645.sourceforge-raindog2@...94...> In RC4, when I try to generate Gambas code for a simple sqlite database I just created in it, the GDM crashes with a "Bad key". Here's the screenshot (I had just pressed the Generate button.) I'd put together a create script except I assume that's what Generate Gambas code is supposed to do. Here's the database renamed to "nagatron.sqlite-database". There are two tables, each with a couple fields and a couple indexes. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: nagatron.sqlite-database Type: application/octet-stream Size: 6144 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gdmerror1.jpg Type: image/jpeg Size: 122260 bytes Desc: not available URL: From whoknowz at ...626... Wed Dec 1 20:38:30 2004 From: whoknowz at ...626... (whoknowz) Date: Thu, 2 Dec 2004 00:38:30 +0500 Subject: [Gambas-user] Button highlight color changing. In-Reply-To: <3bab1b02041201004358f6dfe8@...627...> References: <3bab1b02041201004358f6dfe8@...627...> Message-ID: <3bab1b020412011138363d179f@...627...> Hi, My problem is rather odd. I put a button on a form and change its backcolor to green. And wrote some code to change the backcolor of that button when some event occurs. But everytime I bring the cursor over the button it highlights to white color, my code does not handle anything with regard to that buttons event (maybe to indicate it has focus??). I could not find any property related to changing this behaviour. And I dont think its related to any theme that is used on the desktop environment either. Is there anyway to disable or change this highlighting behaviour? Cause the whole purpose of having distinct colors on the button is lost (as per my application), my users gets confused because they are not sure if they pressed the button or not while the cursor is on the button itself. Regards, Nashith From nordle at ...708... Thu Dec 2 00:54:36 2004 From: nordle at ...708... (nordle at ...708...) Date: Wed, 1 Dec 2004 23:54:36 +0000 Subject: [Gambas-user] gambas-0.99.RC4 + Slackware Message-ID: <200412012354.36403.nordle@...708...> Hi, I tried to install gambas, but have issues: 1. ./configure freaks due to libxml 2. Disabling libxml in ./configure enables that to work, but make install then fails. 3. The PostgreSQL driver is not being built I originally sent these to Beno?t as I had read the FAQ, but not seen the mailing lists! doh! Could anyone help with this at all? This first bit was the ./configure + libxml bit: > > I think Gambas may be the solution to my problems, but I'm getting errors > > trying to install it. > > > > Slackware 10.0 / Current (kernel 2.6.9-cko3, gcc 3.3.4, glibc 2.3.3, > > gambas-0.99.RC4) > > > > I've also tried a fresh install of libiconv-1.9.1, libxml2-2.6.16, > > libxslt-1.1.12 (in that order), run ldconfig && updatedb. > > It still sais "/usr/include/libxslt/xslt.h:13:25: libxml/tree.h: No such > > file or directory".. but: > > > > root at ...709...:/usr/local/src/gambas-0.99.RC4# locate libxml/tree.h > > /usr/include/libxml2/libxml/tree.h > > root at ...709...:/usr/local/src/gambas-0.99.RC4# > > > > Many Thanks + hope the project continues to go well! > > > > Steve. > > Hi, > > It seems that ./configure failed to correctly detect the XML include > > directory: > > ... > > checking for XML parser component headers... /usr/local/include/php/ext/ > > checking for XML parser component libraries... /usr/lib/ > > ... > > Try: > > 1) To specify the correct path by hand with > --with-libxml-include=/path/to/dir > > 2) Otherwise, try to disable the xml components with --disable-libxml > --disable-xslt > > Regards, Many thanks for the reply, I tried ./configure --disable-libxml --disable-xslt which enabled the ./configure && make to complete ok, however make install produced errors: ---------------------------------------------------------------------- make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/local/src/gambas-0.99.RC4/src/lib/vb' make[3]: Leaving directory `/usr/local/src/gambas-0.99.RC4/src/lib/vb' make[3]: Entering directory `/usr/local/src/gambas-0.99.RC4/src/lib' make[4]: Entering directory `/usr/local/src/gambas-0.99.RC4/src/lib' make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/local/src/gambas-0.99.RC4/src/lib' make[3]: Leaving directory `/usr/local/src/gambas-0.99.RC4/src/lib' make[2]: Leaving directory `/usr/local/src/gambas-0.99.RC4/src/lib' make[2]: Entering directory `/usr/local/src/gambas-0.99.RC4/src' make[3]: Entering directory `/usr/local/src/gambas-0.99.RC4/src' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/local/src/gambas-0.99.RC4/src' make[2]: Leaving directory `/usr/local/src/gambas-0.99.RC4/src' make[1]: Leaving directory `/usr/local/src/gambas-0.99.RC4/src' make[1]: Entering directory `/usr/local/src/gambas-0.99.RC4' make[2]: Entering directory `/usr/local/src/gambas-0.99.RC4' Making symbolic links in /usr/bin... Creating the library info files... /opt/gambas/share/gambas/info/gb.net.info /opt/gambas/lib/gambas/lib.gb.xml.libxml.rpc.so: not found make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/usr/local/src/gambas-0.99.RC4' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/usr/local/src/gambas-0.99.RC4' make: *** [install-recursive] Error 1 root at ...709...:/usr/local/src/gambas-0.99.RC4# ? ? ? ? ? ---------------------------------------------------------------------------------------- Also, I've got PostgreSQL 7.4.6 installed in /usr/local/pgsql, but the Gambas ./configure did not detect the headers and reported that the driver is disabled. checking for KDE 3.x component headers... /opt/kde/include/ checking for KDE 3.x component libraries... /opt/kde/lib/ checking for Networking component headers... checking for Networking component libraries... checking for Advanced networking component headers... /usr/include/curl/ checking for Advanced networking component libraries... /usr/lib/ checking for PostgreSQL driver headers... no checking for PostgreSQL driver libraries... /usr/local/lib/ configure: warning: *** PostgreSQL driver is disabled From gambas at ...1... Thu Dec 2 11:06:09 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Dec 2004 11:06:09 +0100 Subject: [Gambas-user] gambas-0.99.RC4 + Slackware In-Reply-To: <200412012354.36403.nordle@...708...> References: <200412012354.36403.nordle@...708...> Message-ID: <200412021106.09309.gambas@...1...> On Thursday 02 December 2004 00:54, nordle at ...708... wrote: > Hi, I tried to install gambas, but have issues: > > 1. ./configure freaks due to libxml > 2. Disabling libxml in ./configure enables that to work, but make install > then fails. > 3. The PostgreSQL driver is not being built > > I originally sent these to Beno?t as I had read the FAQ, but not seen the > mailing lists! doh! > > Could anyone help with this at all? > Did you call "./reconf" before calling ./configure with the new flags ? Where are your postgresql headers located ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Dec 2 11:17:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Dec 2004 11:17:25 +0100 Subject: [Gambas-user] Gambas DB manager/sqlite error in RC4 In-Reply-To: <200412011427.19645.sourceforge-raindog2@...94...> References: <200412011427.19645.sourceforge-raindog2@...94...> Message-ID: <200412021117.25319.gambas@...1...> On Wednesday 01 December 2004 20:27, Rob wrote: > In RC4, when I try to generate Gambas code for a simple sqlite > database I just created in it, the GDM crashes with a "Bad key". > Here's the screenshot (I had just pressed the Generate button.) > I'd put together a create script except I assume that's what > Generate Gambas code is supposed to do. Here's the database > renamed to "nagatron.sqlite-database". There are two tables, > each with a couple fields and a couple indexes. > > Rob Can you try this patch and tell me if it is OK ? -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: FCode.class Type: application/x-java Size: 6171 bytes Desc: not available URL: From gambas at ...1... Thu Dec 2 12:20:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Dec 2004 12:20:48 +0100 Subject: [Gambas-user] XMLReader: strange message In-Reply-To: <20041201112036.88672.qmail@...707...> References: <20041201112036.88672.qmail@...707...> Message-ID: <200412021220.48574.gambas@...1...> On Wednesday 01 December 2004 12:20, Toni Schornboeck wrote: > Hello. > > I don't know wether it is a bug or a mistake by me. > > I get the following message in the "direktfenster"(I'm using the german > version) (word by word translation: "direct window") > > WARNING: circular references detected > RootElement (1) > TextElement (5) > BlockElement (2) > EmptyElement (10) > WARNING: 74 allocation(s) non freed. > > RootElement, TextElement, BlockElement and EmptyElement are classes. > And the number is the amount of objects a created for each class. > > The code parses a XML file and does some evaluation (some kind of very > trivial XSLT). > > The circular references are there, because every Element yields a reference > to his parent. > I can't avoid this reference to parent and I see no reason to do so. > > What can I do about it? Obviously gambas does not free all elements, or > does it even though this message? Is there something like a weak-reference > or stuff like that to tell gambas that the reference to parent is just a > pointer which doesn't own the pointee? Alas no, a reference is a reference, and prevent the object to be freed. A solution to put null in all these back parent references when the program ends. Regards, -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Thu Dec 2 12:55:22 2004 From: nigel at ...38... (nigel at ...38...) Date: Thu, 2 Dec 2004 12:55:22 +0100 (CET) Subject: [Gambas-user] Button highlight color changing. Message-ID: <21655175.1101988522839.JavaMail.www@...711...> Could you post your code as I was unable to reproduce the problem. Nigel > Message date : Dec 01 2004, 07:39 PM > From : "whoknowz" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : [Gambas-user] Button highlight color changing. > Hi, > > My problem is rather odd. I put a button on a form and change its > backcolor to green. And wrote some code to change the backcolor of > that button when some event occurs. But everytime I bring the cursor > over the button it highlights to white color, my code does not handle > anything with regard to that buttons event (maybe to indicate it has > focus??). I could not find any property related to changing this > behaviour. And I dont think its related to any theme that is used on > the desktop environment either. Is there anyway to disable or change > this highlighting behaviour? Cause the whole purpose of having > distinct colors on the button is lost (as per my application), my > users gets confused because they are not sure if they pressed the > button or not while the cursor is on the button itself. > > Regards, > > Nashith > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From toni at ...706... Thu Dec 2 14:10:52 2004 From: toni at ...706... (Toni Schornboeck) Date: Thu, 02 Dec 2004 14:10:52 +0100 Subject: [Gambas-user] Re: Re: XMLReader: strange message Message-ID: <20041202131052.45742.qmail@...707...> > Alas no, a reference is a reference, and prevent the object to be freed. > > A solution to put null in all these back parent references when the program > ends. That's a pity :( Are there any plans to support weak references or to improve the GC to handle them correctly? Thanks for the workaround! From sourceforge-raindog2 at ...94... Thu Dec 2 15:09:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 2 Dec 2004 09:09:13 -0500 Subject: [Gambas-user] Gambas DB manager/sqlite error in RC4 In-Reply-To: <200412021117.25319.gambas@...1...> References: <200412011427.19645.sourceforge-raindog2@...94...> <200412021117.25319.gambas@...1...> Message-ID: <200412020909.13796.sourceforge-raindog2@...94...> On Thursday 02 December 2004 05:17, Benoit Minisini wrote: > On Wednesday 01 December 2004 20:27, Rob wrote: > > In RC4, when I try to generate Gambas code for a simple > > sqlite database I just created in it, the GDM crashes with a > > "Bad key". Here's the screenshot (I had just pressed the > Can you try this patch and tell me if it is OK ? Yes, it works now! The only weird thing I had to do afterward was force a refresh in the project window. Thanks. Rob From gambas at ...1... Thu Dec 2 16:13:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Dec 2004 16:13:52 +0100 Subject: [Gambas-user] forgotten? In-Reply-To: <200411290040.39387.gambas@...162...> References: <200411290040.39387.gambas@...162...> Message-ID: <200412021613.52998.gambas@...1...> On Monday 29 November 2004 00:40, Wojciech Saltarski wrote: > FPropertyFile.class -> Sub GetInfo > > CASE "form" > txtInfo.Text = "Gambas form file" > > CASE "class" > txtInfo.Text = "Gambas class file" > > CASE "module" > txtInfo.Text = "Gambas module file" > > Could anybody have forgotten about brackets? ;-) > Or mayby it is specjally not for translation? Yes, I didn't want to translate these strings because the FPropertyFile form was actually temporary. I will fix it, by replacing these messages by other already translated messages. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Thu Dec 2 16:19:18 2004 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 02 Dec 2004 16:19:18 +0100 Subject: [Gambas-user] XMLReader: strange message In-Reply-To: <20041201112036.88672.qmail@...707...> References: <20041201112036.88672.qmail@...707...> Message-ID: <1102000758.3541.0.camel@...40...> May be it is a problem from XSLT class... Are you using the XSLT class to perform the XSLT conversion? Regards, Daniel Campos From gambas at ...1... Thu Dec 2 16:16:23 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Dec 2004 16:16:23 +0100 Subject: [Gambas-user] Re: Re: XMLReader: strange message In-Reply-To: <20041202131052.45742.qmail@...707...> References: <20041202131052.45742.qmail@...707...> Message-ID: <200412021616.23344.gambas@...1...> On Thursday 02 December 2004 14:10, Toni Schornboeck wrote: > > Alas no, a reference is a reference, and prevent the object to be freed. > > > > A solution to put null in all these back parent references when the > > program ends. > > That's a pity :( > > Are there any plans to support weak references or to improve the GC to > handle them correctly? No, I have no plan at the moment - And there is no GC in gambas. But if you have a good idea, I will take it :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From felice.cafarelli at ...324... Thu Dec 2 18:04:14 2004 From: felice.cafarelli at ...324... (Felice Cafarelli) Date: Thu, 02 Dec 2004 18:04:14 +0100 Subject: [Gambas-user] Gambas DB manager/sqlite error in RC4 In-Reply-To: <200412020909.13796.sourceforge-raindog2@...94...> References: <200412011427.19645.sourceforge-raindog2@...94...><200412021117.25319.gambas@...1...><200412020909.13796.sourceforge-raindog2@...94...> Message-ID: <1102007054.5490.2.camel@...712...> Il gio, 2004-12-02 alle 15:09, Rob ha scritto: > On Thursday 02 December 2004 05:17, Benoit Minisini wrote: > > On Wednesday 01 December 2004 20:27, Rob wrote: > > > In RC4, when I try to generate Gambas code for a simple > > > sqlite database I just created in it, the GDM crashes with a > > > "Bad key". Here's the screenshot (I had just pressed the > > Can you try this patch and tell me if it is OK ? > > Yes, it works now! The only weird thing I had to do afterward > was force a refresh in the project window. Thanks. > > Rob > Can you tell me how to patch Gambas with that file? Regards Felix From sourceforge-raindog2 at ...94... Thu Dec 2 18:28:41 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 2 Dec 2004 12:28:41 -0500 Subject: [Gambas-user] Gambas DB manager/sqlite error in RC4 In-Reply-To: <1102007054.5490.2.camel@...712...> References: <200412011427.19645.sourceforge-raindog2@...94...> <200412020909.13796.sourceforge-raindog2@...94...> <1102007054.5490.2.camel@...712...> Message-ID: <200412021228.41784.sourceforge-raindog2@...94...> On Thursday 02 December 2004 12:04, Felice Cafarelli wrote: > > > Can you try this patch and tell me if it is OK ? > > Yes, it works now! The only weird thing I had to do > > afterward was force a refresh in the project window. > Can you tell me how to patch Gambas with that file? You need a copy of the RC4 source. Extract it somewhere, find FCode.class within its tree (in app/gambas-database-manager I think) and save the file Benoit sent over the existing one. Then go to the gambas-database-manager directory and type gbc to recompile it and gba to make a new gambas-database-manager executable, which you can then copy to /usr/bin. If this is too complicated, I'm sure the fix will be included in the next release. Rob From nigel at ...38... Thu Dec 2 20:27:52 2004 From: nigel at ...38... (nigel at ...38...) Date: Thu, 2 Dec 2004 20:27:52 +0100 (CET) Subject: [Gambas-user] Button highlight color changing. Message-ID: <4836561.1102015672170.JavaMail.www@...713...> I think this is a qt profile setting that causes this behaviour, but I haven't identified which setting. I have two PC's and the behaviour was different on both. Try renaming the .qt directory in your home area and then run your program again. If it works as wished you could start a comparison between the new .qt directory and the old. Nigel > Message date : Dec 01 2004, 07:39 PM > From : "whoknowz" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : [Gambas-user] Button highlight color changing. > Hi, > > My problem is rather odd. I put a button on a form and change its > backcolor to green. And wrote some code to change the backcolor of > that button when some event occurs. But everytime I bring the cursor > over the button it highlights to white color, my code does not handle > anything with regard to that buttons event (maybe to indicate it has > focus??). I could not find any property related to changing this > behaviour. And I dont think its related to any theme that is used on > the desktop environment either. Is there anyway to disable or change > this highlighting behaviour? Cause the whole purpose of having > distinct colors on the button is lost (as per my application), my > users gets confused because they are not sure if they pressed the > button or not while the cursor is on the button itself. > > Regards, > > Nashith > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From whoknowz at ...626... Thu Dec 2 21:30:04 2004 From: whoknowz at ...626... (whoknowz) Date: Fri, 3 Dec 2004 01:30:04 +0500 Subject: [Gambas-user] Re: Button highlight color changing. In-Reply-To: <-3241562071155451950@...714...> References: <-3241562071155451950@...714...> Message-ID: <3bab1b0204120212305ce9fd0d@...627...> Hello, Thank you Nigel, for your hint. The problem was related to styles used by qt. I edited the file "/usr/lib/qt-3.3/etc/settings/qtrc --> style" and everything was the way i want it to be. Thanks once again for the great help. Nashith From amon at ...715... Thu Dec 2 21:57:11 2004 From: amon at ...715... (Amon Forstmann) Date: Thu, 02 Dec 2004 21:57:11 +0100 Subject: [Gambas-user] SHELL and EXEC with Variables In-Reply-To: <3bab1b0204120212305ce9fd0d@...627...> References: <-3241562071155451950@...714...> <3bab1b0204120212305ce9fd0d@...627...> Message-ID: <1102021032.22289.5.camel@...40...> Hi there, I need some help with SHELL or EXEC. I want to use the following shell command to play a movie which is on a ftp server: WGET MOVIE -O - | MPLAYER SOUNDDRIVER FULLSCREEN NORMALIZE CACHE - But everything in capital letters is a variable. SHELL doesn't seem to like variables and EXEC doesn't seem to have pipe "|" support. So, how do I get it running ? thx for your help amon From nordle at ...708... Thu Dec 2 23:15:49 2004 From: nordle at ...708... (nordle at ...708...) Date: Thu, 2 Dec 2004 22:15:49 +0000 Subject: [Gambas-user] Re: gambas-0.99.RC4 + Slackware Message-ID: <200412022215.49401.nordle@...708...> >> On Thursday 02 December 2004 00:54, nordle at ...268... wrote: > > Hi, I tried to install gambas, but have issues: > > > > 1. ./configure freaks due to libxml > > 2. Disabling libxml in ./configure enables that to work, but make install > > then fails. > > 3. The PostgreSQL driver is not being built > > > > I originally sent these to Beno?t as I had read the FAQ, but not seen the > > mailing lists! doh! > > > > Could anyone help with this at all? > > > > Did you call "./reconf" before calling ./configure with the new flags ? Yes, I did try that, but most of the time I just deleted the source directory and started the ./configure && make again. > > Where are your postgresql headers located ? root at ...709...:~# locate libpq-fe.h /usr/local/pgsql/include/libpq-fe.h root at ...709...:~# I have tried passing the locations of the headers and postgresql libraries specifically too.. Its a bit of a strange one :) From sourceforge-raindog2 at ...94... Thu Dec 2 22:24:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 2 Dec 2004 16:24:12 -0500 Subject: [Gambas-user] SHELL and EXEC with Variables In-Reply-To: <1102021032.22289.5.camel@...40...> References: <-3241562071155451950@...714...> <3bab1b0204120212305ce9fd0d@...627...> <1102021032.22289.5.camel@...40...> Message-ID: <200412021624.12035.sourceforge-raindog2@...94...> On Thursday 02 December 2004 15:57, Amon Forstmann wrote: > WGET MOVIE -O - | MPLAYER SOUNDDRIVER FULLSCREEN NORMALIZE > CACHE - > But everything in capital letters is a variable. I'm not entirely sure what you're talking about, but try this: (assuming you have already dimmed and assigned to MOVIE, SOUNDDRIVER, FULLSCREEN, NORMALIZE and CACHE) Shell("wget " & MOVIE & " -O - | mplayer " & SOUNDDRIVER & " " & FULLSCREEN & " " & NORMALIZE & " " & CACHE & " -") rob From amon at ...715... Fri Dec 3 00:31:25 2004 From: amon at ...715... (Amon Forstmann) Date: Fri, 03 Dec 2004 00:31:25 +0100 Subject: [Gambas-user] SHELL and EXEC with Variables In-Reply-To: <200412021624.12035.sourceforge-raindog2@...94...> References: <-3241562071155451950@...714...> <3bab1b0204120212305ce9fd0d@...627...> <1102021032.22289.5.camel@...40...> <200412021624.12035.sourceforge-raindog2@...94...> Message-ID: <1102030285.11880.1.camel@...40...> Hi, thank you rob. It is working now. amon Am Donnerstag, den 02.12.2004, 16:24 -0500 schrieb Rob: > On Thursday 02 December 2004 15:57, Amon Forstmann wrote: > > WGET MOVIE -O - | MPLAYER SOUNDDRIVER FULLSCREEN NORMALIZE > > CACHE - > > But everything in capital letters is a variable. > > I'm not entirely sure what you're talking about, but try this: > > (assuming you have already dimmed and assigned to MOVIE, > SOUNDDRIVER, FULLSCREEN, NORMALIZE and CACHE) > > Shell("wget " & MOVIE & " -O - | mplayer " & SOUNDDRIVER & " " & > FULLSCREEN & " " & NORMALIZE & " " & CACHE & " -") > > rob > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mj at ...621... Fri Dec 3 11:27:17 2004 From: mj at ...621... (MJ) Date: Fri, 3 Dec 2004 08:27:17 -0200 Subject: [Gambas-user] Error when compiling gambas-0.99.RC4 References: <200411301147.10313.sourceforge-raindog2@...94...> Message-ID: <005301c4d922$aa21e500$e80aa8c0@...649...> I have the package libxml2-devel-2.5.11-1 and even so it doesn't work. (: MJ ----- Original Message ----- From: "Rob" To: Sent: Tuesday, November 30, 2004 2:47 PM Subject: Re: [Gambas-user] Error when compiling gambas-0.99.RC4 > On Tuesday 30 November 2004 11:37, MJ wrote: > > CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory > > You're missing the libxml headers. In Mandrake, the package you > would need is libxml2-devel. I think this became necessary in > RC2 or RC3. > > Rob From toni at ...706... Fri Dec 3 13:06:05 2004 From: toni at ...706... (Toni Schornboeck) Date: Fri, 03 Dec 2004 13:06:05 +0100 Subject: [Gambas-user] Re: Re: Re: XMLReader: strange message Message-ID: <20041203120605.60658.qmail@...707...> > And there is no GC in gambas. Oh, I thought there is one... That explains the problem with the circular references... But I don't know any good solution :( at least none that fits into the gambas way of doing things. What first came to my mind was boost::weak_ptr (a C++ smart pointer which supports circular references). But I guess it would not fit into gambas to have an object holding another object and doing refcount. If I ever come to a good solution I will let you know for sure. Thanks for the help. From Karl.Reinl at ...9... Fri Dec 3 22:16:46 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 3 Dec 2004 22:16:46 +0100 Subject: [Gambas-user] Fwd: BUG : TableView Row Headers Message-ID: <200412032216.47032.Karl.Reinl@...9...> Salut Benoit, that is not solved in RC4 Amicalment Charlie ---------- Forwarded Message ---------- Subject: BUG : TableView Row Headers Date: Monday 29 November 2004 00:37 From: Charlie Reinl To: "gambas-user" Salut Benoit, have a look to this small project, where you can add and delete Columns and Rows to/from a TableView. The Row Headers have a Problem when doing other action then 'add Row' They shrink in width. Amicalment Charlie ------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: TestTV-0.0.1.tar.gz Type: application/x-tgz Size: 911 bytes Desc: not available URL: From Karl.Reinl at ...9... Fri Dec 3 22:19:49 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 3 Dec 2004 22:19:49 +0100 Subject: [Gambas-user] Fwd: searching Browser Message-ID: <200412032219.49332.Karl.Reinl@...9...> Salut Benoit, that is not solved in RC4 Amicalment Charlie ---------- Forwarded Message ---------- Subject: searching Browser Date: Monday 22 November 2004 22:25 From: Charlie Reinl To: "gambas-user" Salut Benoit, on my gentoo box , even if I can call 'konqueror' 'whereis konqueror' returns nothing 'which konqueror' returns the path to active konqueror my konqueror icon on desktop, starts 'kfmclient openProfile webbrowsing' and you can add the url. 'whereis 'kfmclient ' returns nothing 'which 'kfmclient ' returns the path to active 'kfmclient May be thats why I'v 3 versions of kde on my box 3.1,3.2 and 3.3 ! So find Browser is not solved. Amicalment Charlie ------------------------------------------------------- From arjunjain at ...626... Sat Dec 4 18:47:08 2004 From: arjunjain at ...626... (Arjun Jain) Date: Sat, 4 Dec 2004 23:17:08 +0530 Subject: [Gambas-user] Session on GAMBas at Linux Bangalore 2004 Message-ID: <51a0fabf0412040947298b58c6@...627...> Hi, I am an engineering student at Bangalore, India. I have been a gambas user for some time now and feel it is gonna go a long long way :) I gave a small talk at linux-bangalore 2004 (http://linux-bangalore.org/2004/schedules/) on Gambas, basically introducing the wonder RAD tool. If it helps, the slides and the conference paper at available at http://rvce.ac.in/~arjun for download. Regards aj -- ----------------------------------------------------------------- Arjun Jain, 7th Sem CSE, RVCE http://rvce.ac.in/~arjun Visit http://lug.rvce.ac.in - The RVLug Home ----------------------------------------------------------------- From gambas at ...1... Sat Dec 4 19:05:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Dec 2004 19:05:11 +0100 Subject: [Gambas-user] Session on GAMBas at Linux Bangalore 2004 In-Reply-To: <51a0fabf0412040947298b58c6@...627...> References: <51a0fabf0412040947298b58c6@...627...> Message-ID: <200412041905.11749.gambas@...1...> On Saturday 04 December 2004 18:47, Arjun Jain wrote: > Hi, > I am an engineering student at Bangalore, India. I have been a gambas > user for some time now and feel it is gonna go a long long way :) > > I gave a small talk at linux-bangalore 2004 > (http://linux-bangalore.org/2004/schedules/) on Gambas, basically > introducing the wonder RAD tool. If it helps, the slides and the > conference paper at available at http://rvce.ac.in/~arjun for > download. > > Regards > aj Cool :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Dec 4 19:33:38 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Dec 2004 19:33:38 +0100 Subject: [Gambas-user] Fwd: searching Browser In-Reply-To: <200412032219.49332.Karl.Reinl@...9...> References: <200412032219.49332.Karl.Reinl@...9...> Message-ID: <200412041933.39010.gambas@...1...> On Friday 03 December 2004 22:19, Charlie Reinl wrote: > Salut Benoit, > > that is not solved in RC4 > > Amicalment > Charlie > > > ---------- Forwarded Message ---------- > > Subject: searching Browser > Date: Monday 22 November 2004 22:25 > From: Charlie Reinl > To: "gambas-user" > > Salut Benoit, > > on my gentoo box , even if I can call 'konqueror' > 'whereis konqueror' returns nothing > 'which konqueror' returns the path to active konqueror > > my konqueror icon on desktop, > starts 'kfmclient openProfile webbrowsing' and you can add the url. > > 'whereis 'kfmclient ' returns nothing > 'which 'kfmclient ' returns the path to active 'kfmclient > > May be thats why I'v 3 versions of kde on my box 3.1,3.2 and 3.3 ! > > So find Browser is not solved. > > Amicalment > Charlie > > ------------------------------------------------------- Sorry I forgot... I fix it. Regards, -- Benoit Minisini mailto:gambas at ...1... From dave at ...716... Sat Dec 4 19:47:37 2004 From: dave at ...716... (Dave Lindquist) Date: Sat, 04 Dec 2004 11:47:37 -0700 Subject: [Gambas-user] 1.0-rc2 ebuild is broken Message-ID: <41B20649.5010700@...716...> The ebuild for gambas 1.0-rc2 seems to be broken (the Gentoo build). The make file appears to attempt to access files directly on the filesystem? Specifically, it seems to attempt to unlink /usr/bin/gambas (ebuilds cannot access files outside of the sandbox into which they are compiling). Here's the log of relevant output from the build: ------------------8<------------------ /var/tmp/portage/gambas-1.0_rc2/image//usr/share/gambas/info/gb.qt.kde.info /var/tmp/portage/gambas-1.0_rc2/image//usr/share/gambas/info/gb.vb.info /var/tmp/portage/gambas-1.0_rc2/image//usr/share/gambas/info/gb.compress.info Installing the development environment... Compiling gambas... OK Compiling gambas-database-manager... OK ACCESS DENIED unlink: /usr/bin/gambas rm: cannot remove `//usr/bin/gambas': Permission denied ln: `//usr/bin/gambas': File exists make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/var/tmp/portage/gambas-1.0_rc2/work/gambas-0.99.RC2 ' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/gambas-1.0_rc2/work/gambas-0.99.RC2 ' make: *** [install-recursive] Error 1 !!! ERROR: dev-util/gambas-1.0_rc2 failed. !!! Function einstall, Line 478, Exitcode 2 !!! einstall failed !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-dev-util_-_gambas-1.0_rc2-9887.log" unlink: /usr/bin/gambas -------------------------------------------------------------------------------- ------------------8<------------------ The 0.99 ebuild, however, doesn't have this problem. I'm not sure who maintains this ebuild? From gambas at ...1... Sat Dec 4 19:49:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Dec 2004 19:49:16 +0100 Subject: [Gambas-user] Fwd: BUG : TableView Row Headers In-Reply-To: <200412032216.47032.Karl.Reinl@...9...> References: <200412032216.47032.Karl.Reinl@...9...> Message-ID: <200412041949.16509.gambas@...1...> On Friday 03 December 2004 22:16, Charlie Reinl wrote: > Salut Benoit, > > that is not solved in RC4 > > Amicalment > Charlie > > > ---------- Forwarded Message ---------- > > Subject: BUG : TableView Row Headers > Date: Monday 29 November 2004 00:37 > From: Charlie Reinl > To: "gambas-user" > > Salut Benoit, > > have a look to this small project, where you can add and delete > Columns and Rows to/from a TableView. > > The Row Headers have a Problem when doing other action then 'add Row' > They shrink in width. > > Amicalment > Charlie > > ------------------------------------------------------- OK! I found and fixed the bug... Regards, -- Benoit Minisini mailto:gambas at ...1... From genone at ...717... Sun Dec 5 03:57:05 2004 From: genone at ...717... (Marius Mauch) Date: Sun, 5 Dec 2004 03:57:05 +0100 Subject: [Gambas-user] 1.0-rc2 ebuild is broken In-Reply-To: <41B20649.5010700@...716...> References: <41B20649.5010700@...716...> Message-ID: <20041205035705.18ddc763@...388...> On Sat, 04 Dec 2004 11:47:37 -0700 Dave Lindquist wrote: > The ebuild for gambas 1.0-rc2 seems to be broken (the Gentoo build). > The make file appears to attempt to access files directly on the > filesystem? Specifically, it seems to attempt to unlink > /usr/bin/gambas (ebuilds cannot access files outside of the sandbox > into which they are compiling). Please send ebuild-related bugs to bugs.gentoo.org, otherwise I might not see them. This one was just fixed a few minutes ago (should have been fixed almost a week ago, I just forgot to commit the fix). Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. From gambasfr at ...11... Sun Dec 5 11:46:01 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 5 Dec 2004 11:46:01 +0100 Subject: [Gambas-user] Need help about xml component Message-ID: <200412051146.02118.gambasfr@...11...> Hi little gambasian Does someone have a good exemple about how to generate a new xml document and next read it with the xmlDocument Class... It's for make a saving file... but idon't really understant how to add new node... and child node.. I'm sure it's not difficult... but there is a leak in the help file. Thank you Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gamby3.png Type: image/png Size: 4430 bytes Desc: not available URL: From na2492 at ...9... Sun Dec 5 11:54:49 2004 From: na2492 at ...9... (Charlie Reinl) Date: Sun, 5 Dec 2004 11:54:49 00100 Subject: [Gambas-user] Need help about xml component Message-ID: <41b2e8f9.216c.0@...9...> > >Hi little gambasian > >Does someone have a good exemple about how to generate a new xml document and >next read it with the xmlDocument Class... > >It's for make a saving file... but idon't really understant how to add new >node... and child node.. I'm sure it's not difficult... but there is a leak >in the help file. > >Thank you >Fabien Bodard Salut Fabien, you find a reader and writer in XTableView.class Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- A non-text attachment was scrubbed... Name: XTableView-0.0.10.tar.gz Type: application/x-tgz Size: 60311 bytes Desc: not available URL: From jscops at ...11... Sun Dec 5 12:11:42 2004 From: jscops at ...11... (Jack) Date: Sun, 5 Dec 2004 12:11:42 +0100 Subject: [Gambas-user] Pb with columnview In-Reply-To: <200411281851.32495.gambas@...1...> References: <200411262014.53276.gambasfr@...11...> <200411281851.32495.gambas@...1...> Message-ID: <200412051211.42931.jscops@...11...> Bonjour, If i take a one line text in a areatext, the columnview display it normaly. But if i take several lines, the display is strange. ( see snapshot ) How have a good display ? Merci infiniment. ~? Jack ?~ -------------- next part -------------- A non-text attachment was scrubbed... Name: Textarea.png Type: image/png Size: 25029 bytes Desc: not available URL: From daniel.campos at ...338... Sun Dec 5 12:54:44 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 05 Dec 2004 12:54:44 +0100 Subject: [Gambas-user] Need help about xml component In-Reply-To: <200412051146.02118.gambasfr@...11...> References: <200412051146.02118.gambasfr@...11...> Message-ID: <1102247684.3903.2.camel@...40...> Hi: At the present moment, you should use XmlReader and XmlWriter classes to read and wirte documents, as XmlDocument class is incomplete and probably buggy in some points. I just keep the XmlDocument class in that beta component because it is needed to perform XSLT translations, but it is not able to read/write corretly. Regards, Daniel Campos From gambasfr at ...11... Sun Dec 5 13:49:26 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 5 Dec 2004 13:49:26 +0100 Subject: [Gambas-user] Pb with columnview In-Reply-To: <200412051211.42931.jscops@...11...> References: <200411262014.53276.gambasfr@...11...> <200411281851.32495.gambas@...1...> <200412051211.42931.jscops@...11...> Message-ID: <200412051349.26514.gambasfr@...11...> Le dimanche 5 D?cembre 2004 12:11, Jack a ?crit?: > Bonjour, > > If i take a one line text in a areatext, the columnview display it normaly. > But if i take several lines, the display is strange. ( see snapshot ) > How have a good display ? > > Merci infiniment. > > ~? Jack ?~ Column View is made to display one line text... so i've no answere! But mabe an autosizing will be a good idea... Fabien From gambasfr at ...11... Sun Dec 5 13:55:50 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 5 Dec 2004 13:55:50 +0100 Subject: [Gambas-user] Need help about xml component In-Reply-To: <41b2e8f9.216c.0@...9...> References: <41b2e8f9.216c.0@...9...> Message-ID: <200412051355.50618.gambasfr@...11...> Le dimanche 5 D?cembre 2004 12:54, Charlie Reinl a ?crit?: > >Hi little gambasian > > > >Does someone have a good exemple about how to generate a new xml > > document and > > >next read it with the xmlDocument Class... > > > >It's for make a saving file... but idon't really understant how to add new > > > >node... and child node.. I'm sure it's not difficult... but there is a > > leak > > > >in the help file. > > > >Thank you > >Fabien Bodard > > Salut Fabien, > > you find a reader and writer in XTableView.class > Amicalment > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * Thank for all your answers ! Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: gamby3.png Type: image/png Size: 4430 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Sun Dec 5 14:18:31 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 5 Dec 2004 08:18:31 -0500 Subject: [Gambas-user] Pb with columnview In-Reply-To: <200412051349.26514.gambasfr@...11...> References: <200411262014.53276.gambasfr@...11...> <200412051211.42931.jscops@...11...> <200412051349.26514.gambasfr@...11...> Message-ID: <200412050818.31339.sourceforge-raindog2@...94...> On Sunday 05 December 2004 07:49, Bodard Fabien wrote: > > If i take a one line text in a areatext, the columnview > > display it normaly. But if i take several lines, the display > > is strange. ( see snapshot ) How have a good display ? > Column View is made to display one line text... so i've no > answere! I do.... ColumnView1[1].Alignment = Align.TopLeft At least that will get the first line of text displayed rather than whatever line happens to fall in the middle of the widget. I don't see a way to adjust the item height in Gambas, but the underlying Qt widget (QListViewItem) does have "height" and "totalheight" properties that we could probably patch gb.qt to expose (I'm pretty sure the Gtk equivalent has a height property as well, if that's a concern.) Rob From jscops at ...11... Sun Dec 5 15:37:53 2004 From: jscops at ...11... (Jack) Date: Sun, 5 Dec 2004 15:37:53 +0100 Subject: [Gambas-user] Pb with columnview In-Reply-To: <200412050818.31339.sourceforge-raindog2@...94...> References: <200411262014.53276.gambasfr@...11...> <200412051349.26514.gambasfr@...11...> <200412050818.31339.sourceforge-raindog2@...94...> Message-ID: <200412051537.53223.jscops@...11...> Le Dimanche 5 D?cembre 2004 14:18, Rob a ?crit : > > I do.... > > ColumnView1[1].Alignment = Align.TopLeft > > At least that will get the first line of text displayed rather > than whatever line happens to fall in the middle of the widget. > I don't see a way to adjust the item height in Gambas, but the > underlying Qt widget (QListViewItem) does have "height" and > "totalheight" properties that we could probably patch gb.qt to > expose (I'm pretty sure the Gtk equivalent has a height property > as well, if that's a concern.) > > Rob It's fine . Thank you very much. ~? Jack ?~ From jscops at ...11... Sun Dec 5 15:53:17 2004 From: jscops at ...11... (Jack) Date: Sun, 5 Dec 2004 15:53:17 +0100 Subject: [Gambas-user] Need help about xml component In-Reply-To: <200412051355.50618.gambasfr@...11...> References: <41b2e8f9.216c.0@...9...> <200412051355.50618.gambasfr@...11...> Message-ID: <200412051553.17304.jscops@...11...> Bonjour Fabien, Your Gamby is very funny. I love it. ~? Jack ?~ From technoferret at ...598... Mon Dec 6 12:38:57 2004 From: technoferret at ...598... (Technoferret) Date: Mon, 06 Dec 2004 11:38:57 +0000 Subject: [Gambas-user] Problem with DB drivers Message-ID: <1102333137.15501.34.camel@...599...> I have gambas 0.99 installed that I compiled from the sources and have been using it happily for a few weeks. I have now decided to have a play at writing a small database app but have found that when I compiled gambas the DB drivers were disabled. I am now trying to compile gambas with DB support in the form of Mysql drivers. I have got Mysql-server running on my system and have also installed any mysql dev packages I can find but ./configure still brings up the following:- checking for MySQL driver headers... (cached) no checking for MySQL driver libraries... (cached) no configure: warning: *** MySQL driver is disabled could someone please tell me EXACTLY what package (or packages) I need to install to get the mysql DB driver to compile. Thank you. PS I'm using debian sarge and am trying to compile 0.99RC4 -- "All electronic components have smoke inside them, once this is released they will cease to function." From na2492 at ...9... Mon Dec 6 12:41:02 2004 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 6 Dec 2004 12:41:02 00100 Subject: [Gambas-user] Problem with DB drivers Message-ID: <41b4454e.12ee.0@...9...> >I have gambas 0.99 installed that I compiled from the sources and have >been using it happily for a few weeks. >I have now decided to have a play at writing a small database app but >have found that when I compiled gambas the DB drivers were disabled. > >I am now trying to compile gambas with DB support in the form of Mysql >drivers. I have got Mysql-server running on my system and have also >installed any mysql dev packages I can find but ./configure still brings >up the following:- > >checking for MySQL driver headers... (cached) no >checking for MySQL driver libraries... (cached) no >configure: warning: *** MySQL driver is disabled > >could someone please tell me EXACTLY what package (or packages) I need >to install to get the mysql DB driver to compile. > >Thank you. > >PS I'm using debian sarge and am trying to compile 0.99RC4 > > >-- >"All electronic components have smoke inside them, once this is released >they will cease to function." > Salut, a ./reconf , before ./configure should help Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From technoferret at ...598... Mon Dec 6 14:21:06 2004 From: technoferret at ...598... (Technoferret) Date: Mon, 06 Dec 2004 13:21:06 +0000 Subject: [Gambas-user] Problem with DB drivers In-Reply-To: <41b4454e.12ee.0@...9...> References: <41b4454e.12ee.0@...9...> Message-ID: <1102339266.15504.38.camel@...599...> On Mon, 2004-12-06 at 11:41, Charlie Reinl wrote: > > Salut, > > a ./reconf , before ./configure should help > > Amicalment > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > Thanks, that worked. Although being a bit of a noobie to linux could you explain what ./reconf does, I've never come across it before. Compiling programs in Linux still seems like Black Magic to me. -- "All electronic components have smoke inside them, once this is released they will cease to function." From LACKKD at ...674... Mon Dec 6 18:23:06 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Mon, 6 Dec 2004 10:23:06 -0700 Subject: [Gambas-user] Editable GridView or ListView In-Reply-To: <1102333137.15501.34.camel@...599...> Message-ID: Is there any way to edit the contents of a cell in a GridView or ListView in a running application? If not does anyone have a similar control with this feature? Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From LACKKD at ...674... Mon Dec 6 18:28:35 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Mon, 6 Dec 2004 10:28:35 -0700 Subject: [Gambas-user] Editable GridView or ListView In-Reply-To: Message-ID: Make that an editable TableView or GridView not a ListView. Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdnpaolo at ...69... Mon Dec 6 19:03:40 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Mon, 6 Dec 2004 19:03:40 +0100 Subject: [Gambas-user] RAS Like connection In-Reply-To: Message-ID: Hi, is there a way to get a RAS like connection into a window 2K machine? Or shall I use ppp - pon commands? Thanks, Paolo -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Mon Dec 6 18:52:06 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 6 Dec 2004 12:52:06 -0500 Subject: [Gambas-user] Editable GridView or ListView In-Reply-To: References: Message-ID: <200412061252.06841.sourceforge-raindog2@...94...> On Monday 06 December 2004 12:23, LACKKD at ...674... wrote: > Is there any way to edit the contents of a cell in a GridView > or ListView in a running application? If not does anyone have > a similar control with this feature? I hacked together a way to do this using a textbox that is normally hidden until the user clicks on a cell or whatever, but never assembled it into a class or anything. Maybe I'll try to do that after I get the pcre component redone. Rob From na2492 at ...9... Mon Dec 6 19:58:24 2004 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 6 Dec 2004 19:58:24 00100 Subject: [Gambas-user] Problem with DB drivers Message-ID: <41b4abd0.45da.0@...9...> >On Mon, 2004-12-06 at 11:41, Charlie Reinl wrote: > >> >> Salut, >> >> a ./reconf , before ./configure should help >> >> Amicalment >> Charlie >> * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * >> > >Thanks, that worked. >Although being a bit of a noobie to linux could you explain what >./reconf does, I've never come across it before. Compiling programs in >Linux still seems like Black Magic to me. > >-- Salut, try to take it to words. after a ./configure , the results are stored (cached) in a result-file. ./reconf pulls that away, and you start at ZERO for ./configure Even there are other actions I presume, like cleaning and so. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From LACKKD at ...674... Mon Dec 6 19:59:13 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Mon, 6 Dec 2004 11:59:13 -0700 Subject: [Gambas-user] Editable GridView or ListView In-Reply-To: <200412061252.06841.sourceforge-raindog2@...94...> Message-ID: I thought about dong the same thing.... are you able to get what cell you are clicking or did you have to translate into mouse x,y coords? Kevin Rob Sent by: gambas-user-admin at lists.sourceforge.net 12/06/2004 10:52 AM Please respond to gambas-user at lists.sourceforge.net To gambas-user at lists.sourceforge.net cc Subject Re: [Gambas-user] Editable GridView or ListView On Monday 06 December 2004 12:23, LACKKD at ...674... wrote: > Is there any way to edit the contents of a cell in a GridView > or ListView in a running application? If not does anyone have > a similar control with this feature? I hacked together a way to do this using a textbox that is normally hidden until the user clicks on a cell or whatever, but never assembled it into a class or anything. Maybe I'll try to do that after I get the pcre component redone. Rob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.campos at ...338... Mon Dec 6 20:19:55 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 06 Dec 2004 20:19:55 +0100 Subject: [Gambas-user] Editable GridView or ListView In-Reply-To: <200412061252.06841.sourceforge-raindog2@...94...> References: <200412061252.06841.sourceforge-raindog2@...94...> Message-ID: <1102360795.11522.3.camel@...40...> Currently I'm writting a GridView that can be directly attached to a "Result" object to display data from a table in a database, and will be also able to work without any data source attached, allowing to add, remove and modify records. I will put the Alpha 3 version this Friday at http://forja.linex.org/projects/gbgrid/, now you can find Alpah 2 there, but I suggest you to wait a little, as I've added a lot of things recently. Regards, Daniel Campos From LACKKD at ...674... Mon Dec 6 20:17:19 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Mon, 6 Dec 2004 12:17:19 -0700 Subject: [Gambas-user] Editable GridView or ListView In-Reply-To: <200412061252.06841.sourceforge-raindog2@...94...> Message-ID: Ok, I figured out how to index the cell with the mouse click using the .column and .row properties. I will make a pop up text box to edit the contents. Thanks! Kevin Rob Sent by: gambas-user-admin at lists.sourceforge.net 12/06/2004 10:52 AM Please respond to gambas-user at lists.sourceforge.net To gambas-user at lists.sourceforge.net cc Subject Re: [Gambas-user] Editable GridView or ListView On Monday 06 December 2004 12:23, LACKKD at ...674... wrote: > Is there any way to edit the contents of a cell in a GridView > or ListView in a running application? If not does anyone have > a similar control with this feature? I hacked together a way to do this using a textbox that is normally hidden until the user clicks on a cell or whatever, but never assembled it into a class or anything. Maybe I'll try to do that after I get the pcre component redone. Rob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From LACKKD at ...674... Mon Dec 6 21:22:12 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Mon, 6 Dec 2004 13:22:12 -0700 Subject: [Gambas-user] How To Trap a Carriage Return In a Text Box? In-Reply-To: Message-ID: How can I check for a carriage return in a text box? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Mon Dec 6 21:32:07 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 6 Dec 2004 15:32:07 -0500 Subject: [Gambas-user] How To Trap a Carriage Return In a Text Box? In-Reply-To: References: Message-ID: <200412061532.07375.sourceforge-raindog2@...94...> On Monday 06 December 2004 15:22, LACKKD at ...674... wrote: > How can I check for a carriage return in a text box? Look into the KeyPress event, and use STOP EVENT (and your own code, if you want to do something like move to the next box) if Key.Code is Key.Return (or maybe it's Key.Enter, I forget which is which.) Rob From LACKKD at ...674... Mon Dec 6 21:35:58 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Mon, 6 Dec 2004 13:35:58 -0700 Subject: [Gambas-user] How To Trap a Carriage Return In a Text Box? In-Reply-To: <200412061532.07375.sourceforge-raindog2@...94...> Message-ID: Thanks Rob! Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From scatman_ at ...17... Mon Dec 6 23:26:51 2004 From: scatman_ at ...17... (scatman) Date: Mon, 6 Dec 2004 23:26:51 +0100 Subject: [Gambas-user] mid$ Message-ID: <200412062326.52191.scatman_@...17...> hallo a have i little problem to understand MID$ I wrote.... dim myString as String myString = "help me to understand mid String in gambas" print mid$(myString, 4) gambas shows me. me to understand mid String in gambas its cutted from left site. but in the manuel print mid$("Gambas",4) says bas regards -- scatman From sourceforge-raindog2 at ...94... Tue Dec 7 01:03:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 6 Dec 2004 19:03:53 -0500 Subject: [Gambas-user] mid$ In-Reply-To: <200412062326.52191.scatman_@...17...> References: <200412062326.52191.scatman_@...17...> Message-ID: <200412061903.53523.sourceforge-raindog2@...94...> On Monday 06 December 2004 17:26, scatman wrote: > myString = "help me to understand mid String in gambas" > print mid$(myString, 4) > gambas shows me. > me to understand mid String in gambas > but in the manuel > print mid$("Gambas",4) > says bas In each case, the result of the function is the input string starting at the 5th character (in Gambas, you count from 0.) So it's pretty consistent. What did you expect the function to return? Rob From genone at ...89... Tue Dec 7 03:11:17 2004 From: genone at ...89... (Marius Mauch) Date: Tue, 7 Dec 2004 03:11:17 +0100 Subject: [Gambas-user] mid$ In-Reply-To: <200412061903.53523.sourceforge-raindog2@...94...> References: <200412062326.52191.scatman_@...17...> <200412061903.53523.sourceforge-raindog2@...94...> Message-ID: <20041207031117.1e651ffa@...388...> On Mon, 6 Dec 2004 19:03:53 -0500 Rob wrote: > On Monday 06 December 2004 17:26, scatman wrote: > > myString = "help me to understand mid String in gambas" > > print mid$(myString, 4) > > gambas shows me. > > me to understand mid String in gambas > > but in the manuel > > print mid$("Gambas",4) > > says bas > > In each case, the result of the function is the input string > starting at the 5th character (in Gambas, you count from 0.) So > it's pretty consistent. What did you expect the function to > return? Maybe I'm just misunderstanding something, but in one case we drop "help" (4 chars) and in the other case we drop "Gam" (3 chars), I'd guess the manual is wrong then if we start at index 0. -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Tue Dec 7 06:43:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 7 Dec 2004 00:43:13 -0500 Subject: [Gambas-user] mid$ In-Reply-To: <20041207031117.1e651ffa@...388...> References: <200412062326.52191.scatman_@...17...> <200412061903.53523.sourceforge-raindog2@...94...> <20041207031117.1e651ffa@...388...> Message-ID: <200412070043.13862.sourceforge-raindog2@...94...> On Monday 06 December 2004 21:11, Marius Mauch wrote: > > In each case, the result of the function is the input string > > starting at the 5th character (in Gambas, you count from 0.) > Maybe I'm just misunderstanding something, but in one case we > drop "help" (4 chars) and in the other case we drop "Gam" (3 > chars), I'd guess the manual is wrong then if we start at > index 0. Sorry, I must have been high on cold medicine. But what version of Gambas are you using? I have 0.99.RC4. In mine, where I go like this: DIM mystring AS String myString = "help me to understand mid String in gambas" PRINT Mid$(myString, 4) PRINT Mid$("Gambas",4) I get p me to understand mid String in gambas bas so basically, each string starting with the 4th character, which is as you'd expect. It drops characters 1 through 3. Rob From technoferret at ...598... Tue Dec 7 09:46:27 2004 From: technoferret at ...598... (Technoferret) Date: Tue, 07 Dec 2004 08:46:27 +0000 Subject: [Gambas-user] Problem with DB drivers In-Reply-To: <41b4abd0.45da.0@...9...> References: <41b4abd0.45da.0@...9...> Message-ID: <1102409187.4365.11.camel@...599...> On Mon, 2004-12-06 at 18:58, Charlie Reinl wrote: > >-- > Salut, > > try to take it to words. > after a ./configure , the results are stored (cached) in a result-file. > ./reconf pulls that away, and you start at ZERO for ./configure > Even there are other actions I presume, like cleaning and so. > > Amicalment > Charlie Cheers, I think I understand now. Dave -- "All electronic components have smoke inside them, once this is released they will cease to function." From gambas at ...1... Tue Dec 7 11:08:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Dec 2004 11:08:00 +0100 Subject: [Gambas-user] mid$ In-Reply-To: <200412062326.52191.scatman_@...17...> References: <200412062326.52191.scatman_@...17...> Message-ID: <200412071108.00915.gambas@...1...> On Monday 06 December 2004 23:26, scatman wrote: > hallo > > a have i little problem to understand MID$ > > I wrote.... > > dim myString as String > > myString = "help me to understand mid String in gambas" > > print mid$(myString, 4) > > gambas shows me. > me to understand mid String in gambas > > its cutted from left site. > > but in the manuel > print mid$("Gambas",4) > says bas > > regards Hmm... Not on my box: this returns whzt the doc says: p me to understand mid String in gambas Are you sure of your example ? Which language do you use ? -- Benoit Minisini mailto:gambas at ...1... From blixtra at ...626... Tue Dec 7 16:25:11 2004 From: blixtra at ...626... (Chris Wilson) Date: Tue, 7 Dec 2004 16:25:11 +0100 Subject: [Gambas-user] BUG: Too many nest containers Message-ID: <69dead7b0412070725c57e70c@...627...> Hello, While designing the layout of my program I got quite frustrated when after hitting the run button the status bar read "compiling project Langley....." and didn't change although if I decreased the nesting depth I could successfully compile. After much searching I finally found the error message buried in the /tmp folder.It read: "gbc: ERROR: /home/chris/Gambas/Langley/MainForm.form: too many nested containers" So, the bug is that the programmer is not informed of the error (reading the error output in /tmp doesn't count ;) ) and that the status bar does not return to a normal stat. I'm using Gambas .99 on Gentoo (waiting for the fix to the broken ebuild mentioned a couple days ago). Maybe this has been fixed with the newer version Hope that helps, Chris From blixtra at ...626... Tue Dec 7 16:35:39 2004 From: blixtra at ...626... (Chris Wilson) Date: Tue, 7 Dec 2004 16:35:39 +0100 Subject: [Gambas-user] Re: BUG: Too many nest containers In-Reply-To: <69dead7b0412070725c57e70c@...627...> References: <69dead7b0412070725c57e70c@...627...> Message-ID: <69dead7b041207073528b4eaf7@...627...> Also, nesting seems to be limited to 8. It's just my luck that I wanted 9. :( Is there a technical reason for this? With glade I never ran into a limit. I'm not sure how that is with QT. Thanks, Chris On Tue, 7 Dec 2004 16:25:11 +0100, Chris Wilson wrote: > Hello, > > While designing the layout of my program I got quite frustrated when > after hitting the run button the status bar read "compiling project > Langley....." and didn't change although if I decreased the nesting > depth I could successfully compile. After much searching I finally > found the error message buried in the /tmp folder.It read: > > "gbc: ERROR: /home/chris/Gambas/Langley/MainForm.form: too many nested > containers" > > So, the bug is that the programmer is not informed of the error > (reading the error output in /tmp doesn't count ;) ) and that the > status bar does not return to a normal stat. > > I'm using Gambas .99 on Gentoo (waiting for the fix to the broken > ebuild mentioned a couple days ago). Maybe this has been fixed with > the newer version > > Hope that helps, > Chris > From gambas at ...1... Tue Dec 7 16:42:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Dec 2004 16:42:45 +0100 Subject: [Gambas-user] Re: BUG: Too many nest containers In-Reply-To: <69dead7b041207073528b4eaf7@...627...> References: <69dead7b0412070725c57e70c@...627...> <69dead7b041207073528b4eaf7@...627...> Message-ID: <200412071642.45932.gambas@...1...> On Tuesday 07 December 2004 16:35, Chris Wilson wrote: > Also, nesting seems to be limited to 8. It's just my luck that I > wanted 9. :( Is there a technical reason for this? With glade I never > ran into a limit. I'm not sure how that is with QT. > > Thanks, > Chris > This is just a very low limit defined by a stupid programer :-) I will increase it in the next version to 32. If you can't wait, just change the MAX_FORM_PARENT constant in the ./src/share/gb_limit.h file. Any way, the error message should be displayed by the IDE. I will try to fix that too... Regards, -- Benoit Minisini mailto:gambas at ...1... From blixtra at ...626... Tue Dec 7 16:49:17 2004 From: blixtra at ...626... (Chris Wilson) Date: Tue, 7 Dec 2004 16:49:17 +0100 Subject: [Gambas-user] Re: BUG: Too many nest containers In-Reply-To: <200412071642.45932.gambas@...1...> References: <69dead7b0412070725c57e70c@...627...> <69dead7b041207073528b4eaf7@...627...> <200412071642.45932.gambas@...1...> Message-ID: <69dead7b0412070749d6b6d13@...627...> Great On Tue, 7 Dec 2004 16:42:45 +0100, Benoit Minisini wrote: > On Tuesday 07 December 2004 16:35, Chris Wilson wrote: > > Also, nesting seems to be limited to 8. It's just my luck that I > > wanted 9. :( Is there a technical reason for this? With glade I never > > ran into a limit. I'm not sure how that is with QT. > > > > Thanks, > > Chris > > > > This is just a very low limit defined by a stupid programer :-) I will > increase it in the next version to 32. > > If you can't wait, just change the MAX_FORM_PARENT constant in > the ./src/share/gb_limit.h file. > > Any way, the error message should be displayed by the IDE. I will try to fix > that too... > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Wsouzap at ...87... Tue Dec 7 20:32:06 2004 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Tue, 07 Dec 2004 14:32:06 -0500 Subject: [Gambas-user] not record string in my database Message-ID: <28590F6D.5E0AE953.001B903D@...87...> Hi! I'm use mySql wih gambas and when a use this above function, d'nt record and say error message. I think is the string returned for zCripta, because if im supress the string not ocours the erro. FUNCTION zCripta(cSourceString AS String) AS String DIM Cz AS NEW Compress DIM Buf AS String DIM SourceString AS String Cz.Type = "bzlib2" '* The PAD function is to left pad string and CRIPTANome is to cript strings for my secret code SourceString = organiza.PAD(winger.CriptaNome(cSourceString),0,255) Buf = Cz.String(SourceString,Cz.Max,FALSE) IF Len(Buf) < Len(SourceString) THEN RETURN Buf ELSE RETURN "" END IF END FUNCTION ExecutaComando(cSELECT AS String) AS Boolean DIM iRetorno AS Boolean DIM oConn AS Connection DIM oResult AS Result oConn = NEW Connection oConn = OpenConnection() oConn.Begin oResult = oConn.Exec(cSELECT) iRetorno = (oResult.Count >= 0) oConn.Commit RETURN iRetorno END FUNCTION ... strSql = "INSERT INTO EXTRATO (rgprp,logado,campo) VALUES ('2200','IAM','" & mString & "')" if not ExecutaComando(strSql) then message.erro("Erro........") If im use any sql expression dont work Example: UPDATE EXTRATO SET campo = 'AV:9:0000001500:000000:AV:E:0000000001:07122004:0DN:BZh91AY&SYr6?;AV:9:0000010000:000000:AV:E:0000000001:07122004:0DN:BZh91AY&SYz??' WHERE rgprp = '2600' AND LEFT(campo,2) = 'AV' AV:9:0000001500:000000:AV:E:0000000001:07122004:0DN:BZh91AY&SYr6? ----------\/--------------- returned string for zCripta function From LACKKD at ...674... Tue Dec 7 21:10:31 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Tue, 7 Dec 2004 13:10:31 -0700 Subject: [Gambas-user] Component Creation In-Reply-To: Message-ID: I am trying to create a component around a c data struct that has an unsigned int pointer to an array called Hosts. If I have an array of my initial structure how do I write my wrappers so that I can index into the Host array? I can index successfully into my array of my structure but am unsure about how to index into the nested array. Do I just put unsigned int* Hosts into the structure deceleration in the .h file of the structure that I am creating the component out of? Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Karl.Reinl at ...9... Tue Dec 7 22:18:09 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 7 Dec 2004 22:18:09 +0100 Subject: [Gambas-user] gDBM Message-ID: <200412072218.09497.Karl.Reinl@...9...> Salut Benoit, I forked your 'gambas database manager' , because of the saved password. Here I send you my first results. Starting from the point that passwords saved in plain text are not good. I said, also 'my passwords', saved in plain text, in my location (home) can be read only by me or root (or other root like admins) !! So I can save them, for easy access. BUT... I give an information to the user, that the password will be saved. For non system.user (user <> logged in user) I give an additional ATTENTION message for that. If user tries to start Server, where PW is not saved, he will have the possibillity to enter the PW, via an Inputbox like dialog to start them. I also worked on the request form, to make it a bit more usable. If you like you can take it back, or parts of , to your origine DBM. Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gDBM.01-0.99.67.tar.gz Type: application/x-tgz Size: 193127 bytes Desc: not available URL: From scatman_ at ...17... Tue Dec 7 22:56:44 2004 From: scatman_ at ...17... (scatman) Date: Tue, 7 Dec 2004 22:56:44 +0100 Subject: [Gambas-user] mid$ In-Reply-To: <200412061903.53523.sourceforge-raindog2@...94...> References: <200412062326.52191.scatman_@...17...> <200412061903.53523.sourceforge-raindog2@...94...> Message-ID: <200412072256.45600.scatman_@...17...> Am Dienstag, 7. Dezember 2004 01:03 schrieb Rob: Hello Rob, > In each case, the result of the function is the input string > starting at the 5th character (in Gambas, you count from 0.) ?So > it's pretty consistent. ?What did you expect the function to > return? thanks, so I understand MID$. -- scatman From lbaudio at ...172... Tue Dec 7 19:50:41 2004 From: lbaudio at ...172... (LB Audio) Date: Tue, 7 Dec 2004 16:50:41 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] DoEvents References: <200412071108.00915.gambas@...1...> Message-ID: <41B5FB81.000001.03096@...701...> Please DoEvents in Gambas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From blixtra at ...626... Wed Dec 8 02:59:37 2004 From: blixtra at ...626... (Chris Wilson) Date: Wed, 8 Dec 2004 02:59:37 +0100 Subject: [Gambas-user] 2 ?'s: Hide Tabs? and Special Characters Message-ID: <69dead7b04120717593d187627@...627...> Hi, I need to have 3 different views in my program(language school admin). In glade I'd just make a notebook(tabstrip) and choose hide tabs. Orientation has "top" and "bottom" to choose from but no "none". I'd like to get the tabstrip functionality w/o the actual tabs being shown. The user chooses a view from a drop down and it goes to the appropriate tab page. Is this possible with gambas. If not what, would you suggest? I'd assume having 3 Hpanels on top of each other and showing the selected one. This is however makes it more difficult to design and edit because I have to keep bring the one I want to edit to the top. Second question, When I view my data in the database manager umlauts and the swedish a with the circle over it and such look fine but in my program I'm getting 2 squares. What's the secret Thanks, Chris From sourceforge-raindog2 at ...94... Wed Dec 8 04:12:38 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 7 Dec 2004 22:12:38 -0500 Subject: [Gambas-user] DoEvents In-Reply-To: <41B5FB81.000001.03096@...701...> References: <200412071108.00915.gambas@...1...> <41B5FB81.000001.03096@...701...> Message-ID: <200412072212.38526.sourceforge-raindog2@...94...> On Tuesday 07 December 2004 13:50, LB Audio wrote: > Please DoEvents in Gambas. Try WAIT. Rob From sourceforge-raindog2 at ...94... Wed Dec 8 04:29:30 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 7 Dec 2004 22:29:30 -0500 Subject: [Gambas-user] Gambas in Linux Format In-Reply-To: <200412010936.02216.radoslav.dejanovic@...116...> References: <200411301111.32698.lordheavy@...512...> <200412010936.02216.radoslav.dejanovic@...116...> Message-ID: <200412072229.30063.sourceforge-raindog2@...94...> On Wednesday 01 December 2004 03:36, Radoslav Dejanovi? wrote: > I see there's a nice, short article about upcoming Gambas 1.0 > in Linux Format. Go, developers, go! :) Which issue of Linux Format was this? I just got the December one (with Mandrake 10.1 on the cover) and couldn't find any such article. Rob From budi at ...415... Wed Dec 8 07:41:38 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Wed, 8 Dec 2004 13:41:38 +0700 Subject: [Gambas-user] DoEvents In-Reply-To: <200412072212.38526.sourceforge-raindog2@...94...> References: <200412071108.00915.gambas@...1...> <41B5FB81.000001.03096@...701...> <200412072212.38526.sourceforge-raindog2@...94...> Message-ID: <95887793.20041208134138@...415...> Hello Rob, In visual basic to wait for continuing executing line of code is using of 'sleep' API and for yielding app. to OS is using DoEvents, so the application dont look frozen, and we still can do another event. In gambas...should it be better to use WAIT as waiting function and DoEvent as DoEven in VB ? Budi Wednesday, December 8, 2004, 10:12:38 AM, you wrote: > On Tuesday 07 December 2004 13:50, LB Audio wrote: >> Please DoEvents in Gambas. > Try WAIT. > Rob > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Should we -- Best regards, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambasfr at ...11... Wed Dec 8 08:46:33 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 8 Dec 2004 08:46:33 +0100 Subject: [Gambas-user] DoEvents In-Reply-To: <95887793.20041208134138@...415...> References: <200412071108.00915.gambas@...1...> <200412072212.38526.sourceforge-raindog2@...94...> <95887793.20041208134138@...415...> Message-ID: <200412080846.33400.gambasfr@...11...> Le mercredi 8 D?cembre 2004 07:41, BUDI ARIEF GUSANDI a ?crit?: > Hello Rob, > > In visual basic to wait for continuing executing line of code is using of > 'sleep' API and for yielding app. to OS is using DoEvents, so the > application dont look frozen, and we still can do another event. > > In gambas...should it be better to use WAIT as waiting function and DoEvent > as DoEven in VB ? > You need to be carrefull with recursives function... don't use wait in this case. And on linux... doevent is just util to the owner application... generally the other application are not frozen. Fabien > Budi > > Wednesday, December 8, 2004, 10:12:38 AM, you wrote: > > On Tuesday 07 December 2004 13:50, LB Audio wrote: > >> Please DoEvents in Gambas. > > > > Try WAIT. > > > > Rob > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Should we From nigel at ...38... Wed Dec 8 08:59:26 2004 From: nigel at ...38... (nigel at ...38...) Date: Wed, 8 Dec 2004 08:59:26 +0100 (CET) Subject: [Gambas-user] Gambas in Linux Format Message-ID: <31327400.1102492766778.JavaMail.www@...718...> I haven't got my LX Format to hand but it is the copy after that with Mandrake 10.1. Copy 61 I believe. (It's the version with Suse on the disk) The advantage of having subscription means that you get each issue well in advance. Nigel > Message date : Dec 08 2004, 03:36 AM > From : "Rob" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : Re: [Gambas-user] Gambas in Linux Format > On Wednesday 01 December 2004 03:36, Radoslav Dejanovi? wrote: > > I see there's a nice, short article about upcoming Gambas 1.0 > > in Linux Format. Go, developers, go! :) > > Which issue of Linux Format was this? I just got the December > one (with Mandrake 10.1 on the cover) and couldn't find any such > article. > > Rob > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From radoslav.dejanovic at ...116... Wed Dec 8 09:31:14 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 8 Dec 2004 09:31:14 +0100 Subject: [Gambas-user] Gambas in Linux Format In-Reply-To: <200412072229.30063.sourceforge-raindog2@...94...> References: <200411301111.32698.lordheavy@...512...> <200412010936.02216.radoslav.dejanovic@...116...> <200412072229.30063.sourceforge-raindog2@...94...> Message-ID: <200412080931.14831.radoslav.dejanovic@...116...> On Wednesday 08 December 2004 04:29, Rob wrote: > On Wednesday 01 December 2004 03:36, Radoslav Dejanovi? wrote: > > I see there's a nice, short article about upcoming Gambas 1.0 > > in Linux Format. Go, developers, go! :) > > Which issue of Linux Format was this? I just got the December > one (with Mandrake 10.1 on the cover) and couldn't find any such > article. Should be there, I think it was in this issue. Somewhere down on the right page. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From gambas at ...1... Wed Dec 8 10:48:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Dec 2004 10:48:53 +0100 Subject: [Gambas-user] DoEvents In-Reply-To: <41B5FB81.000001.03096@...701...> References: <200412071108.00915.gambas@...1...> <41B5FB81.000001.03096@...701...> Message-ID: <200412081048.53344.gambas@...1...> On Tuesday 07 December 2004 19:50, LB Audio wrote: > Please DoEvents in Gambas. An X11 application can't block other X11 applications - except that there is an X instruction that can lock the X server. The WAIT instruction of Gambas does the same thing than DoEvents on Windows NT{4,5,5.1}: it calls the event loop so that event are managed. This call is recursive, so it can be dangerous: you can create an infinite recursion of event handler calls. But the WAIT Gambas instruction is safer than its VB counterparts, as it does not handle input events (mouse & keyboard). Generally, you use WAIT only for letting the program refresh its GUI. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Dec 8 10:50:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Dec 2004 10:50:48 +0100 Subject: [Gambas-user] gDBM In-Reply-To: <200412072218.09497.Karl.Reinl@...9...> References: <200412072218.09497.Karl.Reinl@...9...> Message-ID: <200412081050.48456.gambas@...1...> On Tuesday 07 December 2004 22:18, Charlie Reinl wrote: > Salut Benoit, > > I forked your 'gambas database manager' , because of the saved password. > > Here I send you my first results. > > Starting from the point that passwords saved in plain text are not good. > > I said, also 'my passwords', saved in plain text, in my location (home) can > be read only by me or root (or other root like admins) !! > So I can save them, for easy access. > > BUT... I give an information to the user, that the password will be saved. > > For non system.user (user <> logged in user) I give an additional ATTENTION > message for that. > > If user tries to start Server, where PW is not saved, he will have the > possibillity to enter the PW, via an Inputbox like dialog to start them. > > I also worked on the request form, to make it a bit more usable. > > If you like you can take it back, or parts of , to your origine DBM. > > Amicalement > Charlie Don't worry Charlie, I will merge your work after the 1.0. Try to polish it as much as possible :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Dec 8 10:53:26 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Dec 2004 10:53:26 +0100 Subject: [Gambas-user] 2 ?'s: Hide Tabs? and Special Characters In-Reply-To: <69dead7b04120717593d187627@...627...> References: <69dead7b04120717593d187627@...627...> Message-ID: <200412081053.26507.gambas@...1...> On Wednesday 08 December 2004 02:59, Chris Wilson wrote: > Hi, > > I need to have 3 different views in my program(language school admin). > In glade I'd just make a notebook(tabstrip) and choose hide tabs. > Orientation has "top" and "bottom" to choose from but no "none". I'd > like to get the tabstrip functionality w/o the actual tabs being > shown. The user chooses a view from a drop down and it goes to the > appropriate tab page. > > Is this possible with gambas. If not what, would you suggest? I'd > assume having 3 Hpanels on top of each other and showing the selected > one. This is however makes it more difficult to design and edit > because I have to keep bring the one I want to edit to the top. I don't know if it is possible on QT... I must look in the doc. I do it with many panels, and yes, it is difficult to edit :-) > > Second question, When I view my data in the database manager umlauts > and the swedish a with the circle over it and such look fine but in my > program I'm getting 2 squares. What's the secret It is a charset problem: Gambas uses UTF-8, but databases uses Connection.Charset to store strings. When you get a string from a database, you must convert it to UTF-8 with Conv$() if you want to display it in a GUI. > > Thanks, > Chris > Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Dec 8 10:54:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Dec 2004 10:54:53 +0100 Subject: [Gambas-user] Component Creation In-Reply-To: References: Message-ID: <200412081054.53735.gambas@...1...> On Tuesday 07 December 2004 21:10, LACKKD at ...674... wrote: > I am trying to create a component around a c data struct that has an > unsigned int pointer to an array called Hosts. If I have an array of my > initial structure how do I write my wrappers so that I can index into the > Host array? I can index successfully into my array of my structure but am > unsure about how to index into the nested array. > > Do I just put unsigned int* Hosts into the structure deceleration in the > .h file of the structure that I am creating the component out of? > > Thanks, > Kevin You should post that on the devel mailing-list... Can you be more explicit (give some code excerpts) ? Do you want to create a class with an array accessor ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Dec 8 11:40:38 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Dec 2004 11:40:38 +0100 Subject: [Gambas-user] Pb with columnview In-Reply-To: <200412051211.42931.jscops@...11...> References: <200411262014.53276.gambasfr@...11...> <200411281851.32495.gambas@...1...> <200412051211.42931.jscops@...11...> Message-ID: <200412081140.39147.gambas@...1...> On Sunday 05 December 2004 12:11, Jack wrote: > Bonjour, > > If i take a one line text in a areatext, the columnview display it normaly. > But if i take several lines, the display is strange. ( see snapshot ) > How have a good display ? > Don't use multi-line texts :-) Replace '\n' by spaces before inserting the text, for example. Regards, -- Benoit Minisini mailto:gambas at ...1... From blixtra at ...626... Wed Dec 8 13:32:11 2004 From: blixtra at ...626... (Chris Wilson) Date: Wed, 8 Dec 2004 13:32:11 +0100 Subject: [Gambas-user] 2 ?'s: Hide Tabs? and Special Characters In-Reply-To: <200412081053.26507.gambas@...1...> References: <69dead7b04120717593d187627@...627...> <200412081053.26507.gambas@...1...> Message-ID: <69dead7b041208043244bd9a35@...627...> Thanks so much for the quick answers. I think that should keep me busy for a while. Chris On Wed, 8 Dec 2004 10:53:26 +0100, Benoit Minisini wrote: > On Wednesday 08 December 2004 02:59, Chris Wilson wrote: > > > > Hi, > > > > I need to have 3 different views in my program(language school admin). > > In glade I'd just make a notebook(tabstrip) and choose hide tabs. > > Orientation has "top" and "bottom" to choose from but no "none". I'd > > like to get the tabstrip functionality w/o the actual tabs being > > shown. The user chooses a view from a drop down and it goes to the > > appropriate tab page. > > > > Is this possible with gambas. If not what, would you suggest? I'd > > assume having 3 Hpanels on top of each other and showing the selected > > one. This is however makes it more difficult to design and edit > > because I have to keep bring the one I want to edit to the top. > > I don't know if it is possible on QT... I must look in the doc. I do it with > many panels, and yes, it is difficult to edit :-) > > > > > Second question, When I view my data in the database manager umlauts > > and the swedish a with the circle over it and such look fine but in my > > program I'm getting 2 squares. What's the secret > > It is a charset problem: Gambas uses UTF-8, but databases uses > Connection.Charset to store strings. When you get a string from a database, > you must convert it to UTF-8 with Conv$() if you want to display it in a GUI. > > > > > Thanks, > > Chris > > > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambasfr at ...11... Wed Dec 8 13:34:26 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 8 Dec 2004 13:34:26 +0100 Subject: [Gambas-user] 2 ?'s: Hide Tabs? and Special Characters In-Reply-To: <200412081053.26507.gambas@...1...> References: <69dead7b04120717593d187627@...627...> <200412081053.26507.gambas@...1...> Message-ID: <200412081334.26190.gambasfr@...11...> Le mercredi 8 D?cembre 2004 10:53, Benoit Minisini a ?crit?: > On Wednesday 08 December 2004 02:59, Chris Wilson wrote: > > Hi, > > > > I need to have 3 different views in my program(language school admin). > > In glade I'd just make a notebook(tabstrip) and choose hide tabs. > > Orientation has "top" and "bottom" to choose from but no "none". I'd > > like to get the tabstrip functionality w/o the actual tabs being > > shown. The user chooses a view from a drop down and it goes to the > > appropriate tab page. > > > > Is this possible with gambas. If not what, would you suggest? I'd > > assume having 3 Hpanels on top of each other and showing the selected > > one. This is however makes it more difficult to design and edit > > because I have to keep bring the one I want to edit to the top. > > I don't know if it is possible on QT... I must look in the doc. I do it > with many panels, and yes, it is difficult to edit :-) I remember a component in qt... 'widgetstack' Fabien > > > Second question, When I view my data in the database manager umlauts > > and the swedish a with the circle over it and such look fine but in my > > program I'm getting 2 squares. What's the secret > > It is a charset problem: Gambas uses UTF-8, but databases uses > Connection.Charset to store strings. When you get a string from a database, > you must convert it to UTF-8 with Conv$() if you want to display it in a > GUI. > > > Thanks, > > Chris > > Regards, From blixtra at ...626... Wed Dec 8 13:57:21 2004 From: blixtra at ...626... (Chris Wilson) Date: Wed, 8 Dec 2004 13:57:21 +0100 Subject: [Gambas-user] 2 ?'s: Hide Tabs? and Special Characters In-Reply-To: <200412081334.26190.gambasfr@...11...> References: <69dead7b04120717593d187627@...627...> <200412081053.26507.gambas@...1...> <200412081334.26190.gambasfr@...11...> Message-ID: <69dead7b04120804572104aa96@...627...> Just took a look at the QT doc and I think your right. QWidgetStack is what I need. I'll to the panal stack as you suggested for now. And it doesn't seem as if you can hide a tab. Chris On Wed, 8 Dec 2004 13:34:26 +0100, Bodard Fabien wrote: > Le mercredi 8 D?cembre 2004 10:53, Benoit Minisini a ?crit : > > > > On Wednesday 08 December 2004 02:59, Chris Wilson wrote: > > > Hi, > > > > > > I need to have 3 different views in my program(language school admin). > > > In glade I'd just make a notebook(tabstrip) and choose hide tabs. > > > Orientation has "top" and "bottom" to choose from but no "none". I'd > > > like to get the tabstrip functionality w/o the actual tabs being > > > shown. The user chooses a view from a drop down and it goes to the > > > appropriate tab page. > > > > > > Is this possible with gambas. If not what, would you suggest? I'd > > > assume having 3 Hpanels on top of each other and showing the selected > > > one. This is however makes it more difficult to design and edit > > > because I have to keep bring the one I want to edit to the top. > > > > I don't know if it is possible on QT... I must look in the doc. I do it > > with many panels, and yes, it is difficult to edit :-) > > > I remember a component in qt... 'widgetstack' > > > Fabien > > > > > > > Second question, When I view my data in the database manager umlauts > > > and the swedish a with the circle over it and such look fine but in my > > > program I'm getting 2 squares. What's the secret > > > > It is a charset problem: Gambas uses UTF-8, but databases uses > > Connection.Charset to store strings. When you get a string from a database, > > you must convert it to UTF-8 with Conv$() if you want to display it in a > > GUI. > > > > > Thanks, > > > Chris > > > > Regards, > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Wed Dec 8 13:21:17 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 8 Dec 2004 07:21:17 -0500 Subject: [Gambas-user] Gambas in Linux Format In-Reply-To: <31327400.1102492766778.JavaMail.www@...718...> References: <31327400.1102492766778.JavaMail.www@...718...> Message-ID: <200412080721.17115.sourceforge-raindog2@...94...> On Wednesday 08 December 2004 02:59, nigel at ...38... wrote: > I haven't got my LX Format to hand but it is the copy after > that with Mandrake 10.1. Copy 61 I believe. (It's the version Thanks, I guess we must be about a month lagged here. > with Suse on the disk) The advantage of having subscription > means that you get each issue well in advance. Nigel Yep, and if it weren't 80 quid I'd have subscribed long ago :) Rob From christian.faurebouvard at ...357... Wed Dec 8 14:30:30 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Wed, 8 Dec 2004 10:30:30 -0300 Subject: [Gambas-user] Re: DoEvents In-Reply-To: <200412081048.53344.gambas@...1...> References: <200412071108.00915.gambas@...1...> <41B5FB81.000001.03096@...701...> <200412081048.53344.gambas@...1...> Message-ID: <200412081030.30199.christian.faurebouvard@...357...> El Mi?rcoles, 8 de Diciembre de 2004 06:48, Benoit Minisini escribi?: > On Tuesday 07 December 2004 19:50, LB Audio wrote: > > Please DoEvents in Gambas. > > An X11 application can't block other X11 applications - except that there > is an X instruction that can lock the X server. > > The WAIT instruction of Gambas does the same thing than DoEvents on Windows > NT{4,5,5.1}: it calls the event loop so that event are managed. > > This call is recursive, so it can be dangerous: you can create an infinite > recursion of event handler calls. > > But the WAIT Gambas instruction is safer than its VB counterparts, as it > does not handle input events (mouse & keyboard). Generally, you use WAIT > only for letting the program refresh its GUI. > > Regards, In somes case, a Cancel button is necesary to cancel a big process, Is posible to create another api or modify WAIT to handle input events? Regards From sourceforge-raindog2 at ...94... Wed Dec 8 15:51:20 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 8 Dec 2004 09:51:20 -0500 Subject: [Gambas-user] Re: DoEvents In-Reply-To: <200412081030.30199.christian.faurebouvard@...357...> References: <200412071108.00915.gambas@...1...> <200412081048.53344.gambas@...1...> <200412081030.30199.christian.faurebouvard@...357...> Message-ID: <200412080951.20181.sourceforge-raindog2@...94...> On Wednesday 08 December 2004 08:30, Christian Faure wrote: > In somes case, a Cancel button is necesary to cancel a big > process, Is posible to create another api or modify WAIT to > handle input events? Just in case this workaround hasn't occurred to you... if you have to, you can put your processing into a timer object, doing a chunk of it each time the timer event fires (obviously you want to set a flag indicating the timer event handler is running so you don't have overlap.) It's not really pretty but it may also have the effect of forcing you to write cleaner code since you have to maintain state between timer fires. Rob From scatman_ at ...17... Wed Dec 8 12:31:47 2004 From: scatman_ at ...17... (scatman) Date: Wed, 8 Dec 2004 12:31:47 +0100 Subject: [Gambas-user] mid$ In-Reply-To: <200412071108.00915.gambas@...1...> References: <200412062326.52191.scatman_@...17...> <200412071108.00915.gambas@...1...> Message-ID: <200412081231.47745.scatman_@...17...> Am Dienstag, 7. Dezember 2004 11:08 schrieb Benoit Minisini: > > but in the manuel > > print mid$("Gambas",4) > > says bas > > > > regards > > Hmm... Not on my box: this returns whzt the doc says: > > p me to understand mid String in gambas > > Are you sure of your example ? Which language do you use ? It was wrong from me. I thinking Mid$("Gambas",4) cuts from right site, but it is the left Site :-) sorry, From LACKKD at ...674... Wed Dec 8 17:37:29 2004 From: LACKKD at ...674... (LACKKD at ...674...) Date: Wed, 8 Dec 2004 09:37:29 -0700 Subject: [Gambas-user] Component Creation In-Reply-To: <200412081054.53735.gambas@...1...> Message-ID: Its Ok..... I figured it out last night and got it working. Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.faurebouvard at ...357... Wed Dec 8 19:10:40 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Wed, 8 Dec 2004 15:10:40 -0300 Subject: [Gambas-user] Re: DoEvents In-Reply-To: <200412080951.20181.sourceforge-raindog2@...94...> References: <200412071108.00915.gambas@...1...> <200412081030.30199.christian.faurebouvard@...357...> <200412080951.20181.sourceforge-raindog2@...94...> Message-ID: <200412081510.41042.christian.faurebouvard@...357...> El Mi?rcoles, 8 de Diciembre de 2004 11:51, Rob escribi?: > On Wednesday 08 December 2004 08:30, Christian Faure wrote: > > In somes case, a Cancel button is necesary to cancel a big > > process, Is posible to create another api or modify WAIT to > > handle input events? > > Just in case this workaround hasn't occurred to you... if you > have to, you can put your processing into a timer object, doing > a chunk of it each time the timer event fires (obviously you > want to set a flag indicating the timer event handler is running > so you don't have overlap.) > > It's not really pretty but it may also have the effect of forcing > you to write cleaner code since you have to maintain state > between timer fires. > > Rob Thanks Rob, yes i use this workaround, but expect a pretty solution :-) if possible... From na2492 at ...9... Wed Dec 8 21:10:01 2004 From: na2492 at ...9... (Charlie Reinl) Date: Wed, 8 Dec 2004 21:10:01 00100 Subject: [Gambas-user] mid$ Message-ID: <41b75f99.384e.0@...9...> >Am Dienstag, 7. Dezember 2004 11:08 schrieb Benoit Minisini: > > >> > but in the manuel >> > print mid$("Gambas",4) >> > says bas >> > >> > regards >> >> Hmm... Not on my box: this returns whzt the doc says: >> >> p me to understand mid String in gambas >> >> Are you sure of your example ? Which language do you use ? > >It was wrong from me. >I thinking Mid$("Gambas",4) cuts from right site, but it is the left Site :-) > >sorry, Salut, a mid$ or substr function, for me (and also for gambas-0.99.RC4) shows the part of the string (first argument), counted from left to the seconde argument, the starting position, to the third argument the end position. If third argument is not given to the end of the first (the string) argument. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From karl.reinl at ...9... Wed Dec 8 21:32:01 2004 From: karl.reinl at ...9... (Charlie) Date: Wed, 08 Dec 2004 21:32:01 +0100 Subject: [Gambas-user] Re: DoEvents References: <200412071108.00915.gambas@...1...> <200412081048.53344.gambas@...1...> <200412081030.30199.christian.faurebouvard@...357...> <200412080951.20181.sourceforge-raindog2@...94...> Message-ID: <41B764C1.20202@...9...> Rob schrieb: >On Wednesday 08 December 2004 08:30, Christian Faure wrote: > > >>In somes case, a Cancel button is necesary to cancel a big >>process, Is posible to create another api or modify WAIT to >>handle input events? >> >> > >Just in case this workaround hasn't occurred to you... if you >have to, you can put your processing into a timer object, doing >a chunk of it each time the timer event fires (obviously you >want to set a flag indicating the timer event handler is running >so you don't have overlap.) > >It's not really pretty but it may also have the effect of forcing >you to write cleaner code since you have to maintain state >between timer fires. > >Rob > > Salut, send you a project from the early 0.3x of gambas where WAIT had problems. Now I see it dosn't work any more. Since I can't trap mouse while WAIT, and buttons don't worke anymore. You can't stop this application no more. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Test-0.0.2.tar.gz Type: application/x-tar Size: 3562 bytes Desc: not available URL: From Karl.Reinl at ...9... Wed Dec 8 22:23:16 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 8 Dec 2004 22:23:16 +0100 Subject: [Gambas-user] NEW BUG in gambas IDE Message-ID: <200412082223.16703.Karl.Reinl@...9...> Salut, if you make an executable from an project into the same directory as the project, that you find this executable under /Data if executable file name differs to project name. project = myProject executablename = myProject_01 And if you use executable name = myProject.01 , only 'myProject.' will be stored. So myProject.02 , will overwrite myProject.01 NOT nice. Amicalment Charlie From gambas at ...1... Thu Dec 9 10:53:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Dec 2004 10:53:54 +0100 Subject: [Gambas-user] Re: DoEvents In-Reply-To: <41B764C1.20202@...9...> References: <200412071108.00915.gambas@...1...> <200412080951.20181.sourceforge-raindog2@...94...> <41B764C1.20202@...9...> Message-ID: <200412091053.55025.gambas@...1...> On Wednesday 08 December 2004 21:32, Charlie wrote: > Rob schrieb: > >On Wednesday 08 December 2004 08:30, Christian Faure wrote: > >>In somes case, a Cancel button is necesary to cancel a big > >>process, Is posible to create another api or modify WAIT to > >>handle input events? > > > >Just in case this workaround hasn't occurred to you... if you > >have to, you can put your processing into a timer object, doing > >a chunk of it each time the timer event fires (obviously you > >want to set a flag indicating the timer event handler is running > >so you don't have overlap.) > > > >It's not really pretty but it may also have the effect of forcing > >you to write cleaner code since you have to maintain state > >between timer fires. > > > >Rob > > Salut, > > send you a project from the early 0.3x of gambas where WAIT had problems. > Now I see it dosn't work any more. > Since I can't trap mouse while WAIT, and buttons don't worke anymore. > You can't stop this application no more. > > Amicalment > Charlie Maybe I should add an option to WAIT to tell it "just refresh" or "get mouse and keyboard events"... -- Benoit Minisini mailto:gambas at ...1... From blixtra at ...626... Thu Dec 9 23:56:10 2004 From: blixtra at ...626... (Chris Wilson) Date: Thu, 9 Dec 2004 23:56:10 +0100 Subject: [Gambas-user] 1.0-rc2 ebuild is broken In-Reply-To: <20041205035705.18ddc763@...388...> References: <41B20649.5010700@...716...> <20041205035705.18ddc763@...388...> Message-ID: <69dead7b04120914567954c0b7@...627...> rc4 is in portage On Sun, 5 Dec 2004 03:57:05 +0100, Marius Mauch wrote: > On Sat, 04 Dec 2004 11:47:37 -0700 > Dave Lindquist wrote: > > > The ebuild for gambas 1.0-rc2 seems to be broken (the Gentoo build). > > The make file appears to attempt to access files directly on the > > filesystem? Specifically, it seems to attempt to unlink > > /usr/bin/gambas (ebuilds cannot access files outside of the sandbox > > into which they are compiling). > > Please send ebuild-related bugs to bugs.gentoo.org, otherwise I might > not see them. This one was just fixed a few minutes ago (should have > been fixed almost a week ago, I just forgot to commit the fix). > > Marius > > -- > Public Key at http://www.genone.de/info/gpg-key.pub > > In the beginning, there was nothing. And God said, 'Let there be > Light.' And there was still nothing, but you could see a bit better. > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From blixtra at ...626... Fri Dec 10 02:48:44 2004 From: blixtra at ...626... (Chris Wilson) Date: Fri, 10 Dec 2004 02:48:44 +0100 Subject: [Gambas-user] Passing objects by reference Message-ID: <69dead7b04120917484b572a69@...627...> Is it possible to pass objects by reference in Gambas? I have a sub in a module that I'd like to pass a result object to and have it work on that result object. I've started using functions instead of subs and returning what I need but that is not really what I want. I've looked through the docs and mailing list but didn't stumble upon the answer. should be a common issue though. Chris From sourceforge-raindog2 at ...94... Fri Dec 10 06:55:26 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 10 Dec 2004 00:55:26 -0500 Subject: [Gambas-user] Passing objects by reference In-Reply-To: <69dead7b04120917484b572a69@...627...> References: <69dead7b04120917484b572a69@...627...> Message-ID: <200412100055.26323.sourceforge-raindog2@...94...> On Thursday 09 December 2004 20:48, Chris Wilson wrote: > Is it possible to pass objects by reference in Gambas? I was under the impression that object types were always passed by reference, but you could always make an array with one member (your object) and pass that into the routine. Rob From blixtra at ...626... Fri Dec 10 13:35:05 2004 From: blixtra at ...626... (Chris Wilson) Date: Fri, 10 Dec 2004 13:35:05 +0100 Subject: [Gambas-user] Passing objects by reference In-Reply-To: <200412100055.26323.sourceforge-raindog2@...94...> References: <69dead7b04120917484b572a69@...627...> <200412100055.26323.sourceforge-raindog2@...94...> Message-ID: <69dead7b04121004351d7a5b76@...627...> On Fri, 10 Dec 2004 00:55:26 -0500, Rob wrote: > On Thursday 09 December 2004 20:48, Chris Wilson wrote: > > Is it possible to pass objects by reference in Gambas? > > I was under the impression that object types were always passed > by reference, but you could always make an array with one member > (your object) and pass that into the routine. > > Rob I think there is something I'm not understanding here. When I try your work-around ,I get an error that there is a missing AS for the last line in the following: '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' PUBLIC studentRS AS Result studentRSArray AS Object[] studentRSArray.Add(studentRS) '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Going back to the original question about passing as reference..... What I have is a Result (studentRS) object declared in the form class. In this form class I call a SUB (fillTable), which is passed studentRS, in a module that successfully fills the the table. When the table's data event is triggered however, I get an eror that studentRS is a Null object. This happens when I define studentRS like above. If I define like this: PUBLIC studentRS AS NEW Result then I get an error that Result is static. I'm not sure what this all means or what i'm doing wrong on both counts. I've never touched VB so maybe this is just my ignorance. Chris From pradeep at ...721... Sat Dec 11 05:05:25 2004 From: pradeep at ...721... (Pradeep Kishore Gowda) Date: Fri, 10 Dec 2004 23:05:25 -0500 Subject: [Gambas-user] cannot run gambas after compilation. Message-ID: <41BA7205.6030806@...721...> Hi, even after compiling gambas 0.99RC1, successfully i've not been able to execute it.. :( i get """ ERROR: #27: Cannot load component '/opt/gambas/lib/gambas/lib.gb.qt.so': /opt/gambas/lib/gambas/lib.gb.qt.so: cannot open shared object file: No such file or directory """ error. how do i resolve this thanks much, pradeep From arjunjain at ...626... Fri Dec 10 19:11:07 2004 From: arjunjain at ...626... (Arjun Jain) Date: Fri, 10 Dec 2004 23:41:07 +0530 Subject: [Gambas-user] cannot run gambas after compilation. In-Reply-To: <41BA7205.6030806@...721...> References: <41BA7205.6030806@...721...> Message-ID: <51a0fabf041210101175512bb2@...627...> On Fri, 10 Dec 2004 23:05:25 -0500, Pradeep Kishore Gowda wrote: > Hi, > even after compiling gambas 0.99RC1 use RC4 : ) -- ----------------------------------------------------------------- Arjun Jain, 7th Sem CSE, RVCE http://rvce.ac.in/~arjun Visit http://lug.rvce.ac.in - The RVLug Home ----------------------------------------------------------------- From na2492 at ...9... Fri Dec 10 19:53:13 2004 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 10 Dec 2004 19:53:13 00100 Subject: [Gambas-user] cannot run gambas after compilation. Message-ID: <41b9f099.1b2c.0@...9...> >Hi, >even after compiling gambas 0.99RC1, successfully i've not been able to >execute it.. :( >i get """ >ERROR: #27: Cannot load component '/opt/gambas/lib/gambas/lib.gb.qt.so': >/opt/gambas/lib/gambas/lib.gb.qt.so: cannot open shared object file: No >such file or directory >""" >error. >how do i resolve this > >thanks much, >pradeep > Salut, dit you: make './configure' , 'make' and as root 'make in install' ? have rights to read/write /tmp ? have rights to read /opt/gambas/lib/gambas ? try to call gambas from a xterm to see the output ? try to run gambas as root ? Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From whoknowz at ...626... Fri Dec 10 21:27:35 2004 From: whoknowz at ...626... (whoknowz) Date: Sat, 11 Dec 2004 01:27:35 +0500 Subject: [Gambas-user] Re: Button highlight color changing. In-Reply-To: <3bab1b0204120212305ce9fd0d@...627...> References: <-3241562071155451950@...714...> <3bab1b0204120212305ce9fd0d@...627...> Message-ID: <3bab1b020412101227154ef925@...627...> Hi everyone, I just finished my project using gambas. And when I made a installation package for Redhat/Fedora (RPM) and tried to install it on a user system it says that gambas-gb-runtime, gambas-gb-qt, and gambas-gb-net is missing. Is there anyway to include these libraries/binaries etc.. in a single package? Or should I also install the whole gambas package on each of the user system??. It would be real easy if we could just tick on these extra libraries in the Installation Package Maker. But right now this runtime dependency reminds me of the old VB 6.0 requirement of the msvbvm60.dll. Any suggestion is highly appreciated. And thanx for this awesome language + ide. Nashith From whoknowz at ...626... Fri Dec 10 21:27:58 2004 From: whoknowz at ...626... (whoknowz) Date: Sat, 11 Dec 2004 01:27:58 +0500 Subject: [Gambas-user] Installation package issue In-Reply-To: <3bab1b0204120212305ce9fd0d@...627...> References: <-3241562071155451950@...714...> <3bab1b0204120212305ce9fd0d@...627...> Message-ID: <3bab1b0204121012277fa7ce94@...627...> Hi everyone, I just finished my project using gambas. And when I made a installation package for Redhat/Fedora (RPM) and tried to install it on a user system it says that gambas-gb-runtime, gambas-gb-qt, and gambas-gb-net is missing. Is there anyway to include these libraries/binaries etc.. in a single package? Or should I also install the whole gambas package on each of the user system??. It would be real easy if we could just tick on these extra libraries in the Installation Package Maker. But right now this runtime dependency reminds me of the old VB 6.0 requirement of the msvbvm60.dll. Any suggestion is highly appreciated. And thanx for this awesome language + ide. Nashith From karl.reinl at ...9... Sat Dec 11 00:02:32 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 11 Dec 2004 00:02:32 +0100 Subject: [Gambas-user] cannot run gambas after compilation. References: <41b9f099.1b2c.0@...9...> Message-ID: <41BA2B08.20207@...9...> Charlie Reinl schrieb: >>Hi, >>even after compiling gambas 0.99RC1, successfully i've not been able to >>execute it.. :( >>i get """ >>ERROR: #27: Cannot load component '/opt/gambas/lib/gambas/lib.gb.qt.so': >> >> > > > >>/opt/gambas/lib/gambas/lib.gb.qt.so: cannot open shared object file: No >>such file or directory >>""" >>error. >>how do i resolve this >> >>thanks much, >>pradeep >> >> >> > >Salut, > >dit you: > >make './configure' , 'make' and as root 'make in install' ? > Sorry , these are the 3. './configure' , 'make' and as root 'make install' >have rights to read/write /tmp ? >have rights to read /opt/gambas/lib/gambas ? >try to call gambas from a xterm to see the output ? >try to run gambas as root ? > >Amicalment >Charlie > > From arjunjain at ...626... Sat Dec 11 13:10:07 2004 From: arjunjain at ...626... (Arjun Jain) Date: Sat, 11 Dec 2004 17:40:07 +0530 Subject: [Gambas-user] cannot run gambas after compilation. In-Reply-To: <41BA7205.6030806@...721...> References: <41BA7205.6030806@...721...> Message-ID: <51a0fabf04121104105187afb5@...627...> On Fri, 10 Dec 2004 23:05:25 -0500, Pradeep Kishore Gowda wrote: > Hi, > even after compiling gambas 0.99RC1 Umm why not just try RC4? ; ) -- ----------------------------------------------------------------- Arjun Jain, 7th Sem CSE, RVCE http://rvce.ac.in/~arjun Visit http://lug.rvce.ac.in - The RVLug Home ----------------------------------------------------------------- From pradeep at ...721... Sat Dec 11 13:33:46 2004 From: pradeep at ...721... (Pradeep Kishore Gowda) Date: Sat, 11 Dec 2004 18:03:46 +0530 Subject: [Gambas-user] cannot run gambas after compilation. In-Reply-To: <51a0fabf04121104105187afb5@...627...> References: <41BA7205.6030806@...721...> <51a0fabf04121104105187afb5@...627...> Message-ID: <41BAE92A.9050303@...721...> Arjun Jain wrote: >On Fri, 10 Dec 2004 23:05:25 -0500, Pradeep Kishore Gowda > wrote: > > >>Hi, >>even after compiling gambas 0.99RC1 >> >> > > >Umm why not just try RC4? ; ) > > > Hey dude :) , I've tried downloading rc4 thrice and each time i ended up with a broken tar ball. :( anyways, the problem i'm facing(not able to find module qt.gb.so) - is it specific to RC1? And in my office pc (RH-9), i end up with just gbx,gbi,gba .. and no gambas binary... whats wrong? Regards, pradeep -- http://btbytes.com - Bytes of Bangalore, Technology and Open Source. From danielcampos at ...282... Sat Dec 11 16:57:08 2004 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 11 Dec 2004 16:57:08 +0100 Subject: [Gambas-user] Does =?ISO-8859-1?Q?Beno=EEt?= have a moustach? Message-ID: <1102780628.4098.1.camel@...40...> Does Benoit have a moustach? I think this will be critical for Gambas future :-))) http://khason.biz/blog/2004/12/why-microsoft-can-blow-off-with-c.html Regards, :-))) D. Campos From sourceforge-raindog2 at ...94... Sat Dec 11 17:09:40 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 11 Dec 2004 11:09:40 -0500 Subject: [Gambas-user] Does =?iso-8859-1?q?Beno=EEt=20have=20a?= moustach? In-Reply-To: <1102780628.4098.1.camel@...40...> References: <1102780628.4098.1.camel@...40...> Message-ID: <200412111109.40021.sourceforge-raindog2@...94...> On Saturday 11 December 2004 10:57, Daniel Campos wrote: > Does Benoit have a moustach? I think this will be critical for > Gambas future :-))) Well, I have a mustache and beard, I guess I'd better start submitting more patches ;) Rob From arjunjain at ...626... Sun Dec 12 08:36:50 2004 From: arjunjain at ...626... (Arjun Jain) Date: Sun, 12 Dec 2004 13:06:50 +0530 Subject: [Gambas-user] 404 at http://www.binara.com/gambas-wiki/ ? Message-ID: <51a0fabf041211233646593baf@...627...> Hi, http://www.binara.com/gambas-wiki/ does not seem to be up.. Any pointers to what the problem might be? TIA Regards aj -- ----------------------------------------------------------------- Arjun Jain, 7th Sem CSE, RVCE http://rvce.ac.in/~arjun Visit http://lug.rvce.ac.in - The RVLug Home ----------------------------------------------------------------- From felice.cafarelli at ...324... Sun Dec 12 10:30:00 2004 From: felice.cafarelli at ...324... (Felice Cafarelli) Date: Sun, 12 Dec 2004 10:30:00 +0100 Subject: [Gambas-user] How to create physically a SQLite File in agiven path? In-Reply-To: <51a0fabf041211233646593baf@...627...> References: <51a0fabf041211233646593baf@...627...> Message-ID: <1102843800.5971.2.camel@...712...> I've tried to follow tutorials in examples, but nothing seems to go. I got always the same error "NULL OBJECT". Maybe I'm missing some steps, but what step? Any idea? Regards Felix -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Tutta la musica che cerchi la trovi qui, clicca e comincia a ballare! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2971&d=12-12 From sourceforge-raindog2 at ...94... Sun Dec 12 17:33:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 12 Dec 2004 11:33:13 -0500 Subject: [Gambas-user] 404 at http://www.binara.com/gambas-wiki/ ? In-Reply-To: <51a0fabf041211233646593baf@...627...> References: <51a0fabf041211233646593baf@...627...> Message-ID: <200412121133.13074.sourceforge-raindog2@...94...> On Sunday 12 December 2004 02:36, Arjun Jain wrote: > http://www.binara.com/gambas-wiki/ does not seem to be up.. > Any pointers to what the problem might be? Oops, it's a routing problem at our colo site. Trying to fix it now but I'm not exactly a networking guy :) Rob From sourceforge-raindog2 at ...94... Sun Dec 12 17:35:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 12 Dec 2004 11:35:12 -0500 Subject: [Gambas-user] How to create physically a SQLite File in agiven path? In-Reply-To: <1102843800.5971.2.camel@...712...> References: <51a0fabf041211233646593baf@...627...> <1102843800.5971.2.camel@...712...> Message-ID: <200412121135.12665.sourceforge-raindog2@...94...> On Sunday 12 December 2004 04:30, Felice Cafarelli wrote: > I've tried to follow tutorials in examples, but nothing seems > to go. I got always the same error "NULL OBJECT". > Maybe I'm missing some steps, but what step? > Any idea? I've been using the gambas database manager to create my sqlite tables. Try looking at the gambas database manager source code? Rob From felice.cafarelli at ...324... Sun Dec 12 19:40:06 2004 From: felice.cafarelli at ...324... (Felice Cafarelli) Date: Sun, 12 Dec 2004 19:40:06 +0100 Subject: [Gambas-user] How to create physically a SQLite File in agivenpath? In-Reply-To: <200412121135.12665.sourceforge-raindog2@...94...> References: <51a0fabf041211233646593baf@...627...><1102843800.5971.2.camel@...712...><200412121135.12665.sourceforge-raindog2@...94...> Message-ID: <1102876806.17276.4.camel@...712...> Il dom, 2004-12-12 alle 17:35, Rob ha scritto: > On Sunday 12 December 2004 04:30, Felice Cafarelli wrote: > > I've tried to follow tutorials in examples, but nothing seems > > to go. I got always the same error "NULL OBJECT". > > Maybe I'm missing some steps, but what step? > > Any idea? > > I've been using the gambas database manager to create my sqlite > tables. Try looking at the gambas database manager source code? > > Rob The problem is to create the file in a given path. Docs says that if hConn.Name is an absolute path, sqlite driver will use that file, so I supposed that if I use hConn.Databases.Add ( sName ) I will get a sqlite file in that position, assuming that sName = "/home/someuser/somedirectory/an_empty_sqlite_file" or I'm wrong??? Regards Felix -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Occhialeria.it * Scopri le migliori marche a prezzi imbattibili Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=879&d=12-12 From sourceforge-raindog2 at ...94... Sun Dec 12 20:15:50 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 12 Dec 2004 14:15:50 -0500 Subject: [Gambas-user] How to create physically a SQLite File in agivenpath? In-Reply-To: <1102876806.17276.4.camel@...712...> References: <51a0fabf041211233646593baf@...627...> <200412121135.12665.sourceforge-raindog2@...94...> <1102876806.17276.4.camel@...712...> Message-ID: <200412121415.50914.sourceforge-raindog2@...94...> On Sunday 12 December 2004 13:40, Felice Cafarelli wrote: > The problem is to create the file in a given path. Docs says > that if hConn.Name is an absolute path, sqlite driver will use > that file, so I supposed that if I use > hConn.Databases.Add ( sName ) > I will get a sqlite file in that position, assuming that > sName = "/home/someuser/somedirectory/an_empty_sqlite_file" > or I'm wrong??? I could be remembering wrong here, but I think the path to the database needs to be a directory, and the tables get created within that directory. But I may be confusing it with xBase (.dbf files) which I have been working with in perl recently. Rob From gibsonsphoto at ...247... Sun Dec 12 20:49:31 2004 From: gibsonsphoto at ...247... (gibsonsphoto at ...247...) Date: Sun, 12 Dec 2004 19:49:31 +0000 Subject: [Gambas-user] Installation problems Message-ID: <200412121949.31529.gibsonsphoto@...247...> Hi All, Sorry to report that I'm having some problems compiling 0.99RC4 on SUSE-9.2_X86_64. I've had no problems on the 32-bit version (I have it running on 2PCs already) but keep getting compier errors on the X86_64 version. To be honest, I'm wondering if the problem is with SUSE, rather than Gambas, given that the 32-bit versions were okay, but here's the end of the compiler output: gcc -shared moc_qeditor.lo qeditor.lo main.lo moc_CEditor.lo CEditor.lo -Wl,--rpath -Wl,/usr/lib/qt3/lib -Wl,--rpath -Wl,/usr/lib/qt3/lib -L/usr/X11R6/lib/ -L/usr/lib/ -L/usr/X11R6/lib -L/usr/lib -L/usr/lib/qt3/lib/ -lgcc_s /usr/lib/libstdc++.so -lpthread /usr/lib/qt3/lib/libqt-mt.so -Wl,-soname -Wl,lib.gb.qt.editor.so.0 -o .libs/lib.gb.qt.editor.so.0.0.0 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib//libgcc_s.so when searching for -lgcc_s /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/lib/libstdc++.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status I've switched off quite a few options which I didn't need (libbz2, curl, mysql, postgre, vb, sdl, zlib) to see if it helps, but with no joy. Has anyone any suggestions? Neil Lewis. From sourceforge-raindog2 at ...94... Sun Dec 12 20:58:58 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 12 Dec 2004 14:58:58 -0500 Subject: [Gambas-user] 404 at http://www.binara.com/gambas-wiki/ ? In-Reply-To: <51a0fabf041211233646593baf@...627...> References: <51a0fabf041211233646593baf@...627...> Message-ID: <200412121458.58277.sourceforge-raindog2@...94...> The wiki is back now... basically, someone did a restore of an old network config on the old machine it used to be hosted on, resulting in an IP address conflict, and after I fixed it it took some hours for the router to drop the old machine from its arp cache. Sorry about that. Rob From sourceforge-raindog2 at ...94... Sun Dec 12 21:02:36 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 12 Dec 2004 15:02:36 -0500 Subject: [Gambas-user] Installation problems In-Reply-To: <200412121949.31529.gibsonsphoto@...247...> References: <200412121949.31529.gibsonsphoto@...247...> Message-ID: <200412121502.36618.sourceforge-raindog2@...94...> On Sunday 12 December 2004 14:49, gibsonsphoto at ...247... wrote: > Sorry to report that I'm having some problems compiling > 0.99RC4 on SUSE-9.2_X86_64. I've had no problems on the 32-bit > version (I have it running on 2PCs already) but keep getting > compier errors on the X86_64 version. Here is what Benoit had to say about this last month: On Saturday 20 November 2004 13:23, Benoit Minisini wrote: > Gambas sources are not ready to be compiled in 64 bits mode. > You must compile as a 32 bits application, but don't ask me > how to do that as I have no idea! > > Note: I think you will have very few speed gains in a 64 bits > gambas. I'm sure the status hasn't changed since then. Rob From gibsonsphoto at ...247... Sun Dec 12 21:10:56 2004 From: gibsonsphoto at ...247... (gibsonsphoto at ...247...) Date: Sun, 12 Dec 2004 20:10:56 +0000 Subject: [Gambas-user] Installation problems Message-ID: <200412122010.56373.gibsonsphoto@...247...> Ah. I guess I missed that message. Thanks Rob. How can I force gcc to use 32-bit mode on a x86_64 PC? Neil. Rob wrote: >On Sunday 12 December 2004 14:49, gibsonsphoto at ...247... >wrote: > >>Sorry to report that I'm having some problems compiling >>0.99RC4 on SUSE-9.2_X86_64. I've had no problems on the 32-bit >>version (I have it running on 2PCs already) but keep getting >>compier errors on the X86_64 version. > > >Here is what Benoit had to say about this last month: > >On Saturday 20 November 2004 13:23, Benoit Minisini wrote: > >>Gambas sources are not ready to be compiled in 64 bits mode. >>You must compile as a 32 bits application, but don't ask me >>how to do that as I have no idea! >> >>Note: I think you will have very few speed gains in a 64 bits >>gambas. > > >I'm sure the status hasn't changed since then. > >Rob > From sourceforge-raindog2 at ...94... Mon Dec 13 07:11:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 13 Dec 2004 01:11:29 -0500 Subject: [Gambas-user] Installation problems In-Reply-To: <200412122010.56373.gibsonsphoto@...247...> References: <200412122010.56373.gibsonsphoto@...247...> Message-ID: <200412130111.29310.sourceforge-raindog2@...94...> On Sunday 12 December 2004 15:10, gibsonsphoto at ...247... wrote: > How can I force gcc to use 32-bit mode on a x86_64 PC? I've never even seen a 64-bit PC of any kind, so I'm afraid we've reached the limit of help I can provide on this one. Rob From oxleyd at ...699... Mon Dec 13 09:17:30 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 13 Dec 2004 09:17:30 +0100 Subject: [Gambas-user] =?iso-8859-1?Q?RE:_=5BGambas-user=5D_Does_Beno=EEt_have_a_moustach=3F?= In-Reply-To: <200412111109.40021.sourceforge-raindog2@...94...> Message-ID: <20041213082000.DBFC537316@...700...> And that is provably true...!!! -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 11 December 2004 17:10 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Does Beno?t have a moustach? On Saturday 11 December 2004 10:57, Daniel Campos wrote: > Does Benoit have a moustach? I think this will be critical for > Gambas future :-))) Well, I have a mustache and beard, I guess I'd better start submitting more patches ;) Rob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From oxleyd at ...699... Mon Dec 13 09:17:42 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 13 Dec 2004 09:17:42 +0100 Subject: [Gambas-user] =?iso-8859-1?Q?RE:_=5BGambas-user=5D_Does_Beno=EEt_have_a_moustach=3F?= In-Reply-To: <200412111109.40021.sourceforge-raindog2@...94...> Message-ID: <20041213082012.87FC53731B@...700...> With the link, obviously. Doh! http://www.kudla.org/rob -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 11 December 2004 17:10 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Does Beno?t have a moustach? On Saturday 11 December 2004 10:57, Daniel Campos wrote: > Does Benoit have a moustach? I think this will be critical for > Gambas future :-))) Well, I have a mustache and beard, I guess I'd better start submitting more patches ;) Rob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From radoslav.dejanovic at ...116... Mon Dec 13 10:39:31 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Mon, 13 Dec 2004 10:39:31 +0100 Subject: [Gambas-user] RE: [Gambas-user] Does =?iso-8859-2?q?Beno=EEt_have_a?= moustach? In-Reply-To: <20041213082000.DBFC537316@...700...> References: <20041213082000.DBFC537316@...700...> Message-ID: <200412131039.31895.radoslav.dejanovic@...116...> On Monday 13 December 2004 09:17, Daniel Oxley wrote: > And that is provably true...!!! >> Well, I have a mustache and beard, I guess I'd better start >> submitting more patches ;) >> >> Rob I think his beard is still too weak for any serious bug squashing. Let's go to his premises and steal all razors and other sharp objects, including window glass shards. We could tie his hands to prevent him from shaving himself for a month or two, but this might interfere with his coding tasks... Maybe we should just hire some chicks to go and tell him he's got so sexy beard, and mustache make him more manly man. :) How about having a shrimp with mustache in the final 1.0 release? :) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From neil at ...233... Mon Dec 13 11:07:22 2004 From: neil at ...233... (neil lewis) Date: Mon, 13 Dec 2004 10:07:22 +0000 Subject: [Gambas-user] Installation problems In-Reply-To: <200412130111.29310.sourceforge-raindog2@...94...> References: <200412122010.56373.gibsonsphoto@...247...> <200412130111.29310.sourceforge-raindog2@...94...> Message-ID: <41BD69DA.3040607@...233...> Hi Rob, Okay, thanks anyway for saving me going round in circles any longer. Since I know the Athlon64 PC can happily run a 32-bit Gambas, (but won't compile one!) I'll try copying the binaries from one of the 32-bit PCs and see if that works. Regards, Neil. Rob wrote: >On Sunday 12 December 2004 15:10, gibsonsphoto at ...247... >wrote: > > >>How can I force gcc to use 32-bit mode on a x86_64 PC? >> >> > >I've never even seen a 64-bit PC of any kind, so I'm afraid we've >reached the limit of help I can provide on this one. > >Rob > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From eilert-sprachen at ...221... Mon Dec 13 13:14:00 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 13 Dec 2004 13:14:00 +0100 Subject: [Gambas-user] Questions on tableview Message-ID: <41BD8788.5030809@...221...> Hi, I have a tableview here, named tb. I read data from a file, 2 columns and a lot of rows. When I add the data, I first determine the number of columns and rows and the column width of column 2: tb.Rows.Count = zlr tb.Columns.Count = 2 tb.Columns[1].Width = tb.Columns[1].Width * 2 Now, one of them (or all of them?) calls the tb_Data event sub. My question is, which one does? Do they all? Will all of them try to insert data? That would be a bit unefficient, so there should be a way to "allow" for data being inserted. Or is the interpreter intelligent enough to look ahead and see for itself when it's time to insert data? Rolf From blixtra at ...626... Mon Dec 13 13:26:16 2004 From: blixtra at ...626... (Chris Wilson) Date: Mon, 13 Dec 2004 13:26:16 +0100 Subject: [Gambas-user] Passing objects by reference In-Reply-To: <69dead7b04121004351d7a5b76@...627...> References: <69dead7b04120917484b572a69@...627...> <200412100055.26323.sourceforge-raindog2@...94...> <69dead7b04121004351d7a5b76@...627...> Message-ID: <69dead7b041213042633d04fe8@...627...> I still haven't been able to get the Result object into an Array as described below . Could someone please enlighten me? Thanks in advance. Chris On Fri, 10 Dec 2004 13:35:05 +0100, Chris Wilson wrote: > On Fri, 10 Dec 2004 00:55:26 -0500, Rob wrote: > > On Thursday 09 December 2004 20:48, Chris Wilson wrote: > > > Is it possible to pass objects by reference in Gambas? > > > > I was under the impression that object types were always passed > > by reference, but you could always make an array with one member > > (your object) and pass that into the routine. > > > > Rob > > I think there is something I'm not understanding here. > > When I try your work-around ,I get an error that there is a missing AS > for the last line in the following: > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > PUBLIC studentRS AS Result > > studentRSArray AS Object[] > studentRSArray.Add(studentRS) > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > > Going back to the original question about passing as reference..... > > What I have is a Result (studentRS) object declared in the form class. > In this form class I call a SUB (fillTable), which is passed > studentRS, in a module that successfully fills the the table. When the > table's data event is triggered however, I get an eror that studentRS > is a Null object. This happens when I define studentRS like above. > If I define like this: > > PUBLIC studentRS AS NEW Result > > then I get an error that Result is static. I'm not sure what this all > means or what i'm doing wrong on both counts. > > I've never touched VB so maybe this is just my ignorance. > > Chris > From neil at ...233... Mon Dec 13 13:33:21 2004 From: neil at ...233... (neil lewis) Date: Mon, 13 Dec 2004 12:33:21 +0000 Subject: [Gambas-user] Installation problems In-Reply-To: <41BD69DA.3040607@...233...> References: <200412122010.56373.gibsonsphoto@...247...> <200412130111.29310.sourceforge-raindog2@...94...> <41BD69DA.3040607@...233...> Message-ID: <41BD8C11.3060508@...233...> Just to update, in case anyone else has similar hassles. I copied the contents of /opt/gambas and the symlinks from /usr/bin from one of the 32-bit installations to the Athlon64 PC and it all worked fine. Incidentally, although Gambas is of course not running in 64-bit mode, my program makes extensive use of ImageMagick functions. The speed up in 64-bit mode with large images (>40 megapixels) is very noticeable. Neil Lewis (photobod) neil lewis wrote: > Hi Rob, > > Okay, thanks anyway for saving me going round in circles any longer. > > Since I know the Athlon64 PC can happily run a 32-bit Gambas, (but > won't compile one!) I'll try copying the binaries from one of the > 32-bit PCs and see if that works. > > Regards, > > Neil. > > Rob wrote: > >> On Sunday 12 December 2004 15:10, gibsonsphoto at ...247... wrote: >> >> >>> How can I force gcc to use 32-bit mode on a x86_64 PC? >>> >> >> >> I've never even seen a 64-bit PC of any kind, so I'm afraid we've >> reached the limit of help I can provide on this one. >> >> Rob >> >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Mon Dec 13 14:21:43 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 13 Dec 2004 08:21:43 -0500 Subject: [Gambas-user] RE: [Gambas-user] Does =?iso-8859-2?q?Beno=EEt=20have=20a?= moustach? In-Reply-To: <200412131039.31895.radoslav.dejanovic@...116...> References: <20041213082000.DBFC537316@...700...> <200412131039.31895.radoslav.dejanovic@...116...> Message-ID: <200412130821.43943.sourceforge-raindog2@...94...> On Monday 13 December 2004 04:39, Radoslav Dejanovi? wrote: > Maybe we should just hire some chicks to go and tell him he's > got so sexy beard, and mustache make him more manly man. :) Substitute dudes for chicks and I'm right with you. But now I have to find out where I'm still linking to that old-ass picture, as I am mullet-free nowadays. Rob From eilert-sprachen at ...221... Mon Dec 13 15:19:55 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 13 Dec 2004 15:19:55 +0100 Subject: [Gambas-user] Question on string[] Message-ID: <41BDA50B.3030409@...221...> Hi, I just found that it's possible to re-define a module-public string array from within the same sub - is that allowed? static myArray as string[] sub myProcedure() . . . myArray = new string[] . . myArray.Add(something...) end sub So if I call myProcedure again, no complaint, and everything runs through again like expected :-) But - what happens here? Is myArray made again, i. e. like REDIM or is a copy made? Buffer overflow...? Rolf From oxleyd at ...699... Mon Dec 13 15:20:57 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 13 Dec 2004 15:20:57 +0100 Subject: [Gambas-user] =?iso-8859-1?Q?RE:_=5BGambas-user=5D_RE:_=5BGambas-user=5D_Does_Ben?= =?iso-8859-1?Q?o=EEt_have_a_moustach=3F?= In-Reply-To: <200412130821.43943.sourceforge-raindog2@...94...> Message-ID: <20041213142326.F0BC637316@...700...> Dudes for chicks? And I thought mullets were still in fashion..... http://www.mullets.co.uk/ -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 13 December 2004 14:22 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] RE: [Gambas-user] Does Beno?t have a moustach? On Monday 13 December 2004 04:39, Radoslav Dejanovi? wrote: > Maybe we should just hire some chicks to go and tell him he's > got so sexy beard, and mustache make him more manly man. :) Substitute dudes for chicks and I'm right with you. But now I have to find out where I'm still linking to that old-ass picture, as I am mullet-free nowadays. Rob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Mon Dec 13 15:47:25 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 13 Dec 2004 09:47:25 -0500 Subject: [Gambas-user] Re: Does =?iso-8859-1?q?Beno=EEt=20have=20a?= moustach? In-Reply-To: <20041213142326.F0BC637316@...700...> References: <20041213142326.F0BC637316@...700...> Message-ID: <200412130947.25734.sourceforge-raindog2@...94...> On Monday 13 December 2004 09:20, Daniel Oxley wrote: > Dudes for chicks? Come on, I can't be the first gay coder you've ever run into. Thankfully we have a whole subculture for beard fanciers, but I'm not going to post that kind of link on a linux-related list. > And I thought mullets were still in fashion..... > http://www.mullets.co.uk/ I don't think so, but I'm about 10 years out of sync with fashion.... the mullet's gone but I'm still wearing flannel shirts... Rob From oxleyd at ...699... Mon Dec 13 15:59:33 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 13 Dec 2004 15:59:33 +0100 Subject: [Gambas-user] =?iso-8859-1?Q?RE:_=5BGambas-user=5D_Re:_Does_Beno=EEt_have_a_moustach=3F?= In-Reply-To: <200412130947.25734.sourceforge-raindog2@...94...> Message-ID: <20041213150201.F10B237316@...700...> No, I didn't mean that. I misread it thinking that the previous poster had said something about chicks having beards. Doh! But anyway, you are right about the beard fanciers links. They might be a bit off topic on a Gambas list! -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 13 December 2004 15:47 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Re: Does Beno?t have a moustach? On Monday 13 December 2004 09:20, Daniel Oxley wrote: > Dudes for chicks? Come on, I can't be the first gay coder you've ever run into. Thankfully we have a whole subculture for beard fanciers, but I'm not going to post that kind of link on a linux-related list. > And I thought mullets were still in fashion..... > http://www.mullets.co.uk/ I don't think so, but I'm about 10 years out of sync with fashion.... the mullet's gone but I'm still wearing flannel shirts... Rob ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Mon Dec 13 19:20:01 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 13 Dec 2004 19:20:01 +0100 Subject: [Gambas-user] RE: [Gambas-user] Does =?iso-8859-1?q?Beno=EEt_have_a?= moustach? In-Reply-To: <20041213082012.87FC53731B@...700...> References: <20041213082012.87FC53731B@...700...> Message-ID: <200412131920.02037.gambasfr@...11...> Le lundi 13 D?cembre 2004 09:17, Daniel Oxley a ?crit?: > With the link, obviously. Doh! > > http://www.kudla.org/rob > I've no moustach... But i'm happy to inform you that my site seem to work... now Please, try to connect it ! Snip -------------------------- http://gambas.magic-systems.net/author.php?id=1 Snip ----------------------------- Fabien Bodard > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob > Sent: 11 December 2004 17:10 > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Does Beno?t have a moustach? > > On Saturday 11 December 2004 10:57, Daniel Campos wrote: > > Does Benoit have a moustach? I think this will be critical for > > Gambas future :-))) > > Well, I have a mustache and beard, I guess I'd better start > submitting more patches ;) > > Rob > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Mon Dec 13 19:26:27 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 13 Dec 2004 19:26:27 +0100 Subject: [Gambas-user] Questions on tableview In-Reply-To: <41BD8788.5030809@...221...> References: <41BD8788.5030809@...221...> Message-ID: <200412131926.27753.gambasfr@...11...> Le lundi 13 D?cembre 2004 13:14, Eilert a ?crit?: > Hi, > > I have a tableview here, named tb. I read data from a file, 2 columns > and a lot of rows. When I add the data, I first determine the number of > columns and rows and the column width of column 2: > > tb.Rows.Count = zlr > tb.Columns.Count = 2 > tb.Columns[1].Width = tb.Columns[1].Width * 2 > > Now, one of them (or all of them?) calls the tb_Data event sub. My > question is, which one does? Do they all? Will all of them try to insert > data? That would be a bit unefficient, so there should be a way to > "allow" for data being inserted. Or is the interpreter intelligent > enough to look ahead and see for itself when it's time to insert data? > > Rolf The table view redraw the showed data so... the new added too... and you need to have an array in the backend to know what data to draw... Fabien > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lordheavy at ...512... Mon Dec 13 21:17:24 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 13 Dec 2004 21:17:24 +0100 Subject: [Gambas-user] RE: [Gambas-user] Does =?iso-8859-1?q?Beno=EEt_have_a?= moustach? In-Reply-To: <200412131920.02037.gambasfr@...11...> References: <20041213082012.87FC53731B@...700...> <200412131920.02037.gambasfr@...11...> Message-ID: <200412132117.25234.lordheavy@...512...> Le Lundi 13 D?cembre 2004 19:20, Bodard Fabien a ?crit?: > Le lundi 13 D?cembre 2004 09:17, Daniel Oxley a ?crit?: > > With the link, obviously. Doh! > > > > http://www.kudla.org/rob > > I've no moustach... But i'm happy to inform you that my site seem to > work... now > > Please, try to connect it ! > > Snip -------------------------- > > > http://gambas.magic-systems.net/author.php?id=1 > > Snip ----------------------------- > > my own here : http://gambas.magic-systems.net/picture.php?cat=1&id=3 sorry for the beard and mustach... :) -- Laurent Carlier From ciro at ...722... Mon Dec 13 22:41:00 2004 From: ciro at ...722... (Ciro Toscano) Date: Mon, 13 Dec 2004 19:41:00 -0200 Subject: [Gambas-user] how to indentify a form in a workspace Message-ID: <68DF79848400B34B980C4D8FB6845C285B9E@...723...> When a form is open in a workspace, which property does it indicate that it is open? Ciro A. Toscano Gerente de Tecnologia HYPERLINK "mailto:ciro at ...722..."ciro at ...722... 61 3035-9031 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.807 / Virus Database: 549 - Release Date: 7/12/2004 From lordheavy at ...512... Mon Dec 13 23:08:11 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 13 Dec 2004 23:08:11 +0100 Subject: [Gambas-user] how to indentify a form in a workspace In-Reply-To: <68DF79848400B34B980C4D8FB6845C285B9E@...723...> References: <68DF79848400B34B980C4D8FB6845C285B9E@...723...> Message-ID: <200412132308.12129.lordheavy@...512...> Le Lundi 13 D?cembre 2004 22:41, Ciro Toscano a ?crit?: > When a form is open in a workspace, which property does it indicate that > it is open? > > As the workspace seems to be buggy, you can use the tag property to manage the state of the childs in a workspace. Take a look at the following sample code. -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: workspace-0.0.1.tar.gz Type: application/x-tgz Size: 2615 bytes Desc: not available URL: From lordheavy at ...512... Mon Dec 13 23:12:09 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 13 Dec 2004 23:12:09 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <41BDA50B.3030409@...221...> References: <41BDA50B.3030409@...221...> Message-ID: <200412132312.09098.lordheavy@...512...> Le Lundi 13 D?cembre 2004 15:19, Eilert a ?crit?: > Hi, > > I just found that it's possible to re-define a module-public string > array from within the same sub - is that allowed? > > static myArray as string[] > > sub myProcedure() > . > . > . > myArray = new string[] > . > . > myArray.Add(something...) > end sub > > So if I call myProcedure again, no complaint, and everything runs > through again like expected :-) But - what happens here? Is myArray made > again, i. e. like REDIM or is a copy made? Buffer overflow...? > > Rolf > The first myArray is a global variable, the second one is a local variable. In myProcedure sub, you have only access to the local one (as it have the same name !) and of course this one is destroyed at the end of the sub. -- Laurent Carlier From ciro at ...722... Mon Dec 13 23:33:11 2004 From: ciro at ...722... (Ciro A. Toscano) Date: Mon, 13 Dec 2004 20:33:11 -0200 Subject: RES: [Gambas-user] how to indentify a form in a workspace In-Reply-To: <200412132308.12129.lordheavy@...512...> Message-ID: <68DF79848400B34B980C4D8FB6845C28343D@...723...> Sorry... but... What sample code? Ciro A. Toscano Gerente de Tecnologia ciro at ...722... 61 3035-9031 ? -----Mensagem original----- De: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Em nome de Laurent Carlier Enviada em: segunda-feira, 13 de dezembro de 2004 20:08 Para: gambas-user at lists.sourceforge.net Assunto: Re: [Gambas-user] how to indentify a form in a workspace Le Lundi 13 D?cembre 2004 22:41, Ciro Toscano a ?crit?: > When a form is open in a workspace, which property does it indicate that > it is open? > > As the workspace seems to be buggy, you can use the tag property to manage the state of the childs in a workspace. Take a look at the following sample code. -- Laurent Carlier --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.807 / Virus Database: 549 - Release Date: 7/12/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.807 / Virus Database: 549 - Release Date: 7/12/2004 From lordheavy at ...512... Mon Dec 13 23:43:46 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 13 Dec 2004 23:43:46 +0100 Subject: RES: [Gambas-user] how to indentify a form in a workspace In-Reply-To: <68DF79848400B34B980C4D8FB6845C28343D@...723...> References: <68DF79848400B34B980C4D8FB6845C28343D@...723...> Message-ID: <200412132343.46429.lordheavy@...512...> Le Lundi 13 D?cembre 2004 23:33, Ciro A. Toscano a ?crit?: > Sorry... but... > What sample code? > the joined archive workspace-0.0.1.tar.gz -- Laurent Carlier From danielcampos at ...282... Tue Dec 14 08:29:16 2004 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 14 Dec 2004 08:29:16 +0100 Subject: [Gambas-user] RE: [Gambas-user] Does =?ISO-8859-1?Q?Beno=EEt?= have a moustach? In-Reply-To: <200412131920.02037.gambasfr@...11...> References: <20041213082012.87FC53731B@...700...> <200412131920.02037.gambasfr@...11...> Message-ID: <1103009356.4003.1.camel@...40...> OK! It's the first time I can access magic-systems from my home DSL, it seems that DNS problems are solved... Regards, D. Campos From gambas at ...1... Tue Dec 14 11:20:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Dec 2004 11:20:06 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <200412132312.09098.lordheavy@...512...> References: <41BDA50B.3030409@...221...> <200412132312.09098.lordheavy@...512...> Message-ID: <200412141120.06949.gambas@...1...> On Monday 13 December 2004 23:12, Laurent Carlier wrote: > Le Lundi 13 D?cembre 2004 15:19, Eilert a ?crit?: > > Hi, > > > > I just found that it's possible to re-define a module-public string > > array from within the same sub - is that allowed? > > > > static myArray as string[] > > > > sub myProcedure() > > . > > . > > . > > myArray = new string[] > > . > > . > > myArray.Add(something...) > > end sub > > > > So if I call myProcedure again, no complaint, and everything runs > > through again like expected :-) But - what happens here? Is myArray made > > again, i. e. like REDIM or is a copy made? Buffer overflow...? > > > > Rolf > > The first myArray is a global variable, the second one is a local variable. > In myProcedure sub, you have only access to the local one (as it have the > same name !) and of course this one is destroyed at the end of the sub. Mmm... No. myArray points at a String[] object. At start, myArray is NULL. Each time you call myProcedure(), you create a new String[] object, and make myArray points at this new array object. The old one is destroyed, provided that no other variable has a reference on it. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Dec 14 11:23:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Dec 2004 11:23:21 +0100 Subject: [Gambas-user] Installation package issue In-Reply-To: <3bab1b0204121012277fa7ce94@...627...> References: <-3241562071155451950@...714...> <3bab1b0204120212305ce9fd0d@...627...> <3bab1b0204121012277fa7ce94@...627...> Message-ID: <200412141123.21188.gambas@...1...> On Friday 10 December 2004 21:27, whoknowz wrote: > Hi everyone, > > I just finished my project using gambas. And when I made a > installation package for Redhat/Fedora (RPM) and tried to install it > on a user system it says that gambas-gb-runtime, gambas-gb-qt, and > gambas-gb-net is missing. Is there anyway to include these > libraries/binaries etc.. in a single package? Or should I also install > the whole gambas package on each of the user system??. It would be > real easy if we could just tick on these extra libraries in the > Installation Package Maker. But right now this runtime dependency > reminds me of the old VB 6.0 requirement of the msvbvm60.dll. Any > suggestion is highly appreciated. > And thanx for this awesome language + ide. > > Nashith > RedHat/Fedora support for the gambas way of packaging gambas application is missing. I don't know how to submit these packages, as we did with Mandrake, or Debian. At the moment, you must compile and install gambas on each RedHat/Fedora system. Sorry for the inconvenience, Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Tue Dec 14 13:17:33 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 14 Dec 2004 13:17:33 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <200412141120.06949.gambas@...1...> References: <41BDA50B.3030409@...221...> <200412132312.09098.lordheavy@...512...> <200412141120.06949.gambas@...1...> Message-ID: <200412141317.36680.lordheavy@...512...> Le Mardi 14 D?cembre 2004 11:20, Benoit Minisini a ?crit?: > > Mmm... No. > > myArray points at a String[] object. At start, myArray is NULL. Each time > you call myProcedure(), you create a new String[] object, and make myArray > points at this new array object. The old one is destroyed, provided that no > other variable has a reference on it. > > Regards, On this way, let's imagine something like that : dim toto as new foo (foo is an object) this return a foo object : foo = createfoo("test") does the old one is destroyed (freed) ? Regards, -- Laurent Carlier From lordheavy at ...512... Tue Dec 14 13:33:37 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 14 Dec 2004 13:33:37 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <200412141317.36680.lordheavy@...512...> References: <41BDA50B.3030409@...221...> <200412141120.06949.gambas@...1...> <200412141317.36680.lordheavy@...512...> Message-ID: <200412141333.38477.lordheavy@...512...> Le Mardi 14 D?cembre 2004 13:17, Laurent Carlier a ?crit?: > Le Mardi 14 D?cembre 2004 11:20, Benoit Minisini a ?crit?: > > Mmm... No. > > > > myArray points at a String[] object. At start, myArray is NULL. Each time > > you call myProcedure(), you create a new String[] object, and make > > myArray points at this new array object. The old one is destroyed, > > provided that no other variable has a reference on it. > > > > Regards, > > On this way, let's imagine something like that : > > dim toto as new foo (foo is an object) > > this return a foo object : > > foo = createfoo("test") > > does the old one is destroyed (freed) ? > > Regards, oups, mistake : toto = createfoo("test") -- Laurent Carlier From sourceforge-raindog2 at ...94... Tue Dec 14 14:27:59 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 14 Dec 2004 08:27:59 -0500 Subject: [Gambas-user] Passing objects by reference In-Reply-To: <69dead7b041213042633d04fe8@...627...> References: <69dead7b04120917484b572a69@...627...> <69dead7b04121004351d7a5b76@...627...> <69dead7b041213042633d04fe8@...627...> Message-ID: <200412140827.59814.sourceforge-raindog2@...94...> On Monday 13 December 2004 07:26, Chris Wilson wrote: > I still haven't been able to get the Result object into an > Array as described below . Could someone please enlighten me? I don't suppose you could post your project and a create script for your database. Could you? Rob From ronstk at ...239... Tue Dec 14 16:02:00 2004 From: ronstk at ...239... (ronstk at ...239...) Date: Tue, 14 Dec 2004 16:02:00 +0100 Subject: [Gambas-user] (no subject) Message-ID: <4162BA290003562B@...724...> Hi Fabian, From eilert-sprachen at ...221... Tue Dec 14 17:48:51 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Dec 2004 17:48:51 +0100 Subject: [Gambas-user] Questions on tableview In-Reply-To: <200412131926.27753.gambasfr@...11...> References: <41BD8788.5030809@...221...> <200412131926.27753.gambasfr@...11...> Message-ID: <41BF1973.9020603@...221...> Bonsoir Fabien, Bodard Fabien schrieb: > Le lundi 13 D?cembre 2004 13:14, Eilert a ?crit : > >>Hi, >> >>I have a tableview here, named tb. I read data from a file, 2 columns >>and a lot of rows. When I add the data, I first determine the number of >>columns and rows and the column width of column 2: >> >>tb.Rows.Count = zlr >>tb.Columns.Count = 2 >>tb.Columns[1].Width = tb.Columns[1].Width * 2 >> >>Now, one of them (or all of them?) calls the tb_Data event sub. My >>question is, which one does? Do they all? Will all of them try to insert >>data? That would be a bit unefficient, so there should be a way to >>"allow" for data being inserted. Or is the interpreter intelligent >>enough to look ahead and see for itself when it's time to insert data? >> >>Rolf > > > The table view redraw the showed data so... the new added too... So to make it more efficient, it's a good idea to insert an if clause into the tb_data procedure which asks a variable if any data should be inserted or not: SUB tb_Data(...) if nowYouMayInsert [...] 'let him insert data end if END SUB Here "nowYouMayInsert" is a boolean variable set to True or False by the procedure which makes the Rows and Columns etc. Would you agree? > and you need to have an array in the backend to know what data to draw... Yes, of course. See next thread! Rolf From eilert-sprachen at ...221... Tue Dec 14 17:51:42 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Dec 2004 17:51:42 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <200412132312.09098.lordheavy@...512...> References: <41BDA50B.3030409@...221...> <200412132312.09098.lordheavy@...512...> Message-ID: <41BF1A1E.2070509@...221...> Bonsoir Laurent, Laurent Carlier schrieb: > Le Lundi 13 D?cembre 2004 15:19, Eilert a ?crit : > >>Hi, >> >>I just found that it's possible to re-define a module-public string >>array from within the same sub - is that allowed? >> >>static myArray as string[] >> >>sub myProcedure() >>. >>. >>. >> myArray = new string[] >>. >>. >> myArray.Add(something...) >>end sub >> >>So if I call myProcedure again, no complaint, and everything runs >>through again like expected :-) But - what happens here? Is myArray made >> again, i. e. like REDIM or is a copy made? Buffer overflow...? >> >>Rolf >> > > > The first myArray is a global variable, the second one is a local variable. > In myProcedure sub, you have only access to the local one (as it have the same > name !) and of course this one is destroyed at the end of the sub. > No, the first myArray is an object which is Null if not initialized. In the myProcedure it is initialized, but everyone within that module has access to it. That is necessary because this array may be needed e. g. for inserting data into a tableview. What I wanted to know is just, may I make ever new ones over and over again, or will I run into some buffer problems at some point? Rolf From gambas at ...1... Tue Dec 14 17:53:40 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Dec 2004 17:53:40 +0100 Subject: [Gambas-user] Re: DoEvents In-Reply-To: <200412081030.30199.christian.faurebouvard@...357...> References: <200412071108.00915.gambas@...1...> <200412081048.53344.gambas@...1...> <200412081030.30199.christian.faurebouvard@...357...> Message-ID: <200412141753.40691.gambas@...1...> On Wednesday 08 December 2004 14:30, Christian Faure wrote: > El Mi?rcoles, 8 de Diciembre de 2004 06:48, Benoit Minisini escribi?: > > On Tuesday 07 December 2004 19:50, LB Audio wrote: > > > Please DoEvents in Gambas. > > > > An X11 application can't block other X11 applications - except that there > > is an X instruction that can lock the X server. > > > > The WAIT instruction of Gambas does the same thing than DoEvents on > > Windows NT{4,5,5.1}: it calls the event loop so that event are managed. > > > > This call is recursive, so it can be dangerous: you can create an > > infinite recursion of event handler calls. > > > > But the WAIT Gambas instruction is safer than its VB counterparts, as it > > does not handle input events (mouse & keyboard). Generally, you use WAIT > > only for letting the program refresh its GUI. > > > > Regards, > > In somes case, a Cancel button is necesary to cancel a big process, > Is posible to create another api or modify WAIT to handle input events? > > Regards > I will patch the WAIT function this way: WAIT alone does not handle input events, and WAIT with a duration handle them. So by doing a 'WAIT 0.1' regularly in your process, you will be able to catch when the 'Cancel button is pressed. -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Tue Dec 14 17:55:58 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Dec 2004 17:55:58 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <200412141120.06949.gambas@...1...> References: <41BDA50B.3030409@...221...> <200412132312.09098.lordheavy@...512...> <200412141120.06949.gambas@...1...> Message-ID: <41BF1B1E.5030606@...221...> Bonsoir Benoit, Benoit Minisini schrieb: > On Monday 13 December 2004 23:12, Laurent Carlier wrote: > >>Le Lundi 13 D?cembre 2004 15:19, Eilert a ?crit : >> >>>Hi, >>> >>>I just found that it's possible to re-define a module-public string >>>array from within the same sub - is that allowed? >>> >>>static myArray as string[] >>> >>>sub myProcedure() >>>. >>>. >>>. >>> myArray = new string[] >>>. >>>. >>> myArray.Add(something...) >>>end sub >>> >>>So if I call myProcedure again, no complaint, and everything runs >>>through again like expected :-) But - what happens here? Is myArray made >>> again, i. e. like REDIM or is a copy made? Buffer overflow...? >>> >>>Rolf >> >>The first myArray is a global variable, the second one is a local variable. >>In myProcedure sub, you have only access to the local one (as it have the >>same name !) and of course this one is destroyed at the end of the sub. > > > Mmm... No. > > myArray points at a String[] object. At start, myArray is NULL. Each time you > call myProcedure(), you create a new String[] object, and make myArray points > at this new array object. The old one is destroyed, provided that no other > variable has a reference on it. > > Regards, > Well, now, is it allowed or depreciated? Will I run into problems if I create a new String[] object over and over again (maybe because this sub is called again and again?). In my concrete project this is not the case, but I know how easily you can run into such problems... :-) And what do you mean "another variable has a reference on it"? Rolf From gambas at ...1... Tue Dec 14 18:03:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Dec 2004 18:03:55 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <41BF1B1E.5030606@...221...> References: <41BDA50B.3030409@...221...> <200412141120.06949.gambas@...1...> <41BF1B1E.5030606@...221...> Message-ID: <200412141803.55114.gambas@...1...> On Tuesday 14 December 2004 17:55, Eilert wrote: > > Well, now, is it allowed or depreciated? Will I run into problems if I > create a new String[] object over and over again (maybe because this sub > is called again and again?). > > In my concrete project this is not the case, but I know how easily you > can run into such problems... :-) > > And what do you mean "another variable has a reference on it"? > > Rolf > Do you know object programming ? Objects are created (with NEW) and then they are always manipulated by reference. Each object has a reference counter that is increased each time it is affected to any variable, and decremented each time the affected variable is replaced by something else. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Dec 14 18:34:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Dec 2004 18:34:59 +0100 Subject: [Gambas-user] FOSDEM 2005 Message-ID: <200412141834.59856.gambas@...1...> Hi everybody, I will make a talk at FOSDEM 2005 in Brussels, during week-end 26 & 27 Feb. Tell me if you go there! Now, I have to prepare my speech... When did I speak english for the last time ? -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Tue Dec 14 18:44:09 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 14 Dec 2004 12:44:09 -0500 Subject: [Gambas-user] FOSDEM 2005 In-Reply-To: <200412141834.59856.gambas@...1...> References: <200412141834.59856.gambas@...1...> Message-ID: <200412141244.09605.sourceforge-raindog2@...94...> On Tuesday 14 December 2004 12:34, Benoit Minisini wrote: > I will make a talk at FOSDEM 2005 in Brussels, during week-end > 26 & 27 Feb. Wow, awesome! Congratulations. Wish I could attend. Rob From gambas at ...1... Tue Dec 14 18:54:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Dec 2004 18:54:43 +0100 Subject: [Gambas-user] NEW BUG in gambas IDE In-Reply-To: <200412082223.16703.Karl.Reinl@...9...> References: <200412082223.16703.Karl.Reinl@...9...> Message-ID: <200412141854.44098.gambas@...1...> On Wednesday 08 December 2004 22:23, Charlie Reinl wrote: > Salut, > > if you make an executable from an > project into the same directory as the project, that you find this > executable under /Data > if executable file name differs to project name. > > project = myProject > executablename = myProject_01 > > And if you use executable name = myProject.01 , only 'myProject.' will be > stored. So myProject.02 , will overwrite myProject.01 > > > NOT nice. > > Amicalment > Charlie > > Hi, Charlie. Sorry for the late answer! Can you explain the bug again differently ? I didn't understand what you wrote completely. Regards, -- Benoit Minisini mailto:gambas at ...1... From samuel.derous at ...27... Tue Dec 14 18:57:16 2004 From: samuel.derous at ...27... (Samuel Derous) Date: Tue, 14 Dec 2004 18:57:16 +0100 Subject: [Gambas-user] FOSDEM 2005 References: <200412141834.59856.gambas@...1...> Message-ID: <000901c4e206$5907a190$0501a8c0@...725...> Cool!!!! May be I will attend, I certainly look forward hearing you... bonne chance! ----- Original Message ----- From: "Benoit Minisini" To: Sent: Tuesday, December 14, 2004 6:34 PM Subject: [Gambas-user] FOSDEM 2005 > Hi everybody, > > I will make a talk at FOSDEM 2005 in Brussels, during week-end 26 & 27 Feb. > > Tell me if you go there! > > Now, I have to prepare my speech... When did I speak english for the last > time ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Dec 14 19:01:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Dec 2004 19:01:08 +0100 Subject: [Gambas-user] NEW BUG in gambas IDE In-Reply-To: <200412082223.16703.Karl.Reinl@...9...> References: <200412082223.16703.Karl.Reinl@...9...> Message-ID: <200412141901.08435.gambas@...1...> On Wednesday 08 December 2004 22:23, Charlie Reinl wrote: > Salut, > > if you make an executable from an > project into the same directory as the project, that you find this > executable under /Data > if executable file name differs to project name. > > project = myProject > executablename = myProject_01 > > And if you use executable name = myProject.01 , only 'myProject.' will be > stored. So myProject.02 , will overwrite myProject.01 > > > NOT nice. > > Amicalment > Charlie > Yes, the archiver 'gba' does NOT like points in project names! I'm going to see if I can do something... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Tue Dec 14 19:49:58 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 14 Dec 2004 19:49:58 +0100 Subject: [Gambas-user] FOSDEM 2005 In-Reply-To: <200412141834.59856.gambas@...1...> References: <200412141834.59856.gambas@...1...> Message-ID: <200412141949.58907.gambasfr@...11...> Le mardi 14 D?cembre 2004 18:34, Benoit Minisini a ?crit?: > Hi everybody, > > I will make a talk at FOSDEM 2005 in Brussels, during week-end 26 & 27 Feb. > > Tell me if you go there! > > Now, I have to prepare my speech... When did I speak english for the last > time ? Great news... well.. mabe i can be there. If i've some activities in the north at this tome, i'll try to go to this events ... promish Fabien From gambasfr at ...11... Tue Dec 14 19:54:50 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 14 Dec 2004 19:54:50 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <41BF1A1E.2070509@...221...> References: <41BDA50B.3030409@...221...> <200412132312.09098.lordheavy@...512...> <41BF1A1E.2070509@...221...> Message-ID: <200412141954.50715.gambasfr@...11...> Le mardi 14 D?cembre 2004 17:51, Eilert a ?crit?: > Bonsoir Laurent, > > Laurent Carlier schrieb: > > Le Lundi 13 D?cembre 2004 15:19, Eilert a ?crit : > >>Hi, > >> > >>I just found that it's possible to re-define a module-public string > >>array from within the same sub - is that allowed? > >> > >>static myArray as string[] > >> > >>sub myProcedure() > >>. > >>. > >>. > >> myArray = new string[] > >>. > >>. > >> myArray.Add(something...) > >>end sub > >> > >>So if I call myProcedure again, no complaint, and everything runs > >>through again like expected :-) But - what happens here? Is myArray made > >> again, i. e. like REDIM or is a copy made? Buffer overflow...? > >> > >>Rolf > > > > The first myArray is a global variable, the second one is a local > > variable. In myProcedure sub, you have only access to the local one (as > > it have the same name !) and of course this one is destroyed at the end > > of the sub. > > No, the first myArray is an object which is Null if not initialized. In > the myProcedure it is initialized, but everyone within that module has > access to it. That is necessary because this array may be needed e. g. > for inserting data into a tableview. > > What I wanted to know is just, may I make ever new ones over and over > again, or will I run into some buffer problems at some point? > > Rolf The better way ... to us to understansd what you meen is to make a short sample that contain your problem... Make it and send it to the mailinglist add on it a file with your explanation. Fabien Bodard > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From karl.reinl at ...9... Tue Dec 14 21:53:49 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 14 Dec 2004 21:53:49 +0100 Subject: [Gambas-user] NEW BUG in gambas IDE References: <200412082223.16703.Karl.Reinl@...9...> <200412141901.08435.gambas@...1...> Message-ID: <41BF52DD.5030907@...9...> Benoit Minisini schrieb: >On Wednesday 08 December 2004 22:23, Charlie Reinl wrote: > > >>Salut, >> >>if you make an executable from an >>project into the same directory as the project, that you find this >>executable under /Data >>if executable file name differs to project name. >> >>project = myProject >>executablename = myProject_01 >> Here I ment, the project name is 'myProject', but making from that an executable named 'myProject_01', stored in the directory of 'myProject', so the executable 'myProject_01' is shown in the IDE main window under /Data have a look to the snapshot9.jpg , you see at left the IDE main window and righthandside the directory of myProject. thats all Amicalment Charlie >> >>And if you use executable name = myProject.01 , only 'myProject.' will be >>stored. So myProject.02 , will overwrite myProject.01 >> >> >>NOT nice. >> >>Amicalment >>Charlie >> >> >> > >Yes, the archiver 'gba' does NOT like points in project names! I'm going to >see if I can do something... > >Regards, > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot9.jpg Type: image/jpeg Size: 114087 bytes Desc: not available URL: From berto.melgar at ...626... Wed Dec 15 00:08:29 2004 From: berto.melgar at ...626... (Berto) Date: Tue, 14 Dec 2004 23:08:29 +0000 Subject: [Gambas-user] FOSDEM 2005 In-Reply-To: <200412141949.58907.gambasfr@...11...> References: <200412141834.59856.gambas@...1...> <200412141949.58907.gambasfr@...11...> Message-ID: <38e9ff9904121415081d670954@...627...> You have to recordit, for good or bad ;) and put it on internet. On Tue, 14 Dec 2004 19:49:58 +0100, Bodard Fabien wrote: > Le mardi 14 D?cembre 2004 18:34, Benoit Minisini a ?crit : > > Hi everybody, > > > > I will make a talk at FOSDEM 2005 in Brussels, during week-end 26 & 27 Feb. > > > > Tell me if you go there! > > > > Now, I have to prepare my speech... When did I speak english for the last > > time ? > > Great news... well.. mabe i can be there. If i've some activities in the north > at this tome, i'll try to go to this events ... promish > > Fabien > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Redescubre la Web: Pillate Firefox [getfirefox.com] There are only 10 types of people in this world... those who understand binary, and those who don't. "The pure and simple truth is rarely pure and never simple." - Oscar Wilde "Reality is that which, when you stop believing in it, doesn't go away." - Philip K. Dick "El sexo sucio? s?, claro; pero solo cuando se hace bien. - Woody Allen Berto Berto From panpan at ...726... Wed Dec 15 05:35:26 2004 From: panpan at ...726... (P@...727...@N) Date: Wed, 15 Dec 2004 11:35:26 +0700 Subject: [Gambas-user] need help : form control Message-ID: I had 2 from named fmMain and fmOne fmMain has 1 buttons (btnGo) dan two textbox (txtWhich and txtResult) fmOne has ten textboxes (txtOne to txtTen) I like that when user fill txtWhich (txtEight for example) in fmMain then press btnGo, txtResult in fmMain filled with content of mentioned textbox's value in fmOne (in this case the value of txtEight) I don't want to use "select case" or "if then else" to get the textbox's value in fmOne. I want to use the name entered at txtWhich at fmMain. How do I do this? in VB I used Sub btnGo_Clicked() txtResult.text = fmOne.control(txtWhich.text).value End Sub Thx for all helps From eilert-sprachen at ...221... Wed Dec 15 08:53:49 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 15 Dec 2004 08:53:49 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <200412141803.55114.gambas@...1...> References: <41BDA50B.3030409@...221...> <200412141120.06949.gambas@...1...> <41BF1B1E.5030606@...221...> <200412141803.55114.gambas@...1...> Message-ID: <41BFED8D.7080208@...221...> Benoit Minisini schrieb: > On Tuesday 14 December 2004 17:55, Eilert wrote: > >>Well, now, is it allowed or depreciated? Will I run into problems if I >>create a new String[] object over and over again (maybe because this sub >>is called again and again?). >> >>In my concrete project this is not the case, but I know how easily you >>can run into such problems... :-) >> >>And what do you mean "another variable has a reference on it"? >> >>Rolf >> > > > Do you know object programming ? Well, you got me on that one :-) Actually, I know objects by theory but I never really got in touch with them before. > > Objects are created (with NEW) and then they are always manipulated by > reference. Each object has a reference counter that is increased each time it > is affected to any variable, and decremented each time the affected variable > is replaced by something else. So this would increase the counter further and further and create ever more object references: STATIC myArray AS String[] SUB SomeButton_Click() myProcedure END SUB SUB myProcedure() myArray = NEW String[] 'do something with it END SUB As myArray is static here, it will be there all the time. Each time I click SomeButton, there will be a new reference to it without killing the old reference, but the array object still is the same, or am I wrong? So it would be better to provide some flag to be set to avoid this: STATIC myArray AS String[] STATIC arrayDone AS Boolean SUB SomeButton_Click() myProcedure END SUB SUB myProcedure() IF NOT arrayDone then myArray = NEW String[] arrayDone = True END IF 'do something with it END SUB And of course, when I define it this way, there will be a whole new object every time, right? SUB SomeButton_Click() myProcedure END SUB SUB myProcedure() DIM myArray AS String[] myArray = NEW String[] 'do something with it END SUB But you are right, I don't know much about objects. I even keep wondering why it takes 2 steps each time to define them - plain BASIC thinking I guess :-) Sometimes there is/maybe a change in names, sometimes not... Confusing :-)) Rolf From eilert-sprachen at ...221... Wed Dec 15 08:54:42 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 15 Dec 2004 08:54:42 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <200412141954.50715.gambasfr@...11...> References: <41BDA50B.3030409@...221...> <200412132312.09098.lordheavy@...512...> <41BF1A1E.2070509@...221...> <200412141954.50715.gambasfr@...11...> Message-ID: <41BFEDC2.9020700@...221...> You are right, just see my answer to Benoit. Rolf Bodard Fabien schrieb: > Le mardi 14 D?cembre 2004 17:51, Eilert a ?crit : > >>Bonsoir Laurent, >> >>Laurent Carlier schrieb: >> >>>Le Lundi 13 D?cembre 2004 15:19, Eilert a ?crit : >>> >>>>Hi, >>>> >>>>I just found that it's possible to re-define a module-public string >>>>array from within the same sub - is that allowed? >>>> >>>>static myArray as string[] >>>> >>>>sub myProcedure() >>>>. >>>>. >>>>. >>>>myArray = new string[] >>>>. >>>>. >>>>myArray.Add(something...) >>>>end sub >>>> >>>>So if I call myProcedure again, no complaint, and everything runs >>>>through again like expected :-) But - what happens here? Is myArray made >>>> again, i. e. like REDIM or is a copy made? Buffer overflow...? >>>> >>>>Rolf >>> >>>The first myArray is a global variable, the second one is a local >>>variable. In myProcedure sub, you have only access to the local one (as >>>it have the same name !) and of course this one is destroyed at the end >>>of the sub. >> >>No, the first myArray is an object which is Null if not initialized. In >>the myProcedure it is initialized, but everyone within that module has >>access to it. That is necessary because this array may be needed e. g. >>for inserting data into a tableview. >> >>What I wanted to know is just, may I make ever new ones over and over >>again, or will I run into some buffer problems at some point? >> >>Rolf > > > The better way ... to us to understansd what you meen is to make a short > sample that contain your problem... Make it and send it to the mailinglist > > add on it a file with your explanation. > > Fabien Bodard > > > >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From radoslav.dejanovic at ...116... Wed Dec 15 09:45:18 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 15 Dec 2004 09:45:18 +0100 Subject: [Gambas-user] FOSDEM 2005 In-Reply-To: <200412141834.59856.gambas@...1...> References: <200412141834.59856.gambas@...1...> Message-ID: <200412150945.18562.radoslav.dejanovic@...116...> On Tuesday 14 December 2004 18:34, Benoit Minisini wrote: > Hi everybody, > > I will make a talk at FOSDEM 2005 in Brussels, during week-end 26 & 27 > Feb. Don't forget to grow mustache, or Gambas is bound to be doomed! :-) About difficulties with foreign languages, it might be good idea to put important things written as short notes on the slides - that way if you scr.. erm, if you get confused, people will still be able to figure out what you wanted to say. Just don't put a lot of text on slides, that makes presentations look ugly and boring. Here are some tips: http://www.asce.org/conferences/tclee2003/pdf/guide_presentation.pdf http://www.nwlink.com/~donclark/leader/leadpres.html -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From gambas at ...1... Wed Dec 15 11:01:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Dec 2004 11:01:25 +0100 Subject: [Gambas-user] Question on string[] In-Reply-To: <41BFED8D.7080208@...221...> References: <41BDA50B.3030409@...221...> <200412141803.55114.gambas@...1...> <41BFED8D.7080208@...221...> Message-ID: <200412151101.25811.gambas@...1...> On Wednesday 15 December 2004 08:53, Eilert wrote: > Benoit Minisini schrieb: > > On Tuesday 14 December 2004 17:55, Eilert wrote: > >>Well, now, is it allowed or depreciated? Will I run into problems if I > >>create a new String[] object over and over again (maybe because this sub > >>is called again and again?). > >> > >>In my concrete project this is not the case, but I know how easily you > >>can run into such problems... :-) > >> > >>And what do you mean "another variable has a reference on it"? > >> > >>Rolf > > > > Do you know object programming ? > > Well, you got me on that one :-) Actually, I know objects by theory but > I never really got in touch with them before. > > > Objects are created (with NEW) and then they are always manipulated by > > reference. Each object has a reference counter that is increased each > > time it is affected to any variable, and decremented each time the > > affected variable is replaced by something else. > > So this would increase the counter further and further and create ever > more object references: > > STATIC myArray AS String[] > > SUB SomeButton_Click() > > myProcedure > > END SUB > > SUB myProcedure() > > myArray = NEW String[] > > 'do something with it > > END SUB > > > As myArray is static here, it will be there all the time. Each time I > click SomeButton, there will be a new reference to it without killing > the old reference, but the array object still is the same, or am I > wrong? So it would be better to provide some flag to be set to avoid this: You are wrong. You are mixing up the object itself and the reference. NEW creates the object, and returns a reference to it (a reference is a pointer, i.e. its address in memory). myArray is just a variable that stored the pointer. So, each time you execute myArray = NEW String[], here is what happens: (1) A new object of class "String[]" is created. (2) The reference counter of the object that myArray points at is decremented. If it is zero, then the object is freed. (3) The contents of myArray is replaced by a pointer to the object created in (1). (4) The reference counter of the object created in (1) is incremented (it was zero, it is now one). I suggest you search on the internet for tutorials about OO programming, Java, and C (for the pointer concept). Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Dec 15 12:21:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Dec 2004 12:21:59 +0100 Subject: [Gambas-user] need help : form control In-Reply-To: References: Message-ID: <200412151221.59420.gambas@...1...> On Wednesday 15 December 2004 05:35, P at ...727...@N wrote: > I had 2 from named fmMain and fmOne > fmMain has 1 buttons (btnGo) dan two textbox (txtWhich and txtResult) > fmOne has ten textboxes (txtOne to txtTen) > I like that when user fill txtWhich (txtEight for example) in fmMain then > press btnGo, > txtResult in fmMain filled with content of mentioned textbox's value in > fmOne (in this case the value of txtEight) > > I don't want to use "select case" or "if then else" to get the textbox's > value in fmOne. > I want to use the name entered at txtWhich at fmMain. How do I do this? > > in VB I used > > Sub btnGo_Clicked() > txtResult.text = fmOne.control(txtWhich.text).value > End Sub > > Thx for all helps > This is not possible in Gambas yet. The control names only exist in the source code, and are not stored in the executed program. Sorry for the inconvenience! -- Benoit Minisini mailto:gambas at ...1... From christian.faurebouvard at ...357... Wed Dec 15 02:04:12 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Tue, 14 Dec 2004 22:04:12 -0300 Subject: [Gambas-user] Re: DoEvents In-Reply-To: <200412141753.40691.gambas@...1...> References: <200412071108.00915.gambas@...1...> <200412081030.30199.christian.faurebouvard@...357...> <200412141753.40691.gambas@...1...> Message-ID: <200412142204.13063.christian.faurebouvard@...357...> El Martes, 14 de Diciembre de 2004 13:53, Benoit Minisini escribi?: > I will patch the WAIT function this way: > > WAIT alone does not handle input events, and WAIT with a duration handle > them. > > So by doing a 'WAIT 0.1' regularly in your process, you will be able to > catch when the 'Cancel button is pressed. Thanks! :-) From amon at ...715... Wed Dec 15 23:36:35 2004 From: amon at ...715... (Amon Forstmann) Date: Wed, 15 Dec 2004 23:36:35 +0100 Subject: [Gambas-user] URL Format: Converting whitespaces to %20 Message-ID: <1103150195.26204.0.camel@...40...> Hi there, I'd like to convert whitespaces in a string to "%20" _BUT_ without the use of Temp$ and sed. I've really no idea how to do something like that. thx for your help Amon From blixtra at ...626... Thu Dec 16 01:14:56 2004 From: blixtra at ...626... (Chris Wilson) Date: Thu, 16 Dec 2004 01:14:56 +0100 Subject: [Gambas-user] Passing objects by reference In-Reply-To: <200412140827.59814.sourceforge-raindog2@...94...> References: <69dead7b04120917484b572a69@...627...> <69dead7b04121004351d7a5b76@...627...> <69dead7b041213042633d04fe8@...627...> <200412140827.59814.sourceforge-raindog2@...94...> Message-ID: <69dead7b041215161449f4d517@...627...> Ok, I think I figured out the problem with the Array. I was trying to call the Add method of the array outside a statment(sub or function/method). Even when I get the Result in an Array however, I'm not getting it to pass as reference. The code should explain. db AS NEW Connection myRS AS Result myRSArray AS Object[] '''The second line gave me problems '''Seems as if you can't call methods outside statments '''just declare variables, right? 'myRSArray = NEW Object[] 'myRSArray.Add(myRS) '''Always get "missing AS" error PUBLIC SUB Form_Open() IF MakeConnection("localhost","user","password","test") THEN '''moved the above to here and I don't get the "missing AS" error anymore myRSArray = NEW Object[] myRSArray.Add(myRS) ''' works here '''I'm still not getting it to pass as reference, '''even when I get the result into an Array getData(myRSArray[0], "select * from student") TextBox1.Text = myRSArray[0]!id ''this gives me "NULL Object" Error TextBox2.Text = myRSArray[0]!name END IF END PUBLIC SUB getData(rs AS Result, qry AS String) rs = db.Exec(qry) PRINT rs!id & " - " & rs!name ''works here END PUBLIC FUNCTION MakeConnection(host AS String, lgn AS String, pass AS String, database AS String) AS Boolean db.close db.Type = "mysql" db.Name = database db.Host = host db.Login = lgn db.Password = pass db.Open RETURN TRUE CATCH Message.error(ERROR.text) RETURN FALSE END The mysql table has 2 columns "id" and "name" Thanks for the help Chris On Tue, 14 Dec 2004 08:27:59 -0500, Rob wrote: > On Monday 13 December 2004 07:26, Chris Wilson wrote: > > I still haven't been able to get the Result object into an > > Array as described below . Could someone please enlighten me? > > I don't suppose you could post your project and a create script > for your database. Could you? > > Rob From christian.faurebouvard at ...357... Wed Dec 15 23:23:37 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Wed, 15 Dec 2004 19:23:37 -0300 Subject: [Gambas-user] Re: URL Format: Converting whitespaces to %20 In-Reply-To: <1103150195.26204.0.camel@...40...> References: <1103150195.26204.0.camel@...40...> Message-ID: <200412151923.38092.christian.faurebouvard@...357...> El Mi?rcoles, 15 de Diciembre de 2004 19:36, Amon Forstmann escribi?: > Hi there, > > I'd like to convert whitespaces in a string to "%20" _BUT_ > without the use of Temp$ and sed. > > I've really no idea how to do something like that. > > thx for your help > Amon try Replace function like this: url = Replace(url," ","%20) Regards. From christian.faurebouvard at ...357... Thu Dec 16 00:10:01 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Wed, 15 Dec 2004 20:10:01 -0300 Subject: [Gambas-user] Re: Passing objects by reference In-Reply-To: <69dead7b041215161449f4d517@...627...> References: <69dead7b04120917484b572a69@...627...> <200412140827.59814.sourceforge-raindog2@...94...> <69dead7b041215161449f4d517@...627...> Message-ID: <200412152010.01621.christian.faurebouvard@...357...> El Mi?rcoles, 15 de Diciembre de 2004 21:14, Chris Wilson escribi?: > Ok, I think I figured out the problem with the Array. I was trying to > call the Add method of the array outside a statment(sub or > function/method). Even when I get the Result in an Array however, I'm > not getting it to pass as reference. The code should explain. > > > db AS NEW Connection > myRS AS Result > > myRSArray AS Object[] > '''The second line gave me problems > '''Seems as if you can't call methods outside statments > '''just declare variables, right? > 'myRSArray = NEW Object[] > 'myRSArray.Add(myRS) '''Always get "missing AS" error > > PUBLIC SUB Form_Open() > IF MakeConnection("localhost","user","password","test") THEN > '''moved the above to here and I don't get the "missing AS" > error anymore > myRSArray = NEW Object[] > myRSArray.Add(myRS) ''' works here > '''I'm still not getting it to pass as reference, > '''even when I get the result into an Array > getData(myRSArray[0], "select * from student") > TextBox1.Text = myRSArray[0]!id ''this gives me "NULL Object" > Error TextBox2.Text = myRSArray[0]!name > END IF > END > > PUBLIC SUB getData(rs AS Result, qry AS String) > rs = db.Exec(qry) > PRINT rs!id & " - " & rs!name ''works here > END > > PUBLIC FUNCTION MakeConnection(host AS String, lgn AS String, pass AS > String, database AS String) AS Boolean > db.close > db.Type = "mysql" > db.Name = database > db.Host = host > db.Login = lgn > db.Password = pass > db.Open > RETURN TRUE > CATCH > Message.error(ERROR.text) > RETURN FALSE > END > > The mysql table has 2 columns "id" and "name" > > Thanks for the help > > Chris > Hi, You need to pass the array, not the fisrt element. Modify Form_Open and GetData like this: PUBLIC SUB Form_Open() IF MakeConnection("localhost","user","password","test") THEN myRSArray = NEW Object[] 'not needed: 'myRSArray.Add(myRS) ''' works here 'replace myRSArray[0] by myRSArray 'to pass the array, not the first element of the array getData(myRSArray, "select * from student") TextBox1.Text = myRSArray[0]!id ''Now, this work TextBox2.Text = myRSArray[0]!name END IF END 'this receive an array of objects 'then add an element: the resultset PUBLIC SUB getData(MyArr AS Object[], qry AS String) MyArr.Add( db.Exec(qry)) PRINT MyArr[0]!id & " - " & MyArr[0]!name ''works here END Regards, Christian Faure From blixtra at ...626... Thu Dec 16 03:10:01 2004 From: blixtra at ...626... (Chris Wilson) Date: Thu, 16 Dec 2004 03:10:01 +0100 Subject: [Gambas-user] Re: Passing objects by reference In-Reply-To: <200412152010.01621.christian.faurebouvard@...357...> References: <69dead7b04120917484b572a69@...627...> <200412140827.59814.sourceforge-raindog2@...94...> <69dead7b041215161449f4d517@...627...> <200412152010.01621.christian.faurebouvard@...357...> Message-ID: <69dead7b041215181024ef303c@...627...> Ah, I get it now. I had understood that totally wrong. Thanks for clearing that up Chris From iggy at ...726... Thu Dec 16 05:43:53 2004 From: iggy at ...726... (Iggy Budiman) Date: Thu, 16 Dec 2004 11:43:53 +0700 Subject: [Gambas-user] need help : form control (another one) Message-ID: Hi all, I have another question about form controls. 2 forms (fmMain and fmOne) fmMain has 1 textbox (txtCount) and 1 button (btnGo) fmOne has many controls, several labels, buttons and textboxes. What I want to do is : When I click btnGo @fmMain, txtCount @fmMain display the number of textboxes at fmOne Thanks b4 little info for Benoit : In my country, Gambas is local vegetable (cucumber family) When I talk to people about your Gambas, everybody always listened with big smile. From gambasfr at ...11... Thu Dec 16 12:44:13 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 16 Dec 2004 12:44:13 +0100 Subject: [Gambas-user] need help : form control (another one) In-Reply-To: References: Message-ID: <200412161244.13610.gambasfr@...11...> Le jeudi 16 D?cembre 2004 05:43, Iggy Budiman a ?crit?: > Hi all, > I have another question about form controls. > > 2 forms (fmMain and fmOne) > fmMain has 1 textbox (txtCount) and 1 button (btnGo) > fmOne has many controls, several labels, buttons and textboxes. > > What I want to do is : > When I click btnGo @fmMain, txtCount @fmMain display the number of > textboxes at fmOne > > Thanks b4 > > little info for Benoit : In my country, Gambas is local vegetable (cucumber > family) what is your country ? > When I talk to people about your Gambas, everybody always listened with big > smile. > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From pvera at ...729... Thu Dec 16 15:08:46 2004 From: pvera at ...729... (Pablo Vera) Date: Thu, 16 Dec 2004 08:08:46 -0600 Subject: [Gambas-user] need help : form control (another one) In-Reply-To: References: Message-ID: <41C196EE.3080102@...729...> You could add a PUBLIC FUNCTION to fmOne that returns the number of textboxes. For this to work, you need to use the TAG property of each control to identify it. Every time you create a Textbox, you need to assign the string "textbox" to its TAG property. In fmOne: PUBLIC FUNCTION CountTextboxes() AS Integer DIM ctl AS Control DIM Count AS Integer Count = 0 FOR EACH ctl IN ME.Children IF ctl.TAG = "textbox" THEN Count = Count + 1 NEXT RETURN Count END In fmMain: PUBLIC SUB btnGo_Click() txtCount.Text = fmOne.CountTextboxes END I hope this helps. Saludos, Pablo Vera Iggy Budiman wrote: >Hi all, >I have another question about form controls. > >2 forms (fmMain and fmOne) >fmMain has 1 textbox (txtCount) and 1 button (btnGo) >fmOne has many controls, several labels, buttons and textboxes. > >What I want to do is : >When I click btnGo @fmMain, txtCount @fmMain display the number of textboxes >at fmOne > >Thanks b4 > >little info for Benoit : In my country, Gambas is local vegetable (cucumber >family) >When I talk to people about your Gambas, everybody always listened with big >smile. > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.5.4 - Release Date: 12/15/04 From lbaudio at ...172... Thu Dec 16 15:50:12 2004 From: lbaudio at ...172... (LB Audio) Date: Thu, 16 Dec 2004 12:50:12 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Component FMOD GAMBAS 0.01 in action Message-ID: <41C1A0A4.000003.02516@...730...> Soon the site that teaches raisin the step by step the installation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot1.jpg Type: image/jpeg Size: 128134 bytes Desc: not available URL: From scatman_ at ...17... Thu Dec 16 15:24:54 2004 From: scatman_ at ...17... (scatman) Date: Thu, 16 Dec 2004 15:24:54 +0100 Subject: [Gambas-user] integer Message-ID: <200412161524.54782.scatman_@...17...> Hello, hmm, how can I create a Integer Variable from Type long? Gambas RC4 thanks, From lordheavy at ...512... Thu Dec 16 18:27:20 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 16 Dec 2004 18:27:20 +0100 Subject: [Gambas-user] integer In-Reply-To: <200412161524.54782.scatman_@...17...> References: <200412161524.54782.scatman_@...17...> Message-ID: <200412161827.20461.lordheavy@...512...> Le Jeudi 16 D?cembre 2004 15:24, scatman a ?crit?: > Hello, > > hmm, how can I create a Integer Variable from Type long? > > Gambas RC4 > > thanks, > > Default length of value are long cf : Apidoc GB_INTEGER : typedef struct { GB_TYPE type; long value; <- Here long _reserved[2]; } GB_INTEGER ; This structure represents an Integer Gambas value. Regards, -- Laurent Carlier From lordheavy at ...512... Thu Dec 16 19:33:19 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 16 Dec 2004 19:33:19 +0100 Subject: [Gambas-user] strange ! cannot built gambas anymore !! Message-ID: <200412161933.19470.lordheavy@...512...> I cannot built gambas anymore, it seems to fail with gettext. Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 gcc-3.3.4, glibc-2.3.4.20040808-r1 join is reconf output and compile output :) -- Laurent Carlier -------------- next part -------------- acinclude.m4:3868: warning: underquoted definition of GB_FIND_QT_MOC run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal acinclude.m4:3902: warning: underquoted definition of AC_PATH_QT_MOC acinclude.m4:3912: warning: underquoted definition of AC_PATH_QT_FINDTR acinclude.m4:3921: warning: underquoted definition of AC_PATH_QT_MSGTOQM acinclude.m4:3930: warning: underquoted definition of AC_PATH_QT_MERGETR acinclude.m4:3942: warning: underquoted definition of AC_CHECK_X_HEADER acinclude.m4:3954: warning: underquoted definition of AC_CHECK_X_LIB acinclude.m4:3978: warning: underquoted definition of AC_PROG_CXX_FNO_RTTI acinclude.m4:3991: warning: underquoted definition of AC_C_SOCKLEN_T acinclude.m4:4007: warning: underquoted definition of AC_SYS_ERRLIST acinclude.m4:4022: warning: underquoted definition of AC_MAKE_MOC_FILES /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA /usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG /usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG /usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of AM_PATH_SIGC /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP /usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS /usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB /usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER /usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK /usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS /usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT /usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET /usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP /usr/share/aclocal/movtar.m4:14: warning: underquoted definition of MOVTAR_TEST_VERSION /usr/share/aclocal/movtar.m4:59: warning: underquoted definition of AM_PATH_MOVTAR /usr/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD /usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT /usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME /usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART /usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC /usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP /usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC /usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL /usr/share/aclocal/gtkDPS.m4:3: warning: underquoted definition of AM_PATH_GTK_DPS /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/gtk--.m4:10: warning: underquoted definition of AM_PATH_GTKMM /usr/share/aclocal/gpgme3.m4:9: warning: underquoted definition of AM_PATH_GPGME /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/gimpprint.m4:8: warning: underquoted definition of AM_PATH_GIMPPRINT /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 /usr/share/aclocal/autotrace.m4:7: warning: underquoted definition of AM_PATH_AUTOTRACE /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO /usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT src/exec/Makefile.am: object `gb_common.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gb_error.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gb_alloc.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gb_array.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_stack.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gb_buffer.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_replace.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_list.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_hash.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gb_table.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_type.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_value.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subst.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_exec.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_exec_push.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_exec_enum.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_exec_pop.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_exec_loop.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_pcode.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_trace.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_class_init.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_class.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_class_native.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_class_load.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_event.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gb_file.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_stream.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_stream_direct.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_stream_buffer.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_stream_memory.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_stream_arch.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_stream_process.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_project.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_library.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subr.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subr_file.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subr_string.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subr_conv.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subr_time.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subr_misc.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_math.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subr_math.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_subr_test.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_api.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_local.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_regexp.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_archive.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_watch.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_eval.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_compare.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_number.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_object.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_string.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_variant.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_date.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_array.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_class.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_collection.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_error.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_gambas.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_file.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_application.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_array.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_process.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_subcollection.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_string.$(OBJEXT)' created both with libtool and without src/exec/Makefile.am: object `gbx_c_settings.$(OBJEXT)' created both with libtool and without acinclude.m4:3602: warning: underquoted definition of AC_LIB_LTDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal acinclude.m4:3635: warning: underquoted definition of AC_LTDL_ENABLE_INSTALL acinclude.m4:3645: warning: underquoted definition of AC_LTDL_SYS_DLOPEN_DEPLIBS acinclude.m4:3674: warning: underquoted definition of AC_LTDL_SHLIBEXT acinclude.m4:3694: warning: underquoted definition of AC_LTDL_SHLIBPATH acinclude.m4:3706: warning: underquoted definition of AC_LTDL_SYSSEARCHPATH acinclude.m4:3730: warning: underquoted definition of AC_LTDL_OBJDIR acinclude.m4:3752: warning: underquoted definition of AC_LTDL_DLPREOPEN acinclude.m4:3770: warning: underquoted definition of AC_LTDL_DLLIB acinclude.m4:3801: warning: underquoted definition of AC_LTDL_SYMBOL_USCORE acinclude.m4:3840: warning: underquoted definition of AC_LTDL_DLSYM_USCORE /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA /usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG /usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG /usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of AM_PATH_SIGC /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP /usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS /usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB /usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER /usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK /usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS /usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT /usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET /usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP /usr/share/aclocal/movtar.m4:14: warning: underquoted definition of MOVTAR_TEST_VERSION /usr/share/aclocal/movtar.m4:59: warning: underquoted definition of AM_PATH_MOVTAR /usr/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD /usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT /usr/share/aclocal/libfame.m4:6: warning: underquoted definition of AM_PATH_LIBFAME /usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART /usr/share/aclocal/libOggFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBOGGFLAC /usr/share/aclocal/libOggFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBOGGFLACPP /usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /usr/share/aclocal/libFLAC.m4:7: warning: underquoted definition of AM_PATH_LIBFLAC /usr/share/aclocal/libFLAC++.m4:8: warning: underquoted definition of AM_PATH_LIBFLACPP /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL /usr/share/aclocal/gtkDPS.m4:3: warning: underquoted definition of AM_PATH_GTK_DPS /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/gtk--.m4:10: warning: underquoted definition of AM_PATH_GTKMM /usr/share/aclocal/gpgme3.m4:9: warning: underquoted definition of AM_PATH_GPGME /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/gimpprint.m4:8: warning: underquoted definition of AM_PATH_GIMPPRINT /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 /usr/share/aclocal/autotrace.m4:7: warning: underquoted definition of AM_PATH_AUTOTRACE /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO /usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT -------------- next part -------------- checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes /home/lordh/partage/gambas-0.99.RC4/missing: Unknown `--run' option Try `/home/lordh/partage/gambas-0.99.RC4/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for wait3 that fills in rusage... yes checking for getcwd... yes checking for gettimeofday... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtod... yes checking for strtol... yes checking for sysinfo... yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependant libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether -lc should be explicitly linked in... no creating libtool checking for ccache... no checking for main in -lm... yes checking for main in -lz... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for internationalization library (if not present in C library) headers... /usr/include/ checking for internationalization library (if not present in C library) libraries... no configure: WARNING: *** internationalization library (if not present in C library) is disabled checking for charset conversion library (if not present in C library) headers... /usr/include/ checking for charset conversion library (if not present in C library) libraries... no configure: WARNING: *** charset conversion library (if not present in C library) is disabled checking for QT component headers... /usr/qt/3/include/ checking for QT component libraries... /usr/qt/3/lib/ checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for QT meta-object compiler... /usr/qt/3/bin/ checking for KDE 3.x component headers... /usr/kde/3.3/include/ checking for KDE 3.x component libraries... /usr/kde/3.3/lib/ checking for Networking component headers... checking for Networking component libraries... checking for Advanced networking component headers... /usr/include/curl/ checking for Advanced networking component libraries... /usr/lib/ checking for PostgreSQL driver headers... no checking for PostgreSQL driver libraries... no configure: WARNING: *** PostgreSQL driver is disabled checking for MySQL driver headers... no checking for MySQL driver libraries... no configure: WARNING: *** MySQL driver is disabled checking for SQLite driver headers... /usr/include/ checking for SQLite driver libraries... /usr/lib/ checking for SDL component headers... /usr/include/SDL/ checking for SDL component libraries... /usr/lib/ checking for Visual Basic compatibility component headers... checking for Visual Basic compatibility component libraries... checking for zlib compression headers... /usr/include/ checking for zlib compression libraries... /usr/lib/ checking for bzlib2 compression headers... /usr/include/ checking for bzlib2 compression libraries... /usr/lib/ checking for XML parser component headers... /usr/include/libxml2/ checking for XML parser component libraries... /usr/lib/ checking for XSLT/XML parser component headers... /usr/include/ checking for XSLT/XML parser component libraries... /usr/lib/ checking for MySDL component headers... /usr/include/SDL/ checking for MySDL component libraries... /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/share/Makefile config.status: creating src/comp/Makefile config.status: creating src/exec/Makefile config.status: creating src/lib/Makefile config.status: creating src/lib/debug/Makefile config.status: creating src/lib/eval/Makefile config.status: creating src/lib/qt/Makefile config.status: creating src/lib/qt/editor/Makefile config.status: creating src/lib/qt/ext/Makefile config.status: creating src/lib/qt/kde/Makefile config.status: creating src/lib/qt/kde/html/Makefile config.status: creating src/lib/db/Makefile config.status: creating src/lib/db/mysql/Makefile config.status: creating src/lib/db/postgresql/Makefile config.status: creating src/lib/db/sqlite/Makefile config.status: creating src/lib/sdl/Makefile config.status: creating src/lib/net/Makefile config.status: creating src/lib/net/curl/Makefile config.status: creating src/lib/vb/Makefile config.status: creating src/lib/compress/Makefile config.status: creating src/lib/compress/zlib/Makefile config.status: creating src/lib/compress/bzlib2/Makefile config.status: creating src/lib/xml/Makefile config.status: creating src/lib/xml/libxml/Makefile config.status: creating src/lib/xml/libxml/xslt/Makefile config.status: creating src/lib/xml/libxml/rpc/Makefile config.status: creating src/lib/mysdl/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: configuring in libltdl configure: running /bin/sh './configure' --prefix=/opt/gambas 'CC=gcc' 'CXX=g++' --enable-ltdl-convenience --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes /home/lordh/partage/gambas-0.99.RC4/missing: Unknown `--run' option Try `/home/lordh/partage/gambas-0.99.RC4/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for an ANSI C-conforming const... yes checking for inline... inline checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether gcc supports assert without backlinking... checking which extension is used for shared libraries... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /usr/X11R6/lib checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for dlopen in -ldl... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/home/lordh/partage/gambas-0.99.RC4' Making all in libltdl make[2]: Entering directory `/home/lordh/partage/gambas-0.99.RC4/libltdl' make all-am make[3]: Entering directory `/home/lordh/partage/gambas-0.99.RC4/libltdl' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo ltdl.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 mv -f .libs/ltdl.lo ltdl.lo /bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl rm -fr .libs/libltdlc.la .libs/libltdlc.* .libs/libltdlc.* ar cru .libs/libltdlc.al ltdl.lo ranlib .libs/libltdlc.al creating libltdlc.la (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) make[3]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4/libltdl' make[2]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4/libltdl' Making all in src make[2]: Entering directory `/home/lordh/partage/gambas-0.99.RC4/src' Making all in share make[3]: Entering directory `/home/lordh/partage/gambas-0.99.RC4/src/share' make[3]: Rien ? faire pour ? all ?. make[3]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4/src/share' Making all in comp make[3]: Entering directory `/home/lordh/partage/gambas-0.99.RC4/src/comp' if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_error.o -MD -MP -MF ".deps/gb_error.Tpo" -c -o gb_error.o gb_error.c; \ then mv -f ".deps/gb_error.Tpo" ".deps/gb_error.Po"; else rm -f ".deps/gb_error.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_alloc.o -MD -MP -MF ".deps/gb_alloc.Tpo" -c -o gb_alloc.o gb_alloc.c; \ then mv -f ".deps/gb_alloc.Tpo" ".deps/gb_alloc.Po"; else rm -f ".deps/gb_alloc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_array.o -MD -MP -MF ".deps/gb_array.Tpo" -c -o gb_array.o gb_array.c; \ then mv -f ".deps/gb_array.Tpo" ".deps/gb_array.Po"; else rm -f ".deps/gb_array.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_reserved.o -MD -MP -MF ".deps/gbc_reserved.Tpo" -c -o gbc_reserved.o gbc_reserved.c; \ then mv -f ".deps/gbc_reserved.Tpo" ".deps/gbc_reserved.Po"; else rm -f ".deps/gbc_reserved.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc.o -MD -MP -MF ".deps/gbc.Tpo" -c -o gbc.o gbc.c; \ then mv -f ".deps/gbc.Tpo" ".deps/gbc.Po"; else rm -f ".deps/gbc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_compile.o -MD -MP -MF ".deps/gbc_compile.Tpo" -c -o gbc_compile.o gbc_compile.c; \ then mv -f ".deps/gbc_compile.Tpo" ".deps/gbc_compile.Po"; else rm -f ".deps/gbc_compile.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_table.o -MD -MP -MF ".deps/gb_table.Tpo" -c -o gb_table.o gb_table.c; \ then mv -f ".deps/gb_table.Tpo" ".deps/gb_table.Po"; else rm -f ".deps/gb_table.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_type.o -MD -MP -MF ".deps/gbc_type.Tpo" -c -o gbc_type.o gbc_type.c; \ then mv -f ".deps/gbc_type.Tpo" ".deps/gbc_type.Po"; else rm -f ".deps/gbc_type.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_read.o -MD -MP -MF ".deps/gbc_read.Tpo" -c -o gbc_read.o gbc_read.c; \ then mv -f ".deps/gbc_read.Tpo" ".deps/gbc_read.Po"; else rm -f ".deps/gbc_read.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_buffer.o -MD -MP -MF ".deps/gb_buffer.Tpo" -c -o gb_buffer.o gb_buffer.c; \ then mv -f ".deps/gb_buffer.Tpo" ".deps/gb_buffer.Po"; else rm -f ".deps/gb_buffer.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_dump.o -MD -MP -MF ".deps/gbc_dump.Tpo" -c -o gbc_dump.o gbc_dump.c; \ then mv -f ".deps/gbc_dump.Tpo" ".deps/gbc_dump.Po"; else rm -f ".deps/gbc_dump.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_class.o -MD -MP -MF ".deps/gbc_class.Tpo" -c -o gbc_class.o gbc_class.c; \ then mv -f ".deps/gbc_class.Tpo" ".deps/gbc_class.Po"; else rm -f ".deps/gbc_class.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_code.o -MD -MP -MF ".deps/gbc_code.Tpo" -c -o gbc_code.o gbc_code.c; \ then mv -f ".deps/gbc_code.Tpo" ".deps/gbc_code.Po"; else rm -f ".deps/gbc_code.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_trans.o -MD -MP -MF ".deps/gbc_trans.Tpo" -c -o gbc_trans.o gbc_trans.c; \ then mv -f ".deps/gbc_trans.Tpo" ".deps/gbc_trans.Po"; else rm -f ".deps/gbc_trans.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_header.o -MD -MP -MF ".deps/gbc_header.Tpo" -c -o gbc_header.o gbc_header.c; \ then mv -f ".deps/gbc_header.Tpo" ".deps/gbc_header.Po"; else rm -f ".deps/gbc_header.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_trans_code.o -MD -MP -MF ".deps/gbc_trans_code.Tpo" -c -o gbc_trans_code.o gbc_trans_code.c; \ then mv -f ".deps/gbc_trans_code.Tpo" ".deps/gbc_trans_code.Po"; else rm -f ".deps/gbc_trans_code.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_trans_expr.o -MD -MP -MF ".deps/gbc_trans_expr.Tpo" -c -o gbc_trans_expr.o gbc_trans_expr.c; \ then mv -f ".deps/gbc_trans_expr.Tpo" ".deps/gbc_trans_expr.Po"; else rm -f ".deps/gbc_trans_expr.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_trans_tree.o -MD -MP -MF ".deps/gbc_trans_tree.Tpo" -c -o gbc_trans_tree.o gbc_trans_tree.c; \ then mv -f ".deps/gbc_trans_tree.Tpo" ".deps/gbc_trans_tree.Po"; else rm -f ".deps/gbc_trans_tree.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_trans_ctrl.o -MD -MP -MF ".deps/gbc_trans_ctrl.Tpo" -c -o gbc_trans_ctrl.o gbc_trans_ctrl.c; \ then mv -f ".deps/gbc_trans_ctrl.Tpo" ".deps/gbc_trans_ctrl.Po"; else rm -f ".deps/gbc_trans_ctrl.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_trans_subr.o -MD -MP -MF ".deps/gbc_trans_subr.Tpo" -c -o gbc_trans_subr.o gbc_trans_subr.c; \ then mv -f ".deps/gbc_trans_subr.Tpo" ".deps/gbc_trans_subr.Po"; else rm -f ".deps/gbc_trans_subr.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_output.o -MD -MP -MF ".deps/gbc_output.Tpo" -c -o gbc_output.o gbc_output.c; \ then mv -f ".deps/gbc_output.Tpo" ".deps/gbc_output.Po"; else rm -f ".deps/gbc_output.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_pcode.o -MD -MP -MF ".deps/gbc_pcode.Tpo" -c -o gbc_pcode.o gbc_pcode.c; \ then mv -f ".deps/gbc_pcode.Tpo" ".deps/gbc_pcode.Po"; else rm -f ".deps/gbc_pcode.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_file.o -MD -MP -MF ".deps/gb_file.Tpo" -c -o gb_file.o gb_file.c; \ then mv -f ".deps/gb_file.Tpo" ".deps/gb_file.Po"; else rm -f ".deps/gb_file.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_form.o -MD -MP -MF ".deps/gbc_form.Tpo" -c -o gbc_form.o gbc_form.c; \ then mv -f ".deps/gbc_form.Tpo" ".deps/gbc_form.Po"; else rm -f ".deps/gbc_form.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_str.o -MD -MP -MF ".deps/gb_str.Tpo" -c -o gb_str.o gb_str.c; \ then mv -f ".deps/gb_str.Tpo" ".deps/gb_str.Po"; else rm -f ".deps/gb_str.Tpo"; exit 1; fi /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gbc gb_error.o gb_alloc.o gb_array.o gbc_reserved.o gbc.o gbc_compile.o gb_table.o gbc_type.o gbc_read.o gb_buffer.o gbc_dump.o gbc_class.o gbc_code.o gbc_trans.o gbc_header.o gbc_trans_code.o gbc_trans_expr.o gbc_trans_tree.o gbc_trans_ctrl.o gbc_trans_subr.o gbc_output.o gbc_pcode.o gb_file.o gbc_form.o gb_str.o mkdir .libs gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gbc gb_error.o gb_alloc.o gb_array.o gbc_reserved.o gbc.o gbc_compile.o gb_table.o gbc_type.o gbc_read.o gb_buffer.o gbc_dump.o gbc_class.o gbc_code.o gbc_trans.o gbc_header.o gbc_trans_code.o gbc_trans_expr.o gbc_trans_tree.o gbc_trans_ctrl.o gbc_trans_subr.o gbc_output.o gbc_pcode.o gb_file.o gbc_form.o gb_str.o if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbc_archive.o -MD -MP -MF ".deps/gbc_archive.Tpo" -c -o gbc_archive.o gbc_archive.c; \ then mv -f ".deps/gbc_archive.Tpo" ".deps/gbc_archive.Po"; else rm -f ".deps/gbc_archive.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gba.o -MD -MP -MF ".deps/gba.Tpo" -c -o gba.o gba.c; \ then mv -f ".deps/gba.Tpo" ".deps/gba.Po"; else rm -f ".deps/gba.Tpo"; exit 1; fi /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gba gb_error.o gb_alloc.o gb_array.o gb_table.o gb_str.o gb_file.o gbc_archive.o gba.o gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gba gb_error.o gb_alloc.o gb_array.o gb_table.o gb_str.o gb_file.o gbc_archive.o gba.o if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbi.o -MD -MP -MF ".deps/gbi.Tpo" -c -o gbi.o gbi.c; \ then mv -f ".deps/gbi.Tpo" ".deps/gbi.Po"; else rm -f ".deps/gbi.Tpo"; exit 1; fi /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gbi gb_error.o gb_alloc.o gb_array.o gb_str.o gb_file.o gbi.o ../../libltdl/libltdlc.la gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gbi gb_error.o gb_alloc.o gb_array.o gb_str.o gb_file.o gbi.o ../../libltdl/.libs/libltdlc.al -ldl make[3]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4/src/comp' Making all in exec make[3]: Entering directory `/home/lordh/partage/gambas-0.99.RC4/src/exec' if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_common.lo -MD -MP -MF ".deps/gb_common.Tpo" -c -o gb_common.lo gb_common.c; \ then mv -f ".deps/gb_common.Tpo" ".deps/gb_common.Plo"; else rm -f ".deps/gb_common.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_common.lo -MD -MP -MF .deps/gb_common.Tpo -c gb_common.c -fPIC -DPIC -o gb_common.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_error.lo -MD -MP -MF ".deps/gb_error.Tpo" -c -o gb_error.lo gb_error.c; \ then mv -f ".deps/gb_error.Tpo" ".deps/gb_error.Plo"; else rm -f ".deps/gb_error.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_error.lo -MD -MP -MF .deps/gb_error.Tpo -c gb_error.c -fPIC -DPIC -o gb_error.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_alloc.lo -MD -MP -MF ".deps/gb_alloc.Tpo" -c -o gb_alloc.lo gb_alloc.c; \ then mv -f ".deps/gb_alloc.Tpo" ".deps/gb_alloc.Plo"; else rm -f ".deps/gb_alloc.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_alloc.lo -MD -MP -MF .deps/gb_alloc.Tpo -c gb_alloc.c -fPIC -DPIC -o gb_alloc.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_array.lo -MD -MP -MF ".deps/gb_array.Tpo" -c -o gb_array.lo gb_array.c; \ then mv -f ".deps/gb_array.Tpo" ".deps/gb_array.Plo"; else rm -f ".deps/gb_array.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_array.lo -MD -MP -MF .deps/gb_array.Tpo -c gb_array.c -fPIC -DPIC -o gb_array.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stack.lo -MD -MP -MF ".deps/gbx_stack.Tpo" -c -o gbx_stack.lo gbx_stack.c; \ then mv -f ".deps/gbx_stack.Tpo" ".deps/gbx_stack.Plo"; else rm -f ".deps/gbx_stack.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stack.lo -MD -MP -MF .deps/gbx_stack.Tpo -c gbx_stack.c -fPIC -DPIC -o gbx_stack.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_buffer.lo -MD -MP -MF ".deps/gb_buffer.Tpo" -c -o gb_buffer.lo gb_buffer.c; \ then mv -f ".deps/gb_buffer.Tpo" ".deps/gb_buffer.Plo"; else rm -f ".deps/gb_buffer.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_buffer.lo -MD -MP -MF .deps/gb_buffer.Tpo -c gb_buffer.c -fPIC -DPIC -o gb_buffer.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_replace.lo -MD -MP -MF ".deps/gbx_replace.Tpo" -c -o gbx_replace.lo gbx_replace.c; \ then mv -f ".deps/gbx_replace.Tpo" ".deps/gbx_replace.Plo"; else rm -f ".deps/gbx_replace.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_replace.lo -MD -MP -MF .deps/gbx_replace.Tpo -c gbx_replace.c -fPIC -DPIC -o gbx_replace.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_list.lo -MD -MP -MF ".deps/gbx_list.Tpo" -c -o gbx_list.lo gbx_list.c; \ then mv -f ".deps/gbx_list.Tpo" ".deps/gbx_list.Plo"; else rm -f ".deps/gbx_list.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_list.lo -MD -MP -MF .deps/gbx_list.Tpo -c gbx_list.c -fPIC -DPIC -o gbx_list.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_hash.lo -MD -MP -MF ".deps/gbx_hash.Tpo" -c -o gbx_hash.lo gbx_hash.c; \ then mv -f ".deps/gbx_hash.Tpo" ".deps/gbx_hash.Plo"; else rm -f ".deps/gbx_hash.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_hash.lo -MD -MP -MF .deps/gbx_hash.Tpo -c gbx_hash.c -fPIC -DPIC -o gbx_hash.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_table.lo -MD -MP -MF ".deps/gb_table.Tpo" -c -o gb_table.lo gb_table.c; \ then mv -f ".deps/gb_table.Tpo" ".deps/gb_table.Plo"; else rm -f ".deps/gb_table.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_table.lo -MD -MP -MF .deps/gb_table.Tpo -c gb_table.c -fPIC -DPIC -o gb_table.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_type.lo -MD -MP -MF ".deps/gbx_type.Tpo" -c -o gbx_type.lo gbx_type.c; \ then mv -f ".deps/gbx_type.Tpo" ".deps/gbx_type.Plo"; else rm -f ".deps/gbx_type.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_type.lo -MD -MP -MF .deps/gbx_type.Tpo -c gbx_type.c -fPIC -DPIC -o gbx_type.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_value.lo -MD -MP -MF ".deps/gbx_value.Tpo" -c -o gbx_value.lo gbx_value.c; \ then mv -f ".deps/gbx_value.Tpo" ".deps/gbx_value.Plo"; else rm -f ".deps/gbx_value.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_value.lo -MD -MP -MF .deps/gbx_value.Tpo -c gbx_value.c -fPIC -DPIC -o gbx_value.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subst.lo -MD -MP -MF ".deps/gbx_subst.Tpo" -c -o gbx_subst.lo gbx_subst.c; \ then mv -f ".deps/gbx_subst.Tpo" ".deps/gbx_subst.Plo"; else rm -f ".deps/gbx_subst.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subst.lo -MD -MP -MF .deps/gbx_subst.Tpo -c gbx_subst.c -fPIC -DPIC -o gbx_subst.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec.lo -MD -MP -MF ".deps/gbx_exec.Tpo" -c -o gbx_exec.lo gbx_exec.c; \ then mv -f ".deps/gbx_exec.Tpo" ".deps/gbx_exec.Plo"; else rm -f ".deps/gbx_exec.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec.lo -MD -MP -MF .deps/gbx_exec.Tpo -c gbx_exec.c -fPIC -DPIC -o gbx_exec.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_push.lo -MD -MP -MF ".deps/gbx_exec_push.Tpo" -c -o gbx_exec_push.lo gbx_exec_push.c; \ then mv -f ".deps/gbx_exec_push.Tpo" ".deps/gbx_exec_push.Plo"; else rm -f ".deps/gbx_exec_push.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_push.lo -MD -MP -MF .deps/gbx_exec_push.Tpo -c gbx_exec_push.c -fPIC -DPIC -o gbx_exec_push.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_enum.lo -MD -MP -MF ".deps/gbx_exec_enum.Tpo" -c -o gbx_exec_enum.lo gbx_exec_enum.c; \ then mv -f ".deps/gbx_exec_enum.Tpo" ".deps/gbx_exec_enum.Plo"; else rm -f ".deps/gbx_exec_enum.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_enum.lo -MD -MP -MF .deps/gbx_exec_enum.Tpo -c gbx_exec_enum.c -fPIC -DPIC -o gbx_exec_enum.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_pop.lo -MD -MP -MF ".deps/gbx_exec_pop.Tpo" -c -o gbx_exec_pop.lo gbx_exec_pop.c; \ then mv -f ".deps/gbx_exec_pop.Tpo" ".deps/gbx_exec_pop.Plo"; else rm -f ".deps/gbx_exec_pop.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_pop.lo -MD -MP -MF .deps/gbx_exec_pop.Tpo -c gbx_exec_pop.c -fPIC -DPIC -o gbx_exec_pop.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_loop.lo -MD -MP -MF ".deps/gbx_exec_loop.Tpo" -c -o gbx_exec_loop.lo gbx_exec_loop.c; \ then mv -f ".deps/gbx_exec_loop.Tpo" ".deps/gbx_exec_loop.Plo"; else rm -f ".deps/gbx_exec_loop.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_exec_loop.lo -MD -MP -MF .deps/gbx_exec_loop.Tpo -c gbx_exec_loop.c -fPIC -DPIC -o gbx_exec_loop.lo gbx_exec_loop.c: In function `EXEC_loop': gbx_exec_loop.c:440: warning: `ind' might be used uninitialized in this function gbx_exec_loop.c:970: warning: `val' might be used uninitialized in this function if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_pcode.lo -MD -MP -MF ".deps/gbx_pcode.Tpo" -c -o gbx_pcode.lo gbx_pcode.c; \ then mv -f ".deps/gbx_pcode.Tpo" ".deps/gbx_pcode.Plo"; else rm -f ".deps/gbx_pcode.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_pcode.lo -MD -MP -MF .deps/gbx_pcode.Tpo -c gbx_pcode.c -fPIC -DPIC -o gbx_pcode.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_trace.lo -MD -MP -MF ".deps/gbx_trace.Tpo" -c -o gbx_trace.lo gbx_trace.c; \ then mv -f ".deps/gbx_trace.Tpo" ".deps/gbx_trace.Plo"; else rm -f ".deps/gbx_trace.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_trace.lo -MD -MP -MF .deps/gbx_trace.Tpo -c gbx_trace.c -fPIC -DPIC -o gbx_trace.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_init.lo -MD -MP -MF ".deps/gbx_class_init.Tpo" -c -o gbx_class_init.lo gbx_class_init.c; \ then mv -f ".deps/gbx_class_init.Tpo" ".deps/gbx_class_init.Plo"; else rm -f ".deps/gbx_class_init.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_init.lo -MD -MP -MF .deps/gbx_class_init.Tpo -c gbx_class_init.c -fPIC -DPIC -o gbx_class_init.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class.lo -MD -MP -MF ".deps/gbx_class.Tpo" -c -o gbx_class.lo gbx_class.c; \ then mv -f ".deps/gbx_class.Tpo" ".deps/gbx_class.Plo"; else rm -f ".deps/gbx_class.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class.lo -MD -MP -MF .deps/gbx_class.Tpo -c gbx_class.c -fPIC -DPIC -o gbx_class.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_native.lo -MD -MP -MF ".deps/gbx_class_native.Tpo" -c -o gbx_class_native.lo gbx_class_native.c; \ then mv -f ".deps/gbx_class_native.Tpo" ".deps/gbx_class_native.Plo"; else rm -f ".deps/gbx_class_native.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_native.lo -MD -MP -MF .deps/gbx_class_native.Tpo -c gbx_class_native.c -fPIC -DPIC -o gbx_class_native.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_load.lo -MD -MP -MF ".deps/gbx_class_load.Tpo" -c -o gbx_class_load.lo gbx_class_load.c; \ then mv -f ".deps/gbx_class_load.Tpo" ".deps/gbx_class_load.Plo"; else rm -f ".deps/gbx_class_load.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_load.lo -MD -MP -MF .deps/gbx_class_load.Tpo -c gbx_class_load.c -fPIC -DPIC -o gbx_class_load.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_event.lo -MD -MP -MF ".deps/gbx_event.Tpo" -c -o gbx_event.lo gbx_event.c; \ then mv -f ".deps/gbx_event.Tpo" ".deps/gbx_event.Plo"; else rm -f ".deps/gbx_event.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_event.lo -MD -MP -MF .deps/gbx_event.Tpo -c gbx_event.c -fPIC -DPIC -o gbx_event.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_file.lo -MD -MP -MF ".deps/gb_file.Tpo" -c -o gb_file.lo gb_file.c; \ then mv -f ".deps/gb_file.Tpo" ".deps/gb_file.Plo"; else rm -f ".deps/gb_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gb_file.lo -MD -MP -MF .deps/gb_file.Tpo -c gb_file.c -fPIC -DPIC -o gb_file.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream.lo -MD -MP -MF ".deps/gbx_stream.Tpo" -c -o gbx_stream.lo gbx_stream.c; \ then mv -f ".deps/gbx_stream.Tpo" ".deps/gbx_stream.Plo"; else rm -f ".deps/gbx_stream.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream.lo -MD -MP -MF .deps/gbx_stream.Tpo -c gbx_stream.c -fPIC -DPIC -o gbx_stream.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_direct.lo -MD -MP -MF ".deps/gbx_stream_direct.Tpo" -c -o gbx_stream_direct.lo gbx_stream_direct.c; \ then mv -f ".deps/gbx_stream_direct.Tpo" ".deps/gbx_stream_direct.Plo"; else rm -f ".deps/gbx_stream_direct.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_direct.lo -MD -MP -MF .deps/gbx_stream_direct.Tpo -c gbx_stream_direct.c -fPIC -DPIC -o gbx_stream_direct.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_buffer.lo -MD -MP -MF ".deps/gbx_stream_buffer.Tpo" -c -o gbx_stream_buffer.lo gbx_stream_buffer.c; \ then mv -f ".deps/gbx_stream_buffer.Tpo" ".deps/gbx_stream_buffer.Plo"; else rm -f ".deps/gbx_stream_buffer.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_buffer.lo -MD -MP -MF .deps/gbx_stream_buffer.Tpo -c gbx_stream_buffer.c -fPIC -DPIC -o gbx_stream_buffer.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_memory.lo -MD -MP -MF ".deps/gbx_stream_memory.Tpo" -c -o gbx_stream_memory.lo gbx_stream_memory.c; \ then mv -f ".deps/gbx_stream_memory.Tpo" ".deps/gbx_stream_memory.Plo"; else rm -f ".deps/gbx_stream_memory.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_memory.lo -MD -MP -MF .deps/gbx_stream_memory.Tpo -c gbx_stream_memory.c -fPIC -DPIC -o gbx_stream_memory.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_arch.lo -MD -MP -MF ".deps/gbx_stream_arch.Tpo" -c -o gbx_stream_arch.lo gbx_stream_arch.c; \ then mv -f ".deps/gbx_stream_arch.Tpo" ".deps/gbx_stream_arch.Plo"; else rm -f ".deps/gbx_stream_arch.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_arch.lo -MD -MP -MF .deps/gbx_stream_arch.Tpo -c gbx_stream_arch.c -fPIC -DPIC -o gbx_stream_arch.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_process.lo -MD -MP -MF ".deps/gbx_stream_process.Tpo" -c -o gbx_stream_process.lo gbx_stream_process.c; \ then mv -f ".deps/gbx_stream_process.Tpo" ".deps/gbx_stream_process.Plo"; else rm -f ".deps/gbx_stream_process.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_stream_process.lo -MD -MP -MF .deps/gbx_stream_process.Tpo -c gbx_stream_process.c -fPIC -DPIC -o gbx_stream_process.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_project.lo -MD -MP -MF ".deps/gbx_project.Tpo" -c -o gbx_project.lo gbx_project.c; \ then mv -f ".deps/gbx_project.Tpo" ".deps/gbx_project.Plo"; else rm -f ".deps/gbx_project.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_project.lo -MD -MP -MF .deps/gbx_project.Tpo -c gbx_project.c -fPIC -DPIC -o gbx_project.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_library.lo -MD -MP -MF ".deps/gbx_library.Tpo" -c -o gbx_library.lo gbx_library.c; \ then mv -f ".deps/gbx_library.Tpo" ".deps/gbx_library.Plo"; else rm -f ".deps/gbx_library.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_library.lo -MD -MP -MF .deps/gbx_library.Tpo -c gbx_library.c -fPIC -DPIC -o gbx_library.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr.lo -MD -MP -MF ".deps/gbx_subr.Tpo" -c -o gbx_subr.lo gbx_subr.c; \ then mv -f ".deps/gbx_subr.Tpo" ".deps/gbx_subr.Plo"; else rm -f ".deps/gbx_subr.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr.lo -MD -MP -MF .deps/gbx_subr.Tpo -c gbx_subr.c -fPIC -DPIC -o gbx_subr.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_file.lo -MD -MP -MF ".deps/gbx_subr_file.Tpo" -c -o gbx_subr_file.lo gbx_subr_file.c; \ then mv -f ".deps/gbx_subr_file.Tpo" ".deps/gbx_subr_file.Plo"; else rm -f ".deps/gbx_subr_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_file.lo -MD -MP -MF .deps/gbx_subr_file.Tpo -c gbx_subr_file.c -fPIC -DPIC -o gbx_subr_file.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_string.lo -MD -MP -MF ".deps/gbx_subr_string.Tpo" -c -o gbx_subr_string.lo gbx_subr_string.c; \ then mv -f ".deps/gbx_subr_string.Tpo" ".deps/gbx_subr_string.Plo"; else rm -f ".deps/gbx_subr_string.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_string.lo -MD -MP -MF .deps/gbx_subr_string.Tpo -c gbx_subr_string.c -fPIC -DPIC -o gbx_subr_string.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_conv.lo -MD -MP -MF ".deps/gbx_subr_conv.Tpo" -c -o gbx_subr_conv.lo gbx_subr_conv.c; \ then mv -f ".deps/gbx_subr_conv.Tpo" ".deps/gbx_subr_conv.Plo"; else rm -f ".deps/gbx_subr_conv.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_conv.lo -MD -MP -MF .deps/gbx_subr_conv.Tpo -c gbx_subr_conv.c -fPIC -DPIC -o gbx_subr_conv.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_time.lo -MD -MP -MF ".deps/gbx_subr_time.Tpo" -c -o gbx_subr_time.lo gbx_subr_time.c; \ then mv -f ".deps/gbx_subr_time.Tpo" ".deps/gbx_subr_time.Plo"; else rm -f ".deps/gbx_subr_time.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_time.lo -MD -MP -MF .deps/gbx_subr_time.Tpo -c gbx_subr_time.c -fPIC -DPIC -o gbx_subr_time.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_misc.lo -MD -MP -MF ".deps/gbx_subr_misc.Tpo" -c -o gbx_subr_misc.lo gbx_subr_misc.c; \ then mv -f ".deps/gbx_subr_misc.Tpo" ".deps/gbx_subr_misc.Plo"; else rm -f ".deps/gbx_subr_misc.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_misc.lo -MD -MP -MF .deps/gbx_subr_misc.Tpo -c gbx_subr_misc.c -fPIC -DPIC -o gbx_subr_misc.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_math.lo -MD -MP -MF ".deps/gbx_math.Tpo" -c -o gbx_math.lo gbx_math.c; \ then mv -f ".deps/gbx_math.Tpo" ".deps/gbx_math.Plo"; else rm -f ".deps/gbx_math.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_math.lo -MD -MP -MF .deps/gbx_math.Tpo -c gbx_math.c -fPIC -DPIC -o gbx_math.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_math.lo -MD -MP -MF ".deps/gbx_subr_math.Tpo" -c -o gbx_subr_math.lo gbx_subr_math.c; \ then mv -f ".deps/gbx_subr_math.Tpo" ".deps/gbx_subr_math.Plo"; else rm -f ".deps/gbx_subr_math.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_math.lo -MD -MP -MF .deps/gbx_subr_math.Tpo -c gbx_subr_math.c -fPIC -DPIC -o gbx_subr_math.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_test.lo -MD -MP -MF ".deps/gbx_subr_test.Tpo" -c -o gbx_subr_test.lo gbx_subr_test.c; \ then mv -f ".deps/gbx_subr_test.Tpo" ".deps/gbx_subr_test.Plo"; else rm -f ".deps/gbx_subr_test.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_subr_test.lo -MD -MP -MF .deps/gbx_subr_test.Tpo -c gbx_subr_test.c -fPIC -DPIC -o gbx_subr_test.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_api.lo -MD -MP -MF ".deps/gbx_api.Tpo" -c -o gbx_api.lo gbx_api.c; \ then mv -f ".deps/gbx_api.Tpo" ".deps/gbx_api.Plo"; else rm -f ".deps/gbx_api.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_api.lo -MD -MP -MF .deps/gbx_api.Tpo -c gbx_api.c -fPIC -DPIC -o gbx_api.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_local.lo -MD -MP -MF ".deps/gbx_local.Tpo" -c -o gbx_local.lo gbx_local.c; \ then mv -f ".deps/gbx_local.Tpo" ".deps/gbx_local.Plo"; else rm -f ".deps/gbx_local.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_local.lo -MD -MP -MF .deps/gbx_local.Tpo -c gbx_local.c -fPIC -DPIC -o gbx_local.lo gbx_local.c: In function `fill_local_info': gbx_local.c:399: warning: `%x' yields only last 2 digits of year in some locales if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_regexp.lo -MD -MP -MF ".deps/gbx_regexp.Tpo" -c -o gbx_regexp.lo gbx_regexp.c; \ then mv -f ".deps/gbx_regexp.Tpo" ".deps/gbx_regexp.Plo"; else rm -f ".deps/gbx_regexp.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_regexp.lo -MD -MP -MF .deps/gbx_regexp.Tpo -c gbx_regexp.c -fPIC -DPIC -o gbx_regexp.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_archive.lo -MD -MP -MF ".deps/gbx_archive.Tpo" -c -o gbx_archive.lo gbx_archive.c; \ then mv -f ".deps/gbx_archive.Tpo" ".deps/gbx_archive.Plo"; else rm -f ".deps/gbx_archive.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_archive.lo -MD -MP -MF .deps/gbx_archive.Tpo -c gbx_archive.c -fPIC -DPIC -o gbx_archive.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_watch.lo -MD -MP -MF ".deps/gbx_watch.Tpo" -c -o gbx_watch.lo gbx_watch.c; \ then mv -f ".deps/gbx_watch.Tpo" ".deps/gbx_watch.Plo"; else rm -f ".deps/gbx_watch.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_watch.lo -MD -MP -MF .deps/gbx_watch.Tpo -c gbx_watch.c -fPIC -DPIC -o gbx_watch.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_eval.lo -MD -MP -MF ".deps/gbx_eval.Tpo" -c -o gbx_eval.lo gbx_eval.c; \ then mv -f ".deps/gbx_eval.Tpo" ".deps/gbx_eval.Plo"; else rm -f ".deps/gbx_eval.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_eval.lo -MD -MP -MF .deps/gbx_eval.Tpo -c gbx_eval.c -fPIC -DPIC -o gbx_eval.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_compare.lo -MD -MP -MF ".deps/gbx_compare.Tpo" -c -o gbx_compare.lo gbx_compare.c; \ then mv -f ".deps/gbx_compare.Tpo" ".deps/gbx_compare.Plo"; else rm -f ".deps/gbx_compare.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_compare.lo -MD -MP -MF .deps/gbx_compare.Tpo -c gbx_compare.c -fPIC -DPIC -o gbx_compare.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_number.lo -MD -MP -MF ".deps/gbx_number.Tpo" -c -o gbx_number.lo gbx_number.c; \ then mv -f ".deps/gbx_number.Tpo" ".deps/gbx_number.Plo"; else rm -f ".deps/gbx_number.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_number.lo -MD -MP -MF .deps/gbx_number.Tpo -c gbx_number.c -fPIC -DPIC -o gbx_number.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_object.lo -MD -MP -MF ".deps/gbx_object.Tpo" -c -o gbx_object.lo gbx_object.c; \ then mv -f ".deps/gbx_object.Tpo" ".deps/gbx_object.Plo"; else rm -f ".deps/gbx_object.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_object.lo -MD -MP -MF .deps/gbx_object.Tpo -c gbx_object.c -fPIC -DPIC -o gbx_object.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_string.lo -MD -MP -MF ".deps/gbx_string.Tpo" -c -o gbx_string.lo gbx_string.c; \ then mv -f ".deps/gbx_string.Tpo" ".deps/gbx_string.Plo"; else rm -f ".deps/gbx_string.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_string.lo -MD -MP -MF .deps/gbx_string.Tpo -c gbx_string.c -fPIC -DPIC -o gbx_string.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_variant.lo -MD -MP -MF ".deps/gbx_variant.Tpo" -c -o gbx_variant.lo gbx_variant.c; \ then mv -f ".deps/gbx_variant.Tpo" ".deps/gbx_variant.Plo"; else rm -f ".deps/gbx_variant.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_variant.lo -MD -MP -MF .deps/gbx_variant.Tpo -c gbx_variant.c -fPIC -DPIC -o gbx_variant.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_date.lo -MD -MP -MF ".deps/gbx_date.Tpo" -c -o gbx_date.lo gbx_date.c; \ then mv -f ".deps/gbx_date.Tpo" ".deps/gbx_date.Plo"; else rm -f ".deps/gbx_date.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_date.lo -MD -MP -MF .deps/gbx_date.Tpo -c gbx_date.c -fPIC -DPIC -o gbx_date.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_array.lo -MD -MP -MF ".deps/gbx_array.Tpo" -c -o gbx_array.lo gbx_array.c; \ then mv -f ".deps/gbx_array.Tpo" ".deps/gbx_array.Plo"; else rm -f ".deps/gbx_array.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_array.lo -MD -MP -MF .deps/gbx_array.Tpo -c gbx_array.c -fPIC -DPIC -o gbx_array.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_class.lo -MD -MP -MF ".deps/gbx_c_class.Tpo" -c -o gbx_c_class.lo gbx_c_class.c; \ then mv -f ".deps/gbx_c_class.Tpo" ".deps/gbx_c_class.Plo"; else rm -f ".deps/gbx_c_class.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_class.lo -MD -MP -MF .deps/gbx_c_class.Tpo -c gbx_c_class.c -fPIC -DPIC -o gbx_c_class.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_collection.lo -MD -MP -MF ".deps/gbx_c_collection.Tpo" -c -o gbx_c_collection.lo gbx_c_collection.c; \ then mv -f ".deps/gbx_c_collection.Tpo" ".deps/gbx_c_collection.Plo"; else rm -f ".deps/gbx_c_collection.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_collection.lo -MD -MP -MF .deps/gbx_c_collection.Tpo -c gbx_c_collection.c -fPIC -DPIC -o gbx_c_collection.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_error.lo -MD -MP -MF ".deps/gbx_c_error.Tpo" -c -o gbx_c_error.lo gbx_c_error.c; \ then mv -f ".deps/gbx_c_error.Tpo" ".deps/gbx_c_error.Plo"; else rm -f ".deps/gbx_c_error.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_error.lo -MD -MP -MF .deps/gbx_c_error.Tpo -c gbx_c_error.c -fPIC -DPIC -o gbx_c_error.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_gambas.lo -MD -MP -MF ".deps/gbx_c_gambas.Tpo" -c -o gbx_c_gambas.lo gbx_c_gambas.c; \ then mv -f ".deps/gbx_c_gambas.Tpo" ".deps/gbx_c_gambas.Plo"; else rm -f ".deps/gbx_c_gambas.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_gambas.lo -MD -MP -MF .deps/gbx_c_gambas.Tpo -c gbx_c_gambas.c -fPIC -DPIC -o gbx_c_gambas.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_file.lo -MD -MP -MF ".deps/gbx_c_file.Tpo" -c -o gbx_c_file.lo gbx_c_file.c; \ then mv -f ".deps/gbx_c_file.Tpo" ".deps/gbx_c_file.Plo"; else rm -f ".deps/gbx_c_file.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_file.lo -MD -MP -MF .deps/gbx_c_file.Tpo -c gbx_c_file.c -fPIC -DPIC -o gbx_c_file.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_application.lo -MD -MP -MF ".deps/gbx_c_application.Tpo" -c -o gbx_c_application.lo gbx_c_application.c; \ then mv -f ".deps/gbx_c_application.Tpo" ".deps/gbx_c_application.Plo"; else rm -f ".deps/gbx_c_application.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_application.lo -MD -MP -MF .deps/gbx_c_application.Tpo -c gbx_c_application.c -fPIC -DPIC -o gbx_c_application.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_array.lo -MD -MP -MF ".deps/gbx_c_array.Tpo" -c -o gbx_c_array.lo gbx_c_array.c; \ then mv -f ".deps/gbx_c_array.Tpo" ".deps/gbx_c_array.Plo"; else rm -f ".deps/gbx_c_array.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_array.lo -MD -MP -MF .deps/gbx_c_array.Tpo -c gbx_c_array.c -fPIC -DPIC -o gbx_c_array.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_process.lo -MD -MP -MF ".deps/gbx_c_process.Tpo" -c -o gbx_c_process.lo gbx_c_process.c; \ then mv -f ".deps/gbx_c_process.Tpo" ".deps/gbx_c_process.Plo"; else rm -f ".deps/gbx_c_process.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_process.lo -MD -MP -MF .deps/gbx_c_process.Tpo -c gbx_c_process.c -fPIC -DPIC -o gbx_c_process.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_subcollection.lo -MD -MP -MF ".deps/gbx_c_subcollection.Tpo" -c -o gbx_c_subcollection.lo gbx_c_subcollection.c; \ then mv -f ".deps/gbx_c_subcollection.Tpo" ".deps/gbx_c_subcollection.Plo"; else rm -f ".deps/gbx_c_subcollection.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_subcollection.lo -MD -MP -MF .deps/gbx_c_subcollection.Tpo -c gbx_c_subcollection.c -fPIC -DPIC -o gbx_c_subcollection.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_string.lo -MD -MP -MF ".deps/gbx_c_string.Tpo" -c -o gbx_c_string.lo gbx_c_string.c; \ then mv -f ".deps/gbx_c_string.Tpo" ".deps/gbx_c_string.Plo"; else rm -f ".deps/gbx_c_string.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_string.lo -MD -MP -MF .deps/gbx_c_string.Tpo -c gbx_c_string.c -fPIC -DPIC -o gbx_c_string.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_settings.lo -MD -MP -MF ".deps/gbx_c_settings.Tpo" -c -o gbx_c_settings.lo gbx_c_settings.c; \ then mv -f ".deps/gbx_c_settings.Tpo" ".deps/gbx_c_settings.Plo"; else rm -f ".deps/gbx_c_settings.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_c_settings.lo -MD -MP -MF .deps/gbx_c_settings.Tpo -c gbx_c_settings.c -fPIC -DPIC -o gbx_c_settings.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_info.lo -MD -MP -MF ".deps/gbx_class_info.Tpo" -c -o gbx_class_info.lo gbx_class_info.c; \ then mv -f ".deps/gbx_class_info.Tpo" ".deps/gbx_class_info.Plo"; else rm -f ".deps/gbx_class_info.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_info.lo -MD -MP -MF .deps/gbx_class_info.Tpo -c gbx_class_info.c -fPIC -DPIC -o gbx_class_info.lo /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.la -rpath /opt/gambas/lib/gambas -z defs gb_common.lo gb_error.lo gb_alloc.lo gb_array.lo gbx_stack.lo gb_buffer.lo gbx_replace.lo gbx_list.lo gbx_hash.lo gb_table.lo gbx_type.lo gbx_value.lo gbx_subst.lo gbx_exec.lo gbx_exec_push.lo gbx_exec_enum.lo gbx_exec_pop.lo gbx_exec_loop.lo gbx_pcode.lo gbx_trace.lo gbx_class_init.lo gbx_class.lo gbx_class_native.lo gbx_class_load.lo gbx_event.lo gb_file.lo gbx_stream.lo gbx_stream_direct.lo gbx_stream_buffer.lo gbx_stream_memory.lo gbx_stream_arch.lo gbx_stream_process.lo gbx_project.lo gbx_library.lo gbx_subr.lo gbx_subr_file.lo gbx_subr_string.lo gbx_subr_conv.lo gbx_subr_time.lo gbx_subr_misc.lo gbx_math.lo gbx_subr_math.lo gbx_subr_test.lo gbx_api.lo gbx_local.lo gbx_regexp.lo gbx_archive.lo gbx_watch.lo gbx_eval.lo gbx_compare.lo gbx_number.lo gbx_object.lo gbx_string.lo gbx_variant.lo gbx_date.lo gbx_array.lo gbx_c_class.lo gbx_c_collection.lo gbx_c_error.lo gbx_c_gambas.lo gbx_c_file.lo gbx_c_application.lo gbx_c_array.lo gbx_c_process.lo gbx_c_subcollection.lo gbx_c_string.lo gbx_c_settings.lo gbx_class_info.lo -lm ../../libltdl/libltdlc.la mkdir .libs rm -fr .libs/lib.gb.la .libs/lib.gb.* .libs/lib.gb.* (cd . && ln -s gb_common.lo gb_common.o) (cd . && ln -s gb_error.lo gb_error.o) (cd . && ln -s gb_alloc.lo gb_alloc.o) (cd . && ln -s gb_array.lo gb_array.o) (cd . && ln -s gbx_stack.lo gbx_stack.o) (cd . && ln -s gb_buffer.lo gb_buffer.o) (cd . && ln -s gbx_replace.lo gbx_replace.o) (cd . && ln -s gbx_list.lo gbx_list.o) (cd . && ln -s gbx_hash.lo gbx_hash.o) (cd . && ln -s gb_table.lo gb_table.o) (cd . && ln -s gbx_type.lo gbx_type.o) (cd . && ln -s gbx_value.lo gbx_value.o) (cd . && ln -s gbx_subst.lo gbx_subst.o) (cd . && ln -s gbx_exec.lo gbx_exec.o) (cd . && ln -s gbx_exec_push.lo gbx_exec_push.o) (cd . && ln -s gbx_exec_enum.lo gbx_exec_enum.o) (cd . && ln -s gbx_exec_pop.lo gbx_exec_pop.o) (cd . && ln -s gbx_exec_loop.lo gbx_exec_loop.o) (cd . && ln -s gbx_pcode.lo gbx_pcode.o) (cd . && ln -s gbx_trace.lo gbx_trace.o) (cd . && ln -s gbx_class_init.lo gbx_class_init.o) (cd . && ln -s gbx_class.lo gbx_class.o) (cd . && ln -s gbx_class_native.lo gbx_class_native.o) (cd . && ln -s gbx_class_load.lo gbx_class_load.o) (cd . && ln -s gbx_event.lo gbx_event.o) (cd . && ln -s gb_file.lo gb_file.o) (cd . && ln -s gbx_stream.lo gbx_stream.o) (cd . && ln -s gbx_stream_direct.lo gbx_stream_direct.o) (cd . && ln -s gbx_stream_buffer.lo gbx_stream_buffer.o) (cd . && ln -s gbx_stream_memory.lo gbx_stream_memory.o) (cd . && ln -s gbx_stream_arch.lo gbx_stream_arch.o) (cd . && ln -s gbx_stream_process.lo gbx_stream_process.o) (cd . && ln -s gbx_project.lo gbx_project.o) (cd . && ln -s gbx_library.lo gbx_library.o) (cd . && ln -s gbx_subr.lo gbx_subr.o) (cd . && ln -s gbx_subr_file.lo gbx_subr_file.o) (cd . && ln -s gbx_subr_string.lo gbx_subr_string.o) (cd . && ln -s gbx_subr_conv.lo gbx_subr_conv.o) (cd . && ln -s gbx_subr_time.lo gbx_subr_time.o) (cd . && ln -s gbx_subr_misc.lo gbx_subr_misc.o) (cd . && ln -s gbx_math.lo gbx_math.o) (cd . && ln -s gbx_subr_math.lo gbx_subr_math.o) (cd . && ln -s gbx_subr_test.lo gbx_subr_test.o) (cd . && ln -s gbx_api.lo gbx_api.o) (cd . && ln -s gbx_local.lo gbx_local.o) (cd . && ln -s gbx_regexp.lo gbx_regexp.o) (cd . && ln -s gbx_archive.lo gbx_archive.o) (cd . && ln -s gbx_watch.lo gbx_watch.o) (cd . && ln -s gbx_eval.lo gbx_eval.o) (cd . && ln -s gbx_compare.lo gbx_compare.o) (cd . && ln -s gbx_number.lo gbx_number.o) (cd . && ln -s gbx_object.lo gbx_object.o) (cd . && ln -s gbx_string.lo gbx_string.o) (cd . && ln -s gbx_variant.lo gbx_variant.o) (cd . && ln -s gbx_date.lo gbx_date.o) (cd . && ln -s gbx_array.lo gbx_array.o) (cd . && ln -s gbx_c_class.lo gbx_c_class.o) (cd . && ln -s gbx_c_collection.lo gbx_c_collection.o) (cd . && ln -s gbx_c_error.lo gbx_c_error.o) (cd . && ln -s gbx_c_gambas.lo gbx_c_gambas.o) (cd . && ln -s gbx_c_file.lo gbx_c_file.o) (cd . && ln -s gbx_c_application.lo gbx_c_application.o) (cd . && ln -s gbx_c_array.lo gbx_c_array.o) (cd . && ln -s gbx_c_process.lo gbx_c_process.o) (cd . && ln -s gbx_c_subcollection.lo gbx_c_subcollection.o) (cd . && ln -s gbx_c_string.lo gbx_c_string.o) (cd . && ln -s gbx_c_settings.lo gbx_c_settings.o) (cd . && ln -s gbx_class_info.lo gbx_class_info.o) gcc -shared gb_common.lo gb_error.lo gb_alloc.lo gb_array.lo gbx_stack.lo gb_buffer.lo gbx_replace.lo gbx_list.lo gbx_hash.lo gb_table.lo gbx_type.lo gbx_value.lo gbx_subst.lo gbx_exec.lo gbx_exec_push.lo gbx_exec_enum.lo gbx_exec_pop.lo gbx_exec_loop.lo gbx_pcode.lo gbx_trace.lo gbx_class_init.lo gbx_class.lo gbx_class_native.lo gbx_class_load.lo gbx_event.lo gb_file.lo gbx_stream.lo gbx_stream_direct.lo gbx_stream_buffer.lo gbx_stream_memory.lo gbx_stream_arch.lo gbx_stream_process.lo gbx_project.lo gbx_library.lo gbx_subr.lo gbx_subr_file.lo gbx_subr_string.lo gbx_subr_conv.lo gbx_subr_time.lo gbx_subr_misc.lo gbx_math.lo gbx_subr_math.lo gbx_subr_test.lo gbx_api.lo gbx_local.lo gbx_regexp.lo gbx_archive.lo gbx_watch.lo gbx_eval.lo gbx_compare.lo gbx_number.lo gbx_object.lo gbx_string.lo gbx_variant.lo gbx_date.lo gbx_array.lo gbx_c_class.lo gbx_c_collection.lo gbx_c_error.lo gbx_c_gambas.lo gbx_c_file.lo gbx_c_application.lo gbx_c_array.lo gbx_c_process.lo gbx_c_subcollection.lo gbx_c_string.lo gbx_c_settings.lo gbx_class_info.lo -Wl,--whole-archive ../../libltdl/.libs/libltdlc.al -Wl,--no-whole-archive -lm ../../libltdl/.libs/libltdlc.al -ldl -Wl,-soname -Wl,lib.gb.so.0 -o .libs/lib.gb.so.0.0.0 (cd .libs && rm -f lib.gb.so.0 && ln -s lib.gb.so.0.0.0 lib.gb.so.0) (cd .libs && rm -f lib.gb.so && ln -s lib.gb.so.0.0.0 lib.gb.so) creating lib.gb.la (cd .libs && rm -f lib.gb.la && ln -s ../lib.gb.la lib.gb.la) if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx.o -MD -MP -MF ".deps/gbx.Tpo" -c -o gbx.o gbx.c; \ then mv -f ".deps/gbx.Tpo" ".deps/gbx.Po"; else rm -f ".deps/gbx.Tpo"; exit 1; fi /bin/sh ../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gbx gb_common.o gb_error.o gb_alloc.o gb_array.o gbx_stack.o gb_buffer.o gbx_replace.o gbx_list.o gbx_hash.o gb_table.o gbx_type.o gbx_value.o gbx_subst.o gbx_exec.o gbx_exec_push.o gbx_exec_enum.o gbx_exec_pop.o gbx_exec_loop.o gbx_pcode.o gbx_trace.o gbx_class_init.o gbx_class.o gbx_class_native.o gbx_class_load.o gbx_event.o gb_file.o gbx_stream.o gbx_stream_direct.o gbx_stream_buffer.o gbx_stream_memory.o gbx_stream_arch.o gbx_stream_process.o gbx_project.o gbx_library.o gbx_subr.o gbx_subr_file.o gbx_subr_string.o gbx_subr_conv.o gbx_subr_time.o gbx_subr_misc.o gbx_math.o gbx_subr_math.o gbx_subr_test.o gbx_api.o gbx_local.o gbx_regexp.o gbx_archive.o gbx_watch.o gbx_eval.o gbx_compare.o gbx.o gbx_number.o gbx_object.o gbx_string.o gbx_variant.o gbx_date.o gbx_array.o gbx_c_class.o gbx_c_collection.o gbx_c_error.o gbx_c_gambas.o gbx_c_file.o gbx_c_application.o gbx_c_array.o gbx_c_process.o gbx_c_subcollection.o gbx_c_string.o gbx_c_settings.o -lm @GETTEXT_LIB@ ../../libltdl/libltdlc.la gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o gbx gb_common.o gb_error.o gb_alloc.o gb_array.o gbx_stack.o gb_buffer.o gbx_replace.o gbx_list.o gbx_hash.o gb_table.o gbx_type.o gbx_value.o gbx_subst.o gbx_exec.o gbx_exec_push.o gbx_exec_enum.o gbx_exec_pop.o gbx_exec_loop.o gbx_pcode.o gbx_trace.o gbx_class_init.o gbx_class.o gbx_class_native.o gbx_class_load.o gbx_event.o gb_file.o gbx_stream.o gbx_stream_direct.o gbx_stream_buffer.o gbx_stream_memory.o gbx_stream_arch.o gbx_stream_process.o gbx_project.o gbx_library.o gbx_subr.o gbx_subr_file.o gbx_subr_string.o gbx_subr_conv.o gbx_subr_time.o gbx_subr_misc.o gbx_math.o gbx_subr_math.o gbx_subr_test.o gbx_api.o gbx_local.o gbx_regexp.o gbx_archive.o gbx_watch.o gbx_eval.o gbx_compare.o gbx.o gbx_number.o gbx_object.o gbx_string.o gbx_variant.o gbx_date.o gbx_array.o gbx_c_class.o gbx_c_collection.o gbx_c_error.o gbx_c_gambas.o gbx_c_file.o gbx_c_application.o gbx_c_array.o gbx_c_process.o gbx_c_subcollection.o gbx_c_string.o gbx_c_settings.o @GETTEXT_LIB@ -lm ../../libltdl/.libs/libltdlc.al -ldl gcc: @GETTEXT_LIB@: No such file or directory distcc[1667] ERROR: compile (null) on localhost failed make[3]: *** [gbx] Erreur 1 make[3]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4/src/exec' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4/src' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4' make: *** [all] Erreur 2 Making install in libltdl make[1]: Entering directory `/home/lordh/partage/gambas-0.99.RC4/libltdl' make[2]: Entering directory `/home/lordh/partage/gambas-0.99.RC4/libltdl' test -z "/opt/gambas/lib" || mkdir -p -- . "/opt/gambas/lib" test -z "/opt/gambas/include" || mkdir -p -- . "/opt/gambas/include" mkdir: Ne peut cr?er le r?pertoire `/opt/gambas/include': Permission non accord?e make[2]: *** [install-includeHEADERS] Erreur 1 make[2]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4/libltdl' make[1]: *** [install-am] Erreur 2 make[1]: Leaving directory `/home/lordh/partage/gambas-0.99.RC4/libltdl' make: *** [install-recursive] Erreur 1 From karl.reinl at ...9... Thu Dec 16 19:55:48 2004 From: karl.reinl at ...9... (Charlie) Date: Thu, 16 Dec 2004 19:55:48 +0100 Subject: [Gambas-user] strange ! cannot built gambas anymore !! References: <200412161933.19470.lordheavy@...512...> Message-ID: <41C1DA34.9020500@...9...> Laurent Carlier schrieb: >I cannot built gambas anymore, it seems to fail with gettext. > >Autoconf: sys-devel/autoconf-2.59-r5 >Automake: sys-devel/automake-1.8.5-r1 >Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 >Headers: sys-kernel/linux-headers-2.4.21-r1 >Libtools: sys-devel/libtool-1.5.2-r7 >gcc-3.3.4, glibc-2.3.4.20040808-r1 > >join is reconf output and compile output :) > > Salut, if I remember well , reading gcc output from down up so I see : mkdir: Ne peut cr?er le r?pertoire `/opt/gambas/include': Permission non accord?e Is this this the problem ? Rights ? Amicalment Charlie From amon at ...715... Thu Dec 16 21:44:09 2004 From: amon at ...715... (Amon Forstmann) Date: Thu, 16 Dec 2004 21:44:09 +0100 Subject: [Gambas-user] Re: URL Format: Converting whitespaces to %20 In-Reply-To: <200412151923.38092.christian.faurebouvard@...357...> References: <1103150195.26204.0.camel@...40...> <200412151923.38092.christian.faurebouvard@...357...> Message-ID: <1103229849.25629.0.camel@...40...> Thank you it worked. Amon Am Mittwoch, den 15.12.2004, 19:23 -0300 schrieb Christian Faure: > El Mi?rcoles, 15 de Diciembre de 2004 19:36, Amon Forstmann escribi?: > > Hi there, > > > > I'd like to convert whitespaces in a string to "%20" _BUT_ > > without the use of Temp$ and sed. > > > > I've really no idea how to do something like that. > > > > thx for your help > > Amon > > try Replace function like this: > url = Replace(url," ","%20) > > Regards. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From panpan at ...726... Fri Dec 17 07:37:34 2004 From: panpan at ...726... (P@...727...@N) Date: Fri, 17 Dec 2004 13:37:34 +0700 Subject: [Gambas-user] RE: Gambas-user digest, Vol 1 #1053 - 4 msgs In-Reply-To: <20041216145301.9D9771D08C5@...640...> Message-ID: Thank you Pablo, I have been doing that all this time. Since I want to use the tag property for another purpose, now I'm looking another better or proper approach, if there are any. I like my program to know the type of each control in the form using the "type" of the control. I tried this : ---------------------------------------- Dim Kontrol as Control For Each Kontrol in fmOne.Children Message(Str(TypeOf(Kontrol))) Next ---------------------------------------- It always return 16 whether the control is button, textbox, or else. I guess 16 is TypeOf "Control" itself eh? Anybody has another way? Please? Thx anyone salam -iggy > Date: Thu, 16 Dec 2004 08:08:46 -0600 > From: Pablo Vera > Organization: VERCAN Consultores, SA de CV > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] need help : form control (another one) > Reply-To: gambas-user at lists.sourceforge.net > > You could add a PUBLIC FUNCTION to fmOne that returns the number of > textboxes. For this to work, you need to use the TAG property of each > control to identify it. Every time you create a Textbox, you need to > assign the string "textbox" to its TAG property. > > > In fmOne: > > PUBLIC FUNCTION CountTextboxes() AS Integer > DIM ctl AS Control > DIM Count AS Integer > Count = 0 > FOR EACH ctl IN ME.Children > IF ctl.TAG = "textbox" THEN Count = Count + 1 > NEXT > RETURN Count > END > > > In fmMain: > > PUBLIC SUB btnGo_Click() > txtCount.Text = fmOne.CountTextboxes > END > > > I hope this helps. > > Saludos, > Pablo Vera > > > > Iggy Budiman wrote: > > >Hi all, > >I have another question about form controls. > > > >2 forms (fmMain and fmOne) > >fmMain has 1 textbox (txtCount) and 1 button (btnGo) > >fmOne has many controls, several labels, buttons and textboxes. > > > >What I want to do is : > >When I click btnGo @fmMain, txtCount @fmMain display the number > of textboxes > >at fmOne > > > >Thanks b4 > > > >little info for Benoit : In my country, Gambas is local > vegetable (cucumber > >family) > >When I talk to people about your Gambas, everybody always > listened with big > >smile. From iggy at ...726... Fri Dec 17 07:38:14 2004 From: iggy at ...726... (Iggy Budiman) Date: Fri, 17 Dec 2004 13:38:14 +0700 Subject: [Gambas-user] Re: need help : form control (another one) In-Reply-To: <20041216145301.9D9771D08C5@...640...> Message-ID: > From: Bodard Fabien > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] need help : form control (another one) > Date: Thu, 16 Dec 2004 12:44:13 +0100 > Reply-To: gambas-user at lists.sourceforge.net > > Le jeudi 16 D=E9cembre 2004 05:43, Iggy Budiman a =E9crit=A0: > > little info for Benoit : In my country, Gambas is local > vegetable (cucumb= > er > > family) > what is your country ? I lives in Sidoarjo, Java Island. salam -iggy From budi at ...415... Fri Dec 17 08:08:50 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Fri, 17 Dec 2004 14:08:50 +0700 Subject: [Gambas-user] Re: need help : form control (another one) In-Reply-To: References: <20041216145301.9D9771D08C5@...640...> Message-ID: <2110375652.20041217140850@...415...> Hello Iggy, Euh...lumayan ada 5 orang jadinya orang Indo yang belajar gambas via milist ;) Budi Friday, December 17, 2004, 1:38:14 PM, you wrote: >> From: Bodard Fabien >> To: gambas-user at lists.sourceforge.net >> Subject: Re: [Gambas-user] need help : form control (another one) >> Date: Thu, 16 Dec 2004 12:44:13 +0100 >> Reply-To: gambas-user at lists.sourceforge.net >> >> Le jeudi 16 D=E9cembre 2004 05:43, Iggy Budiman a =E9crit=A0: >> > little info for Benoit : In my country, Gambas is local >> vegetable (cucumb= >> er >> > family) >> what is your country ? > I lives in Sidoarjo, Java Island. > salam > -iggy > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Best regards, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From eilert-sprachen at ...221... Fri Dec 17 11:25:26 2004 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 17 Dec 2004 11:25:26 +0100 Subject: [Gambas-user] String converting Message-ID: <41C2B416.1010606@...221...> Hi, just want to know if there's any easy way to convert a string containing HTML-like tags (é for example) into standard Gambas strings (UTF, aren't they) and vice versa. If there is no function built in, I'll have to rely on my own one created for VB, but that is rather slow of course. Conv$() (i. e. iconv) doesn't support this, does it? Rolf From blixtra at ...626... Sat Dec 18 21:09:03 2004 From: blixtra at ...626... (Chris Wilson) Date: Sat, 18 Dec 2004 21:09:03 +0100 Subject: [Gambas-user] BUG: Syntax error in form file Message-ID: <69dead7b04121812093deb965b@...627...> Hi all, Like the last time I tried to compile and it seemingly hung but I was able to find the error only by looking into the error file in /tmp/gambas/. So again, It'd be nice if the user were enformed with a dialog. The error seemed to fix itself after I moved a text box a little. Chris From jscops at ...11... Sat Dec 18 22:16:59 2004 From: jscops at ...11... (Jack) Date: Sat, 18 Dec 2004 22:16:59 +0100 Subject: [Gambas-user] Event key Message-ID: <200412182216.59299.jscops@...11...> Bonjour ? tous, Is this phraseology correct ? If key.Code=key.Enter or key.code =key.Return or key.code=key.Tab then ... Because in my program, cursor dump one field for each case i validate with the Tab key. The "Key.code=key.tab" control, seem work like if i press twice time the Tab key. Do you unterstand that i say ? Please see the snapshot below. In the first png that is the first position. The focus is in the first field. When i press Tab the program put the focus in the next field but the cursor and the select field are in the third field like the second snapshot show. When i use the return key, all work normally. Where is my mistake. ~? Jack ?~ -------------- next part -------------- A non-text attachment was scrubbed... Name: Par1.png Type: image/png Size: 54508 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Par2.png Type: image/png Size: 54550 bytes Desc: not available URL: From gambas at ...1... Sat Dec 18 19:11:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 18 Dec 2004 19:11:36 +0100 Subject: [Gambas-user] Re: [Gambas-devel] strange ! cannot built gambas anymore !! In-Reply-To: <200412161933.19470.lordheavy@...512...> References: <200412161933.19470.lordheavy@...512...> Message-ID: <200412181911.36961.gambas@...1...> On Thursday 16 December 2004 19:33, Laurent Carlier wrote: > I cannot built gambas anymore, it seems to fail with gettext. > > Autoconf: sys-devel/autoconf-2.59-r5 > Automake: sys-devel/automake-1.8.5-r1 > Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 > Headers: sys-kernel/linux-headers-2.4.21-r1 > Libtools: sys-devel/libtool-1.5.2-r7 > gcc-3.3.4, glibc-2.3.4.20040808-r1 > > join is reconf output and compile output :) I have just updated the source package with: - autoconf 2.59 - automake 1.8.5 - libtool 1.5.6 The 1.0 RC5 will use them. Everything seems to work... Some other people had the same problem with the GETTEXT macro being not defined, but I couldn't reproduce it. Regards, -- Benoit Minisini mailto:gambas at ...1... From w at ...731... Mon Dec 20 01:30:48 2004 From: w at ...731... (Ing. Vincenzo Virgilio) Date: Mon, 20 Dec 2004 01:30:48 +0100 Subject: [Gambas-user] gamba.it Message-ID: <41C61D38.5060903@...731...> Hi! To all italian gambas users; we are trying to create a support for gambas in italy and started translating part of the gambas sourceforge site to italian and some documentation. You can find everything and give help from www.gambas.it. Also was founded a ML on yahoogroups. It's gambas-it and you can find it on the www.gambas.it web site to. Siete i benvenuti! Vincenzo Virgilio Presidente SputniX Ass.ne utenti Linux Universitari e non Palermo - Sicilia From iggy at ...726... Mon Dec 20 02:08:09 2004 From: iggy at ...726... (Iggy Budiman) Date: Mon, 20 Dec 2004 08:08:09 +0700 Subject: [Gambas-user] RE: Gambas-user digest, Vol 1 #1056 - 4 msgs In-Reply-To: <20041218040616.2FFAA1D1281@...640...> Message-ID: > Date: Fri, 17 Dec 2004 14:08:50 +0700 > From: BUDI ARIEF GUSANDI > Organization: PT. Suar Reka Informatika > To: Iggy Budiman > Subject: Re: [Gambas-user] Re: need help : form control (another one) > Reply-To: gambas-user at lists.sourceforge.net > > ------------116EFAB1A39ED13 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Hello Iggy, > > Euh...lumayan ada 5 orang jadinya orang Indo yang belajar gambas > via milist ;) > > Budi Hi Budi, good to know you too. Hope this Gambas can replace thousands of pirated VB and others in our country. salam -iggy (hey... I'm a "Budi"man too) From iwan at ...519... Mon Dec 20 08:50:13 2004 From: iwan at ...519... (Iwan Prasetyo) Date: Mon, 20 Dec 2004 14:50:13 +0700 Subject: [Gambas-user] RE: Gambas-user digest, Vol 1 #1056 - 4 msgs In-Reply-To: Message-ID: <200412200741.iBK7f17Q026197@...564...> There's already 1 app for Parking pos in Citraland smg, new parking area:). Gambas and postgresql, although it's still rc3 but it runs properly...(and nice:~p) Regards, Iwan Prasetyo ---------------------- (try to impress ur boss? Show them up with Linux GUI app) -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Iggy Budiman Sent: Monday, December 20, 2004 08:08 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] RE: Gambas-user digest, Vol 1 #1056 - 4 msgs > Date: Fri, 17 Dec 2004 14:08:50 +0700 > From: BUDI ARIEF GUSANDI > Organization: PT. Suar Reka Informatika > To: Iggy Budiman > Subject: Re: [Gambas-user] Re: need help : form control (another one) > Reply-To: gambas-user at lists.sourceforge.net > > ------------116EFAB1A39ED13 > Content-Type: text/plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Hello Iggy, > > Euh...lumayan ada 5 orang jadinya orang Indo yang belajar gambas via > milist ;) > > Budi Hi Budi, good to know you too. Hope this Gambas can replace thousands of pirated VB and others in our country. salam -iggy (hey... I'm a "Budi"man too) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From roberto.premoli at ...422... Mon Dec 20 10:44:12 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Mon, 20 Dec 2004 04:44:12 -0500 Subject: R: [Gambas-user] gamba.it Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D15EE@...423...> Fico! La traduzione italiana di gambas, ale! Cool! The italian translation of gambas, wow! Gambas (will) rulez! Roberto >Hi! > >To all italian gambas users; we are trying to create a support for gambas in italy and started >translating part of the gambas sourceforge site to italian and some documentation. >You can find everything and give help from www.gambas.it. >Also was founded a ML on yahoogroups. >It's gambas-it and you can find it on the www.gambas.it web site to. From gambas at ...1... Mon Dec 20 11:31:10 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Dec 2004 11:31:10 +0100 Subject: [Gambas-user] Event key In-Reply-To: <200412182216.59299.jscops@...11...> References: <200412182216.59299.jscops@...11...> Message-ID: <200412201131.10892.gambas@...1...> On Saturday 18 December 2004 22:16, Jack wrote: > Bonjour ? tous, > > Is this phraseology correct ? > If key.Code=key.Enter or key.code =key.Return or key.code=key.Tab then ... > > Because in my program, cursor dump one field for each case i validate with > the Tab key. The "Key.code=key.tab" control, seem work like if i press > twice time the Tab key. > Do you unterstand that i say ? No, but send your project! I need it to debug... > Please see the snapshot below. > In the first png that is the first position. The focus is in the first > field. When i press Tab the program put the focus in the next field but the > cursor and the select field are in the third field like the second > snapshot show. When i use the return key, all work normally. > Where is my mistake. > > ~? Jack ?~ Regards, -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Mon Dec 20 12:16:16 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 20 Dec 2004 12:16:16 +0100 Subject: [Gambas-user] Event key In-Reply-To: <200412182216.59299.jscops@...11...> References: <200412182216.59299.jscops@...11...> Message-ID: <41C6B480.3010103@...221...> Bonjour Jack, > Is this phraseology correct ? > If key.Code=key.Enter or key.code =key.Return or key.code=key.Tab then ... I would prefer select case key.Code case key.Enter, key.Return 'do something case key.Tab 'do something else case else 'whatever end select > Because in my program, cursor dump one field for each case i validate with the > Tab key. The "Key.code=key.tab" control, seem work like if i press twice > time the Tab key. The fields should be jumped to automatically. So maybe you overrun this feature and everything goes across. Did you adjust the numbers for the input-fields? Hey, I just tried to make an example, but there is no way to determine the tab-number or tab-order for a TextBox - or am I blind? :-) > Please see the snapshot below. Yes, looks strange! Rolf From eilert-sprachen at ...221... Mon Dec 20 12:28:53 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 20 Dec 2004 12:28:53 +0100 Subject: [Gambas-user] Program runs wild Message-ID: <41C6B775.3040106@...221...> Hi, this is a small Gambas app I made for monitoring who is online in the system. The program calls "who" and displays the output in a list. There is an LCD number showing the number of people logged in. That's all. There is no regular base on which the program starts going nuts. All I can say is "sometimes" it starts consuming more and more processing power while still keeping to run. If I stop it and restart it, everything is fine again, until next time... :-) Here is the code: ' Gambas class file PUBLIC SUB Form_Open() Form1.Title = "KwhoList 1.0" Form1.X = 713 Form1.Y = 510 Form1.Width = 270 Form1.Height = 280 whoListeLesen END PUBLIC SUB Timer1_Timer() whoListeLesen END PUBLIC SUB Process_Read() DIM t$ AS String LINE INPUT #LAST, t$ ListBox1.Add(t$) LCDNumber1.Value = ListBox1.Count END SUB whoListeLesen() ListBox1.Clear EXEC [ "who" ] FOR READ END PUBLIC SUB Form_Resize() ListBox1.Width = Form1.Width ListBox1.Height = Form1.Height - 50 END --- When initiated, the program reads the list once to have a display. The timer is on 10 seconds. So every 10 seconds I can see a new list. Any ideas where there is a reason for Gambas to start consuming 88 % processing power? Rolf From gambas at ...1... Mon Dec 20 12:38:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Dec 2004 12:38:17 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <41C6B775.3040106@...221...> References: <41C6B775.3040106@...221...> Message-ID: <200412201238.17424.gambas@...1...> On Monday 20 December 2004 12:28, Eilert wrote: > Hi, > > this is a small Gambas app I made for monitoring who is online in the > system. The program calls "who" and displays the output in a list. There > is an LCD number showing the number of people logged in. That's all. > > There is no regular base on which the program starts going nuts. All I > can say is "sometimes" it starts consuming more and more processing > power while still keeping to run. If I stop it and restart it, > everything is fine again, until next time... :-) > > Here is the code: > > ' Gambas class file > > PUBLIC SUB Form_Open() > > Form1.Title = "KwhoList 1.0" > Form1.X = 713 > Form1.Y = 510 > Form1.Width = 270 > Form1.Height = 280 > > whoListeLesen > > END > > PUBLIC SUB Timer1_Timer() > > whoListeLesen > > END > > PUBLIC SUB Process_Read() > DIM t$ AS String > > LINE INPUT #LAST, t$ > > ListBox1.Add(t$) > LCDNumber1.Value = ListBox1.Count > > END > > > SUB whoListeLesen() > > ListBox1.Clear > > EXEC [ "who" ] FOR READ > > > > END > > PUBLIC SUB Form_Resize() > > ListBox1.Width = Form1.Width > ListBox1.Height = Form1.Height - 50 > END > > --- > When initiated, the program reads the list once to have a display. The > timer is on 10 seconds. So every 10 seconds I can see a new list. > > Any ideas where there is a reason for Gambas to start consuming 88 % > processing power? > > Rolf > What happens if you read data from 'who' process this way: ' Gambas class file PRIVATE $sBuffer AS String ... PUBLIC SUB Process_Read() DIM sData AS String DIM iPos AS Integer READ #LAST, sData, -255 $sBuffer = $sBuffer & sData DO iPos = Instr($sBuffer, "\n") IF iPos = 0 then BREAK ListBox1.Add(Left$($sBuffer, iPos - 1)) $sBuffer = Mid$($sBuffer, iPos + 1) LOOP LCDNumber1.Value = ListBox1.Count END ... Tell me the result! Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Mon Dec 20 13:09:08 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 20 Dec 2004 13:09:08 +0100 Subject: [Gambas-user] Gambas 1.0RC5 Message-ID: <200412201309.08620.lordheavy@...512...> Found on the website : 20 Dec 2004 - Release of Gambas 1.0 RC5 This release fixes the bugs detected by users since the RC4. I will make a talk about Gambas at FOSDEM 2005 in Brussels, during week-end February 26 & 27. Now I must think about what I will say! :-) --------------------------------------------------------------------------- ChangeLog : The package was updated with autoconf 2.59, automake 1.8.5 and libtool 1.5.6. - Development Environment BUG: the file type combo-box is now displayed correctly with GUI styles like Keramik. - Interpreter BUG: Converting negative floating point numbers to date/time values now works correctly. - Compiler BUG: The archiver now can handle correctly project whose name include point characters. BUG: Now the compiler can handle forms imbricated up to 32 levels. - Qt Component BUG: TableView headers do not resize anymore when inserting or removing rows or columns. The WAIT instruction now handles mouse and keyboard events when its duration parameter is greater than zero. -- Laurent Carlier From gambas at ...1... Mon Dec 20 13:20:50 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Dec 2004 13:20:50 +0100 Subject: [Gambas-user] gambas 1.0 RC5 Message-ID: <200412201320.50871.gambas@...1...> Hi, everybody. Here is the RC5. The most important thing in this release is the update of GNU autoconf/automake/libtool. This should solve some problems on systems that are not Linux/x86. For more info, read the ChangeLog, or the mail of Laurent Carlier that couldn't wait for me finish my lunch before posting this announce ! I hope this release will compile on all Debian flavors, even if it can't work on 64 bits systems, and that the behaviour on CygWin will be better. I think I will release 1.0 for the new year :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon Dec 20 13:22:03 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 20 Dec 2004 07:22:03 -0500 Subject: [Gambas-user] Event key In-Reply-To: <200412182216.59299.jscops@...11...> References: <200412182216.59299.jscops@...11...> Message-ID: <200412200722.03673.sourceforge-raindog2@...94...> On Saturday 18 December 2004 16:16, Jack wrote: > In the first png that is the first position. The focus is in > the first field. When i press Tab the program put the focus in > the next field but the cursor and the select field are in the > third field like the second snapshot show. When i use the > return key, all work normally. > Where is my mistake. It sounds like you're forgetting to use STOP EVENT before your END IF. Could you possibly post your code? Rob From sourceforge-raindog2 at ...94... Mon Dec 20 13:24:17 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 20 Dec 2004 07:24:17 -0500 Subject: [Gambas-user] Event key In-Reply-To: <41C6B480.3010103@...221...> References: <200412182216.59299.jscops@...11...> <41C6B480.3010103@...221...> Message-ID: <200412200724.17453.sourceforge-raindog2@...94...> On Monday 20 December 2004 06:16, Eilert wrote: > Hey, I just tried to make an example, but there is no way to > determine the tab-number or tab-order for a TextBox - or am I > blind? :-) There is a way, it's just not obvious :) The tab-order is the same as the Z-order. Try "Bring to front" and "Send to back" in the form editor and see how it affects tab-order. Rob From mauriziopz at ...626... Mon Dec 20 13:38:53 2004 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Mon, 20 Dec 2004 13:38:53 +0100 Subject: R: [Gambas-user] gamba.it In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D15EE@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D15EE@...423...> Message-ID: Could you please add the translation of the gambas wiki http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome On Mon, 20 Dec 2004 04:44:12 -0500, Premoli, Roberto [ITPPG/1010] wrote: > Fico! > La traduzione italiana di gambas, ale! > > Cool! > The italian translation of gambas, wow! > > Gambas (will) rulez! > Roberto > > >Hi! > > > >To all italian gambas users; we are trying to create a support for gambas > in italy and started > >translating part of the gambas sourceforge site to italian and some > documentation. > >You can find everything and give help from www.gambas.it. > >Also was founded a ML on yahoogroups. > >It's gambas-it and you can find it on the www.gambas.it web site to. > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Maurizio From lordheavy at ...512... Mon Dec 20 14:02:42 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 20 Dec 2004 14:02:42 +0100 Subject: [Gambas-user] gambas 1.0 RC5 In-Reply-To: <200412201320.50871.gambas@...1...> References: <200412201320.50871.gambas@...1...> Message-ID: <200412201402.42140.lordheavy@...512...> Le Lundi 20 D?cembre 2004 13:20, Benoit Minisini a ?crit?: > Hi, everybody. > > Here is the RC5. > > The most important thing in this release is the update of GNU > autoconf/automake/libtool. This should solve some problems on systems that > are not Linux/x86. > > For more info, read the ChangeLog, or the mail of Laurent Carlier that > couldn't wait for me finish my lunch before posting this announce ! > > I hope this release will compile on all Debian flavors, even if it can't > work on 64 bits systems, and that the behaviour on CygWin will be better. > > I think I will release 1.0 for the new year :-) > > Regards, lunch ? sleep ? no time for that ! :) Regards, -- Laurent Carlier From gambas at ...1... Mon Dec 20 14:58:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Dec 2004 14:58:41 +0100 Subject: [Gambas-user] about gambas database manager Message-ID: <200412201458.41847.gambas@...1...> I just added the following feature to the database manager: Each time you start the program, it prompts for a key string that is used for crypting database passwords in the configuration file. If you don't enter a key string, then connections are not saved nor loaded in the configuration file. What are you thinking about that ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Dec 20 15:07:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Dec 2004 15:07:46 +0100 Subject: [Gambas-user] about gambas database manager In-Reply-To: <200412201458.41847.gambas@...1...> References: <200412201458.41847.gambas@...1...> Message-ID: <200412201507.46489.gambas@...1...> On Monday 20 December 2004 14:58, Benoit Minisini wrote: > I just added the following feature to the database manager: > > Each time you start the program, it prompts for a key string that is used > for crypting database passwords in the configuration file. If you don't > enter a key string, then connections are not saved nor loaded in the > configuration file. > > What are you thinking about that ? Here is the source archive for those who want to test. -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-0.99.63.tar.gz Type: application/x-tgz Size: 204594 bytes Desc: not available URL: From danielcampos at ...282... Mon Dec 20 15:48:06 2004 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 20 Dec 2004 15:48:06 +0100 Subject: [Gambas-user] gambas 1.0 RC5 In-Reply-To: <200412201320.50871.gambas@...1...> References: <200412201320.50871.gambas@...1...> Message-ID: <1103554087.9932.2.camel@...40...> Note for compilers: I had errors using ./reconf, to solve this I had to update "automake": urpmi automake1.8 and urpmi autoconf2.5 As previous versions of these tools seems to be not useful now. Regards, D. Campos From jscops at ...11... Mon Dec 20 16:13:35 2004 From: jscops at ...11... (jscops) Date: Mon, 20 Dec 2004 16:13:35 +0100 (CET) Subject: [Gambas-user] Event key Message-ID: <27654228.1103555615620.JavaMail.www@...732...> Thank you very much to all, you are too strong. We must put a stop event after each control. Exemple : Public sub Cmpt_KeyPress() Select case Last.Tag Case 1 If Key.Code=Key.Enter or Key.Code=Key.Return or Key.Code=Key.Tab then " Make something" Stop Event End If Case 2 If Key.Code=Key.Enter or Key.Code=Key.Return or Key.Code=Key.Tag then "Make another thing" Stop Event End if Etc .... I learn something every day with you ~? Jack ?~ > Message du 20/12/04 13:23 > De : "Rob" > A : gambas-user at lists.sourceforge.net > Copie ? : > Objet : Re: [Gambas-user] Event key > On Saturday 18 December 2004 16:16, Jack wrote: > > In the first png that is the first position. The focus is in > > the first field. When i press Tab the program put the focus in > > the next field but the cursor and the select field are in the > > third field like the second snapshot show. When i use the > > return key, all work normally. > > Where is my mistake. > > It sounds like you're forgetting to use STOP EVENT before your > END IF. Could you possibly post your code? > > Rob > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eilert-sprachen at ...221... Mon Dec 20 16:56:38 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 20 Dec 2004 16:56:38 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <200412201238.17424.gambas@...1...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> Message-ID: <41C6F636.8000501@...221...> Benoit Minisini schrieb: > On Monday 20 December 2004 12:28, Eilert wrote: > >>Hi, >> >>this is a small Gambas app I made for monitoring who is online in the >>system. The program calls "who" and displays the output in a list. There >>is an LCD number showing the number of people logged in. That's all. >> >>There is no regular base on which the program starts going nuts. All I >>can say is "sometimes" it starts consuming more and more processing >>power while still keeping to run. If I stop it and restart it, >>everything is fine again, until next time... :-) >> >>Here is the code: >> >>' Gambas class file >> >>PUBLIC SUB Form_Open() >> >> Form1.Title = "KwhoList 1.0" >> Form1.X = 713 >> Form1.Y = 510 >> Form1.Width = 270 >> Form1.Height = 280 >> >> whoListeLesen >> >>END >> >>PUBLIC SUB Timer1_Timer() >> >> whoListeLesen >> >>END >> >>PUBLIC SUB Process_Read() >>DIM t$ AS String >> >> LINE INPUT #LAST, t$ >> >> ListBox1.Add(t$) >> LCDNumber1.Value = ListBox1.Count >> >>END >> >> >>SUB whoListeLesen() >> >> ListBox1.Clear >> >> EXEC [ "who" ] FOR READ >> >> >> >>END >> >>PUBLIC SUB Form_Resize() >> >> ListBox1.Width = Form1.Width >> ListBox1.Height = Form1.Height - 50 >>END >> >>--- >>When initiated, the program reads the list once to have a display. The >>timer is on 10 seconds. So every 10 seconds I can see a new list. >> >>Any ideas where there is a reason for Gambas to start consuming 88 % >>processing power? >> >>Rolf >> > > > What happens if you read data from 'who' process this way: > > ' Gambas class file > > PRIVATE $sBuffer AS String > > ... > > PUBLIC SUB Process_Read() > > DIM sData AS String > DIM iPos AS Integer > > READ #LAST, sData, -255 > > $sBuffer = $sBuffer & sData > > DO > iPos = Instr($sBuffer, "\n") > IF iPos = 0 then BREAK > > ListBox1.Add(Left$($sBuffer, iPos - 1)) > $sBuffer = Mid$($sBuffer, iPos + 1) > LOOP > > LCDNumber1.Value = ListBox1.Count > > END > > ... > > > Tell me the result! > > Regards, > Thank you for the tip, I'll try to run the changed code tomorrow. By the way, when typing it in, I found that ListBox1.Add(Left$($sBuffer, iPos -1)) resulted in an error "Comma missing". After thinking it over I tried ListBox1.Add(Left$($sBuffer, iPos - 1)) and it was accepted. Isn't that kinda bug? Or do you intend something special with a difference between "-1" and "- 1" ? I think, within this context, - 1 can't mean something different than -1. Rolf From w at ...731... Mon Dec 20 17:28:16 2004 From: w at ...731... (Ing. Vincenzo Virgilio) Date: Mon, 20 Dec 2004 17:28:16 +0100 Subject: [Gambas-user] gambas.it In-Reply-To: <20041220142012.CD6921D0AEE@...640...> References: <20041220142012.CD6921D0AEE@...640...> Message-ID: <41C6FDA0.30506@...731...> I apologize for italian, becouse the remaining part of the message is intended only for italian speaking people that want to contribute/use the italian Gambas support. Sono lieto del vostro entusiamo, cos? come devo ammettere non sapevamo esistesse la traduzione del wiki, anche parziale. Avevo chiesto a Benoit il permesso per registrare gambas.it eccetera e non mi aveva detto nulla, cos? come ero stato in contatto con i ragazzi che avevano curato la traduzione dei messaggi, dei men? eccetera. Il lavoro del wiki mi sembra stagnante, la cosa pi? fresca ? dello scorso Agosto. Per? mi sento uno scemo ad avere ritradotto quello che gi? c'era. I due progetti si sovrappongono sicuramente, mi scuso perch? non lo sapevo. Il punto cruciale ? che l'obiettivo con gambas.it ? tradurre tutte le risorse fondamentali, al 100%. Cosa che nel wiki italiano, iniziato nel 2003, non ? stato fatto. Non sono pratico di wiki, faccio l'HTML un p? con il VI il resto con Mozilla; nulla toglie di inserire il link fra le altre risorse (non c'? fra i link di sourceforge!), ma se il Sig. Di Fusco mi autorizza a prendere le parti che lui ha gi? tradotto e riportarle indicando in calce che le ha tradotte lui, potremmo fare un salto di diverse settimane nel lavoro, realizzando un progetto organico. Se mi autorizza pure a dargli del tu, benissimo. Ribadisco, mi sento scemo ad avere tradotto qualcosa che gi? c'era, ma nessuna delle persone con cui ero entrato in contatto me lo aveva segnalato! Alle volte parlo al singolare, altre volte uso il plurale perch? non sono solo nello sforzo, ma ci sono anche altri ragazzi del LUG siciliano www.SputniX.it; quindi non ? mai stato pensato come un lavoro solitario ma come un lavoro di gruppo. Sentiamoci sulla ML gambas-it a yahoogroups, non vorrei essere richiamato per aver scritto in italiano. It's not polite. Vincenzo Virgilio > 1. RE: RE: Gambas-user digest, Vol 1 #1056 - 4 msgs (Iwan Prasetyo) > 2. R: [Gambas-user] gamba.it (Premoli, Roberto [ITPPG/1010]) > From: "Premoli, Roberto [ITPPG/1010]" > To: "'gambas-user at lists.sourceforge.net'" > Subject: R: [Gambas-user] gamba.it > Date: Mon, 20 Dec 2004 04:44:12 -0500 > Reply-To: gambas-user at lists.sourceforge.net > > Fico! > La traduzione italiana di gambas, ale! > > Cool! > The italian translation of gambas, wow! > > Gambas (will) rulez! > Roberto > From pvera at ...729... Mon Dec 20 19:20:01 2004 From: pvera at ...729... (Pablo Vera) Date: Mon, 20 Dec 2004 12:20:01 -0600 Subject: [Gambas-user] RE: Counting Textboxes In-Reply-To: References: Message-ID: <41C717D1.20004@...729...> After digging through the online manual, I came up with "the solution", replace the code for CountTextboxes as follows: PUBLIC FUNCTION CountTextboxes() AS Integer DIM ctl AS Control DIM Count AS Integer Count = 0 FOR EACH ctl IN ME.Children IF Object.Class(ctl) = "TextBox" THEN Count = Count + 1 NEXT RETURN Count END The Object.Class() method returns the name of the class for the object. Saludos, Pablo Vera P at ...727...@N wrote: >Thank you Pablo, >I have been doing that all this time. > >Since I want to use the tag property for another purpose, >now I'm looking another better or proper approach, if there are any. >I like my program to know the type of each control in the form using the >"type" of the control. > >I tried this : >---------------------------------------- >Dim Kontrol as Control > >For Each Kontrol in fmOne.Children > Message(Str(TypeOf(Kontrol))) >Next >---------------------------------------- >It always return 16 whether the control is button, textbox, or else. >I guess 16 is TypeOf "Control" itself eh? > >Anybody has another way? Please? >Thx anyone > >salam >-iggy > > > >>Date: Thu, 16 Dec 2004 08:08:46 -0600 >>From: Pablo Vera >>Organization: VERCAN Consultores, SA de CV >>To: gambas-user at lists.sourceforge.net >>Subject: Re: [Gambas-user] need help : form control (another one) >>Reply-To: gambas-user at lists.sourceforge.net >> >>You could add a PUBLIC FUNCTION to fmOne that returns the number of >>textboxes. For this to work, you need to use the TAG property of each >>control to identify it. Every time you create a Textbox, you need to >>assign the string "textbox" to its TAG property. >> >> >>In fmOne: >> >>PUBLIC FUNCTION CountTextboxes() AS Integer >>DIM ctl AS Control >>DIM Count AS Integer >> Count = 0 >> FOR EACH ctl IN ME.Children >> IF ctl.TAG = "textbox" THEN Count = Count + 1 >> NEXT >> RETURN Count >>END >> >> >>In fmMain: >> >>PUBLIC SUB btnGo_Click() >> txtCount.Text = fmOne.CountTextboxes >>END >> >> >>I hope this helps. >> >>Saludos, >>Pablo Vera >> >> >> >>Iggy Budiman wrote: >> >> >> >>>Hi all, >>>I have another question about form controls. >>> >>>2 forms (fmMain and fmOne) >>>fmMain has 1 textbox (txtCount) and 1 button (btnGo) >>>fmOne has many controls, several labels, buttons and textboxes. >>> >>>What I want to do is : >>>When I click btnGo @fmMain, txtCount @fmMain display the number >>> >>> >>of textboxes >> >> >>>at fmOne >>> >>>Thanks b4 >>> >>>little info for Benoit : In my country, Gambas is local >>> >>> >>vegetable (cucumber >> >> >>>family) >>>When I talk to people about your Gambas, everybody always >>> >>> >>listened with big >> >> >>>smile. >>> >>> > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.1 - Release Date: 12/20/04 From jochengeorges at ...467... Mon Dec 20 19:52:57 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Mon, 20 Dec 2004 19:52:57 +0100 Subject: [Gambas-user] gambas on woody Message-ID: <200412201952.57713.jochengeorges@...467...> Hello, just to inform you: I tried to install gambas (RC5) on woody (2.4.18) configure make checkinstall was sucessful. But it was not possible to start gambas: user at ...733...:~$ gambas ERROR: #27: Cannot load component '/opt/gambas/lib/gambas/lib.gb.qt.so': /opt/gambas/lib/gambas/lib.gb.qt.so: cannot open shared object file: Datei oder Verzeichnis nicht gefunden archie:/opt# dpkg -l | grep qt ii libqt2 2.3.1-22 Qt GUI Library (runtime version). ii libqt2-mt 2.3.1-22 Qt GUI Library (runtime threaded version). rc libqt3 3.0.3-20020329 Qt GUI Library (runtime version). ii libqt3-headers 3.1.1-8 Qt3 header files rc libqt3-mt 3.0.3-20020329 Qt GUI Library (Threaded runtime version). rc libqt3-mt-psql 3.0.3-20020314 Postgresql database plugin for Qt3 (Threaded rc libqt3-psql 3.0.3-20020314 Postgresql database plugin for Qt3 ii libqt3c102 3.1.1-8 Qt Library ii libqt3c102-mt 3.3.3-7 Qt GUI Library (Threaded runtime version), V ii libqte-mt3 3.1.2-1 Qt/Embedded GUI Library (runtime threaded ve rc python2.3-qt3c 3.8-3 Qt3 bindings for Python 2.3 rc qt-designer 2.3.1-22 Qt GUI Designer ii qt-designer-do 2.3.1-22 Tutorial and reference documentation for Qt ii qt3-dev-tools 3.1.1-8 Qt3 development tools ii qt3-doc 3.0.3-20020329 Tutorial and reference documentation and exa rc qt3-tools 3.0.3-20020329 Qt GUI Designer and other Qt3 based tools ii qte3-mt-mysql 3.1.2-1 Mysql database plugin for Qt3 (Threaded) After that I installed from www.linex.org and it runs fine. Beste Gr??e Jochen From jochengeorges at ...467... Mon Dec 20 20:42:45 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Mon, 20 Dec 2004 20:42:45 +0100 Subject: [Gambas-user] I am back again Message-ID: <200412201951.58209.jochengeorges@...467...> Hello gambonauts, after a long time I'm back on the list. My last gambasversion was 0.52 I think. Now I am surprised how it has develop, great - it looks really good. "www.theeasygambasdoku.de" will be closed soon and the examples does not work anymore, I will fix them in the wiki. Beste Gr??e Jochen From roger125 at ...734... Mon Dec 20 21:25:31 2004 From: roger125 at ...734... (Roger Hallgren) Date: Mon, 20 Dec 2004 12:25:31 -0800 Subject: [Gambas-user] Gambas bug ? KDE/Gnome bug? Linux bug ? Message-ID: <1103574331.3320.12.camel@...735...> Who's bug is it ? Create a form. Add the following code. PUBLIC SUB Form_Close() STOP EVENT END Then Make Executable. Run the executable and you won't be able to log out of KDE/Gnome. WARNING ! .. You may have to do an ALT F1 then login as ROOT then type reboot to escape from this problem. From phiber at ...618... Mon Dec 20 22:38:54 2004 From: phiber at ...618... (phiber) Date: Mon, 20 Dec 2004 22:38:54 +0100 Subject: [Gambas-user] gambas on woody In-Reply-To: <200412201952.57713.jochengeorges@...467...> References: <200412201952.57713.jochengeorges@...467...> Message-ID: <1103578734.19603.0.camel@...40...> I think you'll need this one too: ii libqt3-mt-dev 3.3.3-7 Qt development files (Threaded) On Mon, 2004-12-20 at 19:52 +0100, Jochen Georges wrote: > Hello, > > just to inform you: > > I tried to install gambas (RC5) on woody (2.4.18) > > configure > make > checkinstall > was sucessful. > > > But it was not possible to start gambas: > user at ...733...:~$ gambas > ERROR: #27: Cannot load component > '/opt/gambas/lib/gambas/lib.gb.qt.so': /opt/gambas/lib/gambas/lib.gb.qt.so: > cannot open shared object file: Datei oder Verzeichnis nicht gefunden > > archie:/opt# dpkg -l | grep qt > ii libqt2 2.3.1-22 Qt GUI Library (runtime version). > ii libqt2-mt 2.3.1-22 Qt GUI Library (runtime threaded version). > rc libqt3 3.0.3-20020329 Qt GUI Library (runtime version). > ii libqt3-headers 3.1.1-8 Qt3 header files > rc libqt3-mt 3.0.3-20020329 Qt GUI Library (Threaded runtime version). > rc libqt3-mt-psql 3.0.3-20020314 Postgresql database plugin for Qt3 (Threaded > rc libqt3-psql 3.0.3-20020314 Postgresql database plugin for Qt3 > ii libqt3c102 3.1.1-8 Qt Library > ii libqt3c102-mt 3.3.3-7 Qt GUI Library (Threaded runtime version), V > ii libqte-mt3 3.1.2-1 Qt/Embedded GUI Library (runtime threaded ve > rc python2.3-qt3c 3.8-3 Qt3 bindings for Python 2.3 > rc qt-designer 2.3.1-22 Qt GUI Designer > ii qt-designer-do 2.3.1-22 Tutorial and reference documentation for Qt > ii qt3-dev-tools 3.1.1-8 Qt3 development tools > ii qt3-doc 3.0.3-20020329 Tutorial and reference documentation and exa > rc qt3-tools 3.0.3-20020329 Qt GUI Designer and other Qt3 based tools > ii qte3-mt-mysql 3.1.2-1 Mysql database plugin for Qt3 (Threaded) > > > After that I installed from www.linex.org and it runs fine. > > Beste Gr??e > Jochen > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From karl.reinl at ...9... Tue Dec 21 00:35:28 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 21 Dec 2004 00:35:28 +0100 Subject: [Gambas-user] I am back again References: <200412201951.58209.jochengeorges@...467...> Message-ID: <41C761C0.8040202@...9...> Jochen Georges schrieb: >Hello gambonauts, > >after a long time I'm back on the list. >My last gambasversion was 0.52 I think. > >Now I am surprised how it has develop, great - it looks really good. > >"www.theeasygambasdoku.de" will be closed soon and the examples does not >work anymore, I will fix them in the wiki. > >Beste Gr??e >Jochen > Salut Jochen, great to see you back here again. But "www.theeasygambasdoku.de" will NOT be closed soon, it is closed ( last sunday , I look for something) Amicalment Charlie From karl.reinl at ...9... Tue Dec 21 00:29:44 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 21 Dec 2004 00:29:44 +0100 Subject: [Gambas-user] Program runs wild References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C6F636.8000501@...221...> Message-ID: <41C76068.3080101@...9...> Eilert schrieb: > > > Benoit Minisini schrieb: > >> On Monday 20 December 2004 12:28, Eilert wrote: >> >>> Hi, >>> >>> this is a small Gambas app I made for monitoring who is online in the >>> system. The program calls "who" and displays the output in a list. There >>> is an LCD number showing the number of people logged in. That's all. >>> >>> There is no regular base on which the program starts going nuts. All I >>> can say is "sometimes" it starts consuming more and more processing >>> power while still keeping to run. If I stop it and restart it, >>> everything is fine again, until next time... :-) >>> >>> Here is the code: >>> >>> ' Gambas class file >>> >>> PUBLIC SUB Form_Open() >>> >>> Form1.Title = "KwhoList 1.0" >>> Form1.X = 713 >>> Form1.Y = 510 >>> Form1.Width = 270 >>> Form1.Height = 280 >>> >>> whoListeLesen >>> >>> END >>> >>> PUBLIC SUB Timer1_Timer() >>> >>> whoListeLesen >>> >>> END >>> >>> PUBLIC SUB Process_Read() >>> DIM t$ AS String >>> >>> LINE INPUT #LAST, t$ >>> >>> ListBox1.Add(t$) >>> LCDNumber1.Value = ListBox1.Count >>> >>> END >>> >>> >>> SUB whoListeLesen() >>> >>> ListBox1.Clear >>> >>> EXEC [ "who" ] FOR READ >>> >>> >>> >>> END >>> >>> PUBLIC SUB Form_Resize() >>> >>> ListBox1.Width = Form1.Width >>> ListBox1.Height = Form1.Height - 50 >>> END >>> >>> --- >>> When initiated, the program reads the list once to have a display. The >>> timer is on 10 seconds. So every 10 seconds I can see a new list. >>> >>> Any ideas where there is a reason for Gambas to start consuming 88 % >>> processing power? >>> >>> Rolf >>> >> >> >> What happens if you read data from 'who' process this way: >> >> ' Gambas class file >> >> PRIVATE $sBuffer AS String >> >> ... >> >> PUBLIC SUB Process_Read() >> >> DIM sData AS String >> DIM iPos AS Integer >> >> READ #LAST, sData, -255 >> >> $sBuffer = $sBuffer & sData >> DO >> iPos = Instr($sBuffer, "\n") >> IF iPos = 0 then BREAK >> >> ListBox1.Add(Left$($sBuffer, iPos - 1)) >> $sBuffer = Mid$($sBuffer, iPos + 1) >> LOOP >> >> LCDNumber1.Value = ListBox1.Count >> >> END >> >> ... >> >> >> Tell me the result! >> >> Regards, >> > > Thank you for the tip, I'll try to run the changed code tomorrow. > > By the way, when typing it in, I found that > > ListBox1.Add(Left$($sBuffer, iPos -1)) > > resulted in an error "Comma missing". After thinking it over I tried > > ListBox1.Add(Left$($sBuffer, iPos - 1)) > > and it was accepted. Isn't that kinda bug? Or do you intend something > special with a difference between "-1" and "- 1" ? I think, within > this context, - 1 can't mean something different than -1. > > Rolf Salut, no thats the message for that. Sorry, i know that I think since 0.97 i'v never reported it. Amicalment Charlie From igor.furlan at ...626... Tue Dec 21 08:26:15 2004 From: igor.furlan at ...626... (Primorec) Date: Mon, 20 Dec 2004 23:26:15 -0800 Subject: [Gambas-user] Program runs wild In-Reply-To: <41C76068.3080101@...9...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C6F636.8000501@...221...> <41C76068.3080101@...9...> Message-ID: <54728e7404122023264cd34fb0@...627...> hmmm.... I have to add a similar experience .... it could be that it is NOT related... but....hey... maybe it is.. So, I've observed the following phenomena: - I was running cygwin/x on WINDOWS XP Professional - from that XP box I've telnet-ed to RH8.0 box and started digital clock through gambas IDE (digital clock is one of the gambas examples - part of the distribution) - This application was running over the weekend (3 days in a row). On monday morning (when I've returned to work) I've noticed that cygwin/x consumed a whooping 300MB of RAM and the RH8.0 box was slow as molasses. Gambas clock was still running and consuming 100MB of RAM and 200+MB of swap . After that I've killed cygwin/x and remote gambas clock . Than I've resarted cygwin/x and gambas clock on RH8 box and everything was back to normal. Right now I am not at work. I'll will be back in office on Jan 3rd 05. In other words, I can not reproduce the event right now just my 0.02 euro Igor On Tue, 21 Dec 2004 00:29:44 +0100, Charlie wrote: > Eilert schrieb: > > > > > > > Benoit Minisini schrieb: > > > >> On Monday 20 December 2004 12:28, Eilert wrote: > >> > >>> Hi, > >>> > >>> this is a small Gambas app I made for monitoring who is online in the > >>> system. The program calls "who" and displays the output in a list. There > >>> is an LCD number showing the number of people logged in. That's all. > >>> > >>> There is no regular base on which the program starts going nuts. All I > >>> can say is "sometimes" it starts consuming more and more processing > >>> power while still keeping to run. If I stop it and restart it, > >>> everything is fine again, until next time... :-) > >>> > >>> Here is the code: > >>> > >>> ' Gambas class file > >>> > >>> PUBLIC SUB Form_Open() > >>> > >>> Form1.Title = "KwhoList 1.0" > >>> Form1.X = 713 > >>> Form1.Y = 510 > >>> Form1.Width = 270 > >>> Form1.Height = 280 > >>> > >>> whoListeLesen > >>> > >>> END > >>> > >>> PUBLIC SUB Timer1_Timer() > >>> > >>> whoListeLesen > >>> > >>> END > >>> > >>> PUBLIC SUB Process_Read() > >>> DIM t$ AS String > >>> > >>> LINE INPUT #LAST, t$ > >>> > >>> ListBox1.Add(t$) > >>> LCDNumber1.Value = ListBox1.Count > >>> > >>> END > >>> > >>> > >>> SUB whoListeLesen() > >>> > >>> ListBox1.Clear > >>> > >>> EXEC [ "who" ] FOR READ > >>> > >>> > >>> > >>> END > >>> > >>> PUBLIC SUB Form_Resize() > >>> > >>> ListBox1.Width = Form1.Width > >>> ListBox1.Height = Form1.Height - 50 > >>> END > >>> > >>> --- > >>> When initiated, the program reads the list once to have a display. The > >>> timer is on 10 seconds. So every 10 seconds I can see a new list. > >>> > >>> Any ideas where there is a reason for Gambas to start consuming 88 % > >>> processing power? > >>> > >>> Rolf > >>> > >> > >> > >> What happens if you read data from 'who' process this way: > >> > >> ' Gambas class file > >> > >> PRIVATE $sBuffer AS String > >> > >> ... > >> > >> PUBLIC SUB Process_Read() > >> > >> DIM sData AS String > >> DIM iPos AS Integer > >> > >> READ #LAST, sData, -255 > >> > >> $sBuffer = $sBuffer & sData > >> DO > >> iPos = Instr($sBuffer, "\n") > >> IF iPos = 0 then BREAK > >> > >> ListBox1.Add(Left$($sBuffer, iPos - 1)) > >> $sBuffer = Mid$($sBuffer, iPos + 1) > >> LOOP > >> > >> LCDNumber1.Value = ListBox1.Count > >> > >> END > >> > >> ... > >> > >> > >> Tell me the result! > >> > >> Regards, > >> > > > > Thank you for the tip, I'll try to run the changed code tomorrow. > > > > By the way, when typing it in, I found that > > > > ListBox1.Add(Left$($sBuffer, iPos -1)) > > > > resulted in an error "Comma missing". After thinking it over I tried > > > > ListBox1.Add(Left$($sBuffer, iPos - 1)) > > > > and it was accepted. Isn't that kinda bug? Or do you intend something > > special with a difference between "-1" and "- 1" ? I think, within > > this context, - 1 can't mean something different than -1. > > > > Rolf > > Salut, > > no thats the message for that. > Sorry, i know that I think since 0.97 i'v never reported it. > > Amicalment > Charlie > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mauriziopz at ...626... Tue Dec 21 10:32:27 2004 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Tue, 21 Dec 2004 10:32:27 +0100 Subject: [Gambas-user] gambas.it In-Reply-To: <41C6FDA0.30506@...731...> References: <20041220142012.CD6921D0AEE@...640...> <41C6FDA0.30506@...731...> Message-ID: On Mon, 20 Dec 2004 17:28:16 +0100, Ing. Vincenzo Virgilio wrote: > I apologize for italian, becouse the remaining part of the message is > intended only for italian speaking people that want to contribute/use > the italian Gambas support. > > Sono lieto del vostro entusiamo, cos? come devo ammettere non sapevamo > esistesse la traduzione del wiki, anche parziale. > Avevo chiesto a Benoit il permesso per registrare gambas.it eccetera e > non mi aveva detto nulla, cos? come ero stato in contatto con i ragazzi > che avevano curato la traduzione dei messaggi, dei men? eccetera. > > Il lavoro del wiki mi sembra stagnante, la cosa pi? fresca ? dello > scorso Agosto. > Per? mi sento uno scemo ad avere ritradotto quello che gi? c'era. > I due progetti si sovrappongono sicuramente, mi scuso perch? non lo sapevo. > Il punto cruciale ? che l'obiettivo con gambas.it ? tradurre tutte le > risorse fondamentali, al 100%. > Cosa che nel wiki italiano, iniziato nel 2003, non ? stato fatto. > Non sono pratico di wiki, faccio l'HTML un p? con il VI il resto con > Mozilla; nulla toglie di inserire il link fra le altre risorse (non c'? > fra i link di sourceforge!), ma se il Sig. Di Fusco mi autorizza a > prendere le parti che lui ha gi? tradotto e riportarle indicando in > calce che le ha tradotte lui, potremmo fare un salto di diverse > settimane nel lavoro, realizzando un progetto organico. > Se mi autorizza pure a dargli del tu, benissimo. > Ribadisco, mi sento scemo ad avere tradotto qualcosa che gi? c'era, ma > nessuna delle persone con cui ero entrato in contatto me lo aveva segnalato! > > Alle volte parlo al singolare, altre volte uso il plurale perch? non > sono solo nello sforzo, ma ci sono anche altri ragazzi del LUG siciliano > www.SputniX.it; quindi non ? mai stato pensato come un lavoro > solitario ma come un lavoro di gruppo. > > Sentiamoci sulla ML gambas-it a yahoogroups, non vorrei essere > richiamato per aver scritto in italiano. > It's not polite. > > Vincenzo Virgilio > > > 1. RE: RE: Gambas-user digest, Vol 1 #1056 - 4 msgs (Iwan Prasetyo) > > 2. R: [Gambas-user] gamba.it (Premoli, Roberto [ITPPG/1010]) > > > From: "Premoli, Roberto [ITPPG/1010]" > > To: "'gambas-user at lists.sourceforge.net'" > > Subject: R: [Gambas-user] gamba.it > > Date: Mon, 20 Dec 2004 04:44:12 -0500 > > Reply-To: gambas-user at lists.sourceforge.net > > > > Fico! > > La traduzione italiana di gambas, ale! > > > > Cool! > > The italian translation of gambas, wow! > > > > Gambas (will) rulez! > > Roberto > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > What are you talking about? I've told you about the translation of gambas wiki in this mail . >Hi! >Come mai scrivi in inglese? Chiedo scusa se non ho potuto tenere >aggiornata la traduzione ma sono stato un po' impegnato, cmq per la >traduzione del help stiamo gi? lavorando alla traduzione della wiki >dalla quale si possono generare i file da aggiungere al pacchetto di >gambas per avere la traduzione in inglese. Il sito della wiki tradotta >? il seguente : >http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome >Come puoi notare ? da un po' che nessuno ci lavora (sempre causa >impegni). Mi chiedevo se percaso nel vostro dominio potete ospitare un >sito per gambas, sarebbe utile! >Ultima cosa, il file delle traduzioni lo avete inviato a Benoit? In >caso contrario lo faccio io. On Wed, 24 Nov 2004 16:17:31 +0100, Ing. Vincenzo Virgilio wrote: > Hi! > > Becouse we saw that the Italian translation was not 100% complete and > becouse the time for the final release are coming, as Sicilian Linux > User Group (www.sputnix.it) we choose to complete and make a little > better translation. > Also, we are planning a translation of the Help. > Who can give us ideas on how to mix different help together, to make > English/Italian and so on help file together? > > Translation file attached. > > Vincenzo Virgilio > > Pres. SputniX.it I'm not angry about what you said just it seamed strange to me. -- Maurizio From scatman_ at ...17... Tue Dec 21 10:34:15 2004 From: scatman_ at ...17... (scatman) Date: Tue, 21 Dec 2004 10:34:15 +0100 Subject: [Gambas-user] Gambas bug ? KDE/Gnome bug? Linux bug ? In-Reply-To: <1103574331.3320.12.camel@...735...> References: <1103574331.3320.12.camel@...735...> Message-ID: <200412211034.16577.scatman_@...17...> Am Montag, 20. Dezember 2004 21:25 schrieb Roger Hallgren: > Who's bug is it ? > > Create a form. > Add the following code. > > PUBLIC SUB Form_Close() > > STOP EVENT > > END > > Then Make Executable. > Run the executable and you won't be able to log out of KDE/Gnome. > > WARNING ! .. You may have to do an ALT F1 then login as ROOT then type > reboot to escape from this problem. a simple kill gbx is enough. From eilert-sprachen at ...221... Tue Dec 21 11:25:07 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 21 Dec 2004 11:25:07 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <54728e7404122023264cd34fb0@...627...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C6F636.8000501@...221...> <41C76068.3080101@...9...> <54728e7404122023264cd34fb0@...627...> Message-ID: <41C7FA03.5010808@...221...> Maybe there is something the two have in common: a Timer event. I don't know which example you mean, but I bet there is a Timer event in it :-) And as I'll answer to Benoit, the change in code didn't help. Rolf Primorec schrieb: > hmmm.... I have to add a similar experience .... it could be that it > is NOT related... > but....hey... maybe it is.. > > So, I've observed the following phenomena: > - I was running cygwin/x on WINDOWS XP Professional > - from that XP box I've telnet-ed to RH8.0 box and started digital > clock through gambas IDE > (digital clock is one of the gambas examples - part of the distribution) > - This application was running over the weekend (3 days in a row). On > monday morning (when I've returned to work) I've noticed that cygwin/x > consumed a whooping 300MB of RAM and the RH8.0 box was slow as > molasses. Gambas clock was still running and consuming 100MB of RAM > and 200+MB of swap . > > After that I've killed cygwin/x and remote gambas clock . Than I've > resarted cygwin/x and gambas clock on RH8 box and everything was back > to normal. > > Right now I am not at work. I'll will be back in office on Jan 3rd 05. > In other words, I can not reproduce the event right now > > just my 0.02 euro > > Igor > > > > > On Tue, 21 Dec 2004 00:29:44 +0100, Charlie wrote: > >>Eilert schrieb: >> >> >>> >>>Benoit Minisini schrieb: >>> >>> >>>>On Monday 20 December 2004 12:28, Eilert wrote: >>>> >>>> >>>>>Hi, >>>>> >>>>>this is a small Gambas app I made for monitoring who is online in the >>>>>system. The program calls "who" and displays the output in a list. There >>>>>is an LCD number showing the number of people logged in. That's all. >>>>> >>>>>There is no regular base on which the program starts going nuts. All I >>>>>can say is "sometimes" it starts consuming more and more processing >>>>>power while still keeping to run. If I stop it and restart it, >>>>>everything is fine again, until next time... :-) >>>>> >>>>>Here is the code: >>>>> >>>>>' Gambas class file >>>>> >>>>>PUBLIC SUB Form_Open() >>>>> >>>>> Form1.Title = "KwhoList 1.0" >>>>> Form1.X = 713 >>>>> Form1.Y = 510 >>>>> Form1.Width = 270 >>>>> Form1.Height = 280 >>>>> >>>>> whoListeLesen >>>>> >>>>>END >>>>> >>>>>PUBLIC SUB Timer1_Timer() >>>>> >>>>> whoListeLesen >>>>> >>>>>END >>>>> >>>>>PUBLIC SUB Process_Read() >>>>>DIM t$ AS String >>>>> >>>>> LINE INPUT #LAST, t$ >>>>> >>>>> ListBox1.Add(t$) >>>>> LCDNumber1.Value = ListBox1.Count >>>>> >>>>>END >>>>> >>>>> >>>>>SUB whoListeLesen() >>>>> >>>>> ListBox1.Clear >>>>> >>>>> EXEC [ "who" ] FOR READ >>>>> >>>>> >>>>> >>>>>END >>>>> >>>>>PUBLIC SUB Form_Resize() >>>>> >>>>> ListBox1.Width = Form1.Width >>>>> ListBox1.Height = Form1.Height - 50 >>>>>END >>>>> >>>>>--- >>>>>When initiated, the program reads the list once to have a display. The >>>>>timer is on 10 seconds. So every 10 seconds I can see a new list. >>>>> >>>>>Any ideas where there is a reason for Gambas to start consuming 88 % >>>>>processing power? >>>>> >>>>>Rolf >>>>> >>>> >>>> >>>>What happens if you read data from 'who' process this way: >>>> >>>>' Gambas class file >>>> >>>>PRIVATE $sBuffer AS String >>>> >>>>... >>>> >>>>PUBLIC SUB Process_Read() >>>> >>>> DIM sData AS String >>>> DIM iPos AS Integer >>>> >>>> READ #LAST, sData, -255 >>>> >>>> $sBuffer = $sBuffer & sData >>>> DO >>>> iPos = Instr($sBuffer, "\n") >>>> IF iPos = 0 then BREAK >>>> >>>> ListBox1.Add(Left$($sBuffer, iPos - 1)) >>>> $sBuffer = Mid$($sBuffer, iPos + 1) >>>> LOOP >>>> >>>> LCDNumber1.Value = ListBox1.Count >>>> >>>>END >>>> >>>>... >>>> >>>> >>>>Tell me the result! >>>> >>>>Regards, >>>> >>> >>>Thank you for the tip, I'll try to run the changed code tomorrow. >>> >>>By the way, when typing it in, I found that >>> >>>ListBox1.Add(Left$($sBuffer, iPos -1)) >>> >>>resulted in an error "Comma missing". After thinking it over I tried >>> >>>ListBox1.Add(Left$($sBuffer, iPos - 1)) >>> >>>and it was accepted. Isn't that kinda bug? Or do you intend something >>>special with a difference between "-1" and "- 1" ? I think, within >>>this context, - 1 can't mean something different than -1. >>> >>>Rolf >> >>Salut, >> >>no thats the message for that. >>Sorry, i know that I think since 0.97 i'v never reported it. >> >>Amicalment >>Charlie >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Tue Dec 21 11:45:46 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 21 Dec 2004 11:45:46 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <200412201238.17424.gambas@...1...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> Message-ID: <41C7FEDA.9080608@...221...> Benoit Minisini schrieb: > On Monday 20 December 2004 12:28, Eilert wrote: > >>Hi, >> >>this is a small Gambas app I made for monitoring who is online in the >>system. The program calls "who" and displays the output in a list. There >>is an LCD number showing the number of people logged in. That's all. >> >>There is no regular base on which the program starts going nuts. All I >>can say is "sometimes" it starts consuming more and more processing >>power while still keeping to run. If I stop it and restart it, >>everything is fine again, until next time... :-) >> >>Here is the code: >> >>' Gambas class file >> >>PUBLIC SUB Form_Open() >> >> Form1.Title = "KwhoList 1.0" >> Form1.X = 713 >> Form1.Y = 510 >> Form1.Width = 270 >> Form1.Height = 280 >> >> whoListeLesen >> >>END >> >>PUBLIC SUB Timer1_Timer() >> >> whoListeLesen >> >>END >> >>PUBLIC SUB Process_Read() >>DIM t$ AS String >> >> LINE INPUT #LAST, t$ >> >> ListBox1.Add(t$) >> LCDNumber1.Value = ListBox1.Count >> >>END >> >> >>SUB whoListeLesen() >> >> ListBox1.Clear >> >> EXEC [ "who" ] FOR READ >> >> >> >>END >> >>PUBLIC SUB Form_Resize() >> >> ListBox1.Width = Form1.Width >> ListBox1.Height = Form1.Height - 50 >>END >> >>--- >>When initiated, the program reads the list once to have a display. The >>timer is on 10 seconds. So every 10 seconds I can see a new list. >> >>Any ideas where there is a reason for Gambas to start consuming 88 % >>processing power? >> >>Rolf >> > > > What happens if you read data from 'who' process this way: > > ' Gambas class file > > PRIVATE $sBuffer AS String > > ... > > PUBLIC SUB Process_Read() > > DIM sData AS String > DIM iPos AS Integer > > READ #LAST, sData, -255 > > $sBuffer = $sBuffer & sData > > DO > iPos = Instr($sBuffer, "\n") > IF iPos = 0 then BREAK > > ListBox1.Add(Left$($sBuffer, iPos - 1)) > $sBuffer = Mid$($sBuffer, iPos + 1) > LOOP > > LCDNumber1.Value = ListBox1.Count > > END > > ... > > > Tell me the result! > > Regards, > Hi Benoit, malheureusement pas It still shows the same behaviour, especially when I've switched to another screen and come back after some time. But even when I stay on the same screen and wait for half an hour or more, suddenly it begins to accumulate processing power. First on one processor, then it spreads on all four (it's a Xeon). So, it can't have to do with the string processing, maybe it's the timer? Rolf From gambas at ...1... Tue Dec 21 12:19:20 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 21 Dec 2004 12:19:20 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <41C7FEDA.9080608@...221...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C7FEDA.9080608@...221...> Message-ID: <200412211219.20400.gambas@...1...> On Tuesday 21 December 2004 11:45, Eilert wrote: > Hi Benoit, > > malheureusement pas > > It still shows the same behaviour, especially when I've switched to > another screen and come back after some time. But even when I stay on > the same screen and wait for half an hour or more, suddenly it begins to > accumulate processing power. First on one processor, then it spreads on > all four (it's a Xeon). > > So, it can't have to do with the string processing, maybe it's the timer? > > Rolf > > Can you send me your complete project ? -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Tue Dec 21 12:43:11 2004 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 21 Dec 2004 12:43:11 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <200412211219.20400.gambas@...1...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C7FEDA.9080608@...221...> <200412211219.20400.gambas@...1...> Message-ID: <41C80C4F.3060706@...221...> Benoit Minisini schrieb: > On Tuesday 21 December 2004 11:45, Eilert wrote: > >>Hi Benoit, >> >>malheureusement pas >> >>It still shows the same behaviour, especially when I've switched to >>another screen and come back after some time. But even when I stay on >>the same screen and wait for half an hour or more, suddenly it begins to >>accumulate processing power. First on one processor, then it spreads on >>all four (it's a Xeon). >> >>So, it can't have to do with the string processing, maybe it's the timer? >> >>Rolf >> >> > > > Can you send me your complete project ? > Sure, here it is - have fun with it :-) et bonne chance Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: kwholist.tgz Type: application/x-gtar Size: 2110 bytes Desc: not available URL: From seraf1 at ...736... Tue Dec 21 12:45:36 2004 From: seraf1 at ...736... (Philippe SERAPHIN) Date: Tue, 21 Dec 2004 12:45:36 +0100 Subject: [Gambas-user] French Mailing list In-Reply-To: <41C6B775.3040106@...221...> References: <41C6B775.3040106@...221...> Message-ID: <200412211245.37044.seraf1@...736...> Hi, Can you create a French Mailing List for Gambas because a lot of French Gambas User's are newbies and it is easiest to understand the help in natural langage. Sorry, but my english is very very bad :-(. Thanks, Philippe SERAPHIN. From jochengeorges at ...467... Tue Dec 21 15:01:55 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Tue, 21 Dec 2004 15:01:55 +0100 Subject: [Gambas-user] I am back again In-Reply-To: <41C761C0.8040202@...9...> References: <200412201951.58209.jochengeorges@...467...> <41C761C0.8040202@...9...> Message-ID: <200412211501.55530.jochengeorges@...467...> On Tuesday 21 December 2004 00:35, Charlie wrote: > > Salut Jochen, > > great to see you back here again. > But "www.theeasygambasdoku.de" will NOT be closed soon, it is closed ( > last sunday , I look for something) Sorry, bad timing. Until I finished the new WIKI-sites you can find it under www.ths-herten.de (The link is at the bottom of the startpage.) Bese Gr??e Jochen From gambas at ...1... Tue Dec 21 15:35:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 21 Dec 2004 15:35:27 +0100 Subject: [Gambas-user] I am back again In-Reply-To: <200412201951.58209.jochengeorges@...467...> References: <200412201951.58209.jochengeorges@...467...> Message-ID: <200412211535.27578.gambas@...1...> On Monday 20 December 2004 20:42, Jochen Georges wrote: > Hello gambonauts, > > after a long time I'm back on the list. > My last gambasversion was 0.52 I think. > > Now I am surprised how it has develop, great - it looks really good. > > "www.theeasygambasdoku.de" will be closed soon and the examples does not > work anymore, I will fix them in the wiki. > > Beste Gr??e > Jochen > > Welcome back ! -- Benoit Minisini mailto:gambas at ...1... From roger125 at ...734... Tue Dec 21 17:10:09 2004 From: roger125 at ...734... (Roger Hallgren) Date: Tue, 21 Dec 2004 08:10:09 -0800 Subject: [Gambas-user] Gambas bug ? KDE/Gnome bug? Linux bug ? In-Reply-To: <200412211034.16577.scatman_@...17...> References: <1103574331.3320.12.camel@...735...> <200412211034.16577.scatman_@...17...> Message-ID: <1103645409.8936.9.camel@...735...> Yes kill would work .. been so long since I've had to kill a program that I forgot about that command. My point is that if you use that code to break out of the close event to bring up a dialog box with a warning that you're about to close the program, you also end up not being able to log out of your linux session while the program is running. Thanks for the KILL reminder though .. :) On Tue, 2004-12-21 at 10:34 +0100, scatman wrote: > Am Montag, 20. Dezember 2004 21:25 schrieb Roger Hallgren: > > Who's bug is it ? > > > > Create a form. > > Add the following code. > > > > PUBLIC SUB Form_Close() > > > > STOP EVENT > > > > END > > > > Then Make Executable. > > Run the executable and you won't be able to log out of KDE/Gnome. > > > > WARNING ! .. You may have to do an ALT F1 then login as ROOT then type > > reboot to escape from this problem. > > a simple kill gbx is enough. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From w at ...731... Tue Dec 21 17:22:11 2004 From: w at ...731... (Ing. Vincenzo Virgilio) Date: Tue, 21 Dec 2004 17:22:11 +0100 Subject: [Gambas-user] gambas.it In-Reply-To: <20041221114501.6E4421D05ED@...640...> References: <20041221114501.6E4421D05ED@...640...> Message-ID: <41C84DB3.7070801@...731...> I must really apologize, i'm not used to work with wiki and i didn't realize that it was quite the same of the sourceforge site and it was translable. So, we started translating each page without considering it and which part of it could be integrated. The Gambas.it site now has some little differences from the sourceforge site, has the links to the italian wiki (not the english one), and to the language references you and Di Fusco translated. For the language reference it's obviously better to work on the wiki, becouse it's connected to the official language refference. The question now is, what is the most important thing you think we need to make the common effort better than a sum of translations? I'm not angry about what you said just it seamed strange to me. --=20 Maurizio From sniper at ...593... Tue Dec 21 17:41:26 2004 From: sniper at ...593... (Sniper) Date: Tue, 21 Dec 2004 17:41:26 +0100 Subject: [Gambas-user] Information: Set a variable from Shell command Message-ID: <001a01c4e77b$e9bb0cc0$83631e0a@...737...> I have work with the gambas version 0.95 where I can't set a variable from shell command, ex: test = Shell "who". Now I make a redirect to file and I read this file. In the new version I can set a variable from a shell command or this fuction is not implemed in this version? Thank's -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.296 / Virus Database: 265.6.2 - Release Date: 20/12/2004 From jochengeorges at ...467... Tue Dec 21 18:59:31 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Tue, 21 Dec 2004 18:59:31 +0100 Subject: [Gambas-user] make an object of a class Message-ID: <200412211859.31503.jochengeorges@...467...> Hello gambonauts, did something change? the following code worked, but now it does not. error message: "cannot load class "CCar": Bad header" (Fmain.class Line: car = NEW CCar("mercedes", 400)) Thanks in advance Beste Gr??e Jochen The Code: ############ Fmain.class: ############ PUBLIC car AS CCar PUBLIC SUB _new() car = NEW CCar("mercedes", 400) car.setPrice(5064.67) END PUBLIC SUB Button1_Click() TextLabel1.Text= car.getBrand() & "
" & Str(car.getPS_Power()) & " PS
" & Str(car.getPrice()) & " €" 'to use a method of car the following syntax has to be used: 'car.methodname() END ############ CCar.class: ############ ' Gambas class file PRIVATE brand AS String PRIVATE ps_power AS Integer PRIVATE kw_power AS Float PRIVATE price AS Float PUBLIC SUB _new(OPTIONAL br AS String, OPTIONAL po AS Integer, OPTIONAL pr AS Float) brand = br ps_power = po price = pr END PUBLIC SUB setBrand(x AS String) brand = x END PUBLIC FUNCTION getBrand() AS String RETURN Brand END PUBLIC SUB setPS_Power(x AS Integer) ps_power = x END PUBLIC FUNCTION getPS_Power() AS Integer RETURN ps_power END PUBLIC SUB setPrice(x AS Float) price = x END PUBLIC FUNCTION getPrice() AS Float RETURN price END 'setKW_Power is private because 'it is only for internal use PRIVATE FUNCTION setKW_Power() AS Float RETURN ps_power * 0.736 END PUBLIC FUNCTION getKW_Power() AS Float RETURN setKW_Power() END From karl.reinl at ...9... Tue Dec 21 20:09:20 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 21 Dec 2004 20:09:20 +0100 Subject: [Gambas-user] Program runs wild References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C7FEDA.9080608@...221...> <200412211219.20400.gambas@...1...> <41C80C4F.3060706@...221...> Message-ID: <41C874E0.2050003@...9...> Eilert schrieb: > > > Benoit Minisini schrieb: > >> On Tuesday 21 December 2004 11:45, Eilert wrote: >> >>> Hi Benoit, >>> >>> malheureusement pas >>> >>> It still shows the same behaviour, especially when I've switched to >>> another screen and come back after some time. But even when I stay on >>> the same screen and wait for half an hour or more, suddenly it begins to >>> accumulate processing power. First on one processor, then it spreads on >>> all four (it's a Xeon). >>> >>> So, it can't have to do with the string processing, maybe it's the >>> timer? >>> >>> Rolf >>> >>> >> >> >> Can you send me your complete project ? >> > > Sure, here it is - have fun with it :-) > > et bonne chance > > Rolf Salut, I think you cumulate processes , try that, you have one process and you kill that process after work is done. (I haven't had a long time test with that) PRIVATE $sBuffer AS String PRIVATE myWho AS Process PUBLIC SUB Form_Open() Form1.Title = "KwhoList 1.1" Form1.X = 713 Form1.Y = 510 Form1.Width = 270 Form1.Height = 280 whoListeLesen END PUBLIC SUB Timer1_Timer() whoListeLesen END PUBLIC SUB Process_Read() 'DIM t$ AS String DIM sData AS String DIM iPos AS Integer READ #LAST, sData, -255 $sBuffer = $sBuffer & sData DO iPos = Instr($sBuffer, Chr$(10)) IF iPos = 0 THEN BREAK ListBox1.Add(Left$($sBuffer, iPos - 1)) $sBuffer = Mid$($sBuffer, iPos + 1) LOOP LCDNumber1.Value = ListBox1.Count myWho.Kill WAIT END SUB whoListeLesen() ListBox1.Clear IF ListBox1.ForeColor = &H000000& THEN ListBox1.ForeColor = &H005500& ELSE ListBox1.ForeColor = &H000000& ENDIF WAIT EXEC [ "who" ] FOR READ AS myWho END PUBLIC SUB Form_Resize() ListBox1.Width = Form1.Width ListBox1.Height = Form1.Height - 50 END From christian.faurebouvard at ...357... Tue Dec 21 18:04:52 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Tue, 21 Dec 2004 14:04:52 -0300 Subject: [Gambas-user] Re: make an object of a class In-Reply-To: <200412211859.31503.jochengeorges@...467...> References: <200412211859.31503.jochengeorges@...467...> Message-ID: <200412211404.52611.christian.faurebouvard@...357...> El Martes, 21 de Diciembre de 2004 14:59, Jochen Georges escribi?: > Hello gambonauts, > > did something change? > > the following code worked, but now it does not. > > error message: "cannot load class "CCar": Bad header" > (Fmain.class Line: car = NEW CCar("mercedes", 400)) > > Thanks in advance > Beste Gr??e > Jochen > > The Code: > ############ > Fmain.class: > ############ > PUBLIC car AS CCar > > PUBLIC SUB _new() > car = NEW CCar("mercedes", 400) > car.setPrice(5064.67) > END > > > PUBLIC SUB Button1_Click() > TextLabel1.Text= > car.getBrand() & "
" & > Str(car.getPS_Power()) & " PS
" & > Str(car.getPrice()) & " €" > 'to use a method of car the following syntax has to be used: > 'car.methodname() > END > > ############ > CCar.class: > ############ > ' Gambas class file > > PRIVATE brand AS String > PRIVATE ps_power AS Integer > PRIVATE kw_power AS Float > PRIVATE price AS Float > > PUBLIC SUB _new(OPTIONAL br AS String, OPTIONAL po AS Integer, OPTIONAL pr > AS Float) > brand = br > ps_power = po > price = pr > END > > PUBLIC SUB setBrand(x AS String) > brand = x > END > PUBLIC FUNCTION getBrand() AS String > RETURN Brand > END > > PUBLIC SUB setPS_Power(x AS Integer) > ps_power = x > END > PUBLIC FUNCTION getPS_Power() AS Integer > RETURN ps_power > END > > PUBLIC SUB setPrice(x AS Float) > price = x > END > PUBLIC FUNCTION getPrice() AS Float > RETURN price > END > > 'setKW_Power is private because > 'it is only for internal use > PRIVATE FUNCTION setKW_Power() AS Float > RETURN ps_power * 0.736 > END > PUBLIC FUNCTION getKW_Power() AS Float > RETURN setKW_Power() > END > Hi, OPTIONAL aguments are allowed in constructors ? Constructors "Consume" arguments (in Gambas doc) Regards, Christian From karl.reinl at ...9... Tue Dec 21 20:13:12 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 21 Dec 2004 20:13:12 +0100 Subject: [Gambas-user] make an object of a class References: <200412211859.31503.jochengeorges@...467...> Message-ID: <41C875C8.4010606@...9...> Jochen Georges schrieb: >Hello gambonauts, > >did something change? > NO, ... all, and several times. Try to open your forms, make a small change, and then recompile ALL. Mostly that works. Amicalment Charlie > >the following code worked, but now it does not. > >error message: "cannot load class "CCar": Bad header" >(Fmain.class Line: car = NEW CCar("mercedes", 400)) > >Thanks in advance >Beste Gr??e >Jochen > >The Code: >############ >Fmain.class: >############ > PUBLIC car AS CCar > > PUBLIC SUB _new() > car = NEW CCar("mercedes", 400) > car.setPrice(5064.67) >END > > >PUBLIC SUB Button1_Click() > TextLabel1.Text= > car.getBrand() & "
" & > Str(car.getPS_Power()) & " PS
" & > Str(car.getPrice()) & " €" > 'to use a method of car the following syntax has to be used: > 'car.methodname() >END > >############ >CCar.class: >############ >' Gambas class file > >PRIVATE brand AS String >PRIVATE ps_power AS Integer >PRIVATE kw_power AS Float >PRIVATE price AS Float > >PUBLIC SUB _new(OPTIONAL br AS String, OPTIONAL po AS Integer, OPTIONAL pr AS >Float) > brand = br > ps_power = po > price = pr >END > >PUBLIC SUB setBrand(x AS String) > brand = x >END >PUBLIC FUNCTION getBrand() AS String > RETURN Brand >END > >PUBLIC SUB setPS_Power(x AS Integer) > ps_power = x >END >PUBLIC FUNCTION getPS_Power() AS Integer > RETURN ps_power >END > >PUBLIC SUB setPrice(x AS Float) > price = x >END >PUBLIC FUNCTION getPrice() AS Float > RETURN price >END > >'setKW_Power is private because >'it is only for internal use >PRIVATE FUNCTION setKW_Power() AS Float > RETURN ps_power * 0.736 >END >PUBLIC FUNCTION getKW_Power() AS Float > RETURN setKW_Power() >END > > > From jochengeorges at ...467... Tue Dec 21 20:34:02 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Tue, 21 Dec 2004 20:34:02 +0100 Subject: [Gambas-user] make an object of a class In-Reply-To: <41C875C8.4010606@...9...> References: <200412211859.31503.jochengeorges@...467...> <41C875C8.4010606@...9...> Message-ID: <200412212034.02277.jochengeorges@...467...> On Tuesday 21 December 2004 20:13, Charlie wrote: > Jochen Georges schrieb: > >Hello gambonauts, > > > >did something change? > > NO, ... all, and several times. > > Try to open your forms, make a small change, and then recompile ALL. > Mostly that works. Hello Charlie, that worked. Thanks! Beste Gruesse Jochen From oliver_stieber at ...370... Wed Dec 22 00:53:09 2004 From: oliver_stieber at ...370... (Oliver Stieber) Date: Tue, 21 Dec 2004 23:53:09 +0000 (GMT) Subject: [Gambas-user] A few questions. In-Reply-To: <41C875C8.4010606@...9...> Message-ID: <20041221235309.46214.qmail@...738...> Hi, I'm a bit of an old-skool vb progammer, I've used VB since version 2 and even the dos version! and I've been trying to get to grips with Gambas with the hopes of porting some of my old work. Anyhow, I've been having a few teething problems. 1: How do I create a type safe array of object and pass it as a parameter to a function e.g. public sub dosomething(optional things as type[] = null) 2: I've tried a 'work around' of creating a class types that inherits object[], I've overridden? the add function so that I can add a key and value (I know I can do this with a collection, but I want to be able to get the keys back too) PUBLIC SUB add(key AS String, value AS Variant) DIM aparam AS Object aparam = NEW parameter(key,value) which is find, but how do I call the object[] to add I've tried add(aPARAM) but it doesn't work... Also when I try to perform array access on my class it fails, reporting class is not an array. 3: I've also been playing around with some graphics and couldn't find a way to read the value of a pixel, is this possible? 4: where can I request some which list functions... the kind of things I always seem to re-write, like (and I know this is a hack) PUBLIC FUNCTION ang(xvalue AS Float, yvalue AS Float) AS Float DIM tanvalue AS Float IF xvalue = 0 THEN tanvalue = 90 ELSE tanvalue= Deg(ATan(yvalue/xvalue)) END IF IF tanvalue < 0 THEN tanvalue = tanvalue + 360 IF xvalue > 0 THEN tanvalue = tanvalue + 180 END IF IF tanvalue > 360 THEN tanvalue = tanvalue - 360 RETURN tanvalue END and PUBLIC FUNCTION mag(xvalue AS Float, yvalue AS Float) AS Float RETURN Sqr(xvalue*xvalue + yvalue*yvalue) END 5: I've also done C/C++ for quite a few years too so I don't mind helping out where I can (though I don't really have time to get drawn into to many projects) 6: While I'm porting the apps I'll try to keep a log of VB->Gambas issues and try to periodically consolidate things, I'll post it as I go if you want. 7: The apps are old but quite interesting (no db stuff thought, mostly VB3 he he) and are as follows. A full GUI fractal landscape, tree and vista generator for povray, featuting FFT, many 2d graphic manipulation functions, 3d preview and that kind of thing, all in vb3, with some c helper libraies (that I can redo in VB). screen short here http://www.oliverthered.f2s.com/fractalworlds/ A simple visual component based logic simulator(put lots of gates on the form, join the inputs and outputs). A photograpic database (for photographers), a standard database but with spline based vector graphics for modeling you set. Loads of other stuff too, adventure game generators, AI's to solve mine-sweeper, maybe the odd byte code interpreter, a RTF WISIWYG editor. that kind of thing. Your more than welcome to include any of the applications/demos with Gambas, they haven't made me any money over the past 15 years(but they've got me a quite a few jobs!). ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From oliver_stieber at ...370... Wed Dec 22 04:16:14 2004 From: oliver_stieber at ...370... (Oliver Stieber) Date: Wed, 22 Dec 2004 03:16:14 +0000 (GMT) Subject: [Gambas-user] A few questions. In-Reply-To: <20041221235309.46214.qmail@...738...> Message-ID: <20041222031614.77185.qmail@...739...> Well, a couple of cups of coffee solved some of my problems, well with a bit of a hack. It looks like downcasting works for calling an inherited method. ' Gambas class file INHERITS Object[] PUBLIC SUB add(key AS String, value AS Variant) DIM aparam AS Object DIM foo AS Object[] aparam = NEW parameter(key,value) 'down cast to call the add method on object. foo=ME foo.Add(aparam) end sub I've just noticed all the reflections stuff, and had at a class browser for the debugger.. but... classes["myclass"]["symbol"] errors with not an array and classes["myclass"]._get("symbol") burns. > 1: How do I create a type safe array of object and > pass it as a parameter to a function e.g. > > public sub dosomething(optional things as type[] = > null) > > > > 2: I've tried a 'work around' of creating a class > types that inherits object[], I've overridden? the > add > function so that I can add a key and value (I know I > can do this with a collection, but I want to be able > to get the keys back too) > > PUBLIC SUB add(key AS String, value AS Variant) > DIM aparam AS Object > aparam = NEW parameter(key,value) > > which is find, but how do I call the object[] to add > > I've tried add(aPARAM) but it doesn't work... > > Also when I try to perform array access on my class > it > fails, reporting class is not an array. > > > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From budi at ...415... Wed Dec 22 04:30:09 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 22 Dec 2004 10:30:09 +0700 Subject: [Gambas-user] gambas 1.0 RC5 In-Reply-To: <200412201320.50871.gambas@...1...> Message-ID: AS i expected, benoit will release it for the new year...Will you Release it at 00:00 o'clock Januari 1st ;) Congrat benoit Budi ----- Original Message --------------- Subject: [Gambas-user] gambas 1.0 RC5 From: Benoit Minisini Date: Mon, 20 Dec 2004 13:20:50 +0100 To: gambas-user at lists.sourceforge.net >Hi, everybody. > >Here is the RC5. > >The most important thing in this release is the update of GNU >autoconf/automake/libtool. This should solve some problems on systems that >are not Linux/x86. > >For more info, read the ChangeLog, or the mail of Laurent Carlier that >couldn't wait for me finish my lunch before posting this announce ! > >I hope this release will compile on all Debian flavors, even if it can't work >on 64 bits systems, and that the behaviour on CygWin will be better. > >I think I will release 1.0 for the new year :-) > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Wed Dec 22 10:01:35 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 22 Dec 2004 10:01:35 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <41C874E0.2050003@...9...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C7FEDA.9080608@...221...> <200412211219.20400.gambas@...1...> <41C80C4F.3060706@...221...> <41C874E0.2050003@...9...> Message-ID: <41C937EF.9010305@...221...> Charlie schrieb: > Eilert schrieb: > >> >> >> Benoit Minisini schrieb: >> >>> On Tuesday 21 December 2004 11:45, Eilert wrote: >>> >>>> Hi Benoit, >>>> >>>> malheureusement pas >>>> >>>> It still shows the same behaviour, especially when I've switched to >>>> another screen and come back after some time. But even when I stay on >>>> the same screen and wait for half an hour or more, suddenly it >>>> begins to >>>> accumulate processing power. First on one processor, then it spreads on >>>> all four (it's a Xeon). >>>> >>>> So, it can't have to do with the string processing, maybe it's the >>>> timer? >>>> >>>> Rolf >>>> >>>> >>> >>> >>> Can you send me your complete project ? >>> >> >> Sure, here it is - have fun with it :-) >> >> et bonne chance >> >> Rolf > > > Salut, > > I think you cumulate processes , > try that, > you have one process and you kill that process after work is done. > > (I haven't had a long time test with that) Well, I typed it in, it works, now we'll see if it runs nuts again :-) Thank you for that idea, looks great: > IF ListBox1.ForeColor = &H000000& THEN > ListBox1.ForeColor = &H005500& > ELSE > ListBox1.ForeColor = &H000000& > ENDIF > WAIT Now, when I typed that > EXEC [ "who" ] FOR READ AS myWho the list refused to give me "myWho", instead it inserted "Menu". So I had to erase it and type myWho by hand. But it runs anyway. Rolf From gambas at ...1... Wed Dec 22 10:49:26 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 22 Dec 2004 10:49:26 +0100 Subject: [Gambas-user] Re: Problem Report In-Reply-To: <41C88E98.8030605@...741...> References: <41C88E98.8030605@...741...> Message-ID: <200412221049.27053.gambas@...1...> On Tuesday 21 December 2004 21:59, you wrote: > I have the 0.99.RC5 version install on the Fedora Core 3 (Kernel > 2.6.9-1.681_FC3). I tried to "Project|Make installation package..." and > instead of having the wizard guide me through making the rpm it quickly > displayed a dialog with "rpmbuild is not installed on your system." I > went into terminal mode and typed: rpmbuild --version > It returned: RPM version 4.3.2 > > This was working fine with 0.99.RC4. If there is any other information > that I can give you to help fix this issue please let me know. > > Regards, > jim Thanks for the report! This is a stupid bug I done. Please patch the IDE with the joined file... -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- ' Gambas module file PUBLIC ProjectTree AS TreeView PUBLIC ProjectMessage AS Label PUBLIC ActiveForm AS Object PUBLIC Path AS String PUBLIC Name AS String PUBLIC Dir AS String PUBLIC ReadOnly AS Boolean PUBLIC Title AS String PUBLIC Startup AS String PUBLIC Libraries AS String[] PUBLIC Arguments AS String PUBLIC KeepDebugInfo AS Boolean PUBLIC ControlPublic AS Boolean PUBLIC MajorVersion AS Integer PUBLIC MinorVersion AS Integer PUBLIC ReleaseVersion AS Integer PUBLIC SnapToGrid AS Boolean PUBLIC ShowGrid AS Boolean PUBLIC Snap AS Integer PUBLIC Localize AS Boolean PUBLIC Types AS String[] PUBLIC Description AS String PUBLIC Icon AS String PUBLIC Systems AS String[] PUBLIC Menus AS Collection PUBLIC Groups AS Collection PUBLIC Prefix AS Boolean PUBLIC TabSize AS Integer PUBLIC Version AS String PUBLIC ExecPath AS String PUBLIC TileGrid AS Picture PUBLIC Running AS Boolean PUBLIC Recent AS NEW String[] PRIVATE CONST MAX_RECENT AS Integer = 24 PUBLIC CONST FORM_MAGIC AS String = "# Gambas Form File 1.0" PUBLIC CONST PROJECT_MAGIC AS String = "# Gambas Project File 1.0" PUBLIC CONST DEFAULT_FONT AS String = "Monospace,10" PUBLIC Files AS NEW Collection PUBLIC AboutToQuit AS Boolean PUBLIC Positions AS NEW String[] PUBLIC CONST MAX_ICON_SIZE AS Integer = 2048 PUBLIC EXAMPLES_DIR AS String PUBLIC RPMBUILD_PROG AS String PRIVATE CONST IMAGE_DIR AS String = "img/16" PRIVATE CONST KEY_MODULE AS String = "$M" PRIVATE CONST KEY_CLASS AS String = "$C" PUBLIC CONST KEY_FORM AS String = "$F" PUBLIC CONST KEY_MISC AS String = "$O" PRIVATE CONST CLASS_AUTH_CAR AS String = "abcdefghijklmnopqrstuvwxyz0123456789" PRIVATE CONST FILE_AUTH_CAR AS String = "abcdefghijklmnopqrstuvwxyz0123456789-.+_" PRIVATE CONST PROJECT_FILE AS String = ".project" PRIVATE $bGetSource AS Boolean PRIVATE $bDisplayForm AS Boolean PRIVATE TMP_FILE AS String '= "/tmp/.gambas.ver" PRIVATE OUTPUT_FILE AS String '= "/tmp/.gambas.out" PRIVATE $sBrowser AS String PUBLIC SUB Main() DIM sPath AS String DIM hGambas AS FGambas TMP_FILE = Temp$() OUTPUT_FILE = Temp$() 'CLASSES_FILE = Temp$() EXAMPLES_DIR = System.Path &/ "share/gambas/examples" 'Config = NEW Config '(System.Home &/ ".gambas") Application.Tooltip.Enabled = Settings["/ShowTooltip", TRUE] 'Application.Font = Font["10"] InitVersion LoadRecent FMain.Load FGambas.Load 'FOutput.Load(Workspace) 'FDebug.Load(Workspace) 'FIconTool.Load(Workspace) 'FFormStack.Load(Workspace) 'FExplorer.Load(Workspace) DO sPath = FWelcome.Run() 'sPath = System.Home &/ "gambas/test/gambas" IF sPath THEN Project.Open(sPath) ELSE FMain.Close RETURN ENDIF LOOP UNTIL Project.Name INC Application.Busy FProperty.Show FToolBox.Show 'FFormStack.Load IF Settings["/ShowMascot", TRUE] THEN FGambas.Show ENDIF FMain.UpdateRecentMenu FMain.Show DEC Application.Busy IF Settings["/ShowTipOnStartup", TRUE] THEN FTips.Run ENDIF END PRIVATE SUB InitVersion() DIM sVer AS String Version = "?" SHELL "gbx -V > " & TMP_FILE WAIT sVer = File.Load(TMP_FILE) KILL TMP_FILE Version = Trim(Mid$(sVer, Instr(sVer, "-") + 1)) END PUBLIC FUNCTION Open(sDir AS String) AS Boolean DIM sOldPath AS String DIM sOldName AS String sOldPath = Project.Path sOldName = Project.Name IF CloseProject() THEN RETURN TRUE IF Exist(sDir &/ ".lock") THEN IF Message.Warning(("BE CAREFUL! This project seems to be already opened.\n\nOpening the same project twice can crash the IDE\nand lead to data loss."),("Open after all"),("Do not open")) = 2 THEN RETURN TRUE ENDIF TRY KILL sDir &/ ".lock" ENDIF ReadOnly = NOT Access(sDir, gb.write) Path = sDir &/ PROJECT_FILE Name = File.Name(sDir) Project.Dir = sDir ReadProject Refresh AddRecent(sDir) FMain.OnProjectChange FFind.OnProjectChange 'FExplorer.ProjectChange FDebug.Clear TRY File.Save(sDir &/ ".lock", "") IF ReadOnly THEN Message.Warning(("This project is read-only.")) SetMessage(("OK")) RETURN CATCH IF Error.Text THEN Message.Error(("Cannot open project file :\n") & sDir & "\n\n" & Error.Text & "\n" & Error.Where) ENDIF Path = sOldPath Project.Dir = File.Dir(Path) Name = sOldName IF Path THEN ReadProject RETURN TRUE END PUBLIC SUB CloseAll() DIM hForm AS Object FOR EACH hForm IN Files hForm.Close NEXT END PRIVATE FUNCTION CloseProject() AS Boolean DIM hForm AS Object DIM bModif AS Boolean 'IF Len(Path) = 0 THEN RETURN IF Running THEN FDebug.Stop 'WAIT 0.5 ENDIF FOR EACH hForm IN Files IF hForm.IsModified() THEN bModif = TRUE BREAK ENDIF NEXT IF bModif THEN IF FSave.Run(AboutToQuit) THEN RETURN TRUE ENDIF FFind.Close FOR EACH hForm IN Files hForm.Delete NEXT Files.Clear ActiveForm = NULL IF NOT AboutToQuit THEN FProperty.HideAll TRY KILL Project.Dir &/ ".lock" RETURN FALSE END PUBLIC FUNCTION Close() AS Boolean DIM hForm AS Form DIM iInd AS Integer DIM sLig AS String AboutToQuit = TRUE IF CloseProject() THEN AboutToQuit = FALSE RETURN TRUE ENDIF SaveRecent 'FDebug.Close 'FOR EACH hForm IN Windows ' TRY hForm.Close 'NEXT 'FOR EACH hForm IN Windows ' TRY hForm.Delete 'NEXT ' FToolBox.Delete ' FExplorer.Delete ' FFind.Delete ' FGambas.Delete ' FIconTool.Delete ' FDebug.Delete ' FProperty.Delete CComponent.Exit END PRIVATE PROCEDURE AddDir(cDir AS String[]) DIM sDir AS String DIM sFile AS String DIM sIcon AS String DIM sPath AS String DIM sKey AS String DIM bShow AS Boolean DIM sExt AS String DIM sParent AS String DIM hPict AS Picture DIM aFile AS NEW String[] DIM bAllowForm AS Boolean bAllowForm = AllowForm() sDir = cDir[0] FOR EACH sFile IN Dir(sDir, "*") IF IsDir(sDir &/ sFile) THEN aFile.Add("D" & sFile) NEXT FOR EACH sFile IN Dir(sDir, "*") IF NOT IsDir(sDir &/ sFile) THEN aFile.Add("F" & sFile) NEXT aFile.Sort FOR EACH sFile IN aFile sFile = Mid$(sFile, 2) sPath = sDir &/ sFile sKey = sPath sParent = sDir WITH Stat(sPath) IF NOT .Hidden THEN bShow = FALSE IF .Type = gb.Directory THEN cDir.Add(sPath) sIcon = IMAGE_DIR &/ "close.png" IF sDir = Project.Dir THEN sParent = KEY_MISC ENDIF bShow = TRUE ELSE sExt = Lower(File.Ext(sFile)) IF sDir = Project.Dir THEN sParent = KEY_MISC ENDIF SELECT CASE sExt CASE "form", "class", "module" IF sParent = KEY_MISC THEN sIcon = IMAGE_DIR &/ sExt & ".png" bShow = TRUE IF sExt = "form" THEN sParent = KEY_FORM IF NOT bAllowForm THEN sIcon = "" ELSE IF sExt = "class" THEN sParent = KEY_CLASS IF $bDisplayForm THEN IF NOT bAllowForm THEN IF Exist(sDir &/ File.BaseName(sFile) & ".form") THEN sIcon = "" ENDIF ENDIF ELSE IF Exist(sDir &/ File.BaseName(sFile) & ".form") THEN sIcon = "" ENDIF ENDIF ELSE IF sExt = "module" THEN sParent = KEY_MODULE ENDIF sFile = File.BaseName(sFile) ELSE sIcon = IMAGE_DIR &/ "unknown.png" ENDIF CASE "jpg", "jpeg", "xpm", "bmp", "png", "gif" IF .Size > MAX_ICON_SIZE THEN sIcon = IMAGE_DIR &/ "image.png" ELSE sIcon = sPath ENDIF CASE "svg" sIcon = IMAGE_DIR &/ "image.png" CASE "pot" IF sParent = KEY_MISC THEN sIcon = "" ENDIF CASE ELSE sIcon = "" IF Right$(sFile,1) <> "~" THEN IF sFile <> Project.Name OR sParent <> KEY_MISC THEN sIcon = IMAGE_DIR &/ "unknown.png" ENDIF ENDIF END SELECT ENDIF IF Len(sIcon) THEN IF Left$(sIcon) = "/" THEN hPict = NEW Picture hPict.Load(sIcon) ELSE hPict = Picture[sIcon] ENDIF WITH ProjectTree.Add(sKey, sFile, hPict, sParent) IF bShow THEN ProjectTree[sKey].MoveParent ProjectTree.Item.Expanded = TRUE ENDIF END WITH ENDIF ENDIF END WITH NEXT END PRIVATE SUB SelectKey(sKey AS String) IF NOT ProjectTree.Exist(sKey) THEN IF Right$(sKey, 6) = ".class" THEN sKey = Left$(sKey, -6) & ".form" ENDIF ENDIF TRY ProjectTree[sKey].Selected = TRUE TRY ProjectTree[sKey].EnsureVisible END PUBLIC PROCEDURE Refresh(OPTIONAL bReset AS Boolean) DIM sFile AS String DIM cDir AS NEW String[] DIM sDir AS String DIM sKey AS String DIM sKeyReset AS String $bDisplayForm = Settings["/DisplayForm"] IF NOT bReset THEN sKeyReset = ProjectTree.Key ENDIF WITH ProjectTree .Clear() sKey = Project.Dir .Add(sKey, Name, Picture["img/16/gambas.png"]).Expanded = TRUE cDir.Add(Project.Dir) .Add(KEY_CLASS, ("Classes"), Picture["img/16/close.png"], sKey).Expanded = TRUE IF AllowForm() THEN .Add(KEY_FORM, ("Forms"), Picture["img/16/close.png"], sKey).Expanded = TRUE ENDIF .Add(KEY_MODULE, ("Modules"), Picture["img/16/close.png"], sKey).Expanded = TRUE .Add(KEY_MISC, ("Data"), Picture["img/16/close.png"], sKey).Expanded = TRUE '$bGetSource = TRUE REPEAT AddDir(cDir) cDir.Remove(0) $bGetSource = FALSE UNTIL cDir.Count = 0 '.Sort() END WITH IF sKeyReset THEN sKey = sKeyReset TRY ProjectTree[sKey].EnsureVisible DefineStartup(Startup, TRUE) 'STOP FMain.Title = ("Project") & " - " & Name & If(ReadOnly, " [" & ("Read only") & "]", "") END PUBLIC FUNCTION IsEditor(hFile AS Object) AS Boolean RETURN Object.Type(hFile) = "FEditor" END PUBLIC FUNCTION IsForm(hFile AS Object) AS Boolean IF hFile THEN RETURN Object.Type(hFile) = "FForm" END PUBLIC FUNCTION LoadFile(sPath AS String) AS Object DIM hForm AS Object 'DIM hActive AS Object INC Application.Busy hForm = Files[sPath] IF NOT hForm THEN 'PRINT "Load: "; sPath 'hActive = ActiveForm SELECT CASE Lower(File.Ext(sPath)) CASE "module", "class" hForm = NEW FEditor(sPath) CASE "form" IF AllowForm() THEN hForm = NEW FForm(sPath) CASE "png", "gif", "jpg", "jpeg", "bmp", "xpm" hForm = NEW FIconEditor(sPath) CASE ELSE hForm = NEW FTextEditor(sPath) END SELECT Files[sPath] = hForm ENDIF DEC Application.Busy RETURN hForm CATCH DEC Application.Busy Message.Error(("Cannot open file.") & "\n\n" & Error.Text & "\n" & Error.Where) END PUBLIC FUNCTION FindPath(sClass AS String) AS String DIM sPath AS String sPath = Project.Dir &/ sClass & ".class" IF Exist(sPath) THEN RETURN sPath sPath = Project.Dir &/ sClass & ".module" IF Exist(sPath) THEN RETURN sPath 'PRINT "FindPath: "; sClass; " ?" END PUBLIC SUB OpenFile(sPath AS String, OPTIONAL iLine AS Integer) DIM hForm AS Object IF Instr(sPath, "/") = 0 THEN sPath = FindPath(sPath) IF NOT Exist(sPath) THEN Message.Warning("File not found!") Project.Refresh RETURN ENDIF 'IF File.Ext(sPath) = "form" THEN ' FProperty.Show ' FToolBox.Show 'ENDIF LoadFile(sPath) hForm = Files[sPath] IF NOT hForm THEN RETURN hForm.Show IF Object.Type(hForm) = "FEditor" THEN hForm.Editor.SetFocus ENDIF IF iLine THEN hForm.GotoCenter(iLine, 0) END PUBLIC FUNCTION ExistForm(sName AS String) AS Boolean RETURN Dir(Project.dir, "*.form").Find(sName & ".form", gb.Text) >= 0 END PUBLIC SUB OpenForm(sName AS String) DIM sPath AS String sPath = Project.Dir &/ sName & ".form" IF Exist(sPath) THEN OpenFile(sPath) END PRIVATE FUNCTION AddMessage(sVoid AS String) AS String DIM hFic AS File DIM sLig AS String IF Stat(OUTPUT_FILE).Size = 0 THEN SetMessage(sVoid) RETURN ELSE OPEN OUTPUT_FILE FOR READ AS #hFic WHILE NOT Eof(hFic) LINE INPUT #hFic, sLig 'ProjectMessage.Add(sLig) WEND CLOSE #hFic ENDIF 'ProjectMessage.Index = ProjectMessage.Count - 1 'SetMessage(sLig) RETURN sLig END PRIVATE SUB CompileError(sMsg AS String) DIM iPos AS Integer DIM sFile AS String DIM iLine AS Integer iPos = Instr(sMsg, ":") 'if iPos = 0 then return sFile = Left$(sMsg, iPos - 1) sMsg = Mid$(sMsg, iPos + 1) iPos = Instr(sMsg, ":") 'if iPos = 0 then return iLine = Val(Left$(sMsg, iPos - 1)) 'if iLine = 0 then return sFile = File.Dir(Path) &/ File.Name(sFile) SetMessage(File.BaseName(sFile) & "." & CStr(iLine) & ": " & Trim(Mid$(sMsg,iPos + 1))) OpenFile(sFile, iLine) FGambas.Animate("Depressive") Message.Warning(Trim(Mid$(sMsg,iPos + 1)) & "\n" & Subst(("at line &1 in &2"), CStr(iLine), File.Name(sFile))) OpenFile(sFile, iLine) CATCH END PUBLIC FUNCTION Quote(sPath AS String) AS String DIM sQuote AS String DIM iInd AS Integer DIM sCar AS String sPath = Conv$(sPath, Desktop.Charset, System.Charset) FOR iInd = 1 TO Len(sPath) sCar = Mid$(sPath, iInd, 1) IF Instr("0123456789abcdefghijklmnopqrstuvwxyz.-/_~", LCase(sCar)) = 0 THEN sCar = "\\" & sCar ENDIF sQuote = sQuote & sCar NEXT RETURN sQuote END PUBLIC FUNCTION Escape(sStr AS String) AS String DIM sRes AS String DIM iInd AS Integer DIM sCar AS String DIM iPos AS Integer FOR iInd = 1 TO Len(sStr) sCar = Mid$(sStr, iInd, 1) iPos = Instr("'\"\\\n\r\t", sCar) IF iPos THEN sCar = "\\" & Mid$("'\"\\nrt", iPos, 1) sRes = sRes & sCar NEXT RETURN sRes END PUBLIC SUB Process_Read() DIM sLig AS String LINE INPUT #LAST, sLig PRINT sLig END PUBLIC SUB DeleteCompiledFiles() DIM sFile AS String EXEC [ "rm", "-rf", Project.Dir &/ ".gambas"] WAIT IF Exist(Project.Dir &/ ".lang") THEN FOR EACH sFile IN Dir(Project.Dir &/ ".lang", "*.pot") TRY KILL Project.Dir &/ ".lang" &/ sFile NEXT ENDIF END PUBLIC FUNCTION GetCompileCommand(bAll AS Boolean, bNoDebug AS Boolean, bIDE AS Boolean) AS String DIM sExec AS String sExec = System.Path &/ "bin/gbc " IF bAll THEN sExec = sExec & "-a " IF NOT bNoDebug THEN sExec = sExec & "-g " IF Localize THEN sExec = sExec & "-t " IF ControlPublic THEN sExec = sExec & "-p " 'sExec = sExec & "-c " & Quote(CLASSES_FILE) & " " & Quote(Project.Dir) & " > " & OUTPUT_FILE & " 2>&1" IF bIDE THEN sExec = sExec & Quote(Project.Dir) sExec = sExec & " > " & OUTPUT_FILE & " 2>&1" ENDIF RETURN sExec END PUBLIC FUNCTION Compile(OPTIONAL bAll AS Boolean, OPTIONAL bNoDebug AS Boolean) AS Boolean DIM sExec AS String DIM sRes AS String DIM sDir AS String IF Project.ReadOnly THEN RETURN IF Project.Running THEN RETURN 'TRUE IF Lock() THEN RETURN TRUE sDir = Project.Dir Save SetMessage(("Compiling project") & " " & Project.Name & "...") IF bAll THEN CleanUpProject DeleteCompiledFiles WriteProject ENDIF sExec = GetCompileCommand(bAll, bNoDebug, TRUE) SHELL sExec WAIT 'Stat(OUTPUT_FILE) sRes = AddMessage(("Nothing to do.")) IF sRes THEN IF sRes <> "OK" THEN Unlock() CompileError(sRes) RETURN TRUE ELSE IF Localize THEN TRY MKDIR sDir &/ ".lang" SHELL "msgcat " & Quote(sDir) &/ ".lang/*.pot > " & Quote(sDir &/ ".lang/.pot") & " 2>/dev/null" WAIT ENDIF SetMessage(("OK")) FGambas.Animate("Happy") ENDIF ENDIF Unlock() END PRIVATE FUNCTION CheckRunning(OPTIONAL bCompileAll AS Boolean) AS Boolean IF Project.Running THEN RETURN IF Compile(bCompileAll) THEN RETURN TRUE IF CheckStartupClass() THEN RETURN TRUE END PUBLIC SUB Run(OPTIONAL bCompileAll AS Boolean, OPTIONAL iDebug AS Integer) IF CheckRunning(bCompileAll) THEN RETURN IF iDebug = 1 THEN FDebug.Step ELSE IF iDebug = 2 THEN FDebug.Forward ELSE IF iDebug = 3 THEN FDebug.ReturnFrom ELSE FDebug.Run ENDIF END PUBLIC SUB Forward() IF CheckRunning() THEN RETURN FDebug.Forward END PUBLIC SUB ReturnFrom() IF CheckRunning() THEN RETURN FDebug.ReturnFrom END PUBLIC SUB RunUntil(hForm AS FEditor, iLine AS Integer) IF CheckRunning() THEN RETURN FDebug.RunUntil(hForm, iLine) END PUBLIC SUB Step() IF Compile() THEN RETURN IF CheckStartupClass() THEN RETURN FDebug.Step END PUBLIC SUB Save() DIM hForm AS Object INC Application.Busy FOR EACH hForm IN Files IF Object.Type(hForm) = "FEditor" THEN IF hForm.Save(TRUE) THEN BREAK ELSE IF hForm.Save() THEN BREAK ENDIF NEXT DEC Application.Busy END PUBLIC SUB Insert(sName AS String, sType AS String, OPTIONAL sTemplate AS String, OPTIONAL bNoRefresh AS Boolean) DIM sPath AS String DIM sData AS String sPath = Project.Dir &/ File.BaseName(sName) & "." & sType IF Exist(sPath) THEN Message.Warning(("File already exists.")) RETURN ENDIF File.Save(sPath, sTemplate) IF NOT bNoRefresh THEN Refresh OpenFile(sPath) END PUBLIC SUB InsertFile(sName AS String, sDir AS String, OPTIONAL sTemplate AS String) DIM sPath AS String DIM sData AS String sPath = sDir &/ sName IF Len(sTemplate) THEN IF Exist(sPath) THEN Message.Warning(("File already exists.")) RETURN ENDIF SHELL "cp " & Quote(sTemplate) & " " & Quote(sPath) WAIT IF NOT Exist(sPath) THEN Message.Error(("Cannot copy template file.")) RETURN ENDIF ENDIF Refresh RefreshLibrary OpenFile(sPath) END PUBLIC SUB InsertDirectory(sPath AS String) IF Exist(sPath) THEN Message.Warning(("Directory already exists.")) RETURN ENDIF MKDIR sPath Refresh END PUBLIC SUB Activate(hForm AS Object) DIM sType AS String 'PRINT Application.ActiveWindow 'TRY PRINT Application.ActiveWindow.Name 'IF Application.ActiveWindow <> hForm THEN RETURN 'IF File.Ext(hForm.Path) = "class" THEN ' IF Exist(File.Dir(hForm.Path) &/ File.BaseName(hForm.Path) & ".form" THEN IF AboutToQuit THEN RETURN IF NOT hForm THEN RETURN SelectKey(hForm.Path) IF ActiveForm = hForm THEN RETURN ActiveForm = hForm IF Object.Type(hForm) = "FIconEditor" THEN FIconTool.Raise ELSE FIconTool.Hide ENDIF FProperty.RefreshAll FFormStack.RefreshAll ' IF Object.Type(hForm) = "FTextEditor" THEN ' FFind.SetTextOnly(TRUE) ' ELSE IF Object.Type(hForm) = "FEditor" THEN ' FFind.SetTextOnly(FALSE) ' ENDIF END PUBLIC SUB Deactivate(hForm AS Object) IF ActiveForm <> hForm THEN RETURN SELECT CASE Object.Type(hForm) CASE "FIconEditor" FIconTool.Hide CASE "FForm" FProperty.HideAll FFormStack.HideAll END SELECT END PUBLIC FUNCTION NewProject(sDir AS String, OPTIONAL aOption AS String[]) AS Boolean DIM sName AS String DIM iInd AS Integer DIM sPath AS String DIM sOption AS String sName = File.Name(sDir) MKDIR sDir sPath = sDir &/ PROJECT_FILE IF aOption THEN sOption = aOption.Join("\n") File.Save(sPath, PROJECT_MAGIC & "\nProject=" & sName & "\n" & sOption) 'BrowseForm.AddProject(sDir) RETURN CATCH Message.Warning(("Cannot create project!") & "\n\n" & Error.Text) RETURN TRUE END PUBLIC FUNCTION CopyProject(sSrc AS String, sDst AS String) AS Boolean DIM sName AS String DIM iInd AS Integer DIM sPath AS String DIM sOut AS String sOut = Temp$ SHELL "cp -r " & Quote(sSrc) & " " & Quote(sDst) & " 2> " & Quote(sOut) WAIT sOut = File.Load(sOut) IF sOut THEN Error.Raise(sOut) RETURN CATCH Message.Warning(("Cannot copy project!") & "\n\n" & Error.Text) RETURN TRUE END PUBLIC FUNCTION MakeExecutable(OPTIONAL bDoNotIncVersion AS Boolean, OPTIONAL bSilent AS Boolean) AS Boolean DIM sExec AS String IF NOT bSilent THEN Dialog.Title = ("Make executable") Dialog.Path = ExecPath Dialog.Filter = [ ("All files") & " (*.*)" ] IF NOT Exist(Dialog.Path) THEN Dialog.Path = Project.Dir &/ Project.Name ENDIF IF Dialog.SaveFile() THEN RETURN TRUE ExecPath = Dialog.Path ENDIF IF Compile(TRUE, NOT KeepDebugInfo) THEN RETURN TRUE IF CheckStartupClass() THEN RETURN TRUE SetMessage(("Making executable...")) sExec = System.Path &/ "bin/gba " & Quote(Project.Dir) & " > " & OUTPUT_FILE & " 2>&1" 'PRINT sExec SHELL sExec WAIT IF ExecPath <> (Project.Dir &/ Project.Name) THEN TRY KILL ExecPath TRY RENAME Project.Dir &/ Project.Name AS ExecPath ENDIF 'Stat(OUTPUT_FILE) AddMessage(("Nothing to do.")) Compile(TRUE, FALSE) IF NOT bDoNotIncVersion THEN INC ReleaseVersion WriteProject END PUBLIC FUNCTION GetClasses(OPTIONAL bFullPath AS Boolean) AS String[] DIM sFile AS String DIM aClass AS NEW String[] DIM bStop AS Boolean FOR EACH sFile IN Dir(Project.Dir, "*.module") IF bFullPath THEN aClass.Add(Project.Dir &/ sFile) ELSE aClass.Add(File.BaseName(sFile)) ENDIF NEXT FOR EACH sFile IN Dir(Project.Dir, "*.class") IF bFullPath THEN aClass.Add(Project.Dir &/ sFile) ELSE aClass.Add(File.BaseName(sFile)) ENDIF NEXT aClass.Sort RETURN aClass END PUBLIC SUB ReadProject() DIM hFic AS File DIM sLig AS String DIM iPos AS Integer DIM sKey AS String DIM sVal AS String DIM cVer AS String[] DIM sElt AS String DIM iElt AS Integer DIM aMissing AS NEW String[] DIM sMsg AS String Libraries = NEW String[] Title = "" TabSize = Settings["/DefaultTabSize", 2] Arguments = "" MajorVersion = 0 MinorVersion = 0 ReleaseVersion = 1 SnapToGrid = TRUE ShowGrid = TRUE Snap = Settings["/DefaultGridResolution", 8] ControlPublic = FALSE KeepDebugInfo = FALSE Localize = FALSE Description = "" Icon = "" Systems = NEW String[] Menus = NEW Collection Groups = NEW Collection Prefix = FALSE ExecPath = Project.Dir &/ Project.Name OPEN Path FOR READ AS hFic WHILE NOT Eof(hFic) LINE INPUT #hFic, sLig sLig = Trim(sLig) IF Len(sLig) = 0 THEN CONTINUE IF Left$(sLig, 1) = "#" THEN CONTINUE iPos = Instr(sLig, "=") IF iPos = 0 THEN CONTINUE sKey = Lower$(Trim(Left$(sLig, iPos - 1))) sVal = Trim(Mid$(sLig, iPos + 1)) SELECT sKey CASE "title" Title = sVal CASE "startup" DefineStartup(sVal, TRUE) CASE "library" IF CComponent.All.Exist(sVal) THEN Libraries.Add(sVal) ELSE aMissing.Add(sVal) ENDIF CASE "tabsize" TabSize = Val(sVal) CASE "argument" IF Arguments THEN Arguments = Arguments & "\n" Arguments = Arguments & sVal CASE "version" cVer = Split(sVal, ".") TRY MajorVersion = Val(cVer[0]) TRY MinorVersion = Val(cVer[1]) TRY ReleaseVersion = Val(cVer[2]) CASE "snaptogrid" SnapToGrid = Val(sVal) <> 0 CASE "showgrid" ShowGrid = Val(sVal) <> 0 CASE "snapx", "snap" Snap = Val(sVal) CASE "localize" Localize = Val(sVal) <> 0 ' CASE "language" ' Language = sVal CASE "keepdebuginfo" KeepDebugInfo = Val(sVal) <> 0 CASE "controlpublic" ControlPublic = Val(sVal) <> 0 CASE "description" Description = Replace(sVal, "\\n", "\n") CASE "icon" Icon = sVal CASE "systems" Systems = Split(sVal, ",") CASE "menus" iElt = 0 FOR EACH sElt IN Split(sVal, ",") IF iElt >= Systems.Count THEN BREAK Menus[Systems[iElt]] = sElt INC iElt NEXT CASE "groups" iElt = 0 FOR EACH sElt IN Split(sVal, ",") IF iElt >= Systems.Count THEN BREAK Groups[Systems[iElt]] = sElt INC iElt NEXT CASE "prefix" Prefix = Val(sVal) CASE "execpath" ExecPath = sVal END SELECT WEND CLOSE hFic IF aMissing.Count THEN sMsg = Subst(("Some components are missing: &1"), aMissing.Join(", ")) IF Message.Error(sMsg, ("Continue"), ("Cancel")) = 2 THEN Error.Raise("") ENDIF ENDIF Libraries.Sort FMain.UpdateTranslate RefreshLibrary 'TileGrid = NEW Picture 'TileGrid.Type = Picture.Bitmap 'TileGrid.Resize(SnapX, SnapY) 'Draw.Begin(TileGrid) 'Draw.FillColor = Color. 'Draw.End END PUBLIC SUB WriteProject() DIM hFic AS File DIM sLib AS String DIM sSys AS String DIM sElt AS String DIM sPath AS String DIM sArg AS String IF Project.ReadOnly THEN RETURN OPEN Path & ".tmp" FOR CREATE AS hFic PRINT #hFic, PROJECT_MAGIC PRINT #hFic, "Project="; Name IF Title THEN PRINT #hFic,"Title="; Title IF Description THEN PRINT #hFic, "Description="; Replace(Description, "\n", "\\n") IF Icon THEN PRINT #hFic,"Icon="; Icon IF Startup THEN PRINT #hFic, "Startup="; Startup 'IF StackSize THEN PRINT #hFic, "Stack="; CStr(StackSize) PRINT #hFic,"TabSize="; CStr(TabSize) FOR EACH sArg IN Split(Arguments, "\n") PRINT #hFic, "Argument="; sArg NEXT PRINT #hFic,"Version=";CStr(MajorVersion) & "." & CStr(MinorVersion) & "." & CStr(ReleaseVersion) FOR EACH sLib IN Libraries PRINT #hFic, "Library="; sLib NEXT PRINT #hFic, "SnapToGrid="; If(SnapToGrid, "1", "0") PRINT #hFic, "ShowGrid="; If(ShowGrid, "1", "0") PRINT #hFic, "Snap="; CStr(Snap) PRINT #hFic, "Localize="; If(Localize, "1", "0") 'PRINT #hFic, "Language="; Language PRINT #hFic, "KeepDebugInfo="; If(KeepDebugInfo, "1", "0") PRINT #hFic, "ControlPublic="; If(ControlPublic, "1", "0") IF ExecPath <> (Project.Dir &/ Project.Name) THEN PRINT #hFic, "ExecPath="; ExecPath ENDIF IF Systems.Count THEN PRINT #hFic,"Systems="; Systems.Join(",") sElt = "" FOR EACH sSys IN Systems sElt = sElt & "," & Menus[sSys] NEXT PRINT #hFic, "Menus="; Mid$(sElt, 2) sElt = "" FOR EACH sSys IN Systems sElt = sElt & "," & Groups[sSys] NEXT PRINT #hFic, "Groups="; Mid$(sElt, 2) ENDIF PRINT #hFic, "Prefix="; If(Prefix, "1", "0") CLOSE #hFic KILL Path RENAME Path & ".tmp" AS Path sPath = Project.Dir &/ ".lang/#project.pot" TRY KILL sPath IF Localize THEN TRY MKDIR File.Dir(sPath) OPEN sPath FOR CREATE AS #hFic PRINT #hFic, "# "; Path PRINT #hFic, File.Load("pot-header.txt") IF Title THEN PRINT #hFic, "#: .project:1" PRINT #hFic, "msgid \""; Escape(Title); "\"" PRINT #hFic, "msgstr \"\"\n" ENDIF IF Description THEN PRINT #hFic, "#: .project:2" PRINT #hFic, "msgid \""; Escape(Description); "\"" PRINT #hFic, "msgstr \"\"\n" ENDIF CLOSE #hFic ENDIF RefreshLibrary FMain.UpdateTranslate CATCH Message.Error(("Cannot write project file.") & "\n\n" & Error.Text) END ' PUBLIC FUNCTION GetSorted() AS String[] ' ' DIM cList AS NEW String[] ' DIM hFile AS Object ' DIM bStop AS Boolean ' ' ProjectTree[KEY_CLASS].MoveChild ' WHILE ProjectTree.Available ' cList.Add(ProjectTree.Item.Key) ' ProjectTree.MoveNext ' WEND ' ' ProjectTree[KEY_MODULE].MoveChild ' WHILE ProjectTree.Available ' cList.Add(ProjectTree.Item.Key) ' ProjectTree.MoveNext ' WEND ' ' 'cList.Sort ' ' RETURN cList ' ' END PUBLIC FUNCTION GetNextEditor(sKey AS String) AS String DIM sFirst AS String DIM sFile AS String DIM bNext AS Boolean FOR EACH sFile IN GetClasses(TRUE) IF bNext THEN RETURN sFile IF NOT sFirst THEN sFirst = sFile ENDIF IF sFile = sKey THEN bNext = TRUE ENDIF NEXT IF bNext THEN RETURN sFirst END PUBLIC FUNCTION GetPreviousEditor(sKey AS String) AS String DIM sLast AS String DIM sFile AS String FOR EACH sFile IN GetClasses(TRUE) IF sFile = sKey THEN IF sLast THEN RETURN sLast ENDIF ENDIF sLast = sFile NEXT RETURN sLast END PRIVATE $bBlock AS Boolean PUBLIC SUB Shortcut(Code AS Integer, Ascii AS String, State AS Integer) IF $bBlock THEN RETURN $bBlock = TRUE SELECT CASE Code CASE Key.F2 FExplorer.Show CASE Key.F4 FProperty.Show CASE Key.F5 ME.Run CASE Key.F6 FToolBox.Show CASE Key.F7 Compile(State AND Mouse.Alt) CASE Key.F8 ME.Step END SELECT $bBlock = FALSE END PUBLIC SUB SetMessage(sMsg AS String) ProjectMessage.Text = sMsg WAIT END PUBLIC SUB DeleteFile(sPath AS String) DIM sExt AS String DIM hForm AS Object IF NOT Exist(sPath) THEN RETURN hForm = Files[sPath] IF hForm THEN hForm.Delete Files[sPath] = NULL ENDIF TRY ProjectTree.Remove(sPath) TRY KILL sPath & "~" TRY RENAME sPath AS sPath & "~" IF sExt = "form" OR sExt = "class" OR sExt = "module" THEN TRY KILL Project.Dir &/ ".gambas" &/ UCase(File.BaseName(sPath)) TRY KILL Project.Dir &/ ".lang" &/ File.BaseName(sPath) & ".pot" ENDIF sExt = File.Ext(sPath) IF sExt = "form" THEN DeleteFile(File.Dir(sPath) &/ File.BaseName(sPath) & ".class") ELSE IF sExt = "class" THEN DeleteFile(File.Dir(sPath) &/ File.BaseName(sPath) & ".form") ENDIF IF File.BaseName(sPath) = Startup THEN DefineStartup("") ENDIF 'CATCH 'Message("*Unable to delete file.||" & sPath) 'Refresh END PUBLIC SUB DeleteDir(sDir AS String) DIM sFile AS String FOR EACH sFile IN Dir(sDir, "*~") TRY KILL sDir &/ sFile NEXT RMDIR sDir END PRIVATE FUNCTION CheckStartupClass() AS Boolean IF Startup THEN RETURN Message.Warning(("You must define a startup class or form!")) RETURN TRUE END PUBLIC FUNCTION CheckFileName(sName AS String, OPTIONAL sDir AS String) AS Boolean DIM iInd AS Integer IF NOT sName THEN GOTO VOID_NAME FOR iInd = 1 TO Len(sName) IF Instr(FILE_AUTH_CAR & "-._+()", LCase(Mid$(sName, iInd, 1))) = 0 THEN GOTO BAD_CHAR NEXT IF Len(sDir) THEN IF Exist(sDir &/ sName) THEN GOTO ALREADY_EXIST ENDIF RETURN VOID_NAME: Message.Warning(("Please type a name.")) RETURN TRUE BAD_CHAR: Message.Warning(("This name contains a forbidden character :") & " [ " & Mid$(sName, iInd, 1) & " ]") RETURN TRUE ALREADY_EXIST: Message.Warning(("This name is already used. Choose another one.")) RETURN TRUE END PUBLIC FUNCTION CheckClassName(sName AS String, OPTIONAL bCheckNotExist AS Boolean) AS Boolean DIM iInd AS Integer IF NOT sName THEN GOTO VOID_NAME FOR iInd = 1 TO Len(sName) IF Instr(CLASS_AUTH_CAR, LCase(Mid$(sName, iInd, 1))) = 0 THEN GOTO BAD_CHAR NEXT IF Instr("0123456789", Left$(sName)) THEN iInd = 1 GOTO BAD_CHAR ENDIF IF bCheckNotExist THEN IF Project.Exist(sName) THEN GOTO ALREADY_EXIST ENDIF RETURN VOID_NAME: Message.Warning(("Please type a name.")) RETURN TRUE BAD_CHAR: Message.Warning(("This name contains a forbidden character :") & " [ " & Mid$(sName, iInd, 1) & " ] \n\n" & ("A name must begin with a letter, followed by any letter or digit.")) RETURN TRUE ALREADY_EXIST: Message.Warning(("This name is already used. Choose another one.")) RETURN TRUE END PRIVATE FUNCTION RenameOneFile(sDir AS String, sName AS String, sNewName AS String, OPTIONAL sExt AS String) AS String DIM sPath AS String DIM hForm AS Object DIM sNewPath AS String sPath = sDir &/ sName IF sExt THEN sPath = sPath & "." & sExt IF NOT Exist(sPath) THEN RETURN sNewPath = sDir &/ sNewName IF sExt THEN sNewPath = sNewPath & "." & sExt RENAME sPath AS sNewPath IF sExt THEN TRY KILL sDir &/ ".gambas" &/ UCase(sName) ENDIF hForm = Files[sPath] IF hForm THEN hForm.Rename(sNewName, sNewPath) Files[sPath] = NULL Files[sNewPath] = hForm ENDIF RETURN sNewPath END PUBLIC SUB RenameFile(sPath AS String) DIM sName AS String DIM sExt AS String DIM sDir AS String DIM sNewName AS String DIM sNewPath AS String DIM sTitle AS String sDir = File.Dir(sPath) sExt = File.Ext(sPath) IF Project.IsClassName(sPath) THEN sName = File.BaseName(sPath) SELECT CASE sExt CASE "form" sTitle = ("Rename form") CASE "class" sTitle = ("Rename class") CASE "module" sTitle = ("Rename module") END SELECT sNewName = FRename.Run(sName, sTitle, TRUE) IF NOT sNewName THEN RETURN IF sName = Startup THEN Startup = sNewName WriteProject ENDIF sNewPath = RenameOneFile(sDir, sName, sNewName, sExt) IF sExt = "form" THEN RenameOneFile(sDir, sName, sNewName, "class") ELSE IF sExt = "class" THEN RenameOneFile(sDir, sName, sNewName, "form") ENDIF ELSE sName = File.Name(sPath) sNewName = FRename.Run(sName, If(IsDir(sPath), ("Rename directory"), ("Rename file"))) IF NOT sNewName THEN RETURN sNewPath = RenameOneFile(sDir, sName, sNewName) ENDIF Refresh TRY ProjectTree[sNewPath].Selected = TRUE TRY ProjectTree[sNewPath].EnsureVisible CATCH Message.Error(Subst(("Unable to rename '&1'"), File.Name(sPath))) END PUBLIC FUNCTION Exist(sName AS String) AS Boolean RETURN Project.GetClasses().Find(sName, gb.Text) >= 0 END PRIVATE FUNCTION Lock() AS Boolean IF Application.Busy THEN RETURN TRUE INC Application.Busy 'PRINT "Lock" END PRIVATE SUB UnLock() DEC Application.Busy 'PRINT "Unlock" END PUBLIC FUNCTION GetProject() AS String RETURN FOpenProject.Run() END PUBLIC FUNCTION GetNewProject() AS String RETURN FNewProject.Run() END PRIVATE SUB LoadRecent() DIM nRecent AS Integer DIM hMenu AS Menu DIM iInd AS Integer DIM sPath AS String nRecent = Settings["/Recent/Count", 0] Recent.Clear FOR iInd = 1 TO nRecent sPath = Settings["/Recent/File[" & CStr(iInd) & "]"] IF sPath THEN IF Exist(sPath) THEN Recent.Add(sPath) IF Recent.Count >= MAX_RECENT THEN BREAK ENDIF ENDIF NEXT END PRIVATE SUB AddRecent(sPath AS String) DIM iInd AS Integer IF Right$(sPath) = "/" THEN sPath = Left$(sPath, -1) 'sPath = "(" & File.BaseName(sPath) & ") " & File.Dir(sPath) WHILE iInd < Recent.Count IF Recent[iInd] = sPath THEN Recent.Remove(iInd) ELSE INC iind ENDIF WEND Recent.Add(sPath, 0) WHILE Recent.Count > MAX_RECENT Recent.Remove(Recent.Count - 1) WEND END PRIVATE SUB SaveRecent() DIM iInd AS Integer Settings["/Recent/Count"] = CStr(Recent.Count) FOR iInd = 0 TO Recent.Count - 1 Settings["/Recent/File[" & CStr(iInd + 1) & "]"] = Recent[iInd] NEXT END PUBLIC FUNCTION CheckProjectName(sName AS String, OPTIONAL sDir AS String) AS Boolean DIM iInd AS Integer IF NOT sName THEN Message.Warning(("Please type a project name.")) RETURN TRUE ENDIF FOR iInd = 1 TO Len(sName) IF Instr(" .?*", Mid$(sName, iInd, 1)) OR Asc(Mid$(sName, iInd, 1)) > 127 THEN Message.Warning(("Forbidden characters in project name.")) RETURN TRUE ENDIF NEXT IF sDir THEN IF Exist(sDir &/ sName &/ PROJECT_FILE) THEN Message.Warning(("This project already exists.")) RETURN TRUE ENDIF ENDIF END PUBLIC SUB MakeSourcePackageTo(sPath AS String) DIM sCmd AS String DIM sOpt AS String INC Application.Busy IF Right$(sPath, 3) = ".gz" THEN sOpt = "z" ELSE IF Right$(sPath, 4) = ".bz2" THEN sOpt = "j" ENDIF sCmd = "cd " & Quote(File.Dir(Project.Dir)) & ";" sCmd = sCmd & " tar cfv" & sOpt & " " & Quote(sPath) sCmd = sCmd & " --exclude=" & ".gambas/*" sCmd = sCmd & " --exclude=" & "*~" sCmd = sCmd & " --exclude=" & ".lock" sCmd = sCmd & " --exclude=" & ".lang/*.pot" sCmd = sCmd & " --exclude=" & ".lang/.pot" sCmd = sCmd & " --exclude=" & "*/.xvpics/*" sCmd = sCmd & " --exclude=" & ".xvpics/*" sCmd = sCmd & " " & Quote(File.Name(Project.Dir)) & " > /dev/null" SHELL sCmd WAIT DEC Application.Busy END PUBLIC SUB MakePackage() Dialog.Path = System.Home &/ Name & "-" & Subst("&1.&2", MajorVersion, MinorVersion) & IIf(ReleaseVersion > 0, "." & ReleaseVersion, "") & ".tar.gz" Dialog.Title = ("Create source package") Dialog.Filter = [ ("Source packages") & " (*.tar.gz)", ("All files") & " (*.*)" ] IF Dialog.SaveFile() THEN RETURN MakeSourcePackageTo(Dialog.Path) END PUBLIC SUB RefreshForm() DIM hFile AS Object FOR EACH hFile IN Project.Files IF NOT Project.IsEditor(hFile) THEN hFile.Refresh ENDIF NEXT END PUBLIC SUB RefreshEditor() DIM hFile AS Object FOR EACH hFile IN Project.Files IF Project.IsEditor(hFile) THEN hFile.Refresh ENDIF NEXT END PUBLIC SUB RefreshLibrary() DIM sLib AS String DIM sClass AS String Types = NEW String[] FOR EACH sLib IN Libraries IF NOT CComponent.All.Exist(sLib) THEN CONTINUE WITH CComponent.All[sLib] .Load IF .Type THEN IF Types.Find(.Type) < 0 THEN Types.Add(.Type) ENDIF END WITH NEXT FToolBox.RefreshToolbar FCompletion.RefreshLibrary Project.Refresh END PUBLIC FUNCTION IsClassName(sName AS String) AS Boolean DIM sExt AS String sExt = File.Ext(sName) IF sExt = "class" THEN RETURN TRUE IF sExt = "module" THEN RETURN TRUE IF sExt = "form" THEN RETURN TRUE END PUBLIC FUNCTION StripPath(sPath AS String) AS String DIM sDir AS String sDir = Project.Dir IF Right$(sDir) <> "/" THEN sDir = sDir & "/" IF Left$(sPath, Len(sDir)) = sDir THEN RETURN Mid$(sPath, Len(sDir) + 1) ELSE RETURN sPath ENDIF END PUBLIC SUB RunTool(sTool AS String) DIM aExec AS NEW String[] aExec.Add(System.Path &/ "bin" &/ sTool) aExec.Add(Project.Dir) EXEC aExec END PUBLIC FUNCTION GetExamples() AS String[] DIM sFile AS String DIM sFile2 AS String DIM aList AS NEW String[] FOR EACH sFile IN Dir(EXAMPLES_DIR) IF Exist(EXAMPLES_DIR &/ sFile &/ ".project") THEN aList.Add(sFile) ELSE FOR EACH sFile2 IN Dir(EXAMPLES_DIR &/ sFile) aList.Add(sFile &/ sFile2) NEXT ENDIF NEXT aList.Sort FINALLY RETURN aList END PUBLIC SUB DefineStartup(sPath AS String, OPTIONAL bDoNotWrite AS Boolean) IF Startup THEN TRY ProjectTree[Project.Dir &/ Startup & ".module"].Picture = Picture["img/16/module.png"] TRY ProjectTree[Project.Dir &/ Startup & ".class"].Picture = Picture["img/16/class.png"] TRY ProjectTree[Project.Dir &/ Startup & ".form"].Picture = Picture["img/16/form.png"] ENDIF Startup = File.BaseName(sPath) IF NOT Project.Exist(Startup) THEN Startup = "" ENDIF IF Startup THEN TRY ProjectTree[Project.Dir &/ Startup & ".module"].Picture = Picture["img/16/module-start.png"] TRY ProjectTree[Project.Dir &/ Startup & ".class"].Picture = Picture["img/16/class-start.png"] TRY ProjectTree[Project.Dir &/ Startup & ".form"].Picture = Picture["img/16/form-start.png"] ENDIF IF NOT bDoNotWrite THEN WriteProject END PUBLIC SUB CopyFile(sSrc AS String, sDst AS String) DIM iInd AS Integer DIM sDest AS String DIM sExt AS String 'PRINT sSrc; " -> "; sDst sDest = sDst WHILE Exist(sDest) INC iInd sExt = File.Ext(sDst) IF sExt THEN sDest = File.Dir(sDst) &/ File.BaseName(sDst) & " (" & iInd & ")." & sExt ELSE sDest = File.Dir(sDst) &/ File.BaseName(sDst) & " (" & iInd & ")" ENDIF WEND COPY sSrc TO sDest Refresh SelectKey(sDest) CATCH Message.Error(Subst(("Cannot copy file &1."), sSrc) &"\n\n" & Error.Text) END PUBLIC SUB MoveFile(sSrc AS String, sDst AS String) RENAME sSrc AS sDst Refresh SelectKey(sDst) CATCH Message.Error(Subst(("Cannot move file &1."), sSrc) &"\n\n" & Error.Text) END ' PUBLIC SUB RefreshToolbox() ' ' FToolBox.ClearToolbar ' ' END PUBLIC FUNCTION GetNewName(sPrefix AS String) AS String DIM iInd AS Integer DIM sName AS String DO INC iInd sName = sPrefix & iInd IF NOT Project.Exist(sName) THEN RETURN sName LOOP END PUBLIC SUB ResetScan() DIM hFile AS Object FOR EACH hFile IN Files TRY hFile.Scan = NULL NEXT END PUBLIC FUNCTION AllowForm() AS Boolean RETURN Types.Find("Form") >= 0 END PUBLIC SUB MakeInstall() IF MakeExecutable(TRUE, TRUE) THEN RETURN IF NOT CheckProgram("rpmbuild") THEN RPMBUILD_PROG = "rpmbuild" ELSE IF NOT CheckProgram("rpm") THEN RPMBUILD_PROG = "rpm" ELSE Message.Error(("rpmbuild is not installed on your system.")) RETURN ENDIF FMakeInstall.ShowModal END PUBLIC SUB InitMove(hForm AS Form) IF FMain.X < (Desktop.W \ 2) THEN hForm.Move(Int(Rnd(FMain.X + FMain.W + 8, Desktop.Width - hForm.Width - 8)), Int(Rnd(0, Desktop.Height - hForm.Height))) ELSE hForm.Move(Int(Rnd(0, FMain.X - hForm.Width - 8)), Int(Rnd(0, Desktop.Height - hForm.Height))) ENDIF END PUBLIC FUNCTION GetIcon(sPath AS String, iSize AS Integer) AS Picture DIM hFile AS File DIM sLig AS String DIM hImage AS Image DIM hPict AS Picture OPEN sPath &/ ".project" FOR READ AS #hFile WHILE NOT Eof(hFile) LINE INPUT #hFile, sLig IF Left$(sLig, 5) = "Icon=" THEN sPath = sPath &/ Mid$(sLig, 6) hImage = NEW Image TRY hImage.Load(sPath) IF ERROR THEN hImage = NULL BREAK ENDIF WEND CLOSE #hFile FINALLY IF NOT hImage THEN hImage = NEW Image hImage.Load("img/32/gambas.png") ENDIF RETURN hImage.Stretch(iSize, iSize, TRUE).Picture END PRIVATE SUB CleanUpProject() DIM aDir AS NEW String[] DIM sFile AS String DIM sPath AS String aDir.Add(Project.Dir) WHILE aDir.Count FOR EACH sFile IN Dir(aDir[0]) sPath = aDir[0] &/ sFile IF IsDir(sPath) THEN aDir.Add(sPath) ELSE IF Right(sPath) = "~" THEN TRY KILL sPath ENDIF NEXT aDir.Remove(0) WEND CATCH Message.Error(("Cannot clean the project.") & "\n\n" & Error.Text) END PUBLIC SUB SetFormIcon(hForm AS FForm) ' ' DIM hPict AS Picture ' DIM eRap AS Float ' ' 'hForm.Raise ' hPict = hForm.Grab() ' hForm.Refresh ' eRap = hPict.Width / hPict.Height ' IF eRap > 4 THEN ' eRap = 4 ' hPict = hPict.Copy(0, 0, hPict.Height * eRap, hPict.Height) ' ELSE IF eRap < 0.5 THEN ' eRap = 0.5 ' hPict = hPict.Copy(0, 0, hPict.Width, hPict.Width / eRap) ' ENDIF ' IF eRap > 1 THEN ' hPict = hPict.Image.Stretch(32 * eRap, 32).Picture ' ELSE ' hPict = hPict.Image.Stretch(32, 32 / eRap).Picture ' ENDIF ' ' Draw.Begin(hPict) ' Draw.Foreground = &H808080& ' Draw.Rect(0, 0, hPict.Width, hPict.Height) ' Draw.End ' ' ProjectTree[Project.Dir &/ hForm.Name & ".form"].Picture = hPict ' ' CATCH ' ' PRINT Error.Text ' END PUBLIC FUNCTION CheckProgram(sProg AS String) AS Boolean DIM sTemp AS String DIM bError AS Boolean sTemp = Temp$ SHELL "which " & sProg & " > " & sTemp WAIT bError = Trim(File.Load(sTemp)) LIKE "which: *" KILL sTemp RETURN bError END PUBLIC FUNCTION OpenWebPage(sLink AS String) AS String DIM sExec AS String IF NOT $sBrowser THEN sExec = Application.Env["BROWSER"] IF NOT sExec THEN sExec = "konqueror" IF CheckProgram(sExec) THEN sExec = "firefox" IF CheckProgram(sExec) THEN sExec = "mozilla-firefox" IF CheckProgram(sExec) THEN sExec = "mozilla" IF CheckProgram(sExec) THEN sExec = "opera" IF CheckProgram(sExec) THEN RETURN ENDIF $sBrowser = sExec ENDIF SHELL $sBrowser & " " & Chr$(34) & sLink & Chr$(34) CATCH Message.Error(Error.Text) END From na2492 at ...9... Wed Dec 22 11:04:08 2004 From: na2492 at ...9... (Charlie Reinl) Date: Wed, 22 Dec 2004 11:04:08 00100 Subject: [Gambas-user] Program runs wild Message-ID: <41c94698.501c.0@...9...> > > >Charlie schrieb: >> Eilert schrieb: >> >>> >>> >>> Benoit Minisini schrieb: >>> >>>> On Tuesday 21 December 2004 11:45, Eilert wrote: >>>> >>>>> Hi Benoit, >>>>> >>>>> malheureusement pas >>>>> >>>>> It still shows the same behaviour, especially when I've switched to >>>>> another screen and come back after some time. But even when I stay on >>>>> the same screen and wait for half an hour or more, suddenly it >>>>> begins to >>>>> accumulate processing power. First on one processor, then it spreads on >>>>> all four (it's a Xeon). >>>>> >>>>> So, it can't have to do with the string processing, maybe it's the >>>>> timer? >>>>> >>>>> Rolf >>>>> >>>>> >>>> >>>> >>>> Can you send me your complete project ? >>>> >>> >>> Sure, here it is - have fun with it :-) >>> >>> et bonne chance >>> >>> Rolf >> >> >> Salut, >> >> I think you cumulate processes , >> try that, >> you have one process and you kill that process after work is done. >> >> (I haven't had a long time test with that) > >Well, I typed it in, it works, now we'll see if it runs nuts again :-) > >Thank you for that idea, looks great: > >> IF ListBox1.ForeColor = &H000000& THEN >> ListBox1.ForeColor = &H005500& >> ELSE >> ListBox1.ForeColor = &H000000& >> ENDIF >> WAIT > >Now, when I typed that > >> EXEC [ "who" ] FOR READ AS myWho > >the list refused to give me "myWho", instead it inserted "Menu". So I >had to erase it and type myWho by hand. But it runs anyway. > >Rolf Salut, sorry I just pasted the code into the mail, instead to attach the file Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Wed Dec 22 11:05:33 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 22 Dec 2004 11:05:33 +0100 Subject: [Gambas-user] A few questions. In-Reply-To: <20041221235309.46214.qmail@...738...> References: <20041221235309.46214.qmail@...738...> Message-ID: <200412221105.33567.gambas@...1...> On Wednesday 22 December 2004 00:53, Oliver Stieber wrote: > Hi, Hi, > I'm a bit of an old-skool vb progammer, I've used VB > since version 2 and even the dos version! and I've > been trying to get to grips with Gambas with the hopes > of porting some of my old work. Welcome to Gambas :-) > > > Anyhow, I've been having a few teething problems. > > 1: How do I create a type safe array of object and > pass it as a parameter to a function e.g. > > public sub dosomething(optional things as type[] = > null) > You can't. > > > 2: I've tried a 'work around' of creating a class > types that inherits object[], I've overridden? the add > function so that I can add a key and value (I know I > can do this with a collection, but I want to be able > to get the keys back too) > > PUBLIC SUB add(key AS String, value AS Variant) > DIM aparam AS Object > aparam = NEW parameter(key,value) > > which is find, but how do I call the object[] to add > I've tried add(aPARAM) but it doesn't work... You can do what you did in your next mail, or you can put the array inside your class as a private dynamic variable, without using inheritance. > > Also when I try to perform array access on my class it > fails, reporting class is not an array. It is actually possible by defining the "_get" method, but I disabled it for the 1.0 version. PUBLIC FUNCTION _get(Index AS Integer) AS will raise an error while compiling. > > > 3: I've also been playing around with some graphics > and couldn't find a way to read the value of a pixel, > is this possible? First, you must understand the difference between a picture stored on the X Server (Picture class) and a picture stored in the process memory (Image class). You can only modify a pixel on an Image object. To modify a pixel on a Picture object, you must: convert the Picture to an Image, modify the pixel, and then convert the Image to the Picture - It is a very heavy process! > > > 4: where can I request some which list functions... > the kind of things I always seem to re-write, like > (and I know this is a hack) > > PUBLIC FUNCTION ang(xvalue AS Float, yvalue AS Float) > AS Float > > DIM tanvalue AS Float > IF xvalue = 0 THEN > tanvalue = 90 > ELSE > tanvalue= Deg(ATan(yvalue/xvalue)) > END IF > IF tanvalue < 0 THEN tanvalue = tanvalue + 360 > IF xvalue > 0 THEN > tanvalue = tanvalue + 180 > END IF > IF tanvalue > 360 THEN tanvalue = tanvalue - 360 > > RETURN tanvalue > > END > > and > > PUBLIC FUNCTION mag(xvalue AS Float, yvalue AS Float) > AS Float > > RETURN Sqr(xvalue*xvalue + yvalue*yvalue) > > END > There - I will insert them in the TODO list. Note that I try to keep the interpreter size under 150K, so I don't try to insert as many functions as possible inside. What does exactly your ang() function ? > > 5: I've also done C/C++ for quite a few years too so I > don't mind helping out where I can (though I don't > really have time to get drawn into to many projects) Come on :-) > > 6: While I'm porting the apps I'll try to keep a log > of VB->Gambas issues and try to periodically > consolidate things, I'll post it as I go if you want. Very good idea. > > 7: The apps are old but quite interesting (no db stuff > thought, mostly VB3 he he) and are as follows. > > A full GUI fractal landscape, tree and vista generator > for povray, featuting FFT, many 2d graphic > manipulation functions, 3d preview and that kind of > thing, all in vb3, with some c helper libraies (that I > can redo in VB). > > screen short here > http://www.oliverthered.f2s.com/fractalworlds/ > > A simple visual component based logic simulator(put > lots of gates on the form, join the inputs and > outputs). > > A photograpic database (for photographers), a standard > database but with spline based vector graphics for > modeling you set. > > > Loads of other stuff too, adventure game generators, > AI's to solve mine-sweeper, maybe the odd byte code > interpreter, a RTF WISIWYG editor. that kind of thing. > > > Your more than welcome to include any of the > applications/demos with Gambas, they haven't made me > any money over the past 15 years(but they've got me a > quite a few jobs!). > Tell me when you succeed in your port, I think they could be become very good examples! Regards, -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Wed Dec 22 11:13:02 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 22 Dec 2004 11:13:02 +0100 Subject: [Gambas-user] A few questions. References: <20041221235309.46214.qmail@...738...> <200412221105.33567.gambas@...1...> Message-ID: Petit papa Noel :) Man could you please let us have a test of your povray thing ? I use wine for the windows version of povray on linux, and a gambas viewer would be nice :) Henri ----- Original Message ----- From: "Benoit Minisini" To: Sent: Wednesday, December 22, 2004 11:05 AM Subject: Re: [Gambas-user] A few questions. > On Wednesday 22 December 2004 00:53, Oliver Stieber wrote: > > Hi, > > Hi, > > > I'm a bit of an old-skool vb progammer, I've used VB > > since version 2 and even the dos version! and I've > > been trying to get to grips with Gambas with the hopes > > of porting some of my old work. > > Welcome to Gambas :-) > > > > > > > Anyhow, I've been having a few teething problems. > > > > 1: How do I create a type safe array of object and > > pass it as a parameter to a function e.g. > > > > public sub dosomething(optional things as type[] = > > null) > > > > You can't. > > > > > > > 2: I've tried a 'work around' of creating a class > > types that inherits object[], I've overridden? the add > > function so that I can add a key and value (I know I > > can do this with a collection, but I want to be able > > to get the keys back too) > > > > PUBLIC SUB add(key AS String, value AS Variant) > > DIM aparam AS Object > > aparam = NEW parameter(key,value) > > > > which is find, but how do I call the object[] to add > > I've tried add(aPARAM) but it doesn't work... > > You can do what you did in your next mail, or you can put the array inside > your class as a private dynamic variable, without using inheritance. > > > > > Also when I try to perform array access on my class it > > fails, reporting class is not an array. > > It is actually possible by defining the "_get" method, but I disabled it for > the 1.0 version. > > PUBLIC FUNCTION _get(Index AS Integer) AS > > will raise an error while compiling. > > > > > > > 3: I've also been playing around with some graphics > > and couldn't find a way to read the value of a pixel, > > is this possible? > > First, you must understand the difference between a picture stored on the X > Server (Picture class) and a picture stored in the process memory (Image > class). You can only modify a pixel on an Image object. To modify a pixel on > a Picture object, you must: convert the Picture to an Image, modify the > pixel, and then convert the Image to the Picture - It is a very heavy > process! > > > > > > > 4: where can I request some which list functions... > > the kind of things I always seem to re-write, like > > (and I know this is a hack) > > > > PUBLIC FUNCTION ang(xvalue AS Float, yvalue AS Float) > > AS Float > > > > DIM tanvalue AS Float > > IF xvalue = 0 THEN > > tanvalue = 90 > > ELSE > > tanvalue= Deg(ATan(yvalue/xvalue)) > > END IF > > IF tanvalue < 0 THEN tanvalue = tanvalue + 360 > > IF xvalue > 0 THEN > > tanvalue = tanvalue + 180 > > END IF > > IF tanvalue > 360 THEN tanvalue = tanvalue - 360 > > > > RETURN tanvalue > > > > END > > > > and > > > > PUBLIC FUNCTION mag(xvalue AS Float, yvalue AS Float) > > AS Float > > > > RETURN Sqr(xvalue*xvalue + yvalue*yvalue) > > > > END > > > > There - I will insert them in the TODO list. > > Note that I try to keep the interpreter size under 150K, so I don't try to > insert as many functions as possible inside. > > What does exactly your ang() function ? > > > > > 5: I've also done C/C++ for quite a few years too so I > > don't mind helping out where I can (though I don't > > really have time to get drawn into to many projects) > > Come on :-) > > > > > 6: While I'm porting the apps I'll try to keep a log > > of VB->Gambas issues and try to periodically > > consolidate things, I'll post it as I go if you want. > > Very good idea. > > > > > 7: The apps are old but quite interesting (no db stuff > > thought, mostly VB3 he he) and are as follows. > > > > A full GUI fractal landscape, tree and vista generator > > for povray, featuting FFT, many 2d graphic > > manipulation functions, 3d preview and that kind of > > thing, all in vb3, with some c helper libraies (that I > > can redo in VB). > > > > screen short here > > http://www.oliverthered.f2s.com/fractalworlds/ > > > > A simple visual component based logic simulator(put > > lots of gates on the form, join the inputs and > > outputs). > > > > A photograpic database (for photographers), a standard > > database but with spline based vector graphics for > > modeling you set. > > > > > > Loads of other stuff too, adventure game generators, > > AI's to solve mine-sweeper, maybe the odd byte code > > interpreter, a RTF WISIWYG editor. that kind of thing. > > > > > > Your more than welcome to include any of the > > applications/demos with Gambas, they haven't made me > > any money over the past 15 years(but they've got me a > > quite a few jobs!). > > > > Tell me when you succeed in your port, I think they could be become very good > examples! > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mike_keehan at ...679... Wed Dec 22 11:51:22 2004 From: mike_keehan at ...679... (Mike Keehan) Date: Wed, 22 Dec 2004 10:51:22 +0000 Subject: [Gambas-user] Program runs wild In-Reply-To: <41C937EF.9010305@...221...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C7FEDA.9080608@...221...> <200412211219.20400.gambas@...1...> <41C80C4F.3060706@...221...> <41C874E0.2050003@...9...> <41C937EF.9010305@...221...> Message-ID: <41C951AA.4070303@...679...> Eilert wrote: > > > Charlie schrieb: > >> Eilert schrieb: >> >>> >>> >>> Benoit Minisini schrieb: >>> >>>> On Tuesday 21 December 2004 11:45, Eilert wrote: >>>> >>>>> Hi Benoit, >>>>> >>>>> malheureusement pas >>>>> >>>>> It still shows the same behaviour, especially when I've switched to >>>>> another screen and come back after some time. But even when I stay on >>>>> the same screen and wait for half an hour or more, suddenly it >>>>> begins to >>>>> accumulate processing power. First on one processor, then it >>>>> spreads on >>>>> all four (it's a Xeon). >>>>> >>>>> So, it can't have to do with the string processing, maybe it's the >>>>> timer? >>>>> >>>>> Rolf >>>>> >>>>> >>>> >>>> >>>> Can you send me your complete project ? >>>> >>> >>> Sure, here it is - have fun with it :-) >>> >>> et bonne chance >>> >>> Rolf >> >> >> >> Salut, >> >> I think you cumulate processes , >> try that, >> you have one process and you kill that process after work is done. >> >> (I haven't had a long time test with that) > > > Well, I typed it in, it works, now we'll see if it runs nuts again :-) > > Thank you for that idea, looks great: > >> IF ListBox1.ForeColor = &H000000& THEN >> ListBox1.ForeColor = &H005500& >> ELSE >> ListBox1.ForeColor = &H000000& >> ENDIF >> WAIT > > > Now, when I typed that > >> EXEC [ "who" ] FOR READ AS myWho > > > the list refused to give me "myWho", instead it inserted "Menu". So I > had to erase it and type myWho by hand. But it runs anyway. > > Rolf > > > Hi, I've run your code on two machines - one works OK, the other has problems. The OK system is a laptop, a Pentium III running Gentoo and kernel 2.6.10-rc3. The problem system is a dual Pentium III running SUSE 9.0 with kernel 2.4.21. If I run Kwholist and then goto another workspace/desktop and then switch back, the Kwholist window stays blank. Running 'strace -p PID' (the pid of the /usr/bin/gbx process) shows many sched_yield() calls with the occasional nano_sleep(). A Google search for these two calls shows that this sort of problem has been seen in the past, but I couldn't find a final solution. It may be a problem with glibc or possibly with the kernel. A workaround in Gambas (that I am using in a project) is to run one shell continuously in the background and send it commands as required. See the Console example for how to do this. This seems to fix my similar problem. Mike From eilert-sprachen at ...221... Wed Dec 22 12:13:05 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 22 Dec 2004 12:13:05 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <41c94698.501c.0@...9...> References: <41c94698.501c.0@...9...> Message-ID: <41C956C1.9070709@...221...> Hi Charlie, unfortunately, it doesn't help. After 2 hours there was the same problem again. Nevertheless - thanks for your ideas... Rolf Charlie Reinl schrieb: >> >>Charlie schrieb: >> >>>Eilert schrieb: >>> >>> >>>> >>>>Benoit Minisini schrieb: >>>> >>>> >>>>>On Tuesday 21 December 2004 11:45, Eilert wrote: >>>>> >>>>> >>>>>>Hi Benoit, >>>>>> >>>>>>malheureusement pas >>>>>> >>>>>>It still shows the same behaviour, especially when I've switched to >>>>>>another screen and come back after some time. But even when I stay on > > >>>>>>the same screen and wait for half an hour or more, suddenly it >>>>>>begins to >>>>>>accumulate processing power. First on one processor, then it spreads on > > >>>>>>all four (it's a Xeon). >>>>>> >>>>>>So, it can't have to do with the string processing, maybe it's the >>>>>>timer? >>>>>> >>>>>>Rolf >>>>>> >>>>>> >>>>> >>>>> >>>>>Can you send me your complete project ? >>>>> >>>> >>>>Sure, here it is - have fun with it :-) >>>> >>>>et bonne chance >>>> >>>>Rolf >>> >>> >>>Salut, >>> >>>I think you cumulate processes , >>>try that, >>>you have one process and you kill that process after work is done. >>> >>>(I haven't had a long time test with that) >> >>Well, I typed it in, it works, now we'll see if it runs nuts again :-) >> >>Thank you for that idea, looks great: >> >> >>> IF ListBox1.ForeColor = &H000000& THEN >>> ListBox1.ForeColor = &H005500& >>> ELSE >>> ListBox1.ForeColor = &H000000& >>> ENDIF >>> WAIT >> >>Now, when I typed that >> >> >>> EXEC [ "who" ] FOR READ AS myWho >> >>the list refused to give me "myWho", instead it inserted "Menu". So I >>had to erase it and type myWho by hand. But it runs anyway. >> >>Rolf > > > Salut, > > sorry I just pasted the code into the mail, > instead to attach the file > > Amicalment > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Wed Dec 22 12:15:58 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 22 Dec 2004 12:15:58 +0100 Subject: [Gambas-user] Program runs wild In-Reply-To: <41C951AA.4070303@...679...> References: <41C6B775.3040106@...221...> <200412201238.17424.gambas@...1...> <41C7FEDA.9080608@...221...> <200412211219.20400.gambas@...1...> <41C80C4F.3060706@...221...> <41C874E0.2050003@...9...> <41C937EF.9010305@...221...> <41C951AA.4070303@...679...> Message-ID: <41C9576E.5020908@...221...> Hi Mike, Charlie's trick didn't help as you can read from my mail to him. I'll print out your comments and maybe try later. First I'll have to have a look at the Console example. Maybe I'll find time for it during the holidays... :-) Thanks anyway! Rolf Mike Keehan schrieb: > Eilert wrote: > >> >> >> Charlie schrieb: >> >>> Eilert schrieb: >>> >>>> >>>> >>>> Benoit Minisini schrieb: >>>> >>>>> On Tuesday 21 December 2004 11:45, Eilert wrote: >>>>> >>>>>> Hi Benoit, >>>>>> >>>>>> malheureusement pas >>>>>> >>>>>> It still shows the same behaviour, especially when I've switched to >>>>>> another screen and come back after some time. But even when I stay on >>>>>> the same screen and wait for half an hour or more, suddenly it >>>>>> begins to >>>>>> accumulate processing power. First on one processor, then it >>>>>> spreads on >>>>>> all four (it's a Xeon). >>>>>> >>>>>> So, it can't have to do with the string processing, maybe it's the >>>>>> timer? >>>>>> >>>>>> Rolf >>>>>> >>>>>> >>>>> >>>>> >>>>> Can you send me your complete project ? >>>>> >>>> >>>> Sure, here it is - have fun with it :-) >>>> >>>> et bonne chance >>>> >>>> Rolf >>> >>> >>> >>> >>> Salut, >>> >>> I think you cumulate processes , >>> try that, >>> you have one process and you kill that process after work is done. >>> >>> (I haven't had a long time test with that) >> >> >> >> Well, I typed it in, it works, now we'll see if it runs nuts again :-) >> >> Thank you for that idea, looks great: >> >>> IF ListBox1.ForeColor = &H000000& THEN >>> ListBox1.ForeColor = &H005500& >>> ELSE >>> ListBox1.ForeColor = &H000000& >>> ENDIF >>> WAIT >> >> >> >> Now, when I typed that >> >>> EXEC [ "who" ] FOR READ AS myWho >> >> >> >> the list refused to give me "myWho", instead it inserted "Menu". So I >> had to erase it and type myWho by hand. But it runs anyway. >> >> Rolf >> >> >> > Hi, > > I've run your code on two machines - one works OK, the other has problems. > > The OK system is a laptop, a Pentium III running Gentoo and kernel > 2.6.10-rc3. > > The problem system is a dual Pentium III running SUSE 9.0 with kernel > 2.4.21. If I run Kwholist and then goto another workspace/desktop and > then switch back, the Kwholist window stays blank. Running 'strace -p > PID' (the pid of the /usr/bin/gbx process) shows many sched_yield() > calls with the occasional nano_sleep(). > > A Google search for these two calls shows that this sort of problem has > been seen in the past, but I couldn't find a final solution. It may be > a problem with glibc or possibly with the kernel. > > A workaround in Gambas (that I am using in a project) is to run one > shell continuously in the background and send it commands as required. > See the Console example for how to do this. This seems to fix my > similar problem. > > Mike > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From oliver_stieber at ...370... Wed Dec 22 13:51:41 2004 From: oliver_stieber at ...370... (Oliver Stieber) Date: Wed, 22 Dec 2004 12:51:41 +0000 (GMT) Subject: [Gambas-user] A few questions. In-Reply-To: <200412221105.33567.gambas@...1...> Message-ID: <20041222125141.79732.qmail@...742...> > > First, you must understand the difference between a > picture stored on the X > Server (Picture class) and a picture stored in the > process memory (Image > class). You can only modify a pixel on an Image > object. To modify a pixel on > a Picture object, you must: convert the Picture to > an Image, modify the > pixel, and then convert the Image to the Picture - > It is a very heavy > process! Ahha. I've found it... image[x as integer, y as integer] as integer, should have RTFM..... ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From oliver_stieber at ...370... Wed Dec 22 13:56:28 2004 From: oliver_stieber at ...370... (Oliver Stieber) Date: Wed, 22 Dec 2004 12:56:28 +0000 (GMT) Subject: [Gambas-user] A few questions. In-Reply-To: Message-ID: <20041222125628.49693.qmail@...743...> > > > 4: where can I request some which list > functions... > > > the kind of things I always seem to re-write, > like > > > (and I know this is a hack) > > > > > > PUBLIC FUNCTION ang(xvalue AS Float, yvalue AS > Float) > > > AS Float > > > > > > DIM tanvalue AS Float > > > IF xvalue = 0 THEN > > > tanvalue = 90 > > > ELSE > > > tanvalue= Deg(ATan(yvalue/xvalue)) > > > END IF > > > IF tanvalue < 0 THEN tanvalue = tanvalue + 360 > > > IF xvalue > 0 THEN > > > tanvalue = tanvalue + 180 > > > END IF > > > IF tanvalue > 360 THEN tanvalue = tanvalue - > 360 > > > > > > RETURN tanvalue > > > > > > END > > > > > > and > > > > > > PUBLIC FUNCTION mag(xvalue AS Float, yvalue AS > Float) > > > AS Float > > > > > > RETURN Sqr(xvalue*xvalue + yvalue*yvalue) > > > > > > END > > > > > > > There - I will insert them in the TODO list. > > > > Note that I try to keep the interpreter size under > 150K, so I don't try to > > insert as many functions as possible inside. > > > > What does exactly your ang() function ? Calculates the angle of a vector[x,y] from the origin. (possibly the only time I ever use atan). ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From gambas at ...1... Wed Dec 22 14:14:44 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 22 Dec 2004 14:14:44 +0100 Subject: [Gambas-user] French Mailing list In-Reply-To: <200412211245.37044.seraf1@...736...> References: <41C6B775.3040106@...221...> <200412211245.37044.seraf1@...736...> Message-ID: <200412221414.44484.gambas@...1...> On Tuesday 21 December 2004 12:45, Philippe SERAPHIN wrote: > Hi, > > Can you create a French Mailing List for Gambas because a lot of French > Gambas User's are newbies and it is easiest to understand the help in > natural langage. > > Sorry, but my english is very very bad :-(. > > Thanks, > > Philippe SERAPHIN. > This is done! Go to the web site on the mailing-list page to find it. Regards, -- Benoit Minisini mailto:gambas at ...1... From mike_keehan at ...679... Wed Dec 22 15:37:09 2004 From: mike_keehan at ...679... (Mike Keehan) Date: Wed, 22 Dec 2004 14:37:09 +0000 Subject: [Gambas-user] Information: Set a variable from Shell command In-Reply-To: <001a01c4e77b$e9bb0cc0$83631e0a@...737...> References: <001a01c4e77b$e9bb0cc0$83631e0a@...737...> Message-ID: <41C98695.3080505@...679...> Sniper wrote: > I have work with the gambas version 0.95 where I can't set a variable > from shell command, ex: test = Shell "who". > Now I make a redirect to file and I read this file. In the new version I > can set a variable from a shell command or this fuction is not implemed > in this version? Thank's > This works:- Dim Svar as String SHELL "who > /tmp/who.out" WAIT Svar = File.Load("/tmp.out") OK? Mike. From gambasfr at ...11... Wed Dec 22 22:18:10 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 22 Dec 2004 22:18:10 +0100 Subject: [Gambas-user] I am back again In-Reply-To: <200412211535.27578.gambas@...1...> References: <200412201951.58209.jochengeorges@...467...> <200412211535.27578.gambas@...1...> Message-ID: <200412222218.10839.gambasfr@...11...> Le mardi 21 D?cembre 2004 15:35, Benoit Minisini a ?crit?: > On Monday 20 December 2004 20:42, Jochen Georges wrote: > > Hello gambonauts, > > > > after a long time I'm back on the list. > > My last gambasversion was 0.52 I think. > > > > Now I am surprised how it has develop, great - it looks really good. > > > > "www.theeasygambasdoku.de" will be closed soon and the examples does not > > work anymore, I will fix them in the wiki. > > > > Beste Gr??e > > Jochen > > Welcome back ! Yes WELCOME Jochen !! :-) From jochengeorges at ...467... Wed Dec 22 22:51:11 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Wed, 22 Dec 2004 22:51:11 +0100 Subject: [Gambas-user] a bit of confusion Message-ID: <200412222251.11688.jochengeorges@...467...> Hello gambonauts, puh, for me as a hobby-programmer with no experience in VB or BASIC it is very hard to find (or to understand) information in the gambaswiki. Is it a good idea to have a look in the VB-API or a VB-Cookbook? Gambas could be the programming language for people like me, but I wonder if I'm the only one, who is that kind of blind. For christmas i would like to have a gambas doku, which is like the java-API (http://java.sun.com/j2se/1.4.2/docs/api). So please, don't be annoyed if i ask and ask and ask :) Frohe Weihnachten Jochen (who is still checking, repairing and reunderstanding the examples) From jochengeorges at ...467... Wed Dec 22 22:38:52 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Wed, 22 Dec 2004 22:38:52 +0100 Subject: [Gambas-user] save to a file Message-ID: <200412222237.16528.jochengeorges@...467...> Hello gambonauts, PUBLIC SUB Button2_Click() File.Save("test2.txt", TextArea1.Text) 'have a look in this directory now! END this does not work. If the file already exist, i get a message "access forbidden". If it does not, i get a message "file or directory does not exist" I tried different things like: MyFile AS File OPEN "test2.txt" FOR CREATE WRITE AS myFile File.Save("test2.txt", TextArea1.Text) But I'm not successful yet :( Thanks for any hint. Jochen From gambasfr at ...11... Wed Dec 22 23:36:41 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 22 Dec 2004 23:36:41 +0100 Subject: [Gambas-user] save to a file In-Reply-To: <200412222237.16528.jochengeorges@...467...> References: <200412222237.16528.jochengeorges@...467...> Message-ID: <200412222336.41808.gambasfr@...11...> Le mercredi 22 D?cembre 2004 22:38, Jochen Georges a ?crit?: > Hello gambonauts, > > PUBLIC SUB Button2_Click() > File.Save("test2.txt", TextArea1.Text) > 'have a look in this directory now! > END > > this does not work. > If the file already exist, i get a message "access forbidden". Are you sure you have rigth to write on this file ?... in fact no and the reason is simple test2.txt is in the executable archive... you need to write for exemple : File.Save(System.Home &/ "test2.txt", TextArea1.Text) > If it does not, i get a message "file or directory does not exist" normal > I tried different things like: MyFile AS File OPEN system.home &/ "test2.txt" FOR CREATE WRITE AS myFile CLOSE MyFile File.Save(system.home &/ "test2.txt", TextArea1.Text) > > But I'm not successful yet :( > > Thanks for any hint. No problem > Jochen > Fabien Bodard > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Wed Dec 22 23:40:19 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 22 Dec 2004 23:40:19 +0100 Subject: [Gambas-user] Merry chrismas to all Message-ID: <200412222340.19888.gambasfr@...11...> and its all i've to say From sourceforge-raindog2 at ...94... Wed Dec 22 23:39:23 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 22 Dec 2004 17:39:23 -0500 Subject: [Gambas-user] save to a file In-Reply-To: <200412222237.16528.jochengeorges@...467...> References: <200412222237.16528.jochengeorges@...467...> Message-ID: <200412221739.23548.sourceforge-raindog2@...94...> On Wednesday 22 December 2004 16:38, Jochen Georges wrote: > File.Save("test2.txt", TextArea1.Text) > this does not work. > If the file already exist, i get a message "access forbidden". > If it does not, i get a message "file or directory does not > exist" Specifying a filename with no path means you want to use the current directory, which is usually the directory of your Gambas project. This works fine when you're in the IDE, but after you've compiled the project and made an executable, filenames without paths refer to files embedded in your executable. Since you can't write to embedded files like that, the language prevents you from writing to files without pathnames even if you're running the program from the IDE. (I personally think it should simply write a file to the current directory as it exists at runtime, and assume the programmer knows what he is doing, but I am not Benoit ;) ) I would suggest using something like File.Save(System.Home &/ "test2.txt", TextArea1.Text). Rob From Stefan at ...744... Thu Dec 23 00:00:16 2004 From: Stefan at ...744... (Stefan Lamprecht) Date: Thu, 23 Dec 2004 00:00:16 +0100 Subject: [Gambas-user] a bit of confusion In-Reply-To: <200412222251.11688.jochengeorges@...467...> References: <200412222251.11688.jochengeorges@...467...> Message-ID: <200412230000.17155.Stefan@...744...> dear readers, first of all and very important: a big 'thank you' for gambas. gamas covers a certain hole on linux desktops. i currently port a vb business app to gamba and hope to drag with this help the company totally to linux. this would be 'tres jolie' but it could be easier. i spend days finding out how to operate correctly with utf-8 strings. the information regarding this was close to zero (0) and more misleading in some cases. i suggest some kind of 'elegant' programming contest to gather some more and complete samples. feed the gambas m. Am Mittwoch, 22. Dezember 2004 22:51 schrieb Jochen Georges: > Hello gambonauts, > > puh, for me as a hobby-programmer with no experience in VB or BASIC it is > very hard to find (or to understand) information in the gambaswiki. > > Is it a good idea to have a look in the VB-API or a VB-Cookbook? > > Gambas could be the programming language for people like me, but I wonder > if I'm the only one, who is that kind of blind. > > For christmas i would like to have a gambas doku, which is like the > java-API (http://java.sun.com/j2se/1.4.2/docs/api). > > So please, don't be annoyed if i ask and ask and ask :) > > Frohe Weihnachten > Jochen (who is still checking, repairing and reunderstanding the examples) > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- http://www.lamprecht-datentechnik.de 12205 Berlin Theklastr. 5 mobil 0179 483 15 38 Telefon 030 843 13 229 Telefax 030 843 13 388 From sourceforge-raindog2 at ...94... Thu Dec 23 00:33:05 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 22 Dec 2004 18:33:05 -0500 Subject: [Gambas-user] a bit of confusion In-Reply-To: <200412230000.17155.Stefan@...744...> References: <200412222251.11688.jochengeorges@...467...> <200412230000.17155.Stefan@...744...> Message-ID: <200412221833.05188.sourceforge-raindog2@...94...> On Wednesday 22 December 2004 16:51, Jochen Georges wrote: > puh, for me as a hobby-programmer with no experience in VB or > BASIC it is very hard to find (or to understand) information > in the gambaswiki. > Jochen (who is still checking, repairing and reunderstanding > the examples) On Wednesday 22 December 2004 18:00, Stefan Lamprecht wrote: > i spend days finding out how to operate correctly with utf-8 > strings. the information regarding this was close to zero (0) > and more misleading in some cases. > i suggest some kind of 'elegant' programming contest to gather > some more and complete samples. I've heard stuff like this from people off and on. I'm not sure if you guys are aware of this, but on the wiki, you can press "Edit" on any page and (assuming you have registered) make whatever changes you would like to see. In particular, while I'd love to get on there and make a lot of examples easier to understand, I am essentially monolingual where programming is concerned and have no idea what any of this UTF-8 or other unicode stuff means. So you guys who speak more than one language and need to do unicode conversions will have to update the documentation yourselves. Additionally, if you have an idea for a new kind of Gambas documentation, whether it's a tutorial or cookbook (though I thought the How Do I... pages were kind of like a cookbook) you don't need to ask, you can just start doing it! Even if you just start out by putting a table of contents out there somewhere, and then mention it here, other people will check it out and add more stuff to it. Nelson and I and various other people wrote an article that way last year to promote Gambas. I have been meaning to write a dummies/24hours/etc. type of book about Gambas for almost a year now, and got as far as outlining it earlier this year on paper, but work has swamped me and I don't expect to have the time to do it alone in the foreseeable future. If you are bashful and don't want your stuff to appear in the Gambas help files before it's done, you can put before the link to your new page and after it, and it will not be included in the static version of the wiki which is used to make the help files. Rob From Stefan at ...744... Thu Dec 23 01:41:32 2004 From: Stefan at ...744... (Stefan Lamprecht) Date: Thu, 23 Dec 2004 01:41:32 +0100 Subject: [Gambas-user] a bit of confusion In-Reply-To: <200412221833.05188.sourceforge-raindog2@...94...> References: <200412222251.11688.jochengeorges@...467...> <200412230000.17155.Stefan@...744...> <200412221833.05188.sourceforge-raindog2@...94...> Message-ID: <200412230141.33040.Stefan@...744...> dear reader, Am Donnerstag, 23. Dezember 2004 00:33 schrieb Rob: > On Wednesday 22 December 2004 18:00, Stefan Lamprecht wrote: > > i spend days finding out how to operate correctly with utf-8 > > strings. the information regarding this was close to zero (0) > > and more misleading in some cases. > > i suggest some kind of 'elegant' programming contest to gather > > some more and complete samples. >I've heard stuff like this from people off and on. I'm not sure >if you guys are aware of this, but on the wiki, you can press >"Edit" on any page and (assuming you have registered) make >whatever changes you would indeed, now i could and i will. but how does the 'edit' button help me if i don t know the answer? >concerned and have no idea what any of this UTF-8 or other > unicode stuff means. > So you guys who speak more than one > language sounds like you are an us-amerian > and need to do unicode conversions will have to update > the documentation yourselves. nobody spoke about conversions. i make it plain for you: most people on earth use a language (just one) which includes characters not covered by ascii >127 therefore there is a need for local characters my linux box is complete running utf-8, as you can expect for most nowadays linux distributions and for all upcoming. this two points led to the fact that my utf-8 problem is not the problem of one guy speaking two languages (how suspicious) it is the problem of everybody using gambas, a recent distri and a language like french, german, polish, russia,not to mention the asiatic languages. but i will not blame the documentation or the documentators, i will just show the need for more detailed information. i feel invited to add the needed information from my case into the wiki feed the wiki! m. From sourceforge-raindog2 at ...94... Thu Dec 23 04:55:04 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 22 Dec 2004 22:55:04 -0500 Subject: [Gambas-user] a bit of confusion In-Reply-To: <200412230141.33040.Stefan@...744...> References: <200412222251.11688.jochengeorges@...467...> <200412221833.05188.sourceforge-raindog2@...94...> <200412230141.33040.Stefan@...744...> Message-ID: <200412222255.04792.sourceforge-raindog2@...94...> On Wednesday 22 December 2004 19:41, Stefan Lamprecht wrote: > this two points led to the fact that my utf-8 problem is not > the problem of one guy speaking two languages (how suspicious) > it is the problem of everybody using gambas, a recent distri > and a language like french, german, polish, russia,not to > mention the asiatic languages. Right, whereas I am in the US and am all about ASCII. My point wasn't that your problem is invalid in any way, but that I have no use for any internationalization features at all and therefore have no experience with them, just as someone who's never had a net connection would have no idea how to use networking functions. As such, I am ill-equipped to document them, but many people on this mailing list are quite familiar with them. Rob From gambas at ...1... Thu Dec 23 10:37:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 23 Dec 2004 10:37:32 +0100 Subject: Gambas and UTF-8 (Was Re: [Gambas-user] a bit of confusion) In-Reply-To: <200412230000.17155.Stefan@...744...> References: <200412222251.11688.jochengeorges@...467...> <200412230000.17155.Stefan@...744...> Message-ID: <200412231037.32883.gambas@...1...> On Thursday 23 December 2004 00:00, Stefan Lamprecht wrote: > i spend days finding out how to operate correctly with utf-8 strings. > the information regarding this was close to zero (0) and more misleading in > some cases. > i suggest some kind of 'elegant' programming contest to gather some more > and complete samples. > > feed the gambas > Gambas uses ASCII internally, but uses UTF-8 for strings that should be displayed, and for file names inside components. For those who don't know what are UTF-8 and Unicode, you can go there: http://www.cl.cam.ac.uk/~mgk25/unicode.html Qt uses Unicode internally, so every string sent to and got from Qt are converted to UTF-8. Note that when you type a string in the IDE, you use Qt indirectly, and so all what you type is UTF-8. Create a text file with the IDE, enter non-ASCII characters, save it, and open it with KWrite, and you will see what I mean. When I say that Gambas uses ASCII internally, I want to mean that EVERY native Gambas string functions deals with ASCII: Left$(), Mid$(), Right$(), Instr(), Len(), ... When you want to deal with UTF-8 strings, you have a class named "String" with many static methods that process UTF-8 strings instead of ASCII ones: for example, Len("?") = 2 and String.Len("?") = 1. Read the wiki for more information about each method. Gambas has a conversion function named... Conv$() that can convert any string charset to any other string charset (or almost). For example, Conv$("???", "UTF-8", "ISO8859-1"). If the Qt component returns UTF-8 strings, the output of shell commands uses the charset of the system. To deal with that problem, you must use Conv$() and the two following class properties: System.Charset, that returns the charset used by the system, and Desktop.Charset, that returns the charset used by the GUI component. On Fedora, Desktop.Charset = System.Charset = "UTF-8", but not on Mandrake where System.Charset depends on your system language. When all Linux systems become UTF-8 based, things will be simpler. I hope things are clearer. Do not hesitate to ask questions about that. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Thu Dec 23 13:07:03 2004 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 23 Dec 2004 13:07:03 +0100 Subject: [Gambas-user] Merry chrismas Message-ID: <1103803623.8995.1.camel@...40...> Merry chrismas!!!! Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas.png Type: image/png Size: 10550 bytes Desc: not available URL: From leo.barnhoorn at ...246... Thu Dec 23 13:13:11 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 23 Dec 2004 13:13:11 +0100 Subject: [Gambas-user] Merry Christmas!!!! Message-ID: <200412231313.11163.leo.barnhoorn@...246...> Hello All, Merry Christmas!!!! Regards, Leo. From jochengeorges at ...467... Thu Dec 23 17:24:58 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Thu, 23 Dec 2004 17:24:58 +0100 Subject: [Gambas-user] start gimp via EXEC Message-ID: <200412231724.59047.jochengeorges@...467...> Hello gambanauts, I want to start gimp via EXEC, the following code does not work, but it does not throw an error messeges. Any hints ? Thanks in advance. Beste Gruesse Jochen PRIVATE myProcess AS Process PUBLIC SUB _new() ME.Title = "Working with EXEC" ComboBox1.add("/usr/bin/X11/xcalc") ComboBox1.add("gimp") END PUBLIC SUB btnFire_Click() IF Trim(ComboBox1.Text) <> "" THEN 'Trim strips the whitespaces from a string TextArea1.Text = "" TextArea2.Text = "" EXEC ["ComboBox1.Text"] FOR READ WRITE AS myProcess ELSE TextArea1.Text = "please choose or enter a program to execute" ENDIF END PUBLIC SUB btnClose_Click() ME.Close() END PUBLIC SUB Process_Write(sData AS String) ' if something is coming back ' the event 'Process.Write' of the class process calls this function TextArea2.Text = " Process '" & myProcess.command & "' " & sData END PUBLIC SUB Process_Error(sData AS String) ' if an error occurred ' the event 'Process.Error' of the class process calls this function TextArea1.Text = " Process '" & myProcess.command & "' " & sData END PUBLIC SUB Process_Kill() ' if the process is killed ' the event 'Process.Kill' of the class process calls this function myProcess = NULL END From sourceforge-raindog2 at ...94... Thu Dec 23 17:54:37 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 23 Dec 2004 11:54:37 -0500 Subject: [Gambas-user] start gimp via EXEC In-Reply-To: <200412231724.59047.jochengeorges@...467...> References: <200412231724.59047.jochengeorges@...467...> Message-ID: <200412231154.37917.sourceforge-raindog2@...94...> On Thursday 23 December 2004 11:24, Jochen Georges wrote: > I want to start gimp via EXEC, the following code does not > work, but it does not throw an error messeges. > EXEC ["ComboBox1.Text"] FOR READ WRITE AS myProcess Looks to me like you're trying to run a program called "ComboBox1.Text" rather than run a program named in the Text property of ComboBox1. Try removing those double quotes? Rob From k-p.richter at ...20... Thu Dec 23 17:39:57 2004 From: k-p.richter at ...20... (Peter) Date: Thu, 23 Dec 2004 17:39:57 +0100 Subject: [Gambas-user] Information: Set a variable from Shell command In-Reply-To: <41C98695.3080505@...679...> References: <001a01c4e77b$e9bb0cc0$83631e0a@...737...> <41C98695.3080505@...679...> Message-ID: <200412231739.57743.k-p.richter@...20...> Am Mittwoch, 22. Dezember 2004 15:37 schrieb Mike Keehan: > This works:- > > > Dim Svar as String > > SHELL "who > /tmp/who.out" WAIT > Svar = File.Load("/tmp/who.out") KILL "/tmp/who.out" ' (I am born in Prussia ;-) > > Mike. Peter From pvera at ...729... Thu Dec 23 17:34:02 2004 From: pvera at ...729... (Pablo Vera) Date: Thu, 23 Dec 2004 10:34:02 -0600 Subject: [Gambas-user] start gimp via EXEC In-Reply-To: <200412231724.59047.jochengeorges@...467...> References: <200412231724.59047.jochengeorges@...467...> Message-ID: <41CAF37A.8060106@...729...> Remove the quotes from the EXEC command like this: EXEC [ComboBox1.Text] FOR READ WRITE AS myProcess You were trying to run a program called: ComboBox1.Text, instead of the program specified by the combobox. Saludos, Pablo Vera Jochen Georges wrote: >Hello gambanauts, > >I want to start gimp via EXEC, the following code does not work, but it does >not throw an error messeges. > >Any hints ? >Thanks in advance. >Beste Gruesse >Jochen > >PRIVATE myProcess AS Process > >PUBLIC SUB _new() > ME.Title = "Working with EXEC" > ComboBox1.add("/usr/bin/X11/xcalc") > ComboBox1.add("gimp") >END > >PUBLIC SUB btnFire_Click() > IF Trim(ComboBox1.Text) <> "" THEN > 'Trim strips the whitespaces from a string > TextArea1.Text = "" > TextArea2.Text = "" > EXEC ["ComboBox1.Text"] FOR READ WRITE AS myProcess > ELSE > TextArea1.Text = "please choose or enter a program to execute" > ENDIF >END > >PUBLIC SUB btnClose_Click() > ME.Close() >END > >PUBLIC SUB Process_Write(sData AS String) >' if something is coming back >' the event 'Process.Write' of the class process calls this function > TextArea2.Text = " Process '" & myProcess.command & "' " & sData >END > >PUBLIC SUB Process_Error(sData AS String) >' if an error occurred >' the event 'Process.Error' of the class process calls this function > TextArea1.Text = " Process '" & myProcess.command & "' " & sData >END > >PUBLIC SUB Process_Kill() >' if the process is killed >' the event 'Process.Kill' of the class process calls this function > myProcess = NULL >END > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 12/22/04 From leo.barnhoorn at ...246... Fri Dec 24 01:40:28 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Fri, 24 Dec 2004 01:40:28 +0100 Subject: [Gambas-user] Error! Message-ID: <200412240140.28471.leo.barnhoorn@...246...> Hello Benoit, On my system running with SuSE 8.1 i get a error when i do make install on gambas-0.99.RC5. This error comes when the make install comes at the point : Creating the library info files...... The error it give is : /opt/gambas/lib/gambas/lib.gb.qt.so: /opt/gambas/lib/gambas/lib.gb.qt.so: undefined symbol: _ZN110MessageBox10closeEventEP110CloseEvent configure : OK make : OK I have tryed with reconf and i get the same error. Deleted the gambas directory still the same error. Can you help me. Regards, Leo. From Stefan at ...744... Fri Dec 24 02:07:28 2004 From: Stefan at ...744... (Stefan Lamprecht) Date: Fri, 24 Dec 2004 02:07:28 +0100 Subject: [Gambas-user] Error! In-Reply-To: <200412240140.28471.leo.barnhoorn@...246...> References: <200412240140.28471.leo.barnhoorn@...246...> Message-ID: <200412240207.28688.Stefan@...744...> dear leo, your installed version of qtlib on suse 8.1 is probably to old. i had compile problems on my laptop running an older 8.2 suse, (not only) therefor i updated. i compiled and run RC5 successfull on suse 9.1 and 9.2 you may find some KDE update for suse 8.1 on their ftp, which can be installed with yast via system update. its likly that this includes the most recent qt lib availiable for suse 8.1, but i can t say if this is qt pack is new enough to support recent gambas. you may consider to compile qt from recent source to get gambas working but this is a delicate operation which requires more than basic skills, especially when you are running KDE m. Am Freitag, 24. Dezember 2004 01:40 schrieb Leo Barnhoorn: > Hello Benoit, > > On my system running with SuSE 8.1 i get a error when i do make install on > gambas-0.99.RC5. > > This error comes when the make install comes at the point : > Creating the library info files...... > > The error it give is : /opt/gambas/lib/gambas/lib.gb.qt.so: > /opt/gambas/lib/gambas/lib.gb.qt.so: undefined symbol: > _ZN110MessageBox10closeEventEP110CloseEvent > > configure : OK > make : OK > > I have tryed with reconf and i get the same error. > > Deleted the gambas directory still the same error. > > Can you help me. > > Regards, > Leo. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From leo.barnhoorn at ...246... Fri Dec 24 02:18:45 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Fri, 24 Dec 2004 02:18:45 +0100 Subject: [Gambas-user] Error! In-Reply-To: <200412240207.28688.Stefan@...744...> References: <200412240140.28471.leo.barnhoorn@...246...> <200412240207.28688.Stefan@...744...> Message-ID: <200412240218.45493.leo.barnhoorn@...246...> Hello Stefan, Thanks for the information, yes here it is also running on a 9.0 and 9.1 system. So the best thing i can do is to update this system to 9.1 or maybe to 9.2 now it is realy goodby for SuSE 8.2 Thanks Stefan. Regards, Leo. On Friday 24 December 2004 02:07, Stefan Lamprecht wrote: > dear leo, > > your installed version of qtlib on suse 8.1 is probably to old. > i had compile problems on my laptop running an older 8.2 suse, (not only) > therefor i updated. > i compiled and run RC5 successfull on suse 9.1 and 9.2 > you may find some KDE update for suse 8.1 on their ftp, which can be > installed with yast via system update. > its likly that this includes the most recent qt lib availiable for suse > 8.1, but i can t say if this is qt pack is new enough to support recent > gambas. > > you may consider to compile qt from recent source to get gambas working but > this is a delicate operation which requires more than basic skills, > especially when you are running KDE > > > > m. > > Am Freitag, 24. Dezember 2004 01:40 schrieb Leo Barnhoorn: > > Hello Benoit, > > > > On my system running with SuSE 8.1 i get a error when i do make install > > on gambas-0.99.RC5. > > > > This error comes when the make install comes at the point : > > Creating the library info files...... > > > > The error it give is : /opt/gambas/lib/gambas/lib.gb.qt.so: > > /opt/gambas/lib/gambas/lib.gb.qt.so: undefined symbol: > > _ZN110MessageBox10closeEventEP110CloseEvent > > > > configure : OK > > make : OK > > > > I have tryed with reconf and i get the same error. > > > > Deleted the gambas directory still the same error. > > > > Can you help me. > > > > Regards, > > Leo. > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bundeshund at ...467... Fri Dec 24 08:46:21 2004 From: bundeshund at ...467... (HMB) Date: Fri, 24 Dec 2004 08:46:21 +0100 Subject: [Gambas-user] Merry chrismas In-Reply-To: <1103803623.8995.1.camel@...40...> References: <1103803623.8995.1.camel@...40...> Message-ID: <200412240846.21362.bundeshund@...467...> Am Donnerstag, 23. Dezember 2004 13:07 schrieb Daniel Campos: > Merry chrismas!!!! > Same from me to all gambanesians! (wrote my last lines with gambas is now over 3 month ago :( I hope the new year brings me some more time for finishing my project) > Daniel Campos Hans-Martin From danielcampos at ...282... Fri Dec 24 11:00:49 2004 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 24 Dec 2004 11:00:49 +0100 Subject: [Gambas-user] test Message-ID: <41CBE8D1.8090302@...282...> test From mike_keehan at ...679... Fri Dec 24 18:09:59 2004 From: mike_keehan at ...679... (Mike Keehan) Date: Fri, 24 Dec 2004 17:09:59 +0000 Subject: [Gambas-user] Information: Set a variable from Shell command In-Reply-To: <200412231739.57743.k-p.richter@...20...> References: <001a01c4e77b$e9bb0cc0$83631e0a@...737...> <41C98695.3080505@...679...> <200412231739.57743.k-p.richter@...20...> Message-ID: <41CC4D67.5080200@...679...> Peter wrote: > Am Mittwoch, 22. Dezember 2004 15:37 schrieb Mike Keehan: > >>This works:- >> >> >> Dim Svar as String >> >> SHELL "who > /tmp/who.out" WAIT >> Svar = File.Load("/tmp/who.out") > > KILL "/tmp/who.out" ' (I am born in Prussia ;-) > >>Mike. > > > Peter > > Hehe. Merry Christmas. Mike From lordheavy at ...512... Sat Dec 25 00:17:43 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 25 Dec 2004 00:17:43 +0100 Subject: [Gambas-user] Merry Christmas ! Message-ID: <200412250017.43961.lordheavy@...512...> Merry Christmas from France ! -- Laurent Carlier From lordheavy at ...512... Sat Dec 25 00:27:47 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 25 Dec 2004 00:27:47 +0100 Subject: [Gambas-user] Joyeux Noel ! Message-ID: <200412250027.47656.lordheavy@...512...> Ben Joyeux noel de mon Nord profond ! -- Laurent Carlier From lbaudio at ...172... Sat Dec 25 00:29:27 2004 From: lbaudio at ...172... (LB Audio) Date: Fri, 24 Dec 2004 21:29:27 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Merry Christmas ! References: <200412250017.43961.lordheavy@...512...> Message-ID: <41CCA657.000001.01184@...745...> Feliz Natal a todos. Lindomar. -------Original Message------- From: gambas-user at lists.sourceforge.net Date: 24/12/2004 21:14:01 To: gambas-devel at lists.sourceforge.net; gambas-user at lists.sourceforge.net Subject: [Gambas-user] Merry Christmas ! Merry Christmas from France ! -- Laurent Carlier ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- An HTML attachment was scrubbed... URL: From trorrr at ...397... Sat Dec 25 13:46:33 2004 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Sat, 25 Dec 2004 13:46:33 +0100 (CET) Subject: [Gambas-user] Merry Christmas ! In-Reply-To: <41CCA657.000001.01184@...745...> Message-ID: <20041225124633.30771.qmail@...747...> "Bo Nadal a todos" from Galicia (Spain) --- LB Audio escribi?: > Feliz Natal a todos. > > Lindomar. > > -------Original Message------- > > From: gambas-user at lists.sourceforge.net > Date: 24/12/2004 21:14:01 > To: gambas-devel at lists.sourceforge.net; > gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Merry Christmas ! > > Merry Christmas from France ! > > -- > > Laurent Carlier > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ______________________________________________ Renovamos el Correo Yahoo!: ?250 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es From bundeshund at ...467... Sat Dec 25 21:07:19 2004 From: bundeshund at ...467... (HMB) Date: Sat, 25 Dec 2004 21:07:19 +0100 Subject: [Gambas-user] Error! In-Reply-To: <200412240218.45493.leo.barnhoorn@...246...> References: <200412240140.28471.leo.barnhoorn@...246...> <200412240207.28688.Stefan@...744...> <200412240218.45493.leo.barnhoorn@...246...> Message-ID: <200412252107.19796.bundeshund@...467...> Am Freitag, 24. Dezember 2004 02:18 schrieb Leo Barnhoorn: > Hello Stefan, > > Thanks for the information, yes here it is also running on a 9.0 and 9.1 > system. So the best thing i can do is to update this system to 9.1 or maybe > to 9.2 now it is realy goodby for SuSE 8.2 8.1 or 8.2? For 8.2 i found this: ftp://ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_8.2/yast-source what you have to enter as an installation-source in/with yast and after that go to 'install/delete software' using yast and update all blue-written entries by selecting the filter to 'selections'-->zzzzz(all) [at the bottom] to see all availably packages... (be sure to select all blue-written entries!) But i don't know if this solves your problem. if not, well, then you have updatet your KDE to a higher version... But this can get your system much slower as i recogniced on my laptop :( it was ok with 8.2 and not usable with 9.1 out-of-the-box... now i run blackbox on it :) HTH HM > > Thanks Stefan. > > Regards, > Leo. > > On Friday 24 December 2004 02:07, Stefan Lamprecht wrote: > > dear leo, > > > > your installed version of qtlib on suse 8.1 is probably to old. > > i had compile problems on my laptop running an older 8.2 suse, (not only) > > therefor i updated. > > i compiled and run RC5 successfull on suse 9.1 and 9.2 > > you may find some KDE update for suse 8.1 on their ftp, which can be > > installed with yast via system update. > > its likly that this includes the most recent qt lib availiable for suse > > 8.1, but i can t say if this is qt pack is new enough to support recent > > gambas. > > > > you may consider to compile qt from recent source to get gambas working > > but this is a delicate operation which requires more than basic skills, > > especially when you are running KDE > > > > > > > > m. > > > > Am Freitag, 24. Dezember 2004 01:40 schrieb Leo Barnhoorn: > > > Hello Benoit, > > > > > > On my system running with SuSE 8.1 i get a error when i do make install > > > on gambas-0.99.RC5. > > > > > > This error comes when the make install comes at the point : > > > Creating the library info files...... > > > > > > The error it give is : /opt/gambas/lib/gambas/lib.gb.qt.so: > > > /opt/gambas/lib/gambas/lib.gb.qt.so: undefined symbol: > > > _ZN110MessageBox10closeEventEP110CloseEvent > > > > > > configure : OK > > > make : OK > > > > > > I have tryed with reconf and i get the same error. > > > > > > Deleted the gambas directory still the same error. > > > > > > Can you help me. > > > > > > Regards, > > > Leo. > > > > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real > > > users. Discover which products truly live up to the hype. Start reading > > > now. http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From scatman_ at ...17... Sat Dec 25 23:10:07 2004 From: scatman_ at ...17... (scatman) Date: Sat, 25 Dec 2004 23:10:07 +0100 Subject: [Gambas-user] Variable Message-ID: <200412252310.07216.scatman_@...17...> Hallo, how can i define a long long Variable ? THX From danielcampos at ...282... Sat Dec 25 23:36:29 2004 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 25 Dec 2004 23:36:29 +0100 Subject: [Gambas-user] Variable In-Reply-To: <200412252310.07216.scatman_@...17...> References: <200412252310.07216.scatman_@...17...> Message-ID: <41CDEB6D.8010609@...282...> scatman escribi?: >Hallo, > >how can i define a long long Variable ? > > Sorry but you can't can't now :-)), you have to work with "Integer", that is a 4 bytes variable, or Float data. Regards, D. Campos >THX > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From Stefan at ...744... Sun Dec 26 00:07:33 2004 From: Stefan at ...744... (Stefan Lamprecht) Date: Sun, 26 Dec 2004 00:07:33 +0100 Subject: [Gambas-user] compiling Message-ID: <200412260007.33762.Stefan@...744...> hi, i recently rebuild gambas from source using compiler 'optimizations' export CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer" export CXXFLAGS=$CFLAGS gave me a performance 'boost' of 10-20% depending on the test. especially floating point operations seems accelerated. stability is not affected. m. From gambas at ...1... Sun Dec 26 15:56:40 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Dec 2004 15:56:40 +0100 Subject: [Gambas-user] compiling In-Reply-To: <200412260007.33762.Stefan@...744...> References: <200412260007.33762.Stefan@...744...> Message-ID: <200412261556.40543.gambas@...1...> On Sunday 26 December 2004 00:07, Stefan Lamprecht wrote: > hi, > > i recently rebuild gambas from source using compiler 'optimizations' > > export CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer" > export CXXFLAGS=$CFLAGS > > gave me a performance 'boost' of 10-20% depending on the test. > especially floating point operations seems accelerated. > stability is not affected. > > > m. > Good news :-) When I tried that (long time ago), the compiler crashed... So I choose to use "-Os". I will try that again, as it seems gcc have less bugs when optimizing :-) How large is the interpreter when it is compiled with "-O3" ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 26 19:17:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Dec 2004 19:17:04 +0100 Subject: [Gambas-user] gambas 1.0 RC6 Message-ID: <200412261917.05062.gambas@...1...> Is there any gambas user there that is not in holidays, family or other christmas things ? :-) I just uploaded a confidential gambas 1.0 RC6 for testing purpose. I added a crypting feature in the database manager, and I want people to look at it before releasing the 1.0. I'm not sure that the way it works is the easier or better way. I said I didn't want to do any modification like that, but keeping password readable in a configuration file is not a good idea for an official release. Isn't it ? :-) There are a few bug fixes too, and sort of red hat on gambas made by Daniel Campos :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 26 19:17:37 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Dec 2004 19:17:37 +0100 Subject: [Gambas-user] gambas 1.0 RC6 (2) Message-ID: <200412261917.37266.gambas@...1...> I forgot the link: http://gambas.sf.net/gambas-0.99.RC6.tar.bz2 -- Benoit Minisini mailto:gambas at ...1... From oliver_stieber at ...370... Sun Dec 26 21:46:11 2004 From: oliver_stieber at ...370... (Oliver Stieber) Date: Sun, 26 Dec 2004 20:46:11 +0000 (GMT) Subject: [Gambas-user] A few questions. In-Reply-To: <200412221105.33567.gambas@...1...> Message-ID: <20041226204611.29986.qmail@...748...> Hi, I noticed all the classes stuff in Gambas and have tried to write a simple class browser for debugging/watching variables. The problem is every time I try classes["myclass"]["symbol"] I get a not an array error, and if I try classes["myclass"]._get("symbol") then Gambas dies. Getting a list of symbols works fine though for each foo in classes["myclass"].symbols ... ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From oxleyd at ...699... Mon Dec 27 09:17:41 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 27 Dec 2004 09:17:41 +0100 Subject: [Gambas-user] Merry Christmas ! In-Reply-To: <200412250017.43961.lordheavy@...512...> Message-ID: <20041227082122.5F2C737316@...700...> Merry Christmas from Madrid! Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Laurent Carlier Sent: 25 December 2004 00:18 To: gambas-devel at lists.sourceforge.net; gambas-user at lists.sourceforge.net Subject: [Gambas-user] Merry Christmas ! Merry Christmas from France ! -- Laurent Carlier ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From oxleyd at ...699... Mon Dec 27 09:21:14 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 27 Dec 2004 09:21:14 +0100 Subject: [Gambas-user] gambas 1.0 RC6 In-Reply-To: <200412261917.05062.gambas@...1...> Message-ID: <20041227082455.0362837316@...700...> I am still around working :-( so I'll test it when I get a spare moment! Merry Xmas. Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Benoit Minisini Sent: 26 December 2004 19:17 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] gambas 1.0 RC6 Is there any gambas user there that is not in holidays, family or other christmas things ? :-) I just uploaded a confidential gambas 1.0 RC6 for testing purpose. I added a crypting feature in the database manager, and I want people to look at it before releasing the 1.0. I'm not sure that the way it works is the easier or better way. I said I didn't want to do any modification like that, but keeping password readable in a configuration file is not a good idea for an official release. Isn't it ? :-) There are a few bug fixes too, and sort of red hat on gambas made by Daniel Campos :-) Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Mon Dec 27 09:55:17 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 27 Dec 2004 09:55:17 +0100 Subject: [Gambas-user] Merry Christmas ! In-Reply-To: <20041227082122.5F2C737316@...700...> References: <20041227082122.5F2C737316@...700...> Message-ID: <41CFCDF5.8040708@...338...> Merry Christmas from Madrid! Daniel Campos Daniel Oxley escribi?: >Merry Christmas from Madrid! > >Daniel > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Laurent >Carlier >Sent: 25 December 2004 00:18 >To: gambas-devel at lists.sourceforge.net; gambas-user at lists.sourceforge.net >Subject: [Gambas-user] Merry Christmas ! > >Merry Christmas from France ! > > > From oxleyd at ...699... Mon Dec 27 09:55:19 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 27 Dec 2004 09:55:19 +0100 Subject: [Gambas-user] Merry Christmas ! In-Reply-To: <41CFCDF5.8040708@...338...> Message-ID: <20041227085906.8021237316@...700...> ?Gan?! ;-) -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Daniel Campos Sent: 27 December 2004 09:55 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Merry Christmas ! Merry Christmas from Madrid! Daniel Campos Daniel Oxley escribi?: >Merry Christmas from Madrid! > >Daniel > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Laurent >Carlier >Sent: 25 December 2004 00:18 >To: gambas-devel at lists.sourceforge.net; gambas-user at lists.sourceforge.net >Subject: [Gambas-user] Merry Christmas ! > >Merry Christmas from France ! > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From na2492 at ...9... Mon Dec 27 11:31:30 2004 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 27 Dec 2004 11:31:30 00100 Subject: [Gambas-user] gambas 1.0 RC6 Message-ID: <41cfe482.70f6.0@...9...> >Is there any gambas user there that is not in holidays, family or other >christmas things ? :-) > >I just uploaded a confidential gambas 1.0 RC6 for testing purpose. > >I added a crypting feature in the database manager, and I want people to look >at it before releasing the 1.0. I'm not sure that the way it works is the >easier or better way. > >I said I didn't want to do any modification like that, but keeping password >readable in a configuration file is not a good idea for an official release. I had a look to the emailed version, and found NO misfunction or errors. The pw is saved cryped, and you can log in with different prepasswords, and see only the one who can solved. I did NOT test, thats was just an idea noe while writing these lines. What happend : Preloogin with '12345678' So I can't see all Servers from '87654321' which has a MYSQL/Charlie so I create a new MYSQL/Charlie, does the connection work, and will be created ? Amicalment Charlie >Isn't it ? :-) > >There are a few bug fixes too, and sort of red hat on gambas made by Daniel >Campos :-) > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From Stefan at ...744... Mon Dec 27 16:16:47 2004 From: Stefan at ...744... (Stefan Lamprecht) Date: Mon, 27 Dec 2004 16:16:47 +0100 Subject: [Gambas-user] gambas and m$indows Message-ID: <200412271616.47561.Stefan@...744...> dear reader: i ported some vbasic stuff to drag customer to linux. now he wants to 'test' and in the very moment i only see the option to start an x-server under windows and start gambas via ssh login to this display. not very convincing. if someone sees another option, please let me know. have a guten rutsch und frohes neues jahr m. From daniel.campos at ...338... Mon Dec 27 17:17:00 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 27 Dec 2004 17:17:00 +0100 Subject: [Gambas-user] gambas and m$indows In-Reply-To: <200412271616.47561.Stefan@...744...> References: <200412271616.47561.Stefan@...744...> Message-ID: <41D0357C.20400@...338...> You can run a Linux host, and there install qemu with Windows 98. Stefan Lamprecht escribi?: >dear reader: > >i ported some vbasic stuff to drag customer to linux. >now he wants to 'test' and in the very moment i only see >the option to start an x-server under windows and start gambas >via ssh login to this display. >not very convincing. >if someone sees another option, please let me know. > >have a > >guten rutsch und frohes neues jahr > >m. > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From dafyre at ...43... Mon Dec 27 19:44:34 2004 From: dafyre at ...43... (Brant Wells) Date: Mon, 27 Dec 2004 10:44:34 -0800 (PST) Subject: [Gambas-user] USE functionality Message-ID: <20041227184434.50666.qmail@...749...> Hey Benoit: I was wondering why the USE functionality was removed? I haven't been able to follow the list quite as closely as I would like... For everything that I used the USE functionality for, it worked quite well... IE: the gCrypto module that I'd been working on...(still no web page up for that yet)... I know there were some things that it wouldn't do, but I was just wondering if you could add it back in at some point ( in the near future would be GREAT!!!! However, I know that may not be possible... But sooner or later would be nice... 8-D ) Gambas Rox! ~Brant --------------------------------- Do you Yahoo!? All your favorites on one personal page ? Try My Yahoo! -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambasfr at ...11... Mon Dec 27 22:01:33 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 27 Dec 2004 22:01:33 +0100 Subject: [Gambas-user] Merry Christmas ! et joyeux =?iso-8859-1?q?no=EBl?= ! In-Reply-To: <20041227085906.8021237316@...700...> References: <20041227085906.8021237316@...700...> Message-ID: <200412272201.33929.gambasfr@...11...> Merry Chrismas ! to all of you ! Fabien Bodard From gambas at ...1... Tue Dec 28 11:35:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Dec 2004 11:35:45 +0100 Subject: [Gambas-user] USE functionality In-Reply-To: <20041227184434.50666.qmail@...749...> References: <20041227184434.50666.qmail@...749...> Message-ID: <200412281135.45297.gambas@...1...> On Monday 27 December 2004 19:44, Brant Wells wrote: > Hey Benoit: > > I was wondering why the USE functionality was removed? > It is not removed, but it is deprecated, because it will be replaced by components directly written in Gambas. But nothing is sure, and maybe the USE instruction will return. Regards, -- Benoit Minisini mailto:gambas at ...1... From jochengeorges at ...467... Tue Dec 28 16:53:12 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Tue, 28 Dec 2004 16:53:12 +0100 Subject: [Gambas-user] who is the parent? Message-ID: <200412281653.13091.jochengeorges@...467...> Hello gambanauts, the following code compiles but throws a stack overflow: PUBLIC SUB _new() btn AS Button btn = NEW Button(Form1) ' this throws the stack overflow btn.X = 20 btn.Y = 30 btn.Width = 60 btn.Height = 30 btn.Caption = "Hallo" END Button(parent AS Container) Form is a container, isn't it? (Control - Container - Window - Form) Thanks for any hints. Jochen From gambas at ...1... Tue Dec 28 17:01:20 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Dec 2004 17:01:20 +0100 Subject: [Gambas-user] who is the parent? In-Reply-To: <200412281653.13091.jochengeorges@...467...> References: <200412281653.13091.jochengeorges@...467...> Message-ID: <200412281701.20831.gambas@...1...> On Tuesday 28 December 2004 16:53, Jochen Georges wrote: > Hello gambanauts, > > the following code compiles but throws a stack overflow: > > PUBLIC SUB _new() > btn AS Button > btn = NEW Button(Form1) ' this throws the stack overflow > btn.X = 20 > btn.Y = 30 > btn.Width = 60 > btn.Height = 30 > btn.Caption = "Hallo" > END > > Button(parent AS Container) > Form is a container, isn't it? > (Control - Container - Window - Form) > > Thanks for any hints. > Jochen > > Can you send your project ? -- Benoit Minisini mailto:gambas at ...1... From jochengeorges at ...467... Tue Dec 28 20:14:11 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Tue, 28 Dec 2004 20:14:11 +0100 Subject: [Gambas-user] btn does not work Message-ID: <200412282014.11278.jochengeorges@...467...> Hi gambanauts, i try to make a button by code. The program runs, but the button is like passiv. Any hints? Thanks in advance. Beste Gr?sse Jochen lb AS Label btn AS Button PUBLIC SUB _new() btn = NEW Button(ME) ' btn = NEW Button(Form1) btn.X = 20 btn.Y = 30 btn.Width = 80 btn.Height = 30 btn.Caption = "Hallo" btn.enabled = TRUE lb = NEW Label(ME) lb.X = 20 lb.Y = 80 lb.Width = 200 lb.Height = 50 lb.Text = "was wird passieren?" END PUBLIC SUB btn_Click() lb.Text = "btn" END From na2492 at ...9... Tue Dec 28 21:15:23 2004 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 28 Dec 2004 21:15:23 00100 Subject: [Gambas-user] btn does not work Message-ID: <41d1bedb.763.0@...9...> >Hi gambanauts, > >i try to make a button by code. >The program runs, but the button is like passiv. > >Any hints? > >Thanks in advance. > >Beste Gr?sse >Jochen Salut Jochen, the following is th class -file of a form, without any element. ' Gambas class file PRIVATE lb AS Label PRIVATE btn AS Button PUBLIC SUB _new() btn = NEW Button(ME) ' btn = NEW Button(Form1) btn.X = 20 btn.Y = 30 btn.Width = 80 btn.Height = 30 btn.Caption = "Hallo 1" btn.enabled = TRUE btn = NEW Button(ME) AS "myButton" btn.X = 110 btn.Y = 30 btn.Width = 80 btn.Height = 30 btn.Caption = "Hallo 2" btn.enabled = TRUE btn = NEW Button(ME) AS "myButton" ' btn = NEW Button(Form1) btn.X = 200 btn.Y = 30 btn.Width = 80 btn.Height = 30 btn.Caption = "Hallo 3" btn.enabled = TRUE lb = NEW Label(ME) lb.X = 20 lb.Y = 80 lb.Width = 200 lb.Height = 50 lb.Text = "was wird passieren?" END PUBLIC SUB myButton_Click() lb.Text = "myButton_Click (" & LAST.Text & ")" END PUBLIC SUB btn_Click() lb.Text = "btn_Click" END What I use is the group, and I don't know whay btn_Click want work Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From dafyre at ...43... Tue Dec 28 21:16:55 2004 From: dafyre at ...43... (Brant Wells) Date: Tue, 28 Dec 2004 12:16:55 -0800 (PST) Subject: [Gambas-user] USE functionality In-Reply-To: <200412281135.45297.gambas@...1...> Message-ID: <20041228201655.47255.qmail@...750...> Any idea as to when Gambas-Written components will be supported? I have a few ideas in the works that I would like to try, but I need to be able to develop my own components to do it with... Thanks! ~Brant Benoit Minisini wrote: On Monday 27 December 2004 19:44, Brant Wells wrote: > Hey Benoit: > > I was wondering why the USE functionality was removed? > It is not removed, but it is deprecated, because it will be replaced by components directly written in Gambas. But nothing is sure, and maybe the USE instruction will return. Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user --------------------------------- Do you Yahoo!? The all-new My Yahoo! ? Get yours free! -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambasfr at ...11... Tue Dec 28 22:44:54 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 28 Dec 2004 22:44:54 +0100 Subject: [Gambas-user] kbasic new preview Message-ID: <200412282244.54474.gambasfr@...11...> Hi all gambasian hey you can test it... for my part i prefer gambas http://www.kbasic.org/download.html C'est quoi ce truc... Fabien Bodard From Karl.Reinl at ...9... Tue Dec 28 23:39:41 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 28 Dec 2004 23:39:41 +0100 Subject: [Gambas-user] about gambas-dabase-manager Message-ID: <200412282339.41863.Karl.Reinl@...9...> Salut Banoit, I made the proposed test. I created with '12345678' a mysql/charlie/pw server, then I closed the gdbm. I reloged in with '87654321' I could see the mysql/charlie/pw server, but not open. So I tried to create a new mysql/charlie/pw server for my new '87654321' account. That was not possible, in that case you have to remove the '12345678' mysql/charlie/pw server, then you can create a mysql/charlie/pw server for '87654321'. I have not finished, my proposal, because I have problems with TextLable, see 2nd mail. Amicalment Charlie From Karl.Reinl at ...9... Tue Dec 28 23:39:45 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 28 Dec 2004 23:39:45 +0100 Subject: [Gambas-user] problems with TextLables Message-ID: <200412282339.45992.Karl.Reinl@...9...> Salut Benoit, I know it is 2 day before 1.0 But I have problems with the TextLables (RC5) While trying to analyze the TextLable.Text I found that. How to handle '<' and '>' , see example.(push Buttons) I wished I would have something like TextLable.TransformedText, which shows you the Text as it will displayed (without the format stuff) I need it for the attached ToolBox. To calculate the size off the TextLable. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: TextLables-0.0.1.tar.gz Type: application/x-tgz Size: 652 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ToolBox-0.0.12.tar.gz Type: application/x-tgz Size: 58017 bytes Desc: not available URL: From gambasfr at ...11... Wed Dec 29 07:57:47 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 29 Dec 2004 07:57:47 +0100 Subject: [Gambas-user] problems with TextLables In-Reply-To: <200412282339.45992.Karl.Reinl@...9...> References: <200412282339.45992.Karl.Reinl@...9...> Message-ID: <200412290757.48116.gambasfr@...11...> Le mardi 28 D?cembre 2004 23:39, Charlie Reinl a ?crit?: > Salut Benoit, > > I know it is 2 day before 1.0 > But I have problems with the TextLables (RC5) > > While trying to analyze the TextLable.Text I found that. > > How to handle '<' and '>' , see example.(push Buttons) > > I wished I would have something like TextLable.TransformedText, which shows > you the Text as it will displayed (without the format stuff) > > I need it for the attached ToolBox. To calculate the size off the > TextLable. > > Amicalment > Charlie you can use #062; and #060; no? To manage the sp?cial characters. Fabien From jochengeorges at ...467... Wed Dec 29 08:20:15 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Wed, 29 Dec 2004 08:20:15 +0100 Subject: [Gambas-user] saving files Message-ID: <200412290820.15671.jochengeorges@...467...> Hello gambanauts, i would like to save an object of a selfdefined class into a file, just like http://www.binara.com/gambas-wiki/bin/view/Gambas/MiscFilesMydatatype But this does not work ?? ------------------------------------------------------------------------ PUBLIC mc AS MyClass PUBLIC SUB _new() mc = NEW MyClass END PUBLIC SUB Button1_Click() myFile AS File OPEN "/home/jochen/test.mcf" FOR CREATE AS myFile 'mc.WriteTo(myFile) 'unknown symbol 'WriteTo' in class 'MyClass' 'but it works in the wiki-example !? 'can't find information about WriteTo 'WRITE myFile,mc 'Type mismatch: wanted Integer Type, got MyClass instead WRITE #myFile,mc 'Type mismatch: wanted Standard Type, got MyClass instead CLOSE myFile END ------------------------------------------------------------------------ 'MyClass.class: wort AS String zahl AS Integer PUBLIC SUB _new() wort = "Hallo" zahl = 3 END ------------------------------------------------------------------------ Thanks for any hint. Beste Gruesse Jochen From daniel.campos at ...338... Wed Dec 29 09:28:11 2004 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 29 Dec 2004 09:28:11 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412282244.54474.gambasfr@...11...> References: <200412282244.54474.gambasfr@...11...> Message-ID: <41D26A9B.1040902@...338...> Bodard Fabien escribi?: >Hi all gambasian > >hey you can test it... for my part i prefer gambas > >http://www.kbasic.org/download.html > >C'est quoi ce truc... > > My God! Spam, here, in this list :-))))) All that I can say is that I've released the network and compression components as open source, and I'll never change that idea... http://kbasic.org/open.html Regards, D. Campos > >Fabien Bodard > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From oxleyd at ...699... Wed Dec 29 09:49:49 2004 From: oxleyd at ...699... (Daniel Oxley) Date: Wed, 29 Dec 2004 09:49:49 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412282244.54474.gambasfr@...11...> Message-ID: <20041229085340.AAD8F37316@...700...> Pay for it? It sounds like he is bitter when you read his justification for charging money for it. Besides, Gambas is much better already. One thing I do like though is the bar on the right in this screenshot: http://kbasic.org/screenshot.jpg that allows you (I am guessing) to quickly enter frequently used commands, like For Next etc... Daniel Oh, also that it is in one window! ;-) But that is just being picky... -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Bodard Fabien Sent: 28 December 2004 22:45 To: gambas-user-fr at lists.sourceforge.net; gambas-user at lists.sourceforge.net Subject: [Gambas-user] kbasic new preview Hi all gambasian hey you can test it... for my part i prefer gambas http://www.kbasic.org/download.html C'est quoi ce truc... Fabien Bodard ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Dec 29 11:09:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Dec 2004 11:09:49 +0100 Subject: [Gambas-user] saving files In-Reply-To: <200412290820.15671.jochengeorges@...467...> References: <200412290820.15671.jochengeorges@...467...> Message-ID: <200412291109.49830.gambas@...1...> On Wednesday 29 December 2004 08:20, Jochen Georges wrote: > Hello gambanauts, > > i would like to save an object of a selfdefined class into a file, just > like http://www.binara.com/gambas-wiki/bin/view/Gambas/MiscFilesMydatatype > > But this does not work ?? > ------------------------------------------------------------------------ > PUBLIC mc AS MyClass > > PUBLIC SUB _new() > mc = NEW MyClass > END > > PUBLIC SUB Button1_Click() > myFile AS File > OPEN "/home/jochen/test.mcf" FOR CREATE AS myFile > 'mc.WriteTo(myFile) 'unknown symbol 'WriteTo' in class 'MyClass' > 'but it works in the wiki-example !? > 'can't find information about WriteTo > 'WRITE myFile,mc 'Type mismatch: wanted Integer Type, got MyClass > instead WRITE #myFile,mc 'Type mismatch: wanted Standard Type, got MyClass > instead CLOSE myFile > END > ------------------------------------------------------------------------ > 'MyClass.class: > wort AS String > zahl AS Integer > > PUBLIC SUB _new() > wort = "Hallo" > zahl = 3 > END > ------------------------------------------------------------------------ > > Thanks for any hint. > > Beste Gruesse > Jochen > Gambas object are not (yet) serializable. So, if you want to write them into a file, you must do it yourself. For example, by implementing a 'WriteTo' method in the class ? Regards, -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Wed Dec 29 11:10:27 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 29 Dec 2004 11:10:27 +0100 Subject: [Gambas-user] kbasic new preview References: <200412282244.54474.gambasfr@...11...> <41D26A9B.1040902@...338...> Message-ID: Without being negative : kbasic is not visual... so except "addict" with codes may be interested... ----- Original Message ----- From: "Daniel Campos" To: Sent: Wednesday, December 29, 2004 9:28 AM Subject: Re: [Gambas-user] kbasic new preview Bodard Fabien escribi?: >Hi all gambasian > >hey you can test it... for my part i prefer gambas > >http://www.kbasic.org/download.html > >C'est quoi ce truc... > > My God! Spam, here, in this list :-))))) All that I can say is that I've released the network and compression components as open source, and I'll never change that idea... http://kbasic.org/open.html Regards, D. Campos > >Fabien Bodard > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Dec 29 11:12:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Dec 2004 11:12:41 +0100 Subject: [Gambas-user] problems with TextLables In-Reply-To: <200412282339.45992.Karl.Reinl@...9...> References: <200412282339.45992.Karl.Reinl@...9...> Message-ID: <200412291112.41598.gambas@...1...> On Tuesday 28 December 2004 23:39, Charlie Reinl wrote: > Salut Benoit, > > I know it is 2 day before 1.0 > But I have problems with the TextLables (RC5) > > While trying to analyze the TextLable.Text I found that. > > How to handle '<' and '>' , see example.(push Buttons) > > I wished I would have something like TextLable.TransformedText, which shows > you the Text as it will displayed (without the format stuff) > > I need it for the attached ToolBox. To calculate the size off the > TextLable. > > Amicalment > Charlie If I understand well, you need a function to know the dimension of the displayed HTML text. This is a problem in Qt :-) You can try to put your text in a TextView, and use the TextWidth and TextHeight properties. I'm not sure that it works in every case, because these values seems to be calculated by Qt the later possible, i.e. when the TextView had been displayed. Regards, -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Wed Dec 29 13:02:20 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 29 Dec 2004 13:02:20 +0100 Subject: [Gambas-user] problems with TextLables In-Reply-To: <200412291112.41598.gambas@...1...> References: <200412282339.45992.Karl.Reinl@...9...> <200412291112.41598.gambas@...1...> Message-ID: <41D29CCC.7090504@...221...> This reminds me to a problem with printing and display. It's been a long time ago, and we discussed this, but I didn't follow the result - as far as I remember, you wrote you would care about that. Well, I remember that there was a problem in printing size of fonts which was taken from the display size (on screen) or so. I remember that you wrote this would be an error and you would like to fix it. So, my simple question is: do you remember what it was, and did you fix it? Rolf Benoit Minisini schrieb: > On Tuesday 28 December 2004 23:39, Charlie Reinl wrote: > >>Salut Benoit, >> >>I know it is 2 day before 1.0 >>But I have problems with the TextLables (RC5) >> >>While trying to analyze the TextLable.Text I found that. >> >>How to handle '<' and '>' , see example.(push Buttons) >> >>I wished I would have something like TextLable.TransformedText, which shows >>you the Text as it will displayed (without the format stuff) >> >>I need it for the attached ToolBox. To calculate the size off the >>TextLable. >> >>Amicalment >>Charlie > > > If I understand well, you need a function to know the dimension of the > displayed HTML text. This is a problem in Qt :-) > > You can try to put your text in a TextView, and use the TextWidth and > TextHeight properties. I'm not sure that it works in every case, because > these values seems to be calculated by Qt the later possible, i.e. when the > TextView had been displayed. > > Regards, > From na2492 at ...9... Wed Dec 29 13:11:00 2004 From: na2492 at ...9... (Charlie Reinl) Date: Wed, 29 Dec 2004 13:11:00 00100 Subject: [Gambas-user] problems with TextLables Message-ID: <41d29ed4.23ec.0@...9...> >On Tuesday 28 December 2004 23:39, Charlie Reinl wrote: >> Salut Benoit, >> >> I know it is 2 day before 1.0 >> But I have problems with the TextLables (RC5) >> >> While trying to analyze the TextLable.Text I found that. >> >> How to handle '<' and '>' , see example.(push Buttons) >> >> I wished I would have something like TextLable.TransformedText, which shows >> you the Text as it will displayed (without the format stuff) >> >> I need it for the attached ToolBox. To calculate the size off the >> TextLable. >> >> Amicalment >> Charlie > >If I understand well, you need a function to know the dimension of the >displayed HTML text. This is a problem in Qt :-) No not a Function, only the possibillity to get the Text who will displayed (without the HTML format stuff) like : TextLabel.Text = "TEXT" then: Print TextLabel.DisplaydText TEXT > >You can try to put your text in a TextView, and use the TextWidth and >TextHeight properties. I'm not sure that it works in every case, because >these values seems to be calculated by Qt the later possible, i.e. when the >TextView had been displayed. That works well, but you have all the etc. and so the result will be too big. > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... And have a look to the TextLabel project , the 2 examples show you a bug. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Wed Dec 29 13:35:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Dec 2004 13:35:36 +0100 Subject: [Gambas-user] problems with TextLables In-Reply-To: <41D29CCC.7090504@...221...> References: <200412282339.45992.Karl.Reinl@...9...> <200412291112.41598.gambas@...1...> <41D29CCC.7090504@...221...> Message-ID: <200412291335.37165.gambas@...1...> On Wednesday 29 December 2004 13:02, Eilert wrote: > This reminds me to a problem with printing and display. It's been a long > time ago, and we discussed this, but I didn't follow the result - as far > as I remember, you wrote you would care about that. > > Well, I remember that there was a problem in printing size of fonts > which was taken from the display size (on screen) or so. I remember that > you wrote this would be an error and you would like to fix it. > > So, my simple question is: do you remember what it was, and did you fix it? > > Rolf > Yes I did. But I didn't really test it :-) Some volunteers ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Dec 29 13:41:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Dec 2004 13:41:46 +0100 Subject: [Gambas-user] problems with TextLables In-Reply-To: <200412282339.45992.Karl.Reinl@...9...> References: <200412282339.45992.Karl.Reinl@...9...> Message-ID: <200412291341.46270.gambas@...1...> On Tuesday 28 December 2004 23:39, Charlie Reinl wrote: > Salut Benoit, > > I know it is 2 day before 1.0 > But I have problems with the TextLables (RC5) > > While trying to analyze the TextLable.Text I found that. > > How to handle '<' and '>' , see example.(push Buttons) In HTML, you can't put directly '<' and '>' characters, they are reserved for markups. You must use '<' for '<' and '>' for '>' > > I wished I would have something like TextLable.TransformedText, which shows > you the Text as it will displayed (without the format stuff) > > I need it for the attached ToolBox. To calculate the size off the > TextLable. > > Amicalment > Charlie -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Dec 29 13:43:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Dec 2004 13:43:36 +0100 Subject: [Gambas-user] problems with TextLables In-Reply-To: <41d29ed4.23ec.0@...9...> References: <41d29ed4.23ec.0@...9...> Message-ID: <200412291343.36165.gambas@...1...> On Wednesday 29 December 2004 14:11, Charlie Reinl wrote: > >On Tuesday 28 December 2004 23:39, Charlie Reinl wrote: > >> Salut Benoit, > >> > >> I know it is 2 day before 1.0 > >> But I have problems with the TextLables (RC5) > >> > >> While trying to analyze the TextLable.Text I found that. > >> > >> How to handle '<' and '>' , see example.(push Buttons) > >> > >> I wished I would have something like TextLable.TransformedText, which > >> shows > >> > >> you the Text as it will displayed (without the format stuff) > >> > >> I need it for the attached ToolBox. To calculate the size off the > >> TextLable. > >> > >> Amicalment > >> Charlie > > > >If I understand well, you need a function to know the dimension of the > >displayed HTML text. This is a problem in Qt :-) > > No not a Function, only the possibillity to get the Text who will displayed > (without the HTML format stuff) > > like : > TextLabel.Text = "TEXT" > then: > Print TextLabel.DisplaydText > > TEXT > > >You can try to put your text in a TextView, and use the TextWidth and > >TextHeight properties. I'm not sure that it works in every case, because > >these values seems to be calculated by Qt the later possible, i.e. when > > the > > > >TextView had been displayed. > > That works well, but you have all the etc. and so the result will be > too big. > What do you mean ? It should return the width and height of the _displayed_ text. Not the dimension of the internal caption ! -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Wed Dec 29 14:29:07 2004 From: na2492 at ...9... (Charlie Reinl) Date: Wed, 29 Dec 2004 14:29:07 00100 Subject: [Gambas-user] problems with TextLables Message-ID: <41d2b123.33b.0@...9...> >On Wednesday 29 December 2004 14:11, Charlie Reinl wrote: >> >On Tuesday 28 December 2004 23:39, Charlie Reinl wrote: >> >> Salut Benoit, >> >> >> >> I know it is 2 day before 1.0 >> >> But I have problems with the TextLables (RC5) >> >> >> >> While trying to analyze the TextLable.Text I found that. >> >> >> >> How to handle '<' and '>' , see example.(push Buttons) >> >> >> >> I wished I would have something like TextLable.TransformedText, which >> >> shows >> >> >> >> you the Text as it will displayed (without the format stuff) >> >> >> >> I need it for the attached ToolBox. To calculate the size off the >> >> TextLable. >> >> >> >> Amicalment >> >> Charlie >> > >> >If I understand well, you need a function to know the dimension of the >> >displayed HTML text. This is a problem in Qt :-) >> >> No not a Function, only the possibillity to get the Text who will displayed >> (without the HTML format stuff) >> >> like : >> TextLabel.Text = "TEXT" >> then: >> Print TextLabel.DisplaydText >> >> TEXT >> >> >You can try to put your text in a TextView, and use the TextWidth and >> >TextHeight properties. I'm not sure that it works in every case, because >> >these values seems to be calculated by Qt the later possible, i.e. when >> > the >> > >> >TextView had been displayed. >> >> That works well, but you have all the etc. and so the result will be >> too big. >> > >What do you mean ? It should return the width and height of the _displayed_ >text. Not the dimension of the internal caption ! No only the Text without the HTML-commandt take "TEXT" (will be bold) then I need as output "TEXT". Not in Bold or coloer or what ever. >-- >Benoit Minisini >mailto:gambas at ...1... > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From nyarnon at ...455... Wed Dec 29 11:55:00 2004 From: nyarnon at ...455... (nyarnon) Date: Wed, 29 Dec 2004 10:55:00 +0000 Subject: [Gambas-user] Gambas and Cygwin Message-ID: <20041229105500.GA2120@...455...> Hi List, I was wondering if anybody has been busy/able to port the Gambas-Runtime library to Cygwin. I understand there would be severe problems like QT and alike but I would be glad with console based programming at first. If this job could be done it would mean (some) Gambas progs would be runable on windows. So if KDE could be ported I see (in my limited view) no reason why Gambas couldn't. Unfortunatly I'm not up to this. Who is? PS Everybody a succesfull new year Let's use it to help the Tsunami victims. -- From gambas at ...1... Wed Dec 29 15:32:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Dec 2004 15:32:55 +0100 Subject: [Gambas-user] A few questions. In-Reply-To: <20041226204611.29986.qmail@...748...> References: <20041226204611.29986.qmail@...748...> Message-ID: <200412291532.56048.gambas@...1...> On Sunday 26 December 2004 21:46, Oliver Stieber wrote: > Hi, I noticed all the classes stuff in Gambas and have > tried to write a simple class browser for > debugging/watching variables. > > The problem is every time I try > classes["myclass"]["symbol"] I get a not an array > error, > and if I try classes["myclass"]._get("symbol") then > Gambas dies. > > Getting a list of symbols works fine though > for each foo in classes["myclass"].symbols ... > Oops, I made a bug. The _get method of the Class class was declared as static. I fix that... -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Wed Dec 29 15:43:29 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 29 Dec 2004 15:43:29 +0100 Subject: [Gambas-user] Gambas and Cygwin References: <20041229105500.GA2120@...455...> Message-ID: i tried to compile it... but didn't success... I am installing again kde-cygwin and will see with the new qt native if there is any way to compile gambas... Henri ----- Original Message ----- From: "nyarnon" To: Sent: Wednesday, December 29, 2004 11:55 AM Subject: [Gambas-user] Gambas and Cygwin > Hi List, > > I was wondering if anybody has been busy/able to port the Gambas-Runtime > library to Cygwin. I understand there would be severe problems like QT > and alike but I would be glad with console based programming at first. > If this job could be done it would mean (some) Gambas progs would be runable > on windows. So if KDE could be ported I see (in my limited view) no reason > why Gambas couldn't. Unfortunatly I'm not up to this. Who is? > > PS Everybody a succesfull new year Let's use it to help the Tsunami victims. > -- > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Dec 29 15:48:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Dec 2004 15:48:07 +0100 Subject: [Gambas-user] A few questions. In-Reply-To: <20041226204611.29986.qmail@...748...> References: <20041226204611.29986.qmail@...748...> Message-ID: <200412291548.07832.gambas@...1...> On Sunday 26 December 2004 21:46, Oliver Stieber wrote: > Hi, I noticed all the classes stuff in Gambas and have > tried to write a simple class browser for > debugging/watching variables. > > The problem is every time I try > classes["myclass"]["symbol"] I get a not an array > error, > and if I try classes["myclass"]._get("symbol") then > Gambas dies. > > Getting a list of symbols works fine though > for each foo in classes["myclass"].symbols ... > There is still one problem for your class browser. Class["x"]["y"].Signature will always return a null string. So you can't know what parameters a method or an event need. Two solutions: 1) Wait to see if I write a signature decoder inside the interpreter, because the string signature is encoded by the interpreter when the class is loaded. 2) Use the *.info file, the same way the help browser does in Gambas. But you can only browse native classes in components with that. Regards, -- Benoit Minisini mailto:gambas at ...1... From jochengeorges at ...467... Wed Dec 29 15:51:51 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Wed, 29 Dec 2004 15:51:51 +0100 Subject: [Gambas-user] saving files In-Reply-To: <200412291109.49830.gambas@...1...> References: <200412290820.15671.jochengeorges@...467...> <200412291109.49830.gambas@...1...> Message-ID: <200412291551.52105.jochengeorges@...467...> On Wednesday 29 December 2004 11:09, Benoit Minisini wrote: > On Wednesday 29 December 2004 08:20, Jochen Georges wrote: > > Hello gambanauts, > > > > i would like to save an object of a selfdefined class into a file, just > > like > > http://www.binara.com/gambas-wiki/bin/view/Gambas/MiscFilesMydatatype > > > > But this does not work ?? > > ------------------------------------------------------------------------ > > PUBLIC mc AS MyClass > > > > PUBLIC SUB _new() > > mc = NEW MyClass > > END > > > > PUBLIC SUB Button1_Click() > > myFile AS File > > OPEN "/home/jochen/test.mcf" FOR CREATE AS myFile > > 'mc.WriteTo(myFile) 'unknown symbol 'WriteTo' in class 'MyClass' > > 'but it works in the wiki-example !? > > 'can't find information about WriteTo > > 'WRITE myFile,mc 'Type mismatch: wanted Integer Type, got MyClass > > instead WRITE #myFile,mc 'Type mismatch: wanted Standard Type, got > > MyClass instead CLOSE myFile > > END > > ------------------------------------------------------------------------ > > 'MyClass.class: > > wort AS String > > zahl AS Integer > > > > PUBLIC SUB _new() > > wort = "Hallo" > > zahl = 3 > > END > > ------------------------------------------------------------------------ > > > > Thanks for any hint. > > > > Beste Gruesse > > Jochen > > Gambas object are not (yet) serializable. So, if you want to write them > into a file, you must do it yourself. For example, by implementing a > 'WriteTo' method in the class ? Hi Benoit, Why does it work in the wikiexample ?? In the class CCar is no method WriteTo !! How does a method WriteTo look like? Thanks for any hint. Jochen From gambas at ...1... Wed Dec 29 16:06:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Dec 2004 16:06:28 +0100 Subject: [Gambas-user] saving files In-Reply-To: <200412291551.52105.jochengeorges@...467...> References: <200412290820.15671.jochengeorges@...467...> <200412291109.49830.gambas@...1...> <200412291551.52105.jochengeorges@...467...> Message-ID: <200412291606.28246.gambas@...1...> On Wednesday 29 December 2004 15:51, Jochen Georges wrote: > On Wednesday 29 December 2004 11:09, Benoit Minisini wrote: > > On Wednesday 29 December 2004 08:20, Jochen Georges wrote: > > > Hello gambanauts, > > > > > > i would like to save an object of a selfdefined class into a file, just > > > like > > > http://www.binara.com/gambas-wiki/bin/view/Gambas/MiscFilesMydatatype > > > > > > But this does not work ?? > > > ----------------------------------------------------------------------- > > >- PUBLIC mc AS MyClass > > > > > > PUBLIC SUB _new() > > > mc = NEW MyClass > > > END > > > > > > PUBLIC SUB Button1_Click() > > > myFile AS File > > > OPEN "/home/jochen/test.mcf" FOR CREATE AS myFile > > > 'mc.WriteTo(myFile) 'unknown symbol 'WriteTo' in class 'MyClass' > > > 'but it works in the wiki-example !? > > > 'can't find information about WriteTo > > > 'WRITE myFile,mc 'Type mismatch: wanted Integer Type, got MyClass > > > instead WRITE #myFile,mc 'Type mismatch: wanted Standard Type, got > > > MyClass instead CLOSE myFile > > > END > > > ----------------------------------------------------------------------- > > >- 'MyClass.class: > > > wort AS String > > > zahl AS Integer > > > > > > PUBLIC SUB _new() > > > wort = "Hallo" > > > zahl = 3 > > > END > > > ----------------------------------------------------------------------- > > >- > > > > > > Thanks for any hint. > > > > > > Beste Gruesse > > > Jochen > > > > Gambas object are not (yet) serializable. So, if you want to write them > > into a file, you must do it yourself. For example, by implementing a > > 'WriteTo' method in the class ? > > Hi Benoit, > > Why does it work in the wikiexample ?? The wiki is not the IDE :-) More seriously, the example is not complete: the method WriteTo() and ReadFrom() are missing. > In the class CCar is no method WriteTo !! > > How does a method WriteTo look like? Just take the File object as parameter, and use it to write the contents of your object. You can write the data in ASCII with PRINT, or in binary with WRITE. It depends on what format you need. Regards, -- Benoit Minisini mailto:gambas at ...1... From jochengeorges at ...467... Wed Dec 29 17:28:52 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Wed, 29 Dec 2004 17:28:52 +0100 Subject: [Gambas-user] saving files In-Reply-To: <200412291606.28246.gambas@...1...> References: <200412290820.15671.jochengeorges@...467...> <200412291551.52105.jochengeorges@...467...> <200412291606.28246.gambas@...1...> Message-ID: <200412291728.52569.jochengeorges@...467...> On Wednesday 29 December 2004 16:06, Benoit Minisini wrote: > On Wednesday 29 December 2004 15:51, Jochen Georges wrote: > > On Wednesday 29 December 2004 11:09, Benoit Minisini wrote: > > > On Wednesday 29 December 2004 08:20, Jochen Georges wrote: ... > > Why does it work in the wikiexample ?? > > The wiki is not the IDE :-) More seriously, the example is not complete: > the method WriteTo() and ReadFrom() are missing. Hello Benoit, I updated the Wiki, now it should be working. Beste Gruesse Jochen From igor.furlan at ...626... Wed Dec 29 19:29:25 2004 From: igor.furlan at ...626... (Primorec) Date: Wed, 29 Dec 2004 10:29:25 -0800 Subject: [Gambas-user] How to install gambas on REDHAT 8 and remain sane Message-ID: <54728e7404122910292726a995@...627...> DOWNLOAD qt-x11-free-3.3.3.tar.bz2 wget http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/qt-x11-free-3.3.3.tar.bz2 tar xvfj qt-x11-free-3.3.3.tar.bz2 cd gt-x11-free-3.3.3 ./configure -thread --prefix=/usr/local/qt export LD_LIBRARY_PATH=/your/path/to/gt-x11-free-3.3.3/lib /usr/bin/gmake su /usr/bin/gmake -n install exit DOWNLOAD curl-7.12.3.tar.gz wget http://curl.haxx.se/download/curl-7.12.3.tar.gz tar xvfz curl-7.12.3.tar.gz cd curl-7.12.3 ./configure make su make install exit DOWNLOAD libxml2-2.6.16.tar.gz wget ftp://xmlsoft.org/libxml2-2.6.16.tar.gz tar xvfz libxml2-2.6.16.tar.gz cd libxml2-2.6.16 ./configure make su make install exit DOWNLOAD gambas-0.99.RC6.tar.bz2 wget http://gambas.sourceforge.net/gambas-0.99.RC6.tar.bz2 tar xvfj gambas-0.99.RC6.tar.bz2 cd gambas-0.99.RC6 ./configure --with-qt-includes=/usr/local/qt/include --with-qt-libraries=/usr/local/qt/lib --with-moc=/usr/local/qt/bin --prefix=/usr/local/gambas make su export LD_LIBRARY_PATH=/usr/local/qt/lib export PATH=/usr/local/qt/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/root/bin make install exit ========================== run gambas ========================== cd export LD_LIBRARY_PATH=/usr/local/qt/lib export PATH=/usr/local/qt/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin gambas & Have fun ! From scatman_ at ...17... Wed Dec 29 19:50:15 2004 From: scatman_ at ...17... (scatman) Date: Wed, 29 Dec 2004 19:50:15 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <20041229085340.AAD8F37316@...700...> References: <20041229085340.AAD8F37316@...700...> Message-ID: <200412291950.15382.scatman_@...17...> Am Mittwoch, 29. Dezember 2004 09:49 schrieb Daniel Oxley: > Pay for it? It sounds like he is bitter when you read his justification > for charging money for it. Besides, Gambas is much better already. > > One thing I do like though is the bar on the right in this screenshot: > > http://kbasic.org/screenshot.jpg > > that allows you (I am guessing) to quickly enter frequently used commands, > like For Next etc... > > Daniel > > Oh, also that it is in one window! ;-) But that is just being picky... > > > > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Bodard Fabien > Sent: 28 December 2004 22:45 > To: gambas-user-fr at lists.sourceforge.net; gambas-user at lists.sourceforge.net > Subject: [Gambas-user] kbasic new preview > > Hi all gambasian > > hey you can test it... for my part i prefer gambas > > http://www.kbasic.org/download.html > > C'est quoi ce truc... Audio Error of failed request: BadBucket (invalid Bucket parameter) Major opcode of failed request: 7 (Au_GetBucketAttributes) Serial number of failed request: 2 Current serial number in output stream: 2 lol... Thats great for Professional... From gambasfr at ...11... Wed Dec 29 21:57:04 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 29 Dec 2004 21:57:04 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412291950.15382.scatman_@...17...> References: <20041229085340.AAD8F37316@...700...> <200412291950.15382.scatman_@...17...> Message-ID: <200412292157.05197.gambasfr@...11...> I think he have many job to do with this.. tool. In fact i've tryed do do something with it... but :( many command crash, the doc is not complete, many tool are not available. The debug mode is really slow ... never use it with less than a P IV . Many spam in the interface, many ressource lost (with picture that run on the screen), bad editor for the forms. hbasic look better... and gambas have two miles advance... Fabien From lbaudio at ...172... Wed Dec 29 22:40:04 2004 From: lbaudio at ...172... (LB Audio) Date: Wed, 29 Dec 2004 19:40:04 -0200 (Hora oficial do Brasil) Subject: [Gambas-user] Please TableView Insert Row Text References: <200411290037.14294.Karl.Reinl@...9...> Message-ID: <41D32434.000001.01972@...745...> Insert text in Row Tableview. Not in Data. Ex: Name - > Col 01- Lindomar Lindomar -------------- next part -------------- An HTML attachment was scrubbed... URL: From scatman_ at ...17... Wed Dec 29 22:42:16 2004 From: scatman_ at ...17... (scatman) Date: Wed, 29 Dec 2004 22:42:16 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412292157.05197.gambasfr@...11...> References: <20041229085340.AAD8F37316@...700...> <200412291950.15382.scatman_@...17...> <200412292157.05197.gambasfr@...11...> Message-ID: <200412292242.17067.scatman_@...17...> Am Mittwoch, 29. Dezember 2004 21:57 schrieb Bodard Fabien: > and gambas have two miles advance... or three or four or five or more miles advance -- scatman From jochengeorges at ...467... Wed Dec 29 23:54:52 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Wed, 29 Dec 2004 23:54:52 +0100 Subject: [Gambas-user] meaning of # and $ Message-ID: <200412292354.52932.jochengeorges@...467...> Hello gambasians, if i remember right, DIM is only optional. What's about # or $ like PUBLIC SUB _new(OPTIONAL t$ AS String) or Message(Str$(What)) or READ #File, Variable[,Length] Thanks for any hint. Beste gruesse Jochen From gambasfr at ...11... Thu Dec 30 00:14:05 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 30 Dec 2004 00:14:05 +0100 Subject: [Gambas-user] meaning of # and $ In-Reply-To: <200412292354.52932.jochengeorges@...467...> References: <200412292354.52932.jochengeorges@...467...> Message-ID: <200412300014.05837.gambasfr@...11...> Le mercredi 29 D?cembre 2004 23:54, Jochen Georges a ?crit?: > Hello gambasians, > > if i remember right, DIM is only optional. > What's about # or $ like > PUBLIC SUB _new(OPTIONAL t$ AS String) > or > Message(Str$(What)) > or > READ #File, Variable[,Length] > > Thanks for any hint. > Beste gruesse > Jochen > # is needed for file or stream...; but $ is not necessary, you can wrote mid$ or mid as you want Fabien > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From francesco.difusco at ...69... Thu Dec 30 11:20:02 2004 From: francesco.difusco at ...69... (libero.it;francesco.difusco@...69...) Date: Thu, 30 Dec 2004 11:20:02 +0100 Subject: [Gambas-user] Unable to create packages Message-ID: <41D3D652.9040006@...69...> Hallo, I have problems creating rpm packages in Gambas. I use, as usual, the IDE to compile or create rpm packages. But after I have installed the last Gambas RC5, I am not able anymore to create rpm packages. I get this message "rpmbuild is not installed in your system". I have istalled agai rpmbuild, recompiled Gambas, but I always get the message "rpmbuild is not installed in your system" How could I solve the problem? Francesco From gambas at ...1... Thu Dec 30 12:24:26 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Dec 2004 12:24:26 +0100 Subject: [Gambas-user] Unable to create packages In-Reply-To: <41D3D652.9040006@...69...> References: <41D3D652.9040006@...69...> Message-ID: <200412301224.26881.gambas@...1...> On Thursday 30 December 2004 11:20, libero.it;francesco.difusco at ...69... wrote: > Hallo, > > I have problems creating rpm packages in Gambas. I use, as usual, the > IDE to compile or create rpm packages. But after I have installed the > last Gambas RC5, I am not able anymore to create rpm packages. I get > this message "rpmbuild is not installed in your system". I have istalled > agai rpmbuild, recompiled Gambas, but I always get the message "rpmbuild > is not installed in your system" > > How could I solve the problem? > > Francesco > It's a stupid bug I done. I made a non-completety official RC6 that fixes that. You will find a mail about that on the mailing-list. Regards, -- Benoit Minisini mailto:gambas at ...1... From master_trom at ...43... Thu Dec 30 13:00:19 2004 From: master_trom at ...43... (francisco manuel) Date: Thu, 30 Dec 2004 04:00:19 -0800 (PST) Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412292157.05197.gambasfr@...11...> Message-ID: <20041230120019.74803.qmail@...752...> you are right ! Kbasic isn't good ! and for the moment it "run"(when it don't crash) slowly and not perfectly. I think that gambas is better. Kbasic don't run in linux for the moment, it "run" (see before) on window$ :p In french : Le mec qui parle de Kbasic il se sent bien ?? non je dis ?? c que si il est pas capable de voir l'enorme difference entre Kbasic et GAMBAS, il devrait se faire rincer l'oeil !!! Faut pas deconner Kbasic c de la dobe et c surtout plein de spam (version demo BEURK) Bref je prefere de loin gambas non parce qu'il est gratuit mais parce qu'il est le meilleur dans son domaine. Neammoins si je peux me permettre 2 points qui me gene un peu :( - gambas doesn't create standalone BIN(i'm not shocking because is a basic interpreter :p), but it can be interesting that we have a package with just the interpreter (gbx) in or propably use another solution like : autopackage - gambas don't work on window$ (it works but you must install Virtual Machine before with linux) Voila en totu cas pour moi : NO SPAM HERE ! Bravo benoit pour GAMABAS car GAMBAS is the only basic interpreter who is simple rapid works fine on GNU linux Au fait benoit si tu es de passage dans le nord j'ai des bieres au frigot ;) Trom --- Bodard Fabien wrote: > I think he have many job to do with this.. tool. > > In fact i've tryed do do something with it... but :( > many command crash, the > doc is not complete, many tool are not available. > > > The debug mode is really slow ... never use it with > less than a P IV . > Many spam in the interface, many ressource lost > (with picture that run on the > screen), bad editor for the forms. > > hbasic look better... > > and gambas have two miles advance... > > Fabien > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail From sourceforge-raindog2 at ...94... Thu Dec 30 15:03:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 30 Dec 2004 09:03:53 -0500 Subject: [Gambas-user] gambas 1.0 RC6 In-Reply-To: <200412261917.05062.gambas@...1...> References: <200412261917.05062.gambas@...1...> Message-ID: <200412300903.53533.sourceforge-raindog2@...94...> On Sunday 26 December 2004 13:17, Benoit Minisini wrote: > Is there any gambas user there that is not in holidays, family > or other christmas things ? :-) I just got back from the holiday myself but I will try to package this. I had a hell of a time getting RC5 rpms to build under Mandrake 10.1, 10.0 or 9.2 because of the automake changes. I think I will probably have to give up on 9.2... Rob From sourceforge-raindog2 at ...94... Thu Dec 30 15:34:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 30 Dec 2004 09:34:29 -0500 Subject: [Gambas-user] gambas and m$indows In-Reply-To: <200412271616.47561.Stefan@...744...> References: <200412271616.47561.Stefan@...744...> Message-ID: <200412300934.29142.sourceforge-raindog2@...94...> On Monday 27 December 2004 10:16, Stefan Lamprecht wrote: > i ported some vbasic stuff to drag customer to linux. > now he wants to 'test' and in the very moment i only see > the option to start an x-server under windows and start gambas > via ssh login to this display. > not very convincing. > if someone sees another option, please let me know. You're welcome to help with the effort to port Gambas to Cygwin. Brandon Bergren would probably be the guy to talk about this. But cygwin's X server in rootless mode and an appropriate Qt style and window decorations has worked pretty well in our testing (keeping in mind that the goal is to get rid of Windows desktops altogether.) Rob From francesco.difusco at ...69... Thu Dec 30 15:52:51 2004 From: francesco.difusco at ...69... (libero.it;francesco.difusco@...69...) Date: Thu, 30 Dec 2004 15:52:51 +0100 Subject: [Gambas-user] Unable to create packages In-Reply-To: <200412301224.26881.gambas@...1...> References: <41D3D652.9040006@...69...> <200412301224.26881.gambas@...1...> Message-ID: <41D41643.10801@...69...> Benoit Minisini wrote: > >It's a stupid bug I done. I made a non-completety official RC6 that fixes >that. You will find a mail about that on the mailing-list. > >Regards, > > > Thank you, Benoit, where do I find RC6? Francesco From lordheavy at ...512... Thu Dec 30 15:54:48 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 30 Dec 2004 15:54:48 +0100 Subject: [Gambas-user] Unable to create packages In-Reply-To: <41D41643.10801@...69...> References: <41D3D652.9040006@...69...> <200412301224.26881.gambas@...1...> <41D41643.10801@...69...> Message-ID: <200412301554.48891.lordheavy@...512...> Le Jeudi 30 D?cembre 2004 15:52, libero.it;francesco.difusco at ...69... a ?crit?: > Benoit Minisini wrote: > >It's a stupid bug I done. I made a non-completety official RC6 that fixes > >that. You will find a mail about that on the mailing-list. > > > >Regards, > > Thank you, Benoit, > > where do I find RC6? > > Francesco > > http://gambas.sf.net/gambas-0.99.RC6.tar.bz2 Regards, -- Laurent Carlier From oliver_stieber at ...370... Thu Dec 30 19:29:11 2004 From: oliver_stieber at ...370... (Oliver Stieber) Date: Thu, 30 Dec 2004 18:29:11 +0000 (GMT) Subject: [Gambas-user] A few questions. In-Reply-To: <200412291548.07832.gambas@...1...> Message-ID: <20041230182911.66346.qmail@...738...> > > Getting a list of symbols works fine though > > for each foo in classes["myclass"].symbols ... > > > > There is still one problem for your class browser. > Class["x"]["y"].Signature > will always return a null string. So you can't know > what parameters a method > or an event need. > Opps, I think I should have said object inspector not class browser, a class browsers a good idea too and should be very easy to put together. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From michael.beale at ...626... Thu Dec 30 19:42:05 2004 From: michael.beale at ...626... (Michael Beale) Date: Thu, 30 Dec 2004 12:42:05 -0600 Subject: [Gambas-user] GPL? Message-ID: <606241e10412301042462e6b84@...627...> I had a question specifically about gambas, but also the GPL in general. Since gambas is released with the GPL, does that mean I can't use it to build closed source commercial applications? Do I have to release the source code? Very nifty program. -- Michael Beale From ew at ...753... Thu Dec 30 19:46:33 2004 From: ew at ...753... (=?ISO-8859-1?Q?Eckhart_W=F6rner?=) Date: Thu, 30 Dec 2004 19:46:33 +0100 Subject: [Gambas-user] GPL? In-Reply-To: <606241e10412301042462e6b84@...627...> References: <606241e10412301042462e6b84@...627...> Message-ID: <41D44D09.10107@...753...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Michael, Michael Beale schrieb: | I had a question specifically about gambas, but also the GPL in | general. Since gambas is released with the GPL, does that mean I | can't use it to build closed source commercial applications? Do I | have to release the source code? Very nifty program. the frequently asked questions will help you: http://www.binara.com/gambas-wiki/bin/view/Gambas/WebSiteFAQ#Can_I_develop_proprietary_softwa Eckhart -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB1E0J/IgQ2EjJoQgRAnG/AKCy9pO51pzBr8iIBqdgvnPxS1E4lwCgpgz9 aO45CiEhmUbH26xyJaBWvj4= =josi -----END PGP SIGNATURE----- From gambasfr at ...11... Thu Dec 30 20:20:51 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 30 Dec 2004 20:20:51 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <20041230120019.74803.qmail@...752...> References: <20041230120019.74803.qmail@...752...> Message-ID: <200412302020.51964.gambasfr@...11...> Le jeudi 30 D?cembre 2004 13:00, francisco manuel a ?crit?: > you are right ! > > Kbasic isn't good ! > and for the moment it "run"(when it don't crash) > slowly and not perfectly. > > I think that gambas is better. > > Kbasic don't run in linux for the moment, it "run" > (see before) on window$ :p > > In french : > > Le mec qui parle de Kbasic il se sent bien ?? > > non je dis ?? c que si il est pas capable de voir > l'enorme difference entre Kbasic et GAMBAS, il devrait > se faire rincer l'oeil !!! > > Faut pas deconner Kbasic c de la dobe et c surtout > plein de spam (version demo BEURK) > > Bref je prefere de loin gambas non parce qu'il est > gratuit mais parce qu'il est le meilleur dans son > domaine. > > Neammoins si je peux me permettre 2 points qui me gene > un peu :( > > - gambas doesn't create standalone BIN(i'm not > shocking because is a basic interpreter :p), but it > can be interesting that we have a package with just > the interpreter (gbx) in or propably use another > solution like : autopackage > > - gambas don't work on window$ > (it works but you must install Virtual Machine before > with linux) > > Voila en totu cas pour moi : NO SPAM HERE ! > > Bravo benoit pour GAMABAS car GAMBAS is the only basic > interpreter who is simple rapid works fine on GNU > linux > > Au fait benoit si tu es de passage dans le nord j'ai > des bieres au frigot ;) > > Trom Moi j'ai toujours du Pineau au frais ;-) Mais Bon si j'ai lanc? ce sujet c'est juste pour dire que There is now near than one sole basic that continue his road on linux : gambas. hbasic : i 've no news since april kbasic: you have see what you have to see gnomebasic is dead but have a new life in mbas: Mono's VisualBasic.NET Compiler (the m$ linux tool) wxbasic is stopped since 2002 realbasic: no ide etc..; Mais bon, c'?tait tout... Rien de mal... que j'ai dit... moi... ;) > > --- Bodard Fabien wrote: > > I think he have many job to do with this.. tool. > > > > In fact i've tryed do do something with it... but :( > > many command crash, the > > doc is not complete, many tool are not available. > > > > > > The debug mode is really slow ... never use it with > > less than a P IV . > > Many spam in the interface, many ressource lost > > (with picture that run on the > > screen), bad editor for the forms. > > > > hbasic look better... > > > > and gambas have two miles advance... > > > > Fabien > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT > > Products from real users. > > Discover which products truly live up to the hype. > > Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From francesco.difusco at ...69... Thu Dec 30 20:26:11 2004 From: francesco.difusco at ...69... (libero.it;francesco.difusco@...69...) Date: Thu, 30 Dec 2004 20:26:11 +0100 Subject: [Gambas-user] Unable to create packages In-Reply-To: <200412301554.48891.lordheavy@...512...> References: <41D3D652.9040006@...69...> <200412301224.26881.gambas@...1...> <41D41643.10801@...69...> <200412301554.48891.lordheavy@...512...> Message-ID: <41D45653.4060500@...69...> > > >http://gambas.sf.net/gambas-0.99.RC6.tar.bz2 > >Regards, > > > How do I install it? It seems different from the "old" RC5. Where do I find the configure script? Francesco From lordheavy at ...512... Thu Dec 30 21:01:46 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 30 Dec 2004 21:01:46 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412302020.51964.gambasfr@...11...> References: <20041230120019.74803.qmail@...752...> <200412302020.51964.gambasfr@...11...> Message-ID: <200412302101.46587.lordheavy@...512...> Le Jeudi 30 D?cembre 2004 20:20, Bodard Fabien a ?crit?: > > > > Au fait benoit si tu es de passage dans le nord j'ai > > des bieres au frigot ;) > > > > Trom > > Moi j'ai toujours du Pineau au frais ;-) > > Mais Bon si j'ai lanc? ce sujet c'est juste pour dire que > > There is now near than one sole basic that continue his road on linux : > gambas. > > hbasic : i 've no news since april > kbasic: you have see what you have to see > gnomebasic is dead but have a new life in mbas: Mono's VisualBasic.NET > Compiler (the m$ linux tool) > wxbasic is stopped since 2002 > realbasic: no ide > > etc..; > > Mais bon, c'?tait tout... Rien de mal... que j'ai dit... moi... > "Quand un chtimi ya du souci, y b? un d'mi !" ba moi j'utilise pas kbasic et ne l'utilisarait pas pasque ma libert? n'a pas de prix :) (vous n'aurez pas ma libert? de programmerrrr !) Bon et dans le nord ya pas que la bi?re, actuellement je bois plut?t du cognac en apero :) basic links : http://www.purebasic.com http://www.janus-software.com/ (vaporware ?) http://www.maxreason.com/software/xbasic/xbasic.html ....... Regards, -- Laurent Carlier From sourceforge-raindog2 at ...94... Thu Dec 30 21:44:13 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 30 Dec 2004 15:44:13 -0500 Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412302101.46587.lordheavy@...512...> References: <20041230120019.74803.qmail@...752...> <200412302020.51964.gambasfr@...11...> <200412302101.46587.lordheavy@...512...> Message-ID: <200412301544.13978.sourceforge-raindog2@...94...> On Thursday 30 December 2004 15:01, Laurent Carlier wrote: > http://www.janus-software.com/ (vaporware ?) Yeah, as far as I know Phoenix Basic is dead (the company may be too.) As far as I know, they're still planning to release the source in March. That is, March 2001! Rob From master_trom at ...43... Thu Dec 30 23:33:32 2004 From: master_trom at ...43... (francisco manuel) Date: Thu, 30 Dec 2004 14:33:32 -0800 (PST) Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412302020.51964.gambasfr@...11...> Message-ID: <20041230223332.88831.qmail@...752...> bah j'ai pas dis que tu avais dis quelque chose de mal j'ai juste dis que Kbasic c'etait de la dobe :) Tu ramene le pinard et moi la biere ;) (manque plus qu'a trouver quelqu'un qui ramene a bouffer) non franchement jdois etre un peu trop GNU, c'est juste que j'ai tester kbasic et j'ai trouver reellement que le mec abusait de vendre ce "truc"(kbasic). Pour moi le meilleur compiler Basic sur Linux : GAMBAS sur window$ : BCX c tout ;) sans rancune et a la tienne en cette periode de fin d'annee Trom --- Bodard Fabien wrote: > Le jeudi 30 D?cembre 2004 13:00, francisco manuel a > ?crit : > > you are right ! > > > > Kbasic isn't good ! > > and for the moment it "run"(when it don't crash) > > slowly and not perfectly. > > > > I think that gambas is better. > > > > Kbasic don't run in linux for the moment, it "run" > > (see before) on window$ :p > > > > In french : > > > > Le mec qui parle de Kbasic il se sent bien ?? > > > > non je dis ?? c que si il est pas capable de voir > > l'enorme difference entre Kbasic et GAMBAS, il > devrait > > se faire rincer l'oeil !!! > > > > Faut pas deconner Kbasic c de la dobe et c surtout > > plein de spam (version demo BEURK) > > > > Bref je prefere de loin gambas non parce qu'il est > > gratuit mais parce qu'il est le meilleur dans son > > domaine. > > > > Neammoins si je peux me permettre 2 points qui me > gene > > un peu :( > > > > - gambas doesn't create standalone BIN(i'm not > > shocking because is a basic interpreter :p), but > it > > can be interesting that we have a package with > just > > the interpreter (gbx) in or propably use another > > solution like : autopackage > > > > - gambas don't work on window$ > > (it works but you must install Virtual Machine > before > > with linux) > > > > Voila en totu cas pour moi : NO SPAM HERE ! > > > > Bravo benoit pour GAMABAS car GAMBAS is the only > basic > > interpreter who is simple rapid works fine on GNU > > linux > > > > Au fait benoit si tu es de passage dans le nord > j'ai > > des bieres au frigot ;) > > > > Trom > > Moi j'ai toujours du Pineau au frais ;-) > > Mais Bon si j'ai lanc? ce sujet c'est juste pour > dire que > > There is now near than one sole basic that continue > his road on linux : > gambas. > > hbasic : i 've no news since april > kbasic: you have see what you have to see > gnomebasic is dead but have a new life in mbas: > Mono's VisualBasic.NET > Compiler (the m$ linux tool) > wxbasic is stopped since 2002 > realbasic: no ide > > etc..; > > Mais bon, c'?tait tout... Rien de mal... que j'ai > dit... moi... > > ;) > > > > > > > > > --- Bodard Fabien wrote: > > > I think he have many job to do with this.. tool. > > > > > > In fact i've tryed do do something with it... > but :( > > > many command crash, the > > > doc is not complete, many tool are not > available. > > > > > > > > > The debug mode is really slow ... never use it > with > > > less than a P IV . > > > Many spam in the interface, many ressource lost > > > (with picture that run on the > > > screen), bad editor for the forms. > > > > > > hbasic look better... > > > > > > and gambas have two miles advance... > > > > > > Fabien > > > > > ------------------------------------------------------- > > > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT > > > Products from real users. > > > Discover which products truly live up to the > hype. > > > Start reading now. > > > http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Helps protect you from nasty > viruses. > > http://promotions.yahoo.com/new_mail > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the > post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 From master_trom at ...43... Thu Dec 30 23:38:20 2004 From: master_trom at ...43... (francisco manuel) Date: Thu, 30 Dec 2004 14:38:20 -0800 (PST) Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412302101.46587.lordheavy@...512...> Message-ID: <20041230223820.38835.qmail@...754...> Bah je me doute qu'ya pas que la biere ;) Neammoins j'habite pres de la belgique alors ... Ben voila pour ma part j'ai fait noel pres du feu avec mes amis Linux, Ch'ti ambre, choulette, goudale, 3 Monts et Maitre Kanter etait la ;) Voila, juste un ptit reveillon de GEEK neammoins je crache pas sur un ptit verre de cognac ;) surtout si tu l'offre. (faut s'adapter a toute les situations, devise du GEEK) Trom --- Laurent Carlier wrote: > Le Jeudi 30 D?cembre 2004 20:20, Bodard Fabien a > ?crit : > > > > > > Au fait benoit si tu es de passage dans le nord > j'ai > > > des bieres au frigot ;) > > > > > > Trom > > > > Moi j'ai toujours du Pineau au frais ;-) > > > > Mais Bon si j'ai lanc? ce sujet c'est juste pour > dire que > > > > There is now near than one sole basic that > continue his road on linux : > > gambas. > > > > hbasic : i 've no news since april > > kbasic: you have see what you have to see > > gnomebasic is dead but have a new life in mbas: > Mono's VisualBasic.NET > > Compiler (the m$ linux tool) > > wxbasic is stopped since 2002 > > realbasic: no ide > > > > etc..; > > > > Mais bon, c'?tait tout... Rien de mal... que j'ai > dit... moi... > > > "Quand un chtimi ya du souci, y b? un d'mi !" > > ba moi j'utilise pas kbasic et ne l'utilisarait pas > pasque ma libert? n'a pas > de prix :) (vous n'aurez pas ma libert? de > programmerrrr !) Bon et dans le > nord ya pas que la bi?re, actuellement je bois > plut?t du cognac en apero :) > > basic links : > http://www.purebasic.com > http://www.janus-software.com/ (vaporware ?) > http://www.maxreason.com/software/xbasic/xbasic.html > > ....... > > Regards, > > -- > > Laurent Carlier > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 From lordheavy at ...512... Fri Dec 31 00:00:52 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 31 Dec 2004 00:00:52 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <20041230223820.38835.qmail@...754...> References: <20041230223820.38835.qmail@...754...> Message-ID: <200412310000.54477.lordheavy@...512...> Le Jeudi 30 D?cembre 2004 23:38, francisco manuel a ?crit?: > Bah je me doute qu'ya pas que la biere ;) > > Neammoins j'habite pres de la belgique alors ... > > Ben voila pour ma part j'ai fait noel pres du feu avec > mes amis Linux, Ch'ti ambre, choulette, goudale, 3 > Monts et Maitre Kanter etait la ;) > > Voila, juste un ptit reveillon de GEEK > > neammoins je crache pas sur un ptit verre de cognac ;) > surtout si tu l'offre. > (faut s'adapter a toute les situations, devise du > GEEK) > > Trom > Ba jsuis pas trop loin de la belgique et dans le nord la bi?re c'est sacr?, avec une ptite frite .... Fo quand m?me pas comparer le pineau avec du pinard, bon fo pas non plus cracher su l'gorgeon d'pinard :) No?l, c'?tait avec ma femme et mes gosses :) classique et tranquille quoi :) Bon ya le ML francais pour ?a, Only english speaking here :) -- Laurent Carlier From jochengeorges at ...467... Fri Dec 31 09:52:28 2004 From: jochengeorges at ...467... (Jochen Georges) Date: Fri, 31 Dec 2004 09:52:28 +0100 Subject: [Gambas-user] msgmerge is installed, errormessage anyway Message-ID: <200412310952.28591.jochengeorges@...467...> Hi gambanauts, I would like to write a little translatable program. The starting of the translation throws an error message: "Kann die Sprachdatei 'Deutsch (Deutschland)' nicht ?ffnen Das Kommando 'msmerge' konnte nicht ausgef?hrt werden." But it is installed! ---------------------------------------------------------------------- jochen at ...23...:~/eigene.dateien/eigene.programme/gambas$ which msgmerge /usr/bin/msgmerge jochen at ...23...:~/eigene.dateien/eigene.programme/gambas$ msgmerge -V msgmerge (GNU gettext) 0.10.40 Copyright ? 1995-1998, 2000, 2001 Free Software Foundation, Inc. Dies ist freie Software; in den Quellen befindet sich die Lizenzbedingung. Es gibt KEINERLEI Garantie; nicht einmal f?r die TAUGLICHKEIT oder die VERWENDBARKEIT ZU EINEN ANGEGEBENEN ZWECK. Geschrieben von Peter Miller. ---------------------------------------------------------------------- From na2492 at ...9... Fri Dec 31 12:48:08 2004 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 31 Dec 2004 12:48:08 00100 Subject: [Gambas-user] gambas and Debian Message-ID: <41d53c78.4f00.0@...9...> Salut, I try to install gambas on my ubuntu/Debian. It was said, I can find it at http://cvs.linex.org/linex/gambas. Yes I found it there. But as new with Debian I try to use Synaptic package tool I set : typ = Bin(dep) Adr = http://cvs.linex.org/ Dist= linex Sect= gambas and that I turned up and down. I allways get a 404 Not Found Where I'm wrong. Can anyone guide me to get it ! Thanks Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambasfr at ...11... Fri Dec 31 14:13:03 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 31 Dec 2004 14:13:03 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <20041230223332.88831.qmail@...752...> References: <20041230223332.88831.qmail@...752...> Message-ID: <200412311413.03424.gambasfr@...11...> Le jeudi 30 D?cembre 2004 23:33, francisco manuel a ?crit?: Ma r?ponse sur la mailing list fran?aise > bah j'ai pas dis que tu avais dis quelque chose de mal > > > j'ai juste dis que Kbasic c'etait de la dobe :) > > Tu ramene le pinard et moi la biere ;) > (manque plus qu'a trouver quelqu'un qui ramene a > bouffer) > > non franchement jdois etre un peu trop GNU, c'est > juste que j'ai tester kbasic et j'ai trouver > reellement que le mec abusait de vendre ce > "truc"(kbasic). > > Pour moi le meilleur compiler Basic > > sur Linux : > GAMBAS > > sur window$ : > BCX > > c tout ;) sans rancune et > a la tienne en cette periode de fin d'annee > > Trom > > --- Bodard Fabien wrote: > > Le jeudi 30 D?cembre 2004 13:00, francisco manuel a > > > > ?crit : > > > you are right ! > > > > > > Kbasic isn't good ! > > > and for the moment it "run"(when it don't crash) > > > slowly and not perfectly. > > > > > > I think that gambas is better. > > > > > > Kbasic don't run in linux for the moment, it "run" > > > (see before) on window$ :p > > > > > > In french : > > > > > > Le mec qui parle de Kbasic il se sent bien ?? > > > > > > non je dis ?? c que si il est pas capable de voir > > > l'enorme difference entre Kbasic et GAMBAS, il > > > > devrait > > > > > se faire rincer l'oeil !!! > > > > > > Faut pas deconner Kbasic c de la dobe et c surtout > > > plein de spam (version demo BEURK) > > > > > > Bref je prefere de loin gambas non parce qu'il est > > > gratuit mais parce qu'il est le meilleur dans son > > > domaine. > > > > > > Neammoins si je peux me permettre 2 points qui me > > > > gene > > > > > un peu :( > > > > > > - gambas doesn't create standalone BIN(i'm not > > > shocking because is a basic interpreter :p), but > > > > it > > > > > can be interesting that we have a package with > > > > just > > > > > the interpreter (gbx) in or propably use another > > > solution like : autopackage > > > > > > - gambas don't work on window$ > > > (it works but you must install Virtual Machine > > > > before > > > > > with linux) > > > > > > Voila en totu cas pour moi : NO SPAM HERE ! > > > > > > Bravo benoit pour GAMABAS car GAMBAS is the only > > > > basic > > > > > interpreter who is simple rapid works fine on GNU > > > linux > > > > > > Au fait benoit si tu es de passage dans le nord > > > > j'ai > > > > > des bieres au frigot ;) > > > > > > Trom > > > > Moi j'ai toujours du Pineau au frais ;-) > > > > Mais Bon si j'ai lanc? ce sujet c'est juste pour > > dire que > > > > There is now near than one sole basic that continue > > his road on linux : > > gambas. > > > > hbasic : i 've no news since april > > kbasic: you have see what you have to see > > gnomebasic is dead but have a new life in mbas: > > Mono's VisualBasic.NET > > Compiler (the m$ linux tool) > > wxbasic is stopped since 2002 > > realbasic: no ide > > > > etc..; > > > > Mais bon, c'?tait tout... Rien de mal... que j'ai > > dit... moi... > > > > ;) > > > > > --- Bodard Fabien wrote: > > > > I think he have many job to do with this.. tool. > > > > > > > > In fact i've tryed do do something with it... > > > > but :( > > > > > > many command crash, the > > > > doc is not complete, many tool are not > > > > available. > > > > > > The debug mode is really slow ... never use it > > > > with > > > > > > less than a P IV . > > > > Many spam in the interface, many ressource lost > > > > (with picture that run on the > > > > screen), bad editor for the forms. > > > > > > > > hbasic look better... > > > > > > > > and gambas have two miles advance... > > > > > > > > Fabien > > ------------------------------------------------------- > > > > > SF email is sponsored by - The IT Product Guide > > > > Read honest & candid reviews on hundreds of IT > > > > Products from real users. > > > > Discover which products truly live up to the > > > > hype. > > > > > > Start reading now. > > > > http://productguide.itmanagersjournal.com/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Mail - Helps protect you from nasty > > > > viruses. > > > > > http://promotions.yahoo.com/new_mail > > ------------------------------------------------------- > > > > The SF.Net email is sponsored by: Beat the > > > > post-holiday blues > > > > > Get a FREE limited edition SourceForge.net t-shirt > > > > from ThinkGeek. > > > > > It's fun and FREE -- well, > > > > almost....http://www.thinkgeek.com/sfshirt > > > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------- > > > The SF.Net email is sponsored by: Beat the > > post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt > > from ThinkGeek. > > It's fun and FREE -- well, > > almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Find what you need with new enhanced search. > http://info.mail.yahoo.com/mail_250 > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From karl.reinl at ...9... Fri Dec 31 15:00:00 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 31 Dec 2004 15:00:00 +0100 Subject: [Gambas-user] it is 3 pm in germany now Message-ID: <41D55B60.4020400@...9...> Salut, it is the 31 Dec. 2004 3 pm in germany , ............ means that it is 9 h before 1.0 ?????????? And may all of you, all over the world, have a peacefull, a good, a happy new year 2005 Amicalment Charlie From scatman_ at ...17... Fri Dec 31 15:22:09 2004 From: scatman_ at ...17... (scatman) Date: Fri, 31 Dec 2004 15:22:09 +0100 Subject: [Gambas-user] Progressbar Message-ID: <200412311522.09768.scatman_@...17...> Hallo, i have two Forms in my Project. Form1 the Main and Form2 with a ProgressBar. In the Start Class the ProgressBar works, but in the Form2 don't. All Values are available in the Form2, but the Progressbar abides Zero. The Attachment shows the two ProgressBars in the same Program with the same Values, but in the Form2 she doesnt work. The DirektWindow shows the Value from Form2 by the Print Command. Any hints? regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: ProgressBar.jpg Type: image/jpeg Size: 23862 bytes Desc: not available URL: From na2492 at ...9... Fri Dec 31 16:02:08 2004 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 31 Dec 2004 16:02:08 00100 Subject: [Gambas-user] Progressbar Message-ID: <41d569f0.1e0e.0@...9...> > >Hallo, > >i have two Forms in my Project. > >Form1 the Main and Form2 with a ProgressBar. > >In the Start Class the ProgressBar works, but in the Form2 don't. >All Values are available in the Form2, but the Progressbar abides Zero. > >The Attachment shows the two ProgressBars in the same Program with the same >Values, but in the Form2 she doesnt work. The DirektWindow shows the Value >from Form2 by the Print Command. > >Any hints? > >regards, Salut, without seeing the code , I would say try a WAIT in the loop Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From sourceforge-raindog2 at ...94... Fri Dec 31 16:13:10 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 31 Dec 2004 10:13:10 -0500 Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412311413.03424.gambasfr@...11...> References: <20041230223332.88831.qmail@...752...> <200412311413.03424.gambasfr@...11...> Message-ID: <200412311013.10323.sourceforge-raindog2@...94...> On Friday 31 December 2004 08:13, Bodard Fabien wrote: > Ma r?ponse sur la mailing list fran?aise > (over 200 quoted lines deleted) Could you guys be a little more judicious with the quoting when you're replying to long posts? I know in this case you were just moving the discussion to the French list, but it often gets pretty hard to figure out what you're talking about with hundreds of quoted lines. Thanks Rob From gambasfr at ...11... Fri Dec 31 16:56:40 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 31 Dec 2004 16:56:40 +0100 Subject: [Gambas-user] kbasic new preview In-Reply-To: <200412311013.10323.sourceforge-raindog2@...94...> References: <20041230223332.88831.qmail@...752...> <200412311413.03424.gambasfr@...11...> <200412311013.10323.sourceforge-raindog2@...94...> Message-ID: <200412311656.40300.gambasfr@...11...> Le vendredi 31 D?cembre 2004 16:13, Rob a ?crit?: > On Friday 31 December 2004 08:13, Bodard Fabien wrote: > > Ma r?ponse sur la mailing list fran?aise > > (over 200 quoted lines deleted) > > Could you guys be a little more judicious with the quoting when > you're replying to long posts? I know in this case you were > just moving the discussion to the French list, but it often gets > pretty hard to figure out what you're talking about with > hundreds of quoted lines. > > Thanks > Rob Hem yes your right scuse, me for this... promish i'll be more carefully next time. fabien From gambas at ...1... Fri Dec 31 19:17:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 31 Dec 2004 19:17:46 +0100 Subject: [Gambas-user] GAMBAS 1.0 IS RELEASED - HAPPY NEW YEAR! Message-ID: <200412311917.46331.gambas@...1...> Here is GAMBAS 1.0 :-) I can hear some people says: at least! BUT DO NOT USE THE PACKAGE BEFORE MIDNIGHT! It is a present. (thanks to MPlayer for the idea) There are very few changes between this release and the RC6. See the ChangeLog for more information. I will create a 1.1 tree on my hard disk, and then I will be able to start to merge some pending contributions, and start to add new features again. Try to not find too many bugs in this version so that I don't have to release a 1.0.1 too early :-) HAPPY NEW YEAR TO EVERYBODY! -- Benoit Minisini mailto:gambas at ...1... From jayloos at ...755... Fri Dec 31 19:05:18 2004 From: jayloos at ...755... (Jay Loos) Date: Fri, 31 Dec 2004 12:05:18 -0600 Subject: [Gambas-user] ComboBox.Clear ??? Message-ID: <41D594DE.6020702@...755...> This is labeled ComboBox.Clear because I was testing out the widgets on Gambas and I wanted to just clear the information in the ComboBox but for some reason the combobox is transformed to a text input box with no access to the list of the combobox. In other words I create a ComboBox with like 10 names to choose from. Running the program the ComboBox shows in the window with the abilty to choose one of the 10 names. That all works fine. Now I add a button to the application ; lets call it a Clear button and put the code in it like so : " ComboBox1.Clear ". We run the application again and I am able to choose a name from the combobox as usual but now I get lazy and hit the Clear button just because I want to do it that way. The ComboBox1 clears and I want to choose another name from ComboBox1 but I cannot access the list. I left click the mouse button on the arrow and no list appears. I can type in the ComboBox but again no list. Hmmmmm. To correct this problem I have put a band aid on it but redoing the code like so : " ComboBox1.Text = " "" " If I do that I still get access the the ComboBox list and the ComboBox is then cleared of whatever is in it. I have seached the list but this problem I could not find anywhere. Any input would be appreciated. Thanks. _*OS being Used*_ I am using PCLinux 8 as an operating system that is the same as Mandrake 9.x I do believe. I compiled from a source RPM using Gambas 0.99.RC4. I then updated Gambas in hopes to take care of the problem to Gambas 0.99.RC5 using a spec file and generating my own RPM's. I use Bash script files to start my applications because the system won't run the programs directly unless I start them at a console prompt. Any other questions please ask. From lordheavy at ...512... Fri Dec 31 20:02:44 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 31 Dec 2004 20:02:44 +0100 Subject: [Gambas-user] No comment :) Message-ID: <200412312002.45338.lordheavy@...512...> no comment :) http://www.fosdem.org/2005/index/speakers/speakers_minisini -- Laurent Carlier From berto.melgar at ...626... Fri Dec 31 19:59:18 2004 From: berto.melgar at ...626... (Berto) Date: Fri, 31 Dec 2004 18:59:18 +0000 Subject: [Gambas-user] GAMBAS 1.0 IS RELEASED - HAPPY NEW YEAR! In-Reply-To: <200412311917.46331.gambas@...1...> References: <200412311917.46331.gambas@...1...> Message-ID: <38e9ff9904123110591d6f63f2@...627...> FELIZ A?O! from Spain and Thanks to all developers for Gambas!!!! On Fri, 31 Dec 2004 19:17:46 +0100, Benoit Minisini wrote: > Here is GAMBAS 1.0 :-) > > I can hear some people says: at least! > > BUT DO NOT USE THE PACKAGE BEFORE MIDNIGHT! It is a present. (thanks to > MPlayer for the idea) > > There are very few changes between this release and the RC6. See the ChangeLog > for more information. > > I will create a 1.1 tree on my hard disk, and then I will be able to start to > merge some pending contributions, and start to add new features again. > > Try to not find too many bugs in this version so that I don't have to release > a 1.0.1 too early :-) > > HAPPY NEW YEAR TO EVERYBODY! > > -- > Benoit Minisini > mailto:gambas at ...1... > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Redescubre la Web: Pillate Firefox [getfirefox.com] There are only 10 types of people in this world... those who understand binary, and those who don't. "The pure and simple truth is rarely pure and never simple." - Oscar Wilde "Reality is that which, when you stop believing in it, doesn't go away." - Philip K. Dick "El sexo sucio? s?, claro; pero solo cuando se hace bien. - Woody Allen "Yo no coloco al artista en un pedestal, como si fuera un peque?o dios. Es tan s?lo el int?rprete de lo in?fable." Edward Weston "...de pronto, todo me resulta evidente: s?lo los libros fant?sticos pueden transmitir la realidad desfasada en que vivo..." David B. La ascenci?n del gran mal. Berto Berto From tetsuo at ...756... Fri Dec 31 20:04:56 2004 From: tetsuo at ...756... (tetsuo) Date: Fri, 31 Dec 2004 20:04:56 +0100 Subject: [Gambas-user] GAMBAS 1.0 IS RELEASED - HAPPY NEW YEAR! In-Reply-To: <200412311917.46331.gambas@...1...> References: <200412311917.46331.gambas@...1...> Message-ID: <41D5A2D8.6000600@...756...> Benoit Minisini wrote: > Here is GAMBAS 1.0 :-) > > I can hear some people says: at least! > > BUT DO NOT USE THE PACKAGE BEFORE MIDNIGHT! It is a present. (thanks to > MPlayer for the idea) > > There are very few changes between this release and the RC6. See the ChangeLog > for more information. > > I will create a 1.1 tree on my hard disk, and then I will be able to start to > merge some pending contributions, and start to add new features again. > > Try to not find too many bugs in this version so that I don't have to release > a 1.0.1 too early :-) > > HAPPY NEW YEAR TO EVERYBODY! > happy new year to u Mr.Minisini!!! ..uhm... and many many many thanks for GAMBAS :D From francesco.difusco at ...69... Fri Dec 31 20:13:38 2004 From: francesco.difusco at ...69... (libero.it;francesco.difusco@...69...) Date: Fri, 31 Dec 2004 20:13:38 +0100 Subject: [Gambas-user] GAMBAS 1.0 IS RELEASED - HAPPY NEW YEAR! In-Reply-To: <200412311917.46331.gambas@...1...> References: <200412311917.46331.gambas@...1...> Message-ID: <41D5A4E2.7090106@...69...> Happy new year to you too, from Italy Francesco From scatman_ at ...17... Fri Dec 31 16:44:13 2004 From: scatman_ at ...17... (scatman) Date: Fri, 31 Dec 2004 16:44:13 +0100 Subject: [Gambas-user] Progressbar In-Reply-To: <41d569f0.1e0e.0@...9...> References: <41d569f0.1e0e.0@...9...> Message-ID: <200412311644.14044.scatman_@...17...> Am Freitag, 31. Dezember 2004 17:02 schrieb Charlie Reinl: Hi, > Salut, > > without seeing the code , I would say > > try a WAIT in the loop > Here the Code (Wait don't Helps) PUBLIC hNew AS FStatus FStatus.Visible = TRUE ____________________ (Main) ########################################################## PUBLIC SUB ProgressBar_Timer(OPTIONAL Result$ AS String ) DIM ckSize AS File DIM x AS Integer DIM z AS Integer DIM PTimer AS Float 'DIM result AS String DIM VobSize[21] AS Float 'nach vorhandenen VOBs gucken. Zur Berechnung von PTimer FOR x = 20 TO 0 STEP - 1 FOR z = 20 TO 0 STEP - 1 IF Exist(sPath &/lsDVD&/"VIDEO_TS/VTS_0" & x & "_" & z & ".VOB") THEN OPEN sPath&/lsDVD&/"VIDEO_TS/VTS_0" & x & "_" & z & ".VOB" FOR READ AS #ckSize VobSize[x] = Lof(ckSize) SummeGesammt = SummeGesammt + VobSize[x] / 1024 * 1000 END IF NEXT NEXT PTimer = Round(SummeGesammt * 100 / FilmLaengeKb) Result$ = Str(PTimer) 'This one works in the Main ProgressBar1.Value = Mid$(Result$, 1,1) & "." & Mid$(Result$, 3.1) & Mid$(Result$,4,1) SummeGesammt = 0 hNew = NEW FStatus (Result$) END ################################################################ 'Gambas Class file 'Form2 (FStatus) PUBLIC SUB _New (OPTIONAL result$ AS String ) ' and this one dont work ProgressBar1.Value = Mid$(Result$, 1,1) & "." & Mid$(Result$, 3.1) & Mid$(Result$,4,1) 'but i can Print the Values out in the DirektWindow PRINT "Value in FORM 2 = ", Mid$(Result$, 1,1) & "." & Mid$(Result$, 3.1) & Mid$(Result$,4,1) END ################################################################## thx From trorrr at ...397... Fri Dec 31 20:51:47 2004 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Fri, 31 Dec 2004 20:51:47 +0100 (CET) Subject: [Gambas-user] GAMBAS 1.0 IS RELEASED - HAPPY NEW YEAR! In-Reply-To: <200412311917.46331.gambas@...1...> Message-ID: <20041231195147.83676.qmail@...757...> --- Benoit Minisini escribi?: > Here is GAMBAS 1.0 :-) Great! Thanks a lot for everybody for spending such a lot of time developing Gambas! and.. happy new year! ______________________________________________ Renovamos el Correo Yahoo!: ?250 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es From scatman_ at ...17... Fri Dec 31 23:00:57 2004 From: scatman_ at ...17... (scatman) Date: Fri, 31 Dec 2004 23:00:57 +0100 Subject: [Gambas-user] Happy new Year Message-ID: <200412312300.58128.scatman_@...17...> @ all Gambas Users. and THX to Benoit for Gambas. From nyarnon at ...455... Thu Dec 30 20:55:35 2004 From: nyarnon at ...455... (nyarnon) Date: Thu, 30 Dec 2004 19:55:35 +0000 Subject: [Gambas-user] Gambas and Cygwin In-Reply-To: References: <20041229105500.GA2120@...455...> Message-ID: <20041230195534.GA4142@...455...> On Wed, Dec 29, 2004 at 03:43:29PM +0100, Henri Girard wrote: > i tried to compile it... but didn't success... > I am installing again kde-cygwin and will see with > the new qt native if there is any way to compile gambas... > Henri Thanks for the efford Henri, I hope Bennoit can lend you some help, it sure would be a big step for Gambas to conquer Cygwin and thus Bill's Applepie :-)