From elias1 at ...3... Sat Aug 3 05:52:19 2002 From: elias1 at ...3... (ejl) Date: Fri, 2 Aug 2002 23:52:19 -0400 Subject: [Gambas-user] Hex$ Message-ID: <20020803035912.YRRP8834.mta01-srv.alltel.net@...4...> The operation of Hex$ has changed in Gambas 0.36. Using Gambas 0.35 Hex$(10, 2) is "0A" Using Gambas 0.36 Hex$(10, 2) is "A" I think this is a bug. Other than this problem Gambas 0.36 compiles and runs my applications without any problems. Regards, Elias From gambas at ...1... Sat Aug 3 14:27:51 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 3 Aug 2002 14:27:51 +0200 Subject: [Gambas-user] Hex$ In-Reply-To: <20020803035912.YRRP8834.mta01-srv.alltel.net@...4...> References: <20020803035912.YRRP8834.mta01-srv.alltel.net@...4...> Message-ID: <200208031427.51657.gambas@...1...> Le Samedi 3 Ao?t 2002 05:52, ejl a ?crit : > The operation of Hex$ has changed in Gambas 0.36. > > Using Gambas 0.35 > > Hex$(10, 2) is "0A" > > Using Gambas 0.36 > > Hex$(10, 2) is "A" > > I think this is a bug. > > Other than this problem Gambas 0.36 compiles and runs my applications > without any problems. > > Regards, > > Elias > Yes yes ! I will correct that in the next version -- Beno?t Minisini mailto:gambas at ...1... From Abidoo.too at ...11... Tue Aug 6 00:46:26 2002 From: Abidoo.too at ...11... (Fabien BODARD) Date: Tue, 06 Aug 2002 00:46:26 +0200 (MET DST) Subject: [Gambas-user] I've detecteted a bug... References: Message-ID: <3D49FF790015EC2B@...13...> (added by postmaster@...11...) There is a bug . I cant open directory /mnt/cdrom with the command... File = Dir("/mnt/cdrom") From gambas at ...1... Sat Aug 10 12:32:11 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 10 Aug 2002 12:32:11 +0200 Subject: [Gambas-user] I've detecteted a bug... In-Reply-To: <3D49FF790015EC2B@...13...> References: <3D49FF790015EC2B@...13...> (added by postmaster@...11...) Message-ID: <200208101232.11910.gambas@...1...> Le Mardi 6 Ao?t 2002 00:46, Fabien BODARD a ?crit : > There is a bug . I cant open directory /mnt/cdrom with the command... > > > File = Dir("/mnt/cdrom") > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Can you give me more details Fabien ? All directories are equally treated by Gambas, so I have no idea what the problem can be. -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 10 14:00:11 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 10 Aug 2002 14:00:11 +0200 Subject: [Gambas-user] New release Message-ID: <200208101400.11729.gambas@...1...> Hello everybody, I have just released Gambas 0.37. This version contains two important improvements: the use of QT 3, and a component that evaluates expressions. Because of internal changes in QT 3, the QT component have some problems : - Using plug-in styles (like the default KDE style) crashes the component at the program end. - Some widgets have lost some properties. Luckily, it is temporary :-) - Other problems I haven't detected. The component gb.eval provides a new class, Expression, that can evaluate any expression at runtime. This component have some problems with compilation, but I think you will find them alone :-). If you find a problem with the compilation of an expression, you will normally have the same if you use this expression in a project, because the component and the compiler compiles expressions with the same code ! Well, I'm on holiday tonight, for two weeks. I think I won't be able to read my mail, so do not be surprise if I do not reply ! -- Beno?t Minisini mailto:gambas at ...1... From bpinf at ...11... Tue Aug 20 09:33:58 2002 From: bpinf at ...11... (bpinf) Date: Tue, 20 Aug 2002 09:33:58 +0200 Subject: [Gambas-user] Gambas and Mysql Message-ID: Hello, I try Gambas and it is a very good langage. Do you know when it will be possible to access to MySQL ? Thanks Bernard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Notebook.jpg Type: image/jpeg Size: 2950 bytes Desc: not available URL: From parka at ...15... Wed Aug 21 15:55:07 2002 From: parka at ...15... (Laszlo Parkanyi) Date: Wed, 21 Aug 2002 15:55:07 +0200 Subject: [Gambas-user] Stream IO Message-ID: <200208211354.g7LDsSh20592@...16...> Hi, When trying a simple stream IO with the following code: DIM sFilnam AS String DIM sLine AS String DIM iUnit AS Integer iUnit = 1 sFilnam = "CONFIG.lingx" OPEN sFilnam FOR READ AS #iUnit WHILE NOT Eof(iUnit) LINE INPUT #iUnit sLine PRINT sLine WEND I get an error message pointing to line "OPEN..." saying "Type mismatch: wanted Integer got File instead". What is wrong here? Cheers, Laszlo From heinpol at ...5... Thu Aug 22 13:20:48 2002 From: heinpol at ...5... (NN) Date: Thu, 22 Aug 2002 13:20:48 +0200 Subject: [Gambas-user] Relocation Error ? Message-ID: <5.1.0.14.0.20020822131724.009f2750@...5...> Hi Gambas Users Any idea what to do now ? " linux:~/w_gambas/gambas-0.37> /usr/bin/gbx: relocation error: /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: getEventFilters__C7QObject linux:~/w_gambas/gambas-0.37> " Gambas 0.37 on SuSE 8.0 regards juergen From gambas at ...1... Sun Aug 25 19:26:15 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 25 Aug 2002 19:26:15 +0200 Subject: [Gambas-user] New site Message-ID: <200208251926.15077.gambas@...1...> Hello everybody, I have just updated the Gambas site. You can go there http://gambas.sourceforge.net and tell me what you think... ----------------------------------------------------------------------------- You will find on the site a bad news in the "about me" page : I'm going to try to follow an acting class in Paris ("Cours Simon"). I will contact them next week, so that I can begin in September. I will be a trainee during three months, and at the end of the three months, I must pass an exam. Then I can continue to follow the class only if I succeed. This class takes 16 hours a week, without the time needed to learn the texts. So you can understand there is a high risk that the development of Gambas goes down :-( But do not worry, I will never abandon it. Everything will be slower, that's all ! ;-) -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 25 19:30:04 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 25 Aug 2002 19:30:04 +0200 Subject: [Gambas-user] Gambas and Mysql In-Reply-To: References: Message-ID: <200208251930.05001.gambas@...1...> Le Mardi 20 Ao?t 2002 09:33, bpinf a ?crit : > Hello, > > I try Gambas and it is a very good langage. > > Do you know when it will be possible to access to MySQL ? > > Thanks > Bernard I think the database component will be the first thing to do after the 0.40, as many people ask me ! -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 25 19:32:16 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 25 Aug 2002 19:32:16 +0200 Subject: [Gambas-user] Stream IO In-Reply-To: <200208211354.g7LDsSh20592@...16...> References: <200208211354.g7LDsSh20592@...16...> Message-ID: <200208251932.16963.gambas@...1...> Le Mercredi 21 Ao?t 2002 15:55, Laszlo Parkanyi a ?crit : > Hi, > > When trying a simple stream IO with the following code: > > DIM sFilnam AS String > DIM sLine AS String > DIM iUnit AS Integer > > iUnit = 1 > > sFilnam = "CONFIG.lingx" > OPEN sFilnam FOR READ AS #iUnit > > WHILE NOT Eof(iUnit) > LINE INPUT #iUnit sLine > PRINT sLine > WEND > > I get an error message pointing to line "OPEN..." saying "Type mismatch: > wanted Integer got File instead". What is wrong here? > > Cheers, > Laszlo > > Gambas is not Visual Basic, and its file handles are not integers. They are File objects ! So you must write : DIM sFilnam AS String DIM sLine AS String DIM hUnit AS File sFilnam = "CONFIG.lingx" OPEN sFilnam FOR READ AS #hUnit WHILE NOT Eof(hUnit) LINE INPUT #hUnit, sLine PRINT sLine WEND -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 25 19:35:34 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 25 Aug 2002 19:35:34 +0200 Subject: [Gambas-user] Relocation Error ? In-Reply-To: <5.1.0.14.0.20020822131724.009f2750@...5...> References: <5.1.0.14.0.20020822131724.009f2750@...5...> Message-ID: <200208251935.34345.gambas@...1...> Le Jeudi 22 Ao?t 2002 13:20, NN a ?crit : > Hi Gambas Users > > Any idea what to do now ? > > " > linux:~/w_gambas/gambas-0.37> > /usr/bin/gbx: relocation error: /opt/gambas/lib/lib.gb.qt.so.0: > undefined symbol: getEventFilters__C7QObject > linux:~/w_gambas/gambas-0.37> > " > Gambas 0.37 on SuSE 8.0 > > regards juergen > Huu ? Is your system clean ? Did anybody have the same problem ? -- Beno?t Minisini mailto:gambas at ...1... From karl.reinl at ...9... Mon Aug 26 01:46:12 2002 From: karl.reinl at ...9... (Charlie) Date: Sun, 25 Aug 2002 23:46:12 +0000 Subject: [Gambas-user] bug ( no a problem) Message-ID: <3D696C44.3050907@...9...> Salut Benoit, I can't get running the 0.37 (see output.txt) in 'make' -lqt-mt isn't found. Like you wrote , my System is a SuSE 7.2 with KDE 2.1.2 (QT 2.3.1) on Kernl 2.4.4 and QT 3.0.5 manually updated. Since gambas 0.30 all worked fine. Do you have an Idee. Amicalement ( et merde a Paris ), Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From sven.sation at ...17... Mon Aug 26 00:40:38 2002 From: sven.sation at ...17... (sven.sation at ...17...) Date: Mon, 26 Aug 2002 00:40:38 +0200 (MEST) Subject: [Gambas-user] gambas woes Message-ID: <13458.1030315238@...19...> Hello List! I am experiencing problems with Gambas 0.37. I'm still sort of a newbie to Linux *sigh* and relatively helpless with it. I compiled Gambas on my SuSE 8.0-machine with help from the documentation provided under http://gambas.sourceforge.net/report.html. GamBAS compiled without errors. However, when I start gambas, the GamBAS "Welcome"-Screen pops up for a fraction of a second. As it disappears, I get the following error message: /usr/bin/gbx: relocation error: /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: getEventFilters__C7QObject Funny is, when my Mouse Cursor is just over the titlebar of that Welcome-Window, it stays, no errors. I can move the Windows around, but when the mouse cursor touches some part of this Window other than the titlebar, it disappears with the error message. Somebody any hints? Any help will be appreciated. -- Sven Sation -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From gambas at ...1... Mon Aug 26 20:55:33 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Mon, 26 Aug 2002 20:55:33 +0200 Subject: [Gambas-user] gambas woes In-Reply-To: <13458.1030315238@...19...> References: <13458.1030315238@...19...> Message-ID: <200208262055.33710.gambas@...1...> Le Lundi 26 Ao?t 2002 00:40, sven.sation at ...17... a ?crit : > Hello List! > > I am experiencing problems with Gambas 0.37. I'm still sort of a newbie to > Linux *sigh* and relatively helpless with it. > > I compiled Gambas on my SuSE 8.0-machine with help from the documentation > provided under http://gambas.sourceforge.net/report.html. > > GamBAS compiled without errors. However, when I start gambas, the GamBAS > "Welcome"-Screen pops up for a fraction of a second. As it disappears, I > get > > the following error message: > > /usr/bin/gbx: relocation error: /opt/gambas/lib/lib.gb.qt.so.0: undefined > symbol: getEventFilters__C7QObject > > Funny is, when my Mouse Cursor is just over the titlebar of that > Welcome-Window, it stays, no errors. I can move the Windows around, but > when > > the mouse cursor touches some part of this Window other than the titlebar, > it > disappears with the error message. > > Somebody any hints? Any help will be appreciated. Well, it seems that gambas-0.37 does not work on SuSE 8.0. Because of internal changes in event management in Qt 3.0, I had to make a very bad hack. This hack works well under my Mandrake 8.2, but not with SuSE 8.0 ! - Could you tell me what the version of gcc is on SuSE 8.0 ? - Could you try to recompile gambas this way : $ ./reconf $ ./configure --enable-optimization $ make $ su -c "make install" and tell me if it works ? Thanks by advance. -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Mon Aug 26 21:02:10 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Mon, 26 Aug 2002 21:02:10 +0200 Subject: [Gambas-user] bug ( no a problem) In-Reply-To: <3D696C44.3050907@...9...> References: <3D696C44.3050907@...9...> Message-ID: <200208262102.10916.gambas@...1...> Le Lundi 26 Ao?t 2002 01:46, Charlie a ?crit : > Salut Benoit, > > I can't get running the 0.37 (see output.txt) > in 'make' -lqt-mt isn't found. > > Like you wrote , my System is a SuSE 7.2 with KDE 2.1.2 (QT 2.3.1) on > Kernl 2.4.4 and QT 3.0.5 manually updated. > Since gambas 0.30 all worked fine. > Do you have an Idee. > > Amicalement ( et merde a Paris ), > Charlie If you compile Qt by hand, you must pass the -thread option to its ./configure script so that the multithreaded qt library is made. But I do not understand why the ./configure script of Gambas didn't detect that you didn't have this library... "Merde ? Paris" ? -- Beno?t Minisini mailto:gambas at ...1... From karl.reinl at ...9... Tue Aug 27 02:12:35 2002 From: karl.reinl at ...9... (Charlie) Date: Tue, 27 Aug 2002 00:12:35 +0000 Subject: [Gambas-user] bug (not yet a new day , but a new problem [like sven.sation@...17... ]) References: Message-ID: <3D6AC3F3.2040100@...9...> > > >Salut Benoit, > after compiling QT-3.0.5 with -thread , compiling gambas 0.37 finished without error --- but Started, in the moment when I've got the mouse-pointer over it - it crashed with a : /usr/bin/gbx: ??????????: /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: getEventFilters__C7QObject sven.sation at ...17... wrote: Funny is, when my Mouse Cursor is just over the titlebar of that Welcome-Window, it stays, no errors. I can move the Windows around, but when the mouse cursor touches some part of this Window other than the titlebar, it disappears with the error message. I have the same efect. the $ ./configure --enable-optimization make (see output.txt) starting gambas you find : output2.txt This is on SuSE 7.2/ KDE 2.1.2 / QT-3.0.5 Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: outbut2.txt URL: From gambas at ...1... Wed Aug 28 21:14:14 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Wed, 28 Aug 2002 21:14:14 +0200 Subject: [Gambas-user] Gambas 0.37 on SuSE 8.0 Message-ID: <200208282114.14474.gambas@...1...> Hello everybody, A Trolltech guy gave me an hint today with my problem with the internal changes of Qt 3.0. You can download the result on the web site. I made a "gambas-0.37a" package that is a 0.37 slightlty modified. Could the SuSE 8.0 users try to compile and run this package and tell me the result ? Thanks by advance ! If it succeeds, I could drop my awful hack and rest easy :-) -- Beno?t Minisini mailto:gambas at ...1... From karl.reinl at ...9... Thu Aug 29 01:32:35 2002 From: karl.reinl at ...9... (Charlie) Date: Wed, 28 Aug 2002 23:32:35 +0000 Subject: [Gambas-user] Re: 0.37a References: Message-ID: <3D6D5D93.9090701@...9...> Salut Benoit, I am back on gambas for me the 0.37a works. after compiling I can start the IDE and open a project. going on tests now. This is on SuSE 7.2/ KDE 2.1.2 / QT-3.0.5 manually updated ( with -thread) amicalement Charlie From karl.reinl at ...9... Fri Aug 30 02:01:35 2002 From: karl.reinl at ...9... (Charlie) Date: Fri, 30 Aug 2002 00:01:35 +0000 Subject: [Gambas-user] Test Message-ID: <3D6EB5DF.3050507@...9...> Salut Benoit, my test has troubles. 1. from WAIT 2. from CFloat 3. from Button_Click 237 times see inside *.class Attachement is a 'zip' file -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.zip Type: application/zip Size: 9655 bytes Desc: not available URL: From gambas at ...1... Sat Aug 31 11:39:32 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 31 Aug 2002 11:39:32 +0200 Subject: [Gambas-user] Important design changes Message-ID: <200208311139.32754.gambas@...1...> Hello world ! I'm going to begin the cleaning of the Qt component interface, and I want to get your opinion. As you may have noticed :-), many controls contain sub-elements : a Treeview has nodes, a GridView has cells, etc. In Visual Basic, controls are ActiveX objects, and they choosed to implement these sub-elements as ActiveX objects too. But I think following the same kind of implementation in Gambas is a bad idea. Creating objects for sub-elements is a significant memory and speed overhead, (and a significant amount of work for me :-) ). The life of these objects are very short, because they are mainly used for accessing sub-elements properties. So, why not generalizing the principle of "virtual" objects. Maybe have you already dealt with such objects, but unknowingly ? Let's take an example. To access an element of the ListBox, you must do the following thing in Gambas : PRINT MyListBox.Current.Text;" is "; IF NOT MyListBox.Current.Selected THEN PRINT "not "; PRINT "selected." But you cannot assign the current item to a variable : MyObject = MyListBox.Current -> Bad use of virtual class MyListBox.Current returns a "virtual object", i.e. an hidden object whose class is "virtual", i.e. that cannot be instanciated nor assigned. In fact, this "virtual object" is even not an object : it is just an internal counter of the ListBox that indicates which element we are going to use. I want to generalize this principle to every control. For example, at the moment, you can do the following : MyNode = MyTreeView["#Key"] PRINT MyNode.Text After the change, you won't. Nodes objects will not be created any longer. You will have to do : PRINT MyTreeView["#Key"].Text You can imagine the same thing in the GridView : PRINT MyGridView[X, Y].Text IMHO, I'm sure that the overhead of accessing nodes by keys, cells by coordinates, etc. is better than the overhead of creating and managing temporary objects. In Visual Basic, I have always found that filling a TreeView is very slow. I thnik that creating a lot of ActiveX objects needs a lot of memory and a lot of CPU cycles ! So I hope that it will be better in Gambas :-) At the moment, the Qt component interface is a "bastard" mix of the two approaches. For example, do not try to remove a Node on a TreeView, having a reference on the deleted Node ! But accessing the columns and rows properties of a GridView is made with virtual classes. etc. Tell me if you have remarks. -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 31 12:03:45 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 31 Aug 2002 12:03:45 +0200 Subject: [Gambas-user] Test In-Reply-To: <3D6EB5DF.3050507@...9...> References: <3D6EB5DF.3050507@...9...> Message-ID: <200208311203.45410.gambas@...1...> Le Vendredi 30 Ao?t 2002 02:01, Charlie a ?crit : > Salut Benoit, > > my test has troubles. > > 1. from WAIT > > 2. from CFloat > > 3. from Button_Click 237 times > > see inside *.class > > Attachement is a 'zip' file WAIT does not work as expected. I will correct it ! There was a bug in CStr, not in CFloat. CStr(CFloat("0")) returns "0.E+" ! I have corrected it. What's the problem with Button_Click 237 times ? -- Beno?t Minisini mailto:gambas at ...1... From m_isaac at ...689... Fri Aug 9 09:13:14 2002 From: m_isaac at ...689... (Michael Isaac) Date: Fri, 09 Aug 2002 00:13:14 -0700 Subject: [Gambas-user] IRC Client - attn: Fabian In-Reply-To: <200506181246.58455.gambasfr@...11...> References: <42B18CD7.8040506@...221...> <200506161654.19413.lordheavy@...512...> <42B37885.8090406@...689...> <200506181246.58455.gambasfr@...11...> Message-ID: <3D536B8A.4070809@...689...> I dont remember at the time what the trouble i was having was, but my project is GIRC on gambas forge. Since its been a while since Ive worked on it all I can remember was that I needed join() to be a member of array. So I requested it. I plan to resume work on GIRC soon and release an updated version so I'll shoot you an email if I have any trouble. -- Michael (aka l0wrd) From elias1 at ...3... Sat Aug 3 05:52:19 2002 From: elias1 at ...3... (ejl) Date: Fri, 2 Aug 2002 23:52:19 -0400 Subject: [Gambas-user] Hex$ Message-ID: <20020803035912.YRRP8834.mta01-srv.alltel.net@...4...> The operation of Hex$ has changed in Gambas 0.36. Using Gambas 0.35 Hex$(10, 2) is "0A" Using Gambas 0.36 Hex$(10, 2) is "A" I think this is a bug. Other than this problem Gambas 0.36 compiles and runs my applications without any problems. Regards, Elias From gambas at ...1... Sat Aug 3 14:27:51 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 3 Aug 2002 14:27:51 +0200 Subject: [Gambas-user] Hex$ In-Reply-To: <20020803035912.YRRP8834.mta01-srv.alltel.net@...4...> References: <20020803035912.YRRP8834.mta01-srv.alltel.net@...4...> Message-ID: <200208031427.51657.gambas@...1...> Le Samedi 3 Ao?t 2002 05:52, ejl a ?crit : > The operation of Hex$ has changed in Gambas 0.36. > > Using Gambas 0.35 > > Hex$(10, 2) is "0A" > > Using Gambas 0.36 > > Hex$(10, 2) is "A" > > I think this is a bug. > > Other than this problem Gambas 0.36 compiles and runs my applications > without any problems. > > Regards, > > Elias > Yes yes ! I will correct that in the next version -- Beno?t Minisini mailto:gambas at ...1... From Abidoo.too at ...11... Tue Aug 6 00:46:26 2002 From: Abidoo.too at ...11... (Fabien BODARD) Date: Tue, 06 Aug 2002 00:46:26 +0200 (MET DST) Subject: [Gambas-user] I've detecteted a bug... References: Message-ID: <3D49FF790015EC2B@...13...> (added by postmaster@...11...) There is a bug . I cant open directory /mnt/cdrom with the command... File = Dir("/mnt/cdrom") From gambas at ...1... Sat Aug 10 12:32:11 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 10 Aug 2002 12:32:11 +0200 Subject: [Gambas-user] I've detecteted a bug... In-Reply-To: <3D49FF790015EC2B@...13...> References: <3D49FF790015EC2B@...13...> (added by postmaster@...11...) Message-ID: <200208101232.11910.gambas@...1...> Le Mardi 6 Ao?t 2002 00:46, Fabien BODARD a ?crit : > There is a bug . I cant open directory /mnt/cdrom with the command... > > > File = Dir("/mnt/cdrom") > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Can you give me more details Fabien ? All directories are equally treated by Gambas, so I have no idea what the problem can be. -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 10 14:00:11 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 10 Aug 2002 14:00:11 +0200 Subject: [Gambas-user] New release Message-ID: <200208101400.11729.gambas@...1...> Hello everybody, I have just released Gambas 0.37. This version contains two important improvements: the use of QT 3, and a component that evaluates expressions. Because of internal changes in QT 3, the QT component have some problems : - Using plug-in styles (like the default KDE style) crashes the component at the program end. - Some widgets have lost some properties. Luckily, it is temporary :-) - Other problems I haven't detected. The component gb.eval provides a new class, Expression, that can evaluate any expression at runtime. This component have some problems with compilation, but I think you will find them alone :-). If you find a problem with the compilation of an expression, you will normally have the same if you use this expression in a project, because the component and the compiler compiles expressions with the same code ! Well, I'm on holiday tonight, for two weeks. I think I won't be able to read my mail, so do not be surprise if I do not reply ! -- Beno?t Minisini mailto:gambas at ...1... From bpinf at ...11... Tue Aug 20 09:33:58 2002 From: bpinf at ...11... (bpinf) Date: Tue, 20 Aug 2002 09:33:58 +0200 Subject: [Gambas-user] Gambas and Mysql Message-ID: Hello, I try Gambas and it is a very good langage. Do you know when it will be possible to access to MySQL ? Thanks Bernard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Notebook.jpg Type: image/jpeg Size: 2950 bytes Desc: not available URL: From parka at ...15... Wed Aug 21 15:55:07 2002 From: parka at ...15... (Laszlo Parkanyi) Date: Wed, 21 Aug 2002 15:55:07 +0200 Subject: [Gambas-user] Stream IO Message-ID: <200208211354.g7LDsSh20592@...16...> Hi, When trying a simple stream IO with the following code: DIM sFilnam AS String DIM sLine AS String DIM iUnit AS Integer iUnit = 1 sFilnam = "CONFIG.lingx" OPEN sFilnam FOR READ AS #iUnit WHILE NOT Eof(iUnit) LINE INPUT #iUnit sLine PRINT sLine WEND I get an error message pointing to line "OPEN..." saying "Type mismatch: wanted Integer got File instead". What is wrong here? Cheers, Laszlo From heinpol at ...5... Thu Aug 22 13:20:48 2002 From: heinpol at ...5... (NN) Date: Thu, 22 Aug 2002 13:20:48 +0200 Subject: [Gambas-user] Relocation Error ? Message-ID: <5.1.0.14.0.20020822131724.009f2750@...5...> Hi Gambas Users Any idea what to do now ? " linux:~/w_gambas/gambas-0.37> /usr/bin/gbx: relocation error: /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: getEventFilters__C7QObject linux:~/w_gambas/gambas-0.37> " Gambas 0.37 on SuSE 8.0 regards juergen From gambas at ...1... Sun Aug 25 19:26:15 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 25 Aug 2002 19:26:15 +0200 Subject: [Gambas-user] New site Message-ID: <200208251926.15077.gambas@...1...> Hello everybody, I have just updated the Gambas site. You can go there http://gambas.sourceforge.net and tell me what you think... ----------------------------------------------------------------------------- You will find on the site a bad news in the "about me" page : I'm going to try to follow an acting class in Paris ("Cours Simon"). I will contact them next week, so that I can begin in September. I will be a trainee during three months, and at the end of the three months, I must pass an exam. Then I can continue to follow the class only if I succeed. This class takes 16 hours a week, without the time needed to learn the texts. So you can understand there is a high risk that the development of Gambas goes down :-( But do not worry, I will never abandon it. Everything will be slower, that's all ! ;-) -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 25 19:30:04 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 25 Aug 2002 19:30:04 +0200 Subject: [Gambas-user] Gambas and Mysql In-Reply-To: References: Message-ID: <200208251930.05001.gambas@...1...> Le Mardi 20 Ao?t 2002 09:33, bpinf a ?crit : > Hello, > > I try Gambas and it is a very good langage. > > Do you know when it will be possible to access to MySQL ? > > Thanks > Bernard I think the database component will be the first thing to do after the 0.40, as many people ask me ! -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 25 19:32:16 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 25 Aug 2002 19:32:16 +0200 Subject: [Gambas-user] Stream IO In-Reply-To: <200208211354.g7LDsSh20592@...16...> References: <200208211354.g7LDsSh20592@...16...> Message-ID: <200208251932.16963.gambas@...1...> Le Mercredi 21 Ao?t 2002 15:55, Laszlo Parkanyi a ?crit : > Hi, > > When trying a simple stream IO with the following code: > > DIM sFilnam AS String > DIM sLine AS String > DIM iUnit AS Integer > > iUnit = 1 > > sFilnam = "CONFIG.lingx" > OPEN sFilnam FOR READ AS #iUnit > > WHILE NOT Eof(iUnit) > LINE INPUT #iUnit sLine > PRINT sLine > WEND > > I get an error message pointing to line "OPEN..." saying "Type mismatch: > wanted Integer got File instead". What is wrong here? > > Cheers, > Laszlo > > Gambas is not Visual Basic, and its file handles are not integers. They are File objects ! So you must write : DIM sFilnam AS String DIM sLine AS String DIM hUnit AS File sFilnam = "CONFIG.lingx" OPEN sFilnam FOR READ AS #hUnit WHILE NOT Eof(hUnit) LINE INPUT #hUnit, sLine PRINT sLine WEND -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 25 19:35:34 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 25 Aug 2002 19:35:34 +0200 Subject: [Gambas-user] Relocation Error ? In-Reply-To: <5.1.0.14.0.20020822131724.009f2750@...5...> References: <5.1.0.14.0.20020822131724.009f2750@...5...> Message-ID: <200208251935.34345.gambas@...1...> Le Jeudi 22 Ao?t 2002 13:20, NN a ?crit : > Hi Gambas Users > > Any idea what to do now ? > > " > linux:~/w_gambas/gambas-0.37> > /usr/bin/gbx: relocation error: /opt/gambas/lib/lib.gb.qt.so.0: > undefined symbol: getEventFilters__C7QObject > linux:~/w_gambas/gambas-0.37> > " > Gambas 0.37 on SuSE 8.0 > > regards juergen > Huu ? Is your system clean ? Did anybody have the same problem ? -- Beno?t Minisini mailto:gambas at ...1... From karl.reinl at ...9... Mon Aug 26 01:46:12 2002 From: karl.reinl at ...9... (Charlie) Date: Sun, 25 Aug 2002 23:46:12 +0000 Subject: [Gambas-user] bug ( no a problem) Message-ID: <3D696C44.3050907@...9...> Salut Benoit, I can't get running the 0.37 (see output.txt) in 'make' -lqt-mt isn't found. Like you wrote , my System is a SuSE 7.2 with KDE 2.1.2 (QT 2.3.1) on Kernl 2.4.4 and QT 3.0.5 manually updated. Since gambas 0.30 all worked fine. Do you have an Idee. Amicalement ( et merde a Paris ), Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From sven.sation at ...17... Mon Aug 26 00:40:38 2002 From: sven.sation at ...17... (sven.sation at ...17...) Date: Mon, 26 Aug 2002 00:40:38 +0200 (MEST) Subject: [Gambas-user] gambas woes Message-ID: <13458.1030315238@...19...> Hello List! I am experiencing problems with Gambas 0.37. I'm still sort of a newbie to Linux *sigh* and relatively helpless with it. I compiled Gambas on my SuSE 8.0-machine with help from the documentation provided under http://gambas.sourceforge.net/report.html. GamBAS compiled without errors. However, when I start gambas, the GamBAS "Welcome"-Screen pops up for a fraction of a second. As it disappears, I get the following error message: /usr/bin/gbx: relocation error: /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: getEventFilters__C7QObject Funny is, when my Mouse Cursor is just over the titlebar of that Welcome-Window, it stays, no errors. I can move the Windows around, but when the mouse cursor touches some part of this Window other than the titlebar, it disappears with the error message. Somebody any hints? Any help will be appreciated. -- Sven Sation -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net From gambas at ...1... Mon Aug 26 20:55:33 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Mon, 26 Aug 2002 20:55:33 +0200 Subject: [Gambas-user] gambas woes In-Reply-To: <13458.1030315238@...19...> References: <13458.1030315238@...19...> Message-ID: <200208262055.33710.gambas@...1...> Le Lundi 26 Ao?t 2002 00:40, sven.sation at ...17... a ?crit : > Hello List! > > I am experiencing problems with Gambas 0.37. I'm still sort of a newbie to > Linux *sigh* and relatively helpless with it. > > I compiled Gambas on my SuSE 8.0-machine with help from the documentation > provided under http://gambas.sourceforge.net/report.html. > > GamBAS compiled without errors. However, when I start gambas, the GamBAS > "Welcome"-Screen pops up for a fraction of a second. As it disappears, I > get > > the following error message: > > /usr/bin/gbx: relocation error: /opt/gambas/lib/lib.gb.qt.so.0: undefined > symbol: getEventFilters__C7QObject > > Funny is, when my Mouse Cursor is just over the titlebar of that > Welcome-Window, it stays, no errors. I can move the Windows around, but > when > > the mouse cursor touches some part of this Window other than the titlebar, > it > disappears with the error message. > > Somebody any hints? Any help will be appreciated. Well, it seems that gambas-0.37 does not work on SuSE 8.0. Because of internal changes in event management in Qt 3.0, I had to make a very bad hack. This hack works well under my Mandrake 8.2, but not with SuSE 8.0 ! - Could you tell me what the version of gcc is on SuSE 8.0 ? - Could you try to recompile gambas this way : $ ./reconf $ ./configure --enable-optimization $ make $ su -c "make install" and tell me if it works ? Thanks by advance. -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Mon Aug 26 21:02:10 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Mon, 26 Aug 2002 21:02:10 +0200 Subject: [Gambas-user] bug ( no a problem) In-Reply-To: <3D696C44.3050907@...9...> References: <3D696C44.3050907@...9...> Message-ID: <200208262102.10916.gambas@...1...> Le Lundi 26 Ao?t 2002 01:46, Charlie a ?crit : > Salut Benoit, > > I can't get running the 0.37 (see output.txt) > in 'make' -lqt-mt isn't found. > > Like you wrote , my System is a SuSE 7.2 with KDE 2.1.2 (QT 2.3.1) on > Kernl 2.4.4 and QT 3.0.5 manually updated. > Since gambas 0.30 all worked fine. > Do you have an Idee. > > Amicalement ( et merde a Paris ), > Charlie If you compile Qt by hand, you must pass the -thread option to its ./configure script so that the multithreaded qt library is made. But I do not understand why the ./configure script of Gambas didn't detect that you didn't have this library... "Merde ? Paris" ? -- Beno?t Minisini mailto:gambas at ...1... From karl.reinl at ...9... Tue Aug 27 02:12:35 2002 From: karl.reinl at ...9... (Charlie) Date: Tue, 27 Aug 2002 00:12:35 +0000 Subject: [Gambas-user] bug (not yet a new day , but a new problem [like sven.sation@...17... ]) References: Message-ID: <3D6AC3F3.2040100@...9...> > > >Salut Benoit, > after compiling QT-3.0.5 with -thread , compiling gambas 0.37 finished without error --- but Started, in the moment when I've got the mouse-pointer over it - it crashed with a : /usr/bin/gbx: ??????????: /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: getEventFilters__C7QObject sven.sation at ...17... wrote: Funny is, when my Mouse Cursor is just over the titlebar of that Welcome-Window, it stays, no errors. I can move the Windows around, but when the mouse cursor touches some part of this Window other than the titlebar, it disappears with the error message. I have the same efect. the $ ./configure --enable-optimization make (see output.txt) starting gambas you find : output2.txt This is on SuSE 7.2/ KDE 2.1.2 / QT-3.0.5 Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: outbut2.txt URL: From gambas at ...1... Wed Aug 28 21:14:14 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Wed, 28 Aug 2002 21:14:14 +0200 Subject: [Gambas-user] Gambas 0.37 on SuSE 8.0 Message-ID: <200208282114.14474.gambas@...1...> Hello everybody, A Trolltech guy gave me an hint today with my problem with the internal changes of Qt 3.0. You can download the result on the web site. I made a "gambas-0.37a" package that is a 0.37 slightlty modified. Could the SuSE 8.0 users try to compile and run this package and tell me the result ? Thanks by advance ! If it succeeds, I could drop my awful hack and rest easy :-) -- Beno?t Minisini mailto:gambas at ...1... From karl.reinl at ...9... Thu Aug 29 01:32:35 2002 From: karl.reinl at ...9... (Charlie) Date: Wed, 28 Aug 2002 23:32:35 +0000 Subject: [Gambas-user] Re: 0.37a References: Message-ID: <3D6D5D93.9090701@...9...> Salut Benoit, I am back on gambas for me the 0.37a works. after compiling I can start the IDE and open a project. going on tests now. This is on SuSE 7.2/ KDE 2.1.2 / QT-3.0.5 manually updated ( with -thread) amicalement Charlie From karl.reinl at ...9... Fri Aug 30 02:01:35 2002 From: karl.reinl at ...9... (Charlie) Date: Fri, 30 Aug 2002 00:01:35 +0000 Subject: [Gambas-user] Test Message-ID: <3D6EB5DF.3050507@...9...> Salut Benoit, my test has troubles. 1. from WAIT 2. from CFloat 3. from Button_Click 237 times see inside *.class Attachement is a 'zip' file -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.zip Type: application/zip Size: 9655 bytes Desc: not available URL: From gambas at ...1... Sat Aug 31 11:39:32 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 31 Aug 2002 11:39:32 +0200 Subject: [Gambas-user] Important design changes Message-ID: <200208311139.32754.gambas@...1...> Hello world ! I'm going to begin the cleaning of the Qt component interface, and I want to get your opinion. As you may have noticed :-), many controls contain sub-elements : a Treeview has nodes, a GridView has cells, etc. In Visual Basic, controls are ActiveX objects, and they choosed to implement these sub-elements as ActiveX objects too. But I think following the same kind of implementation in Gambas is a bad idea. Creating objects for sub-elements is a significant memory and speed overhead, (and a significant amount of work for me :-) ). The life of these objects are very short, because they are mainly used for accessing sub-elements properties. So, why not generalizing the principle of "virtual" objects. Maybe have you already dealt with such objects, but unknowingly ? Let's take an example. To access an element of the ListBox, you must do the following thing in Gambas : PRINT MyListBox.Current.Text;" is "; IF NOT MyListBox.Current.Selected THEN PRINT "not "; PRINT "selected." But you cannot assign the current item to a variable : MyObject = MyListBox.Current -> Bad use of virtual class MyListBox.Current returns a "virtual object", i.e. an hidden object whose class is "virtual", i.e. that cannot be instanciated nor assigned. In fact, this "virtual object" is even not an object : it is just an internal counter of the ListBox that indicates which element we are going to use. I want to generalize this principle to every control. For example, at the moment, you can do the following : MyNode = MyTreeView["#Key"] PRINT MyNode.Text After the change, you won't. Nodes objects will not be created any longer. You will have to do : PRINT MyTreeView["#Key"].Text You can imagine the same thing in the GridView : PRINT MyGridView[X, Y].Text IMHO, I'm sure that the overhead of accessing nodes by keys, cells by coordinates, etc. is better than the overhead of creating and managing temporary objects. In Visual Basic, I have always found that filling a TreeView is very slow. I thnik that creating a lot of ActiveX objects needs a lot of memory and a lot of CPU cycles ! So I hope that it will be better in Gambas :-) At the moment, the Qt component interface is a "bastard" mix of the two approaches. For example, do not try to remove a Node on a TreeView, having a reference on the deleted Node ! But accessing the columns and rows properties of a GridView is made with virtual classes. etc. Tell me if you have remarks. -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 31 12:03:45 2002 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sat, 31 Aug 2002 12:03:45 +0200 Subject: [Gambas-user] Test In-Reply-To: <3D6EB5DF.3050507@...9...> References: <3D6EB5DF.3050507@...9...> Message-ID: <200208311203.45410.gambas@...1...> Le Vendredi 30 Ao?t 2002 02:01, Charlie a ?crit : > Salut Benoit, > > my test has troubles. > > 1. from WAIT > > 2. from CFloat > > 3. from Button_Click 237 times > > see inside *.class > > Attachement is a 'zip' file WAIT does not work as expected. I will correct it ! There was a bug in CStr, not in CFloat. CStr(CFloat("0")) returns "0.E+" ! I have corrected it. What's the problem with Button_Click 237 times ? -- Beno?t Minisini mailto:gambas at ...1...