From karl.reinl at ...9... Sun Jun 1 21:50:42 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 01 Jun 2003 21:50:42 +0200 Subject: [Gambas-user] Troubles with Exec Shell and Process Message-ID: <3EDA5912.9030108@...9...> Salut Beno?t, it seems that there are a problem with Exec/Shell and Process and Print. The attached project is very simple. It sends a wrong string to the mysql Database. mysql -uroot -p12345678 You should get an error 1045: Access denied for user: 'root at ...40...' (Using password: YES) Hope your mysql root password is NOT 12345678 ;-) If I do that on a prompt i will get back an error (see above), here noting, the Process_Error recives nothing. ????? On the output 'Console' I'v got different outprintings: I have only one line , all output in 1 line, when I use the wait 0.2 , see Schnapschuss2.png and the attached Schnapschuss1.png, where in line 4 he began to write in 'EXEC started' and next line 5 'SHELL started' also, without the wait 0.2. I tested it on my well known SuSE 7.2 and a SuSE 8.0. Both the same. amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: ExecShell.tar.gz Type: application/x-tar Size: 1313 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Schnappschuss1.png Type: image/png Size: 4544 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Schnappschuss2.png Type: image/png Size: 3871 bytes Desc: not available URL: From radoslav.dejanovic at ...116... Mon Jun 2 11:04:32 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Mon, 2 Jun 2003 11:04:32 +0200 Subject: [Gambas-user] problems with gambas-0.57 In-Reply-To: <200305302339.19989.gambas@...2...> References: <200305302339.19989.gambas@...2...> Message-ID: <200306021104.32609.radoslav.dejanovic@...116...> On Friday 30 May 2003 11:39 pm, Benoit Minisini wrote: > Could SuSE users, gentoo users, and others that can't compile gambas > because of a crash during the generation of *.info file download it, test > it, and tell me the result ? It still crashes on .info, but the good news is that on SuSE 8.2 both paths to mysql and postgresql are recognized during configuration stage. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From sourceforge-raindog2 at ...94... Mon Jun 2 18:30:51 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 2 Jun 2003 12:30:51 -0400 Subject: [Gambas-user] Re: [Gambas-devel] Parallel port In-Reply-To: <3EDB6E98.9030807@...142...> References: <3EDAD361.00000D.01912@...153...> <200306020936.25225.sourceforge-raindog2@...94...> <3EDB6E98.9030807@...142...> Message-ID: <200306021230.51675.sourceforge-raindog2@...94...> On Monday 02 June 2003 11:34, Jean-Francois Perreault wrote: > I mean if cat /dev/ttyS0 display all the raw input from a mouse all you > need is a data parser and you can read mouse data , wouldn't it work ? > maybe I'm way out on this but I'd like to know why Redirecting to gambas-user. Please keep the conversation there unless it goes back to writing Gambas extensions in C again. I don't think Gambas will let you read and write to a device simultaneously the way you can with a child process (which was why I suggested 'cu' as a workaround for the serial thing.) Benoit? Rob From Gambasfr at ...11... Mon Jun 2 22:04:03 2003 From: Gambasfr at ...11... (Fabien) Date: Mon, 2 Jun 2003 22:04:03 +0200 Subject: [Gambas-user] Re: [Gambas-devel] Parallel port In-Reply-To: <200306021230.51675.sourceforge-raindog2@...94...> References: <3EDAD361.00000D.01912@...153...> <3EDB6E98.9030807@...142...> <200306021230.51675.sourceforge-raindog2@...94...> Message-ID: <200306022204.03615.Gambasfr@...11...> Le Lundi 2 Juin 2003 18:30, Rob a ?crit : > On Monday 02 June 2003 11:34, Jean-Francois Perreault wrote: > > I mean if cat /dev/ttyS0 display all the raw input from a mouse all you > > need is a data parser and you can read mouse data , wouldn't it work ? > > maybe I'm way out on this but I'd like to know why > > Redirecting to gambas-user. Please keep the conversation there unless it > goes back to writing Gambas extensions in C again. > > I don't think Gambas will let you read and write to a device simultaneously > the way you can with a child process (which was why I suggested 'cu' as a > workaround for the serial thing.) Benoit? > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user hem, i think the better in use the 'Open' function Open "/dev/ttyS0" for read direct as #1 ? No ? In linux, a port is like a file... Fabien From Gambasfr at ...11... Mon Jun 2 22:05:38 2003 From: Gambasfr at ...11... (Fabien) Date: Mon, 2 Jun 2003 22:05:38 +0200 Subject: [Gambas-user] Re: [Gambas-devel] Parallel port In-Reply-To: <200306021230.51675.sourceforge-raindog2@...94...> References: <3EDAD361.00000D.01912@...153...> <3EDB6E98.9030807@...142...> <200306021230.51675.sourceforge-raindog2@...94...> Message-ID: <200306022205.38903.Gambasfr@...11...> Le Lundi 2 Juin 2003 18:30, Rob a ?crit : > On Monday 02 June 2003 11:34, Jean-Francois Perreault wrote: > > I mean if cat /dev/ttyS0 display all the raw input from a mouse all you > > need is a data parser and you can read mouse data , wouldn't it work ? > > maybe I'm way out on this but I'd like to know why > > Redirecting to gambas-user. Please keep the conversation there unless it > goes back to writing Gambas extensions in C again. > > I don't think Gambas will let you read and write to a device simultaneously > the way you can with a child process (which was why I suggested 'cu' as a > workaround for the serial thing.) Benoit? > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: eBay > Get office equipment for less on eBay! > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user oups I think you must to use a process Look the console example From sourceforge-raindog2 at ...94... Mon Jun 2 22:13:24 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 2 Jun 2003 16:13:24 -0400 Subject: [Gambas-user] Re: [Gambas-devel] Parallel port In-Reply-To: <200306022205.38903.Gambasfr@...11...> References: <3EDAD361.00000D.01912@...153...> <200306021230.51675.sourceforge-raindog2@...94...> <200306022205.38903.Gambasfr@...11...> Message-ID: <200306021613.03046.sourceforge-raindog2@...94...> On Monday 02 June 2003 16:05, Fabien wrote: > oups > I think you must to use a process > Look the console example Yep, that's what I was thinking of when I suggested shelling out to 'cu'. :) No such easy workaround for the parallel port though, at least AFAIK. Rob From gambas at ...2... Tue Jun 3 19:36:02 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 3 Jun 2003 19:36:02 +0200 Subject: [Gambas-user] Troubles with Exec Shell and Process In-Reply-To: <3EDA5912.9030108@...9...> References: <3EDA5912.9030108@...9...> Message-ID: <200306031936.02689.gambas@...2...> Le Dimanche 1 Juin 2003 21:50, Charlie a ?crit : > Salut Beno?t, > > it seems that there are a problem with Exec/Shell and Process and Print. > The attached project is very simple. It sends a wrong string to the > mysql Database. > mysql -uroot -p12345678 > You should get an error 1045: Access denied for user: 'root at ...40...' > (Using password: YES) > Hope your mysql root password is NOT 12345678 ;-) > > If I do that on a prompt i will get back an error (see above), here > noting, the Process_Error recives nothing. > ????? > On the output 'Console' I'v got different outprintings: > I have only one line , all output in 1 line, when I use the wait 0.2 , > see Schnapschuss2.png > and the attached Schnapschuss1.png, > where in line 4 he began to write in 'EXEC started' > and next line 5 'SHELL started' also, without the wait 0.2. > > I tested it on my well known SuSE 7.2 and a SuSE 8.0. > Both the same. > > amicalement > Charlie Process_Error and Process_Write are events, and so are internally managed by the global qt event loop. Whan you use EXEC / SHELL ... with WAIT, the event loop is never called, so you never get the result of the command. Maybe I should call the vent loop when waiting for the end of a process. The problem is - I'm ashamed :-) - that I didn't write the event loop inside the interpreter to manage events when a program do not use the qt component ! Maybe I should do that ? -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Tue Jun 3 20:02:25 2003 From: karl.reinl at ...9... (Charlie) Date: Tue, 03 Jun 2003 20:02:25 +0200 Subject: [Gambas-user] Troubles with Exec Shell and Process References: <3EDA5912.9030108@...9...> <200306031936.02689.gambas@...2...> Message-ID: <3EDCE2B1.6090908@...9...> Benoit Minisini schrieb: >Process_Error and Process_Write are events, and so are internally managed by >the global qt event loop. > >Whan you use EXEC / SHELL ... with WAIT, the event loop is never called, so >you never get the result of the command. > >Maybe I should call the vent loop when waiting for the end of a process. > >The problem is - I'm ashamed :-) - that I didn't write the event loop inside >the interpreter to manage events when a program do not use the qt component ! > >Maybe I should do that ? > > > Salut Beno?t, OK, I sended you the version with a WAIT, but I tried it also without this WAIT, it was the same ! But to another point : till now it is said that using qt > = 3.??? My Problems with PRINT ( I used to have at every print a new line ) let's me think that this problem commes from a too old qt version .? Using 3.0.5 on my SuSE 7.2 and I had a look to the VMware SuSE 8.0 it has 3.0.3. I had on SuSE 8.0 an update to 3.1.2 , but ran in troubles what I set to using g++ 2.95.?? So , if i'm right I think it will be better to say gambas-0.56 or higher must use qt-3.1.xx and g++ > 3.x Even if it works a little bit, like I have the impression on my box. Tell my if I'm totaly wrong ! Charlie From schrockk at ...137... Tue Jun 3 23:35:06 2003 From: schrockk at ...137... (Ken Schrock) Date: Tue, 03 Jun 2003 14:35:06 -0700 Subject: [Gambas-user] A couple of questions Message-ID: <3EDD148A.7000802@...137...> Can I "send" an event? (like Win PostMessage) i.e. Can I call Button1_Click() if I have no sub (code) for it? (more useful real things would be select something in a listbox or perhaps drop down the list in a combo box programmatically) If so how? (It is often helpful to do this asynchronous) How does the grid control work? The component explorer shows how to extract a cell But no way I can see to set a cell contents (I can't even make it show the grid) I see people ask for MDI things Why wouldn't the tabstrip work for this type of thing? Spreadsheets and browsers both use this paradigm now It seems neater and more organized than MDI -- Using Lindows From sourceforge-raindog2 at ...94... Tue Jun 3 21:40:25 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 3 Jun 2003 15:40:25 -0400 Subject: [Gambas-user] A couple of questions In-Reply-To: <3EDD148A.7000802@...137...> References: <3EDD148A.7000802@...137...> Message-ID: <200306031540.25373.sourceforge-raindog2@...94...> On Tuesday 03 June 2003 17:35, Ken Schrock wrote: > Can I "send" an event? (like Win PostMessage) > i.e. Can I call Button1_Click() if I have no sub (code) for it? > (more useful real things would be select something in a listbox > or perhaps drop down the list in a combo box programmatically) > If so how? (It is often helpful to do this asynchronous) Well, as I understand it, you can pretty much do anything with events that you can do in VB (with the addition of being able to name your event subs anything you like if you want.) The example you give, PostMessage, was an API call and not really part of VB, though I can see how such a thing would be useful. Maybe it's possible already (like the Qt emit macro) and I just don't know about it. I always had to SendKeys "{F4}" to drop down listboxes in my VB days and I actually don't know what the equivalent is in Gambas, but other things (like simulating a mouse click by calling the event sub directly) work much the same. > How does the grid control work? > The component explorer shows how to extract a cell > But no way I can see to set a cell contents > (I can't even make it show the grid) I haven't used the grid control yet, but I'll try to make an example project this afternoon for you. It seems to me you could also load up the Gambas Database Manager project and see how it's used there. I suspect it's something like needing to dim a variable as a cell object, extract the cell to that object and using the cell's value (or something) property to get the contents of the cell. > I see people ask for MDI things > Why wouldn't the tabstrip work for this type of thing? > Spreadsheets and browsers both use this paradigm now > It seems neater and more organized than MDI The MDI discussion came up because some people wanted the VB5/VB6 MDI look for Gambas, and once the capability became available I demonstrated how such an IDE could be made easily. I think a tabstrip is a different paradigm and not one that's well suited for an IDE (after all, you'd often want a form and its code onscreen at the same time.) An MDI form with tabbed subforms in it, on the other hand, could work well. Rob From gambas at ...2... Tue Jun 3 22:36:01 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 3 Jun 2003 22:36:01 +0200 Subject: [Gambas-user] Troubles with Exec Shell and Process In-Reply-To: <3EDCE2B1.6090908@...9...> References: <3EDA5912.9030108@...9...> <200306031936.02689.gambas@...2...> <3EDCE2B1.6090908@...9...> Message-ID: <200306032236.01946.gambas@...2...> Le Mardi 3 Juin 2003 20:02, Charlie a ?crit : > Benoit Minisini schrieb: > >Process_Error and Process_Write are events, and so are internally managed > > by the global qt event loop. > > > >Whan you use EXEC / SHELL ... with WAIT, the event loop is never called, > > so you never get the result of the command. > > > >Maybe I should call the vent loop when waiting for the end of a process. > > > >The problem is - I'm ashamed :-) - that I didn't write the event loop > > inside the interpreter to manage events when a program do not use the qt > > component ! > > > >Maybe I should do that ? > > Salut Beno?t, > > OK, I sended you the version with a WAIT, but I tried it also without > this WAIT, it was the same ! > > But to another point : till now it is said that using qt > = 3.??? > > My Problems with PRINT ( I used to have at every print a new line ) > let's me think that this problem commes from a too old qt version .? > > Using 3.0.5 on my SuSE 7.2 and I had a look to the VMware SuSE 8.0 it > has 3.0.3. > > I had on SuSE 8.0 an update to 3.1.2 , but ran in troubles what I set to > using g++ 2.95.?? > > So , if i'm right I think it will be better to say gambas-0.56 or higher > must use qt-3.1.xx and g++ > 3.x > Yes, now I think so. Trolltech may have changed too many things between QT 3.0 and QT 3.1 to make gambas works the same with the two versions. What will happen with QT 3.2 ???? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue Jun 3 22:40:11 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 3 Jun 2003 22:40:11 +0200 Subject: [Gambas-user] A couple of questions In-Reply-To: <200306031540.25373.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306031540.25373.sourceforge-raindog2@...94...> Message-ID: <200306032240.11069.gambas@...2...> Le Mardi 3 Juin 2003 21:40, Rob a ?crit : > > > How does the grid control work? > > The component explorer shows how to extract a cell > > But no way I can see to set a cell contents > > (I can't even make it show the grid) > > I haven't used the grid control yet, but I'll try to make an example > project this afternoon for you. It seems to me you could also load up the > Gambas Database Manager project and see how it's used there. I suspect > it's something like needing to dim a variable as a cell object, extract the > cell to that object and using the cell's value (or something) property to > get the contents of the cell. > Be careful, The GridView control and the TableView (used in the gambas database manager) are very different. The GridView control is a simple grid. To understand how to use it, the quicker is to read the FProperty.class file in the IDE source. The TableView is a bit more complicated. It does not contain any data, it just raises a event each time it must get a data. Look in the g-d-m source ! > > I see people ask for MDI things > > Why wouldn't the tabstrip work for this type of thing? > > Spreadsheets and browsers both use this paradigm now > > It seems neater and more organized than MDI > > The MDI discussion came up because some people wanted the VB5/VB6 MDI look > for Gambas, and once the capability became available I demonstrated how > such an IDE could be made easily. I think a tabstrip is a different > paradigm and not one that's well suited for an IDE (after all, you'd often > want a form and its code onscreen at the same time.) An MDI form with > tabbed subforms in it, on the other hand, could work well. > > Rob > I'm not sure I will make a MDI interface for gambas. I would prefer a interface like Kate. It is like a MDI with all windows maximized. But before doing anything, I will post examples so that people can tell what they prefer. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue Jun 3 22:45:43 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 3 Jun 2003 22:45:43 +0200 Subject: [Gambas-user] A couple of questions In-Reply-To: <3EDD148A.7000802@...137...> References: <3EDD148A.7000802@...137...> Message-ID: <200306032245.43710.gambas@...2...> Le Mardi 3 Juin 2003 23:35, Ken Schrock a ?crit : > Can I "send" an event? (like Win PostMessage) > i.e. Can I call Button1_Click() if I have no sub (code) for it? > (more useful real things would be select something in a listbox > or perhaps drop down the list in a combo box programmatically) > If so how? (It is often helpful to do this asynchronous) You can raise a event from a class if you tell gambas that this class can raise events with the EVENT keyword. MyClass.class: EVENT MyEvent(MyParam AS String) AS Boolean ' event declaration ... ' Somewhere in a function Result = MyEvent("Test") MyMain.module: DIM hTest AS MYClass hTest = NEW MyClass AS "Test" ... PUBLIC FUNCTION Test_MyEvent(sParam AS String) AS Boolean ... END > I see people ask for MDI things > Why wouldn't the tabstrip work for this type of thing? > Spreadsheets and browsers both use this paradigm now > It seems neater and more organized than MDI The TabStrip of QT are not practical when they have too many tabs, because you must to click many times on two little arrow buttons to access each tab. This is a complaint of Konqueror users since they can browse with tabs, and I think this widget will be rewritten under the users pressure. -- Benoit Minisini mailto:gambas at ...1... From dan at ...138... Wed Jun 4 00:32:03 2003 From: dan at ...138... (Dan Phillips) Date: Tue, 3 Jun 2003 14:32:03 -0800 Subject: [Gambas-user] A couple of questions In-Reply-To: <200306032240.11069.gambas@...2...> References: <3EDD148A.7000802@...137...> <200306031540.25373.sourceforge-raindog2@...94...> <200306032240.11069.gambas@...2...> Message-ID: <200306031432.03627.dan@...138...> -------snip-------- > > I'm not sure I will make a MDI interface for gambas. I would prefer a > interface like Kate. It is like a MDI with all windows maximized. > > But before doing anything, I will post examples so that people can tell > what they prefer. Don't forget, there are occasions where you want to be able to see two or more subforms (mdi child forms) at the same time side-by-side within the mdi parent. If you were to simply do this w/ excel style tabs that showed subForm1 full size, or subForm2 full size, you wouldn't get the benefit from being able to position your windows for multi viewing purposes. I guess one example of such an app would be stock trading, you'd want to be able to watch stocks in one window while working in another. Maybe not the best example but works anyway. ----------------------- -Thanks, Dan -Haight & Associates, Inc. -907.586.9788 ----------------------- From kschrock at ...149... Wed Jun 4 04:13:37 2003 From: kschrock at ...149... (Ken Schrock) Date: Tue, 03 Jun 2003 19:13:37 -0700 Subject: [Gambas-user] A couple of questions References: <3EDD148A.7000802@...137...> <200306031540.25373.sourceforge-raindog2@...94...> Message-ID: <3EDD55D1.50003@...149...> Rob wrote: >On Tuesday 03 June 2003 17:35, Ken Schrock wrote: > > >>Can I "send" an event? (like Win PostMessage) >>i.e. Can I call Button1_Click() if I have no sub (code) for it? >>(more useful real things would be select something in a listbox >> or perhaps drop down the list in a combo box programmatically) >>If so how? (It is often helpful to do this asynchronous) >> >> >Well, as I understand it, you can pretty much do anything with events that you >can do in VB (with the addition of being able to name your event subs >anything you like if you want.) The example you give, PostMessage, was an >API call and not really part of VB, though I can see how such a thing would >be useful. Maybe it's possible already (like the Qt emit macro) and I just >don't know about it. > Ok, sounds like a hint... Is the Qt emit call synchronous or asynchronous? (SendMessage is synchronous, PostMessage asynchronous) Can I call it from Gambas somehow? [snip] -------------- next part -------------- An HTML attachment was scrubbed... URL: From kschrock at ...149... Wed Jun 4 05:23:15 2003 From: kschrock at ...149... (Ken Schrock) Date: Tue, 03 Jun 2003 20:23:15 -0700 Subject: [Gambas-user] A couple of questions References: <3EDD148A.7000802@...137...> <200306032245.43710.gambas@...2...> Message-ID: <3EDD6623.7030300@...149...> Benoit Minisini wrote: >Le Mardi 3 Juin 2003 23:35, Ken Schrock a ?crit : > > >>Can I "send" an event? (like Win PostMessage) >>i.e. Can I call Button1_Click() if I have no sub (code) for it? >>(more useful real things would be select something in a listbox >> or perhaps drop down the list in a combo box programmatically) >>If so how? (It is often helpful to do this asynchronous) >> >> >You can raise a event from a class if you tell gambas that this class can >raise events with the EVENT keyword. > Thanks, but here's the problem (perhaps I missed something) The subs (callbacks, whatever) execute synchronously No events are processed until the sub ends So if I do PrintDialog1.showmodal GrabForm(me) The dialog erases the window The GrabForm() grabs a blank window Even if you put Form1.Refresh between the two line It still gets a blank window as the refresh doesn't happen until the sub ends Calling a created event from here does no good as it isn't processing messages Wait doesn't release like sleep() does There seems to be a DoEvent like VB PostMessage (or something similar) Allows you to put an event in the queue to be called later After the other events have finally finished processing Post a refresh, post a print routine (created event) And it all happens in the right order I have several other examples, but you get the idea I have found workarounds in each situation, but Something like PostMessage would be easier (or emit, or signal or whatever semantics) >MyClass.class: > >EVENT MyEvent(MyParam AS String) AS Boolean ' event declaration > >... > >' Somewhere in a function >Result = MyEvent("Test") > >MyMain.module: > >DIM hTest AS MYClass > >hTest = NEW MyClass AS "Test" > >... > >PUBLIC FUNCTION Test_MyEvent(sParam AS String) AS Boolean > >... > >END > > > > >>I see people ask for MDI things >>Why wouldn't the tabstrip work for this type of thing? >>Spreadsheets and browsers both use this paradigm now >>It seems neater and more organized than MDI >> >> > >The TabStrip of QT are not practical when they have too many tabs, because you >must to click many times on two little arrow buttons to access each tab. This >is a complaint of Konqueror users since they can browse with tabs, and I >think this widget will be rewritten under the users pressure. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kschrock at ...149... Wed Jun 4 05:24:34 2003 From: kschrock at ...149... (Ken Schrock) Date: Tue, 03 Jun 2003 20:24:34 -0700 Subject: [Gambas-user] A couple of questions References: <3EDD148A.7000802@...137...> <200306031540.25373.sourceforge-raindog2@...94...> <200306032240.11069.gambas@...2...> Message-ID: <3EDD6672.4080008@...149...> Benoit Minisini wrote: >Le Mardi 3 Juin 2003 21:40, Rob a ?crit : > > >>>How does the grid control work? >>>The component explorer shows how to extract a cell >>>But no way I can see to set a cell contents >>>(I can't even make it show the grid) >>> >>> >>I haven't used the grid control yet, but I'll try to make an example >>project this afternoon for you. It seems to me you could also load up the >>Gambas Database Manager project and see how it's used there. I suspect >>it's something like needing to dim a variable as a cell object, extract the >>cell to that object and using the cell's value (or something) property to >>get the contents of the cell. >> >Be careful, The GridView control and the TableView (used in the gambas >database manager) are very different. > >The GridView control is a simple grid. To understand how to use it, the >quicker is to read the FProperty.class file in the IDE source. > Ok, I keep falling into this trap I have Gambas from a binary package There is no source, no example.info or other things referred to repeatedly here Now I suppose I could get the whole source package, unpack, hunt, seek, etc Couldn't someone just pack up the relevant pieces on the web site? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Wed Jun 4 04:05:28 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 3 Jun 2003 22:05:28 -0400 Subject: [Gambas-user] A couple of questions In-Reply-To: <3EDD55D1.50003@...149...> References: <3EDD148A.7000802@...137...> <200306031540.25373.sourceforge-raindog2@...94...> <3EDD55D1.50003@...149...> Message-ID: <200306032205.28704.sourceforge-raindog2@...94...> On Tuesday 03 June 2003 22:13, Ken Schrock wrote: > > would be useful. Maybe it's possible already (like the Qt emit macro) > > and I just don't know about it. > Ok, sounds like a hint... It was more of a hint to Benoit since he wrote the Gambas Qt interface. I was hoping maybe there was already some functionality like this in Gambas (since Qt supports it) and I just didn't know about it :) > Is the Qt emit call synchronous or asynchronous? > (SendMessage is synchronous, PostMessage asynchronous) Asynchronous, as are all Qt signals as far as I know. > Can I call it from Gambas somehow? That's what I'm hoping to find out myself ;) Rob From sourceforge-raindog2 at ...94... Wed Jun 4 04:13:04 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 3 Jun 2003 22:13:04 -0400 Subject: [Gambas-user] A couple of questions In-Reply-To: <3EDD6672.4080008@...149...> References: <3EDD148A.7000802@...137...> <200306032240.11069.gambas@...2...> <3EDD6672.4080008@...149...> Message-ID: <200306032213.04285.sourceforge-raindog2@...94...> On Tuesday 03 June 2003 23:24, Ken Schrock wrote: > Benoit Minisini wrote: > >Le Mardi 3 Juin 2003 21:40, Rob a ?crit : > >>>How does the grid control work? > >>>The component explorer shows how to extract a cell > >>>But no way I can see to set a cell contents > >>>(I can't even make it show the grid) > >> > >>I haven't used the grid control yet, but I'll try to make an example > >>project this afternoon for you. It seems to me you could also load up > >> the Gambas Database Manager project and see how it's used there. I > >> suspect it's something like needing to dim a variable as a cell object, > >> extract the cell to that object and using the cell's value (or > >> something) property to get the contents of the cell. > > > >Be careful, The GridView control and the TableView (used in the gambas > >database manager) are very different. > > > >The GridView control is a simple grid. To understand how to use it, the > >quicker is to read the FProperty.class file in the IDE source. > > Ok, I keep falling into this trap > I have Gambas from a binary package > There is no source, no example.info or other things referred to > repeatedly here > > Now I suppose I could get the whole source package, unpack, hunt, seek, etc > Couldn't someone just pack up the relevant pieces on the web site? Well, I can put them on mine anyway. These are all from 0.57. Example Gambas projects that should have come with Gambas: http://www.kudla.org/gambas/gambas057examples.tar.gz Gambas source for Gambas IDE and DB manager: http://www.kudla.org/gambas/gambasguisrc.tar.gz Example of new Gambas component in C: http://www.kudla.org/gambas/examplegambas057component.tar.gz I'm surprised Lindows' Gambas package didn't at least come with the example projects since they're meant to be a newbie distro and newbies can always use example code. Rob From schrockk at ...137... Wed Jun 4 05:15:45 2003 From: schrockk at ...137... (Ken Schrock) Date: Tue, 3 Jun 2003 23:15:45 -0400 Subject: [Gambas-user] A couple of questions In-Reply-To: <200306032213.04285.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <3EDD6672.4080008@...149...> <200306032213.04285.sourceforge-raindog2@...94...> Message-ID: <200306032315.45317.schrockk@...137...> On Tuesday 03 June 2003 10:13 pm, Rob wrote: > Well, I can put them on mine anyway. These are all from 0.57. Thank you kind sir. [snip] > I'm surprised Lindows' Gambas package didn't at least come with the example > projects since they're meant to be a newbie distro and newbies can always > use example code. The Lindows folks are a little scitzo, one foot in two different worlds It defaults to you auto-logging in as root as standard procedure But leaves Debian Fort Knox security on other simple things They also package Kdevelop with about half the docs And things like Glade come without docbook stuff Most often the stuff is hiding in the warehouse So I can usually grab it easily. Not this time Question: Would you be interested in helping me write a unified docs for this? (so that the people the thing looks like it is designed for can use it) Most of the pieces seem to be lying around somewhere or other But it all needs some glue and a little polishing up here and there -- Using Lindows From sourceforge-raindog2 at ...94... Wed Jun 4 06:36:54 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 4 Jun 2003 00:36:54 -0400 Subject: [Gambas-user] A couple of questions In-Reply-To: <200306032315.45317.schrockk@...137...> References: <3EDD148A.7000802@...137...> <200306032213.04285.sourceforge-raindog2@...94...> <200306032315.45317.schrockk@...137...> Message-ID: <200306040036.54894.sourceforge-raindog2@...94...> On Tuesday 03 June 2003 23:15, Ken Schrock wrote: > Would you be interested in helping me write a unified docs for this? > (so that the people the thing looks like it is designed for can use it) > Most of the pieces seem to be lying around somewhere or other > But it all needs some glue and a little polishing up here and there Yeah, I'd been meaning to write a "Gambas for VB users" intro type of thing for a while but hadn't had time. I had also been thinking of setting up a Gambas wiki (not to compete with theeasygambasdoku, but a set of pages anyone could edit with the goal of making a reference and tutorial that could be exported to HTML and distributed as an RPM to go with Gambas.) What are your ideas? I would say we could take it private except that there's no reason other people shouldn't get involved in documenting. Hey, maybe it's time to write the Gambas Help Browser app in Gambas ;) If we took the "help browser" route then eventually people would be able to contribute translations of our docs as well. And currently F1 is unbound in the IDE ;) Rob From dimitribellini at ...69... Wed Jun 4 13:10:32 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 4 Jun 2003 11:10:32 +0000 Subject: [Gambas-user] A couple of questions In-Reply-To: <200306040036.54894.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306032315.45317.schrockk@...137...> <200306040036.54894.sourceforge-raindog2@...94...> Message-ID: <200306041110.33518.dimitribellini@...69...> > Yeah, I'd been meaning to write a "Gambas for VB users" intro type of thing Great idea... I can translate it when is made :-) ... Dimitri From Gambasfr at ...11... Wed Jun 4 21:24:59 2003 From: Gambasfr at ...11... (Fabien) Date: Wed, 4 Jun 2003 21:24:59 +0200 Subject: [Gambas-user] Yep, a little change on FEditor.class In-Reply-To: <200306032213.04285.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <3EDD6672.4080008@...149...> <200306032213.04285.sourceforge-raindog2@...94...> Message-ID: <200306042124.59448.Gambasfr@...11...> Salut if you have a middle button on your mouse : IF Button AND Mouse.Middle THEN CreateMenu mnuGoto.Popup ENDIF at the line : 192, in fact in the edtEditor_MouseUp event of FEditor It's more practicle to go rapidly to a sub.... Fabien From gambas at ...2... Wed Jun 4 21:31:15 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 4 Jun 2003 21:31:15 +0200 Subject: [Gambas-user] A couple of questions In-Reply-To: <200306040036.54894.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306032315.45317.schrockk@...137...> <200306040036.54894.sourceforge-raindog2@...94...> Message-ID: <200306042131.15446.gambas@...2...> Le Mercredi 4 Juin 2003 06:36, Rob a ?crit : > On Tuesday 03 June 2003 23:15, Ken Schrock wrote: > > Would you be interested in helping me write a unified docs for this? > > (so that the people the thing looks like it is designed for can use it) > > Most of the pieces seem to be lying around somewhere or other > > But it all needs some glue and a little polishing up here and there > > Yeah, I'd been meaning to write a "Gambas for VB users" intro type of thing > for a while but hadn't had time. I had also been thinking of setting up a > Gambas wiki (not to compete with theeasygambasdoku, but a set of pages > anyone could edit with the goal of making a reference and tutorial that > could be exported to HTML and distributed as an RPM to go with Gambas.) > What are your ideas? I would say we could take it private except that > there's no reason other people shouldn't get involved in documenting. > > Hey, maybe it's time to write the Gambas Help Browser app in Gambas ;) If > we took the "help browser" route then eventually people would be able to > contribute translations of our docs as well. And currently F1 is unbound > in the IDE ;) > > Rob > > Making a wiki is a great idea. If you do it, I will fill it ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Jun 4 21:33:22 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 4 Jun 2003 21:33:22 +0200 Subject: [Gambas-user] A couple of questions In-Reply-To: <3EDD55D1.50003@...149...> References: <3EDD148A.7000802@...137...> <200306031540.25373.sourceforge-raindog2@...94...> <3EDD55D1.50003@...149...> Message-ID: <200306042133.22912.gambas@...2...> Le Mercredi 4 Juin 2003 04:13, Ken Schrock a ?crit : > Rob wrote: > >On Tuesday 03 June 2003 17:35, Ken Schrock wrote: > >>Can I "send" an event? (like Win PostMessage) > >>i.e. Can I call Button1_Click() if I have no sub (code) for it? > >>(more useful real things would be select something in a listbox > >> or perhaps drop down the list in a combo box programmatically) > >>If so how? (It is often helpful to do this asynchronous) > > > >Well, as I understand it, you can pretty much do anything with events that > > you can do in VB (with the addition of being able to name your event subs > > anything you like if you want.) The example you give, PostMessage, was > > an API call and not really part of VB, though I can see how such a thing > > would be useful. Maybe it's possible already (like the Qt emit macro) > > and I just don't know about it. > > Ok, sounds like a hint... > Is the Qt emit call synchronous or asynchronous? > (SendMessage is synchronous, PostMessage asynchronous) > Can I call it from Gambas somehow? > > [snip] Stop dreaming. You will never see anything from the internal of QT in gambas. Remember that I want to make a GTK+ component compatible with the QT one in the future. Events raised by gambas source code are immediately dispatched, (SendMessage for Win32 guys) they have nothing to do with QT events. Events raised by QT are dispatched when QT dispatch them, so it depends. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Jun 4 21:34:47 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 4 Jun 2003 21:34:47 +0200 Subject: [Gambas-user] Yep, a little change on FEditor.class In-Reply-To: <200306042124.59448.Gambasfr@...11...> References: <3EDD148A.7000802@...137...> <200306032213.04285.sourceforge-raindog2@...94...> <200306042124.59448.Gambasfr@...11...> Message-ID: <200306042134.47212.gambas@...2...> Le Mercredi 4 Juin 2003 21:24, Fabien a ?crit : > Salut > > if you have a middle button on your mouse : > > IF Button AND Mouse.Middle THEN > CreateMenu > mnuGoto.Popup > ENDIF > > at the line : 192, in fact in the edtEditor_MouseUp event of FEditor > > It's more practicle to go rapidly to a sub.... > > Fabien > > > For popup menus, you should use the Menu event instead of the MousePress event. This Menu event is raised when you hit the Windows keyboard menu key, not the MousePress event. It's better than VB :-) -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Wed Jun 4 22:13:39 2003 From: karl.reinl at ...9... (Charlie) Date: Wed, 04 Jun 2003 22:13:39 +0200 Subject: [Gambas-user] A couple of questions References: <3EDD148A.7000802@...137...> <200306032315.45317.schrockk@...137...> <200306040036.54894.sourceforge-raindog2@...94...> <200306042131.15446.gambas@...2...> Message-ID: <3EDE52F3.2020201@...9...> Benoit Minisini schrieb: >Le Mercredi 4 Juin 2003 06:36, Rob a ?crit : > > >>On Tuesday 03 June 2003 23:15, Ken Schrock wrote: >> >> >>>Would you be interested in helping me write a unified docs for this? >>>(so that the people the thing looks like it is designed for can use it) >>>Most of the pieces seem to be lying around somewhere or other >>>But it all needs some glue and a little polishing up here and there >>> >>> >>Yeah, I'd been meaning to write a "Gambas for VB users" intro type of thing >>for a while but hadn't had time. I had also been thinking of setting up a >>Gambas wiki (not to compete with theeasygambasdoku, but a set of pages >>anyone could edit with the goal of making a reference and tutorial that >>could be exported to HTML and distributed as an RPM to go with Gambas.) >>What are your ideas? I would say we could take it private except that >>there's no reason other people shouldn't get involved in documenting. >> >>Hey, maybe it's time to write the Gambas Help Browser app in Gambas ;) If >>we took the "help browser" route then eventually people would be able to >>contribute translations of our docs as well. And currently F1 is unbound >>in the IDE ;) >> >>Rob >> >> >> >> > >Making a wiki is a great idea. If you do it, I will fill it ! > > > Jochen has a started wiki on his http://www.theeasygambasdoku.de/ go http://linuxwiki.de/Gambas and fill it with live. Charlie From schrockk at ...137... Thu Jun 5 00:36:13 2003 From: schrockk at ...137... (Ken Schrock) Date: Wed, 4 Jun 2003 18:36:13 -0400 Subject: [Gambas-user] A couple of questions In-Reply-To: <200306040036.54894.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306032315.45317.schrockk@...137...> <200306040036.54894.sourceforge-raindog2@...94...> Message-ID: <200306041836.13208.schrockk@...137...> My favorite is docbook, but not everybody has it or can get it easily Benoit has the manual at the site in pdf for like .35 and SO for .5x I find the PDF one MUCH easier to use So either... 1. Stich all the pieces together into a big PDF doc (1 doc, 1 chapter each for overview, tutorial, manual, components, making extentions, db stuff, examples, etc) 2. Find out how to get it into the currently used place (view ???) (1 new menu item for each of the above [component there now]) I also think we need icons at the top of the page like Win SDK help * NEW FOR VER 0.57 (NEW autostart form, etc, blah, blah) # VER 0.57 CHANGE (mine's .53, I can't run most of your .57 example) @ Difference from VB (this funtion, property, method, etc, blah, blah. etc) Again, these guys have touch on all this, just none is joined or done On Wednesday 04 June 2003 12:36 am, Rob wrote: > On Tuesday 03 June 2003 23:15, Ken Schrock wrote: > > Would you be interested in helping me write a unified docs for this? > > (so that the people the thing looks like it is designed for can use it) > > Most of the pieces seem to be lying around somewhere or other > > But it all needs some glue and a little polishing up here and there > > Yeah, I'd been meaning to write a "Gambas for VB users" intro type of thing > for a while but hadn't had time. I had also been thinking of setting up a > Gambas wiki (not to compete with theeasygambasdoku, but a set of pages > anyone could edit with the goal of making a reference and tutorial that > could be exported to HTML and distributed as an RPM to go with Gambas.) > What are your ideas? I would say we could take it private except that > there's no reason other people shouldn't get involved in documenting. > > Hey, maybe it's time to write the Gambas Help Browser app in Gambas ;) If > we took the "help browser" route then eventually people would be able to > contribute translations of our docs as well. And currently F1 is unbound > in the IDE ;) > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Using Lindows From sourceforge-raindog2 at ...94... Thu Jun 5 03:40:47 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 4 Jun 2003 21:40:47 -0400 Subject: [Gambas-user] gambas and nvidia thought Message-ID: <200306042140.48087.sourceforge-raindog2@...94...> Has anyone considered posting a note about gambas (maybe with some strace output or something) to this NVidia Linux driver bulletin board? It seems to be the closest thing possible to submitting a bug report to Nvidia. I searched for gambas and no one's mentioned the problem yet. Maybe they'd give us the brushoff because Gambas isn't a 3D app, but it seems pretty clear that the NVidia >=1.0 driver is the problem and not Gambas. http://www.nvnews.net/vbulletin/forumdisplay.php?s=&forumid=14 I'm still using my trusty Voodoo 3 card or I'd do it myself ;) Rob From sourceforge-raindog2 at ...94... Thu Jun 5 06:22:56 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 5 Jun 2003 00:22:56 -0400 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306041836.13208.schrockk@...137...> References: <3EDD148A.7000802@...137...> <200306040036.54894.sourceforge-raindog2@...94...> <200306041836.13208.schrockk@...137...> Message-ID: <200306050022.56645.sourceforge-raindog2@...94...> On Wednesday 04 June 2003 18:36, Ken Schrock wrote: > My favorite is docbook, but not everybody has it or can get it easily > Benoit has the manual at the site in pdf for like .35 and SO for .5x > I find the PDF one MUCH easier to use I don't know if PDF is the way to go presently because there's no way to bring it up inside the Gambas IDE and there's no navigation around all those documents. I mean, yeah, you can paste all kinds of documentation on the end of that SXW document and then save as PDF, and I think that's a great way to start getting all the documentation together, but I don't know if that'll be enough for the help system. Your ideas regarding "New in *** version..." are right on, though I don't think we can do that retroactively very easily. The "difference from VB" stuff on each page is a great idea and one I hadn't thought of. That makes much more sense than an intro, though a "Help! I'm a VB user! What do I do?" page linked off the front page of the manual might be good too ;) I'm actually leaning towards the wiki idea, and tonight I started working on a Gambas help viewer that will parse simple HTML files (like those that should be created when you export from a wiki) and navigate between different HTML files via links (which you can't do with the regular TextLabel control because the underlying Qt component QTextBrowser's link following event isn't supported in Gambas yet). I'm also thinking I should do a full text index when I do the export from the wiki (whichever one we end up using.... mein Deutsch ist leider sehr schlecht...) and include that with the HTML and pixmap files. I can't figure out how to subclass TextLabel and add my own events, not that I think it'd be possible in the first place to find out what word you just clicked on, so I'm rolling my own using a Scrollview and lots of individual TextLabel objects, meticulously spaced and tagged ;) So far it's MUCH snappier than you might imagine, but I've done similar things successfully in Tcl which is a nasty and slow language so I'm not too surprised. And, well, I actually have only gotten as far as parsing and Hello all at GAMBAS, WARP 10, may be more. Hope Captain and the Crew guide us all thru. the perils and into an allnew and better world. Heard Richard Stallman asking for an alternate to VB and here it is and well. Jus installed the new version 0.57 and without the database support as the configurator couldnt find my 'mysql' installation.. Can u please help me out with this please. We(my company where im consulting) are into the process of developing linux applications to the masses and im in charge of finding the best suited tools et al. And GAMBAS has given us the smile for all the reasons. Keep up the good work Regards to all R S Kannan kannangn at ...154... from Chennai, Tamil Nadu, India ------------------------------------------------- Sify Mail - now with Anti-virus protection powered by Trend Micro, USA. Know more at http://mail.sify.com Sify Power mail- a Premium Service from Sify Mail! know more at http://mail.sify.com From jochen.georges at ...22... Thu Jun 5 20:15:55 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Thu, 5 Jun 2003 20:15:55 +0200 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306050022.56645.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306041836.13208.schrockk@...137...> <200306050022.56645.sourceforge-raindog2@...94...> Message-ID: <200306052015.55269.jochen.georges@...22...> On Thursday 05 June 2003 06:22, Rob wrote: > On Wednesday 04 June 2003 18:36, Ken Schrock wrote: > > My favorite is docbook, but not everybody has it or can get it easily > > Benoit has the manual at the site in pdf for like .35 and SO for .5x > > I find the PDF one MUCH easier to use snip ....... > I'm actually leaning towards the wiki idea, and tonight I started working > on a Gambas help viewer that will parse simple HTML files (like those that > should be created when you export from a wiki) and navigate between > different HTML files via links (which you can't do with the regular > TextLabel control because the underlying Qt component QTextBrowser's link > following event isn't supported in Gambas yet). I'm also thinking I should > do a full text index when I do the export from the wiki (whichever one we > end up using.... mein Deutsch ist leider sehr schlecht...) and include that > with the HTML and pixmap files. wiki is cool. http://linuxwiki.de/Gambas feel free to write there (in english?!) beste gruesse jochen From karl.reinl at ...9... Thu Jun 5 21:57:33 2003 From: karl.reinl at ...9... (Charlie) Date: Thu, 05 Jun 2003 21:57:33 +0200 Subject: [Gambas-user] Richard Stallman's wish to the fore References: <1054828276.3edf66f4f05dd@...156...> Message-ID: <3EDFA0AD.8070102@...9...> Kannan S schrieb: >Hello all at GAMBAS, > >WARP 10, may be more. Hope Captain and the Crew guide us all thru. the perils and into an allnew and better world. > > >Heard Richard Stallman asking for an alternate to VB and here it is and well. > > >Jus installed the new version 0.57 and without the database support as the configurator couldnt find my 'mysql' installation.. > > >Can u please help me out with this please. > > >We(my company where im consulting) are into the process of developing linux applications to the masses and im in charge of finding the best suited tools et al. > >And GAMBAS has given us the smile for all the reasons. > > >Keep up the good work > > >Regards to all > >R S Kannan >kannangn at ...154... > >from Chennai, Tamil Nadu, India > > > Salut, think you problem is that you haven't the mysql-devel-package on you linux-maschine, this is needed to compile. If mysql is installed on the computer have try with http://www.fen-net.de/Karl.Reinl/gambas/TomySQL.html here you access to mysql without the db-components. amicalement Charlie From gambas at ...2... Fri Jun 6 00:02:22 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 6 Jun 2003 00:02:22 +0200 Subject: [Gambas-user] A couple of questions In-Reply-To: <3EDE52F3.2020201@...9...> References: <3EDD148A.7000802@...137...> <200306042131.15446.gambas@...2...> <3EDE52F3.2020201@...9...> Message-ID: <200306060002.22941.gambas@...2...> Le Mercredi 4 Juin 2003 22:13, Charlie a ?crit : > >Making a wiki is a great idea. If you do it, I will fill it ! > > Jochen has a started wiki on his http://www.theeasygambasdoku.de/ > go http://linuxwiki.de/Gambas > > and fill it with live. > > Charlie > It is in german ? Is it possible to have an english-only wiki for gambas documentation ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Fri Jun 6 00:03:56 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 6 Jun 2003 00:03:56 +0200 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306050022.56645.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306041836.13208.schrockk@...137...> <200306050022.56645.sourceforge-raindog2@...94...> Message-ID: <200306060003.56446.gambas@...2...> Le Jeudi 5 Juin 2003 06:22, Rob a ?crit : > On Wednesday 04 June 2003 18:36, Ken Schrock wrote: > > My favorite is docbook, but not everybody has it or can get it easily > > Benoit has the manual at the site in pdf for like .35 and SO for .5x > > I find the PDF one MUCH easier to use > > I don't know if PDF is the way to go presently because there's no way to > bring it up inside the Gambas IDE and there's no navigation around all > those documents. I mean, yeah, you can paste all kinds of documentation on > the end of that SXW document and then save as PDF, and I think that's a > great way to start getting all the documentation together, but I don't know > if that'll be enough for the help system. > > Your ideas regarding "New in *** version..." are right on, though I don't > think we can do that retroactively very easily. The "difference from VB" > stuff on each page is a great idea and one I hadn't thought of. That makes > much more sense than an intro, though a "Help! I'm a VB user! What do I > do?" page linked off the front page of the manual might be good too ;) > > I'm actually leaning towards the wiki idea, and tonight I started working > on a Gambas help viewer that will parse simple HTML files (like those that > should be created when you export from a wiki) and navigate between > different HTML files via links (which you can't do with the regular > TextLabel control because the underlying Qt component QTextBrowser's link > following event isn't supported in Gambas yet). I'm also thinking I should > do a full text index when I do the export from the wiki (whichever one we > end up using.... mein Deutsch ist leider sehr schlecht...) and include that > with the HTML and pixmap files. > > I can't figure out how to subclass TextLabel and add my own events, not > that I think it'd be possible in the first place to find out what word you > just clicked on, so I'm rolling my own using a Scrollview and lots of > individual TextLabel objects, meticulously spaced and tagged ;) So far > it's MUCH snappier than you might imagine, but I've done similar things > successfully in Tcl which is a nasty and slow language so I'm not too > surprised. And, well, I actually have only gotten as far as parsing > and You will have a TextBrowser widget in the next version. It is like a TextLabel with scrollbars, link management, and browsing capabilities. -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Fri Jun 6 00:42:15 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 06 Jun 2003 00:42:15 +0200 Subject: [Gambas-user] A couple of questions References: <3EDD148A.7000802@...137...> <200306042131.15446.gambas@...2...> <3EDE52F3.2020201@...9...> <200306060002.22941.gambas@...2...> Message-ID: <3EDFC747.9010200@...9...> Benoit Minisini schrieb: >Le Mercredi 4 Juin 2003 22:13, Charlie a ?crit : > > >>>Making a wiki is a great idea. If you do it, I will fill it ! >>> >>> >>Jochen has a started wiki on his http://www.theeasygambasdoku.de/ >>go http://linuxwiki.de/Gambas >> >>and fill it with live. >> >>Charlie >> >> >> > >It is in german ? Is it possible to have an english-only wiki for gambas >documentation ? > > > Salut, yes the first ( and only ) lines are in german and the site also, but if you have remaked it uses your browser languages for explications, why not talking english on it. Thats internet. I do not know who was starting this, Jochen ? And Jochen invents you also to talk english. I just have this questions here around, to whom who started that wiki ? - Is there a grand possibility using this wiki for a longer time ? - Is it possible to make him a little more closed ( I mean a login, for signed up users etc.) I say that, because this evening I added a 'Hi All start here' and I'm identified by 'dialn-nbg-088.fen-net.de' what means 'nobody', every one has access to this pages. I founde out the work on the user access. Set up a simple wiki is easy, but you need a admin who follows the demand of the users. Dit you know there are wiki implementations in nearly every programming language, including VB? amicalement Charlie From girardhenri at ...67... Fri Jun 6 00:52:45 2003 From: girardhenri at ...67... (HG) Date: Fri, 6 Jun 2003 00:52:45 +0200 Subject: [Gambas-user] help needed to compile on RH 9 References: <1054828276.3edf66f4f05dd@...156...> Message-ID: Hi :) Can somebody help to compile on RH 9 ? Or make RPM ... or know if they are like M9.1 ? Would be greatly appreciated ! KR HG From sourceforge-raindog2 at ...94... Fri Jun 6 01:46:50 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 5 Jun 2003 19:46:50 -0400 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306052015.55269.jochen.georges@...22...> References: <3EDD148A.7000802@...137...> <200306050022.56645.sourceforge-raindog2@...94...> <200306052015.55269.jochen.georges@...22...> Message-ID: <200306051500.34425.sourceforge-raindog2@...94...> On Thursday 05 June 2003 14:15, Jochen Georges wrote: > wiki is cool. > http://linuxwiki.de/Gambas > feel free to write there (in english?!) I've been there, but figured it was meant to be in German. I actually have already started a wiki, though there's not too much out there at the moment (just the contents of the Gambas Encyclopedia converted to wiki format using a perl script I wrote, and it probably needs some cleaning up) but here it is: http://www.binara.com/gambas-wiki I don't know whether it'll require a login to edit pages, but if it does, GambasUser/GambasUser should do it. I'm working on at least getting the index by category working right this evening. Rob From sourceforge-raindog2 at ...94... Fri Jun 6 06:04:37 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 00:04:37 -0400 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306051500.34425.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306052015.55269.jochen.georges@...22...> <200306051500.34425.sourceforge-raindog2@...94...> Message-ID: <200306060004.37694.sourceforge-raindog2@...94...> On Thursday 05 June 2003 19:46, Rob wrote: > I don't know whether it'll require a login to edit pages, but if it does, > GambasUser/GambasUser should do it. I'm working on at least getting the > index by category working right this evening. I just got in under the wire. See what you guys think of the "by category" index. http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasIndexByCategory If you don't like it, there's an edit button at the bottom of the page ;) username GambasUser password GambasUser Rob From kannangn at ...154... Fri Jun 6 04:16:35 2003 From: kannangn at ...154... (Kannan S) Date: Fri, 06 Jun 2003 08:16:35 +0600 (IST) Subject: [Gambas-user] Richard Stallman's quest Message-ID: <1054867595.3ee0008b21ce4@...158...> Thank u for the guidance and mysql connect is working great. Best wishes for the future, R S Kannan p.s. Give me any tips/requirements for a better involvement with GAMBAS ------------------------------------------------- Sify Mail - now with Anti-virus protection powered by Trend Micro, USA. Know more at http://mail.sify.com Sify Power mail- a Premium Service from Sify Mail! know more at http://mail.sify.com From schrockk at ...137... Fri Jun 6 06:59:08 2003 From: schrockk at ...137... (Ken Schrock) Date: Fri, 6 Jun 2003 00:59:08 -0400 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306060004.37694.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306051500.34425.sourceforge-raindog2@...94...> <200306060004.37694.sourceforge-raindog2@...94...> Message-ID: <200306060059.08138.schrockk@...137...> Impressive from every angle, particularly speed completed What other chunks do you currenly envision, if any? On Friday 06 June 2003 12:04 am, Rob wrote: > On Thursday 05 June 2003 19:46, Rob wrote: > > I don't know whether it'll require a login to edit pages, but if it does, > > GambasUser/GambasUser should do it. I'm working on at least getting the > > index by category working right this evening. > > I just got in under the wire. See what you guys think of the "by category" > index. > > http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasIndexByCategory > > If you don't like it, there's an edit button at the bottom of the page ;) > > username GambasUser password GambasUser > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Using Lindows From jochen.georges at ...22... Fri Jun 6 07:55:35 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Fri, 6 Jun 2003 07:55:35 +0200 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306060004.37694.sourceforge-raindog2@...94...> References: <3EDD148A.7000802@...137...> <200306051500.34425.sourceforge-raindog2@...94...> <200306060004.37694.sourceforge-raindog2@...94...> Message-ID: <200306060755.35076.jochen.georges@...22...> On Friday 06 June 2003 06:04, Rob wrote: > On Thursday 05 June 2003 19:46, Rob wrote: > > I don't know whether it'll require a login to edit pages, but if it does, > > GambasUser/GambasUser should do it. I'm working on at least getting the > > index by category working right this evening. > > I just got in under the wire. See what you guys think of the "by category" > index. > > http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasIndexByCategory > > If you don't like it, there's an edit button at the bottom of the page ;) > > username GambasUser password GambasUser > > Rob wow, that's great!! i will start first to set links to the easygambasdoku (and back) and later integrate the easygambasdokustuff in that wiki. i wont add stuff to the easygambasdoku, because the wiki is much more powerful than a conventional html-page. btw: http://c2.com/cgi/wiki?WhyWikiWorks in my opinion that wiki should become the central information-complex of gambas. i would apreciate that only subscribed members can edit the wiki. so one can see who changed which content. rob, will you do the admin work for this wiki? yipeah jochen From jochen.georges at ...22... Fri Jun 6 07:43:25 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Fri, 6 Jun 2003 07:43:25 +0200 Subject: [Gambas-user] A couple of questions In-Reply-To: <3EDFC747.9010200@...9...> References: <3EDD148A.7000802@...137...> <200306060002.22941.gambas@...2...> <3EDFC747.9010200@...9...> Message-ID: <200306060743.26009.jochen.georges@...22...> On Friday 06 June 2003 00:42, Charlie wrote: > Benoit Minisini schrieb: > >Le Mercredi 4 Juin 2003 22:13, Charlie a ?crit : > >>>Making a wiki is a great idea. If you do it, I will fill it ! > >> > >>Jochen has a started wiki on his http://www.theeasygambasdoku.de/ > >>go http://linuxwiki.de/Gambas > >> > >>and fill it with live. > >> > >>Charlie > > > >It is in german ? Is it possible to have an english-only wiki for gambas > >documentation ? > > Salut, > > yes the first ( and only ) lines are in german and the site also, > but if you have remaked it uses your browser languages for explications, > why not talking english on it. > > Thats internet. > > I do not know who was starting this, Jochen ? > And Jochen invents you also to talk english. > > I just have this questions here around, to whom who started that wiki ? that was me > - Is there a grand possibility using this wiki for a longer time ? yes, i think so > - Is it possible to make him a little more closed ( I mean a login, for > signed up users etc.) that is possible beste gruesse jochen From jochen.georges at ...22... Fri Jun 6 08:04:18 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Fri, 6 Jun 2003 08:04:18 +0200 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306060755.35076.jochen.georges@...22...> References: <3EDD148A.7000802@...137...> <200306060004.37694.sourceforge-raindog2@...94...> <200306060755.35076.jochen.georges@...22...> Message-ID: <200306060804.18508.jochen.georges@...22...> On Friday 06 June 2003 07:55, Jochen Georges wrote: > i wont add stuff to the easygambasdoku, because the wiki is much more > powerful than a conventional html-page. > btw: http://c2.com/cgi/wiki?WhyWikiWorks hi btw: if you wonder, why i did not write the easygambasdoku in a wiki, i know wiki just for a very short time now. in the beginning i was a bit skeptical if it works. and then my work changed. now i see that in the new wiki is big bunch of good work done already, so it is a very good basis to work on. beste gruesse jochen From jtloos03 at ...159... Fri Jun 6 13:41:02 2003 From: jtloos03 at ...159... (Jay) Date: Fri, 06 Jun 2003 04:41:02 -0700 Subject: [Gambas-user] Newbie Quetions on Gambas Wiki Message-ID: <3EE07DCE.2030309@...159...> Was looking at the tutorial and trying some of the examples. The examples I have tried work except for one and I was wondering why? >' Gambas class file > >STATIC PUBLIC SUB Main() > DIM hform AS Fmain > hform = NEW Fmain > hform.show >END > >PUBLIC SUB _new() > > > /*this clears the Drawing Area*/ > > da.Clear() > > > /* 'All the drawing activities have to be captioned by > ' Draw.Begin() > ' and > ' Draw.End > */ > > Draw.Begin(da) > Draw.Rect(5, 5, 8, 9) > Draw.Ellipse(50, 50, 100, 100, 0, 50) > Draw.End >END > I have version .57 or the latest version and I am under ELX Linux 2.0. The code will work if I put it in a subroutine under left mouse click , run the program and push the left mouse button . It is then the 2 images show up. They just don't draw themselves under the code above for some reason. Thanks for the help and the little tutorial to help get me going. > > > From schrockk at ...137... Fri Jun 6 21:02:42 2003 From: schrockk at ...137... (Ken Schrock) Date: Fri, 06 Jun 2003 12:02:42 -0700 Subject: [Gambas-user] Exec Message-ID: <3EE0E552.5020404@...137...> I need pid = Exec "whatever" Somewhere else kill(pid) Envisioned? Workaround? -- Using Lindows From sourceforge-raindog2 at ...94... Fri Jun 6 18:39:14 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 12:39:14 -0400 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306060059.08138.schrockk@...137...> References: <3EDD148A.7000802@...137...> <200306060004.37694.sourceforge-raindog2@...94...> <200306060059.08138.schrockk@...137...> Message-ID: <200306061239.14964.sourceforge-raindog2@...94...> On Friday 06 June 2003 00:59, Ken Schrock wrote: > Impressive from every angle, particularly speed completed > What other chunks do you currenly envision, if any? The "How do I...." is a big missing part, and a lot of that can be filled in short term by linking to theeasygambasdoku (which I'll start working on today or over the weekend.) I think maybe making tutorials out of one of the example apps might be a good thing too. But anything that anyone wants to add is as simple as hitting the edit link, adding a link to a page that doesn't exist and then clicking on that link when you're done editing.... don't be too afraid of messing up because all the revisions are tracked in RCS (as with most wikis.) Rob From sourceforge-raindog2 at ...94... Fri Jun 6 19:35:16 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 13:35:16 -0400 Subject: [Gambas-user] another reason I love Gambas Message-ID: <200306061335.16415.sourceforge-raindog2@...94...> I just added all the documentation for all of the component class members to the wiki in about 10 minutes by hacking the Gambas IDE source to do most of the work for me ;) In the FExplorer class I added PUBLIC avc AS File to the beginning and TRY KILL "/tmp/gambasdoc/" & aKey[1] & "." & akey[2] & ".txt" TRY OPEN "/tmp/gambasdoc/" & aKey[1] & "." & akey[2] & ".txt" FOR CREATE AS #avc TRY PRINT #avc, "
" & sTitle & "

" & sDesc TRY CLOSE #avc to the end of the RefreshInfo sub in that class. Then I hit F5, loaded a random project I had laying around, hit F2, and cursored through the entire list of component classes while it dumped HTML files for each class member to a directory in /tmp. I paused after each component to move them into a subdirectory and when I was done, ran the following Perl script to integrate them with the class documentation I'd already extracted and wikify the lot (I would have used Gambas again but I don't know how to do regular expressions in Gambas ;) ): #!/usr/bin/perl for $f (`find`) { next if $f =~ m|/children/|; next if $f =~ m|/classes/|; next unless $f =~ /\.txt$/; chomp $f; $g = `cat $f`; $basename = $f; $basename =~ s/.txt$//; # convert filenames to wiki words $f =~ s/\//-/g; $f =~ s/^\.-//; $f =~ s/\[\]/Array/; $f =~ s/^gb-/GambasComponentGb/; $f =~ s/^gb.eval-/GambasComponentEval/; $f =~ s/^gb.db-/GambasComponentDb/; $f =~ s/^gb.qt-/GambasComponentQt/; $f =~ s/^gb.qt.ext-/GambasComponentQtExt/; $f =~ s/^gb.qt.kde-/GambasComponentQtKde/; $f =~ s/^gb.qt.editor-/GambasComponentQtEditor/; $f =~ s/\.//g; $f =~ s/txt$/.txt/; # convert HTML content to wiki text $g .= `cat children/$basename* 2>/dev/null`; $g =~ s/\s*(.+?)\s*<\/i>/ _$1\_ /gi; $g =~ s/\s*(.+?)\s*<\/b>/ \*$1\* /gi; $g =~ s/

\s*(.+?)\s*<\/h1>/\n---+$1/is; $g =~ s/

\s*(.+?)\s*<\/h1>/\n---++$1/gis; $g =~ s/

\s*(.+?)\s*<\/h2>/\n---++$1/gsi; $g =~ s/
/\n/gsi; $g =~ s|/usr/lib/control|/gambas-wiki/images|gis; $g =~ s||\n * |gis; $g =~ s/<\/?table.*?>/\n/gis; $g =~ s/<\/?font.*?>//gis; $g =~ s/<\/?tr.*?>/\n/gis; $g =~ s/<\/?td.*?>/\n/gis; $g =~ s//\n\n/gis; $g =~ s/

\n/\n/gis; $g =~ s/

\s*(.+?)\s*<\/h3>/\n---+++$1/gi; $g =~ s/\n\n+/\n\n/gis; $g =~ s/^\n+//gis; $g =~ s/<\/h3>//gis; open OUT, ">fixed/$f"; print OUT $g; close OUT; print "$f\n"; } And finally I scp'ed the whole thing up to the wiki. So now we have a searchable, easily updated reference to all the component class members in the same format as the rest of the language. Try doing that in VB! Rob From sourceforge-raindog2 at ...94... Fri Jun 6 18:45:06 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 12:45:06 -0400 Subject: [Gambas-user] Exec In-Reply-To: <3EE0E552.5020404@...137...> References: <3EE0E552.5020404@...137...> Message-ID: <200306061236.23474.sourceforge-raindog2@...94...> On Friday 06 June 2003 15:02, Ken Schrock wrote: > I need > pid = Exec "whatever" > Somewhere else > kill(pid) > Envisioned? Well, if you kill(pid) it'll try to delete a file named (the number of the pid). It's still BASIC, remember ;) Tried something like dim px as Process SHELL "whatever" AS px (and then later) px.Kill maybe? (In answering this mail I discovered a few missing things in the wiki, like, oh, all of the properties/methods for each class under the component section, there are a bunch of orphaned * and _ in most of the converted pages (they're equivalent to the and html tags) and EXEC is missing from the statements by category list.... well, guess there's more work to be done ;) ) Rob From sourceforge-raindog2 at ...94... Fri Jun 6 19:52:27 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 13:52:27 -0400 Subject: [Gambas-user] links to The Easy Gambas Doku Message-ID: <200306061352.27523.sourceforge-raindog2@...94...> To get the "how do I..." section started I've linked to every Gambas-related tutorial page on Jochen's site. Thanks Jochen! http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasHowtos From sourceforge-raindog2 at ...94... Fri Jun 6 18:43:37 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 12:43:37 -0400 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306060755.35076.jochen.georges@...22...> References: <3EDD148A.7000802@...137...> <200306060004.37694.sourceforge-raindog2@...94...> <200306060755.35076.jochen.georges@...22...> Message-ID: <200306061243.37534.sourceforge-raindog2@...94...> On Friday 06 June 2003 01:55, Jochen Georges wrote: > in my opinion that wiki should become the central information-complex of > gambas. Thanks, that's heavy praise coming from someone who put together what's been the most useful Gambas documentation page so far ;) > i would apreciate that only subscribed members can edit the wiki. > so one can see who changed which content. Not a bad idea, I added an account for myself as a test. You can do the same but I haven't figured out how to automatically add accounts to the web server's .htpasswd file yet. Maybe I need to make an "add password" CGI. > rob, will you do the admin work for this wiki? I already am actually ;) Binara is the company I work for and own half of. I put the wiki there rather than on kudla.org because kudla.org is running off of my cable modem and binara.com is on a T1 which should be more than enough for wiki work as long as I don't get slashdotted ;) Rob From Gambasfr at ...11... Fri Jun 6 20:41:33 2003 From: Gambasfr at ...11... (Fabien) Date: Fri, 6 Jun 2003 20:41:33 +0200 Subject: [Gambas-user] Yep, a little change on FEditor.class In-Reply-To: <200306042134.47212.gambas@...2...> References: <3EDD148A.7000802@...137...> <200306042124.59448.Gambasfr@...11...> <200306042134.47212.gambas@...2...> Message-ID: <200306062041.33521.Gambasfr@...11...> Le Mercredi 4 Juin 2003 21:34, Benoit Minisini a ?crit : > Le Mercredi 4 Juin 2003 21:24, Fabien a ?crit : > > Salut > > > > if you have a middle button on your mouse : > > > > IF Button AND Mouse.Middle THEN > > CreateMenu > > mnuGoto.Popup > > ENDIF > > > > at the line : 192, in fact in the edtEditor_MouseUp event of FEditor > > > > It's more practicle to go rapidly to a sub.... > > > > Fabien > > For popup menus, you should use the Menu event instead of the MousePress > event. This Menu event is raised when you hit the Windows keyboard menu > key, not the MousePress event. > > It's better than VB :-) Maybe but, i've don't see this event key anywhere... It's new for me..., hum I must to see better in the component explorer.! yes, now gambas have lot of better thing than vb. (it's not really difficult ;-) ) But gambas is not a vb !, (visual basic) but a gb!!! (Graphical basic), i prefer this terme, to stop all compare ! Fabien From kschrock at ...149... Sat Jun 7 00:52:26 2003 From: kschrock at ...149... (Ken Schrock) Date: Fri, 06 Jun 2003 15:52:26 -0700 Subject: [Gambas-user] Exec References: <3EE0E552.5020404@...137...> <200306061236.23474.sourceforge-raindog2@...94...> Message-ID: <3EE11B2A.6050200@...149...> Ok, there is a whole section of docs I am missing Where exactly do you find doc on .Kill ? Benoit also talked about .Raise and .Watch Which I also have no reference for Rob wrote: >On Friday 06 June 2003 15:02, Ken Schrock wrote: > > >>I need >>pid = Exec "whatever" >>Somewhere else >>kill(pid) >>Envisioned? >> >> > >Well, if you kill(pid) it'll try to delete a file named (the number of the >pid). It's still BASIC, remember ;) > >Tried something like > >dim px as Process >SHELL "whatever" AS px >(and then later) >px.Kill > >maybe? > >(In answering this mail I discovered a few missing things in the wiki, like, >oh, all of the properties/methods for each class under the component section, >there are a bunch of orphaned * and _ in most of the converted pages (they're >equivalent to the and html tags) and EXEC is missing from the >statements by category list.... well, guess there's more work to be done ;) ) > >Rob > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.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 kschrock at ...149... Sat Jun 7 00:52:46 2003 From: kschrock at ...149... (Ken Schrock) Date: Fri, 06 Jun 2003 15:52:46 -0700 Subject: [Gambas-user] Gambas help files References: <3EDD148A.7000802@...137...> <200306060004.37694.sourceforge-raindog2@...94...> <200306060059.08138.schrockk@...137...> <200306061239.14964.sourceforge-raindog2@...94...> Message-ID: <3EE11B3E.7030605@...149...> Rob wrote: >On Friday 06 June 2003 00:59, Ken Schrock wrote: > > >>Impressive from every angle, particularly speed completed >>What other chunks do you currenly envision, if any? >> >> >The "How do I...." is a big missing part, and a lot of that can be filled in >short term by linking to theeasygambasdoku (which I'll start working on today >or over the weekend.) I think maybe making tutorials out of one of the >example apps might be a good thing too. > >But anything that anyone wants to add is as simple as hitting the edit link, >adding a link to a page that doesn't exist and then clicking on that link >when you're done editing.... don't be too afraid of messing up because all >the revisions are tracked in RCS (as with most wikis.) > I don't know if you noticed But there is considerable sentiment here To "limit" who can contribute to these things (kind of runs counter to the idea of wiki, but oh well : -) > >Rob > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.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 kschrock at ...149... Sat Jun 7 01:12:20 2003 From: kschrock at ...149... (Ken Schrock) Date: Fri, 06 Jun 2003 16:12:20 -0700 Subject: [Gambas-user] Exec References: <3EE0E552.5020404@...137...> <200306061236.23474.sourceforge-raindog2@...94...> Message-ID: <3EE11FD4.5040206@...149...> Rob wrote: [snip] >... equivalent to the and html tags) and EXEC is missing from the >statements by category list.... well, guess there's more work to be done ;) ) > No, you have it, Exec is under Keywords -> Conditional/Flow > >Rob > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From sourceforge-raindog2 at ...94... Fri Jun 6 22:09:38 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 16:09:38 -0400 Subject: [Gambas-user] Exec In-Reply-To: <3EE11B2A.6050200@...149...> References: <3EE0E552.5020404@...137...> <200306061236.23474.sourceforge-raindog2@...94...> <3EE11B2A.6050200@...149...> Message-ID: <200306061609.38224.sourceforge-raindog2@...94...> On Friday 06 June 2003 18:52, Ken Schrock wrote: > Ok, there is a whole section of docs I am missing > Where exactly do you find doc on .Kill ? > Benoit also talked about .Raise and .Watch > Which I also have no reference for Prior to this afternoon, the only place to find out about any component classes' member subs and functions was to look in Component Explorer, in this case under the "gb" component. Now I've got them up on the wiki: http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasIndexByCategory#gb_Core_Classes http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasComponentGbProcess That's what this is all about, getting all the documentation together in one searchable place. Rob From sourceforge-raindog2 at ...94... Fri Jun 6 22:12:59 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 16:12:59 -0400 Subject: [Gambas-user] visual intro to gambas Message-ID: <200306061612.59154.sourceforge-raindog2@...94...> I spent a little time making some imagemaps and I think I've put together the beginnings of a nice "what are all these windows and stuff" page. Haven't gotten started describing all the elements of the main window yet, just the Gambas startup dialog. See what you think: http://www.binara.com/gambas-wiki/bin/view/Gambas/VisualIntroductionToGambas Rob From kschrock at ...149... Sat Jun 7 01:37:52 2003 From: kschrock at ...149... (Ken Schrock) Date: Fri, 06 Jun 2003 16:37:52 -0700 Subject: [Gambas-user] Exec References: <3EE0E552.5020404@...137...> <200306061236.23474.sourceforge-raindog2@...94...> <3EE11B2A.6050200@...149...> <200306061609.38224.sourceforge-raindog2@...94...> Message-ID: <3EE125D0.5000304@...149...> Whew, you had me worried there for a minute It wasn't there when I looked earlier, before I wrote the note Then just a few minutes ago I looked and at least .Kill was there I thought I was having a rainbow flashback : -) Rob wrote: >On Friday 06 June 2003 18:52, Ken Schrock wrote: > > >>Ok, there is a whole section of docs I am missing >>Where exactly do you find doc on .Kill ? >>Benoit also talked about .Raise and .Watch >>Which I also have no reference for >> >> >Prior to this afternoon, the only place to find out about any component >classes' member subs and functions was to look in Component Explorer, in this >case under the "gb" component. Now I've got them up on the wiki: > >http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasIndexByCategory#gb_Core_Classes > >http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasComponentGbProcess > >That's what this is all about, getting all the documentation together in one >searchable place. > >Rob > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.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 kschrock at ...149... Sat Jun 7 01:42:37 2003 From: kschrock at ...149... (Ken Schrock) Date: Fri, 06 Jun 2003 16:42:37 -0700 Subject: [Gambas-user] visual intro to gambas References: <200306061612.59154.sourceforge-raindog2@...94...> Message-ID: <3EE126ED.1060602@...149...> My, if you're always this productive I want to buy some stock in your company Rob wrote: >I spent a little time making some imagemaps and I think I've put together the >beginnings of a nice "what are all these windows and stuff" page. Haven't >gotten started describing all the elements of the main window yet, just the >Gambas startup dialog. See what you think: > >http://www.binara.com/gambas-wiki/bin/view/Gambas/VisualIntroductionToGambas > >Rob > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From sourceforge-raindog2 at ...94... Fri Jun 6 22:40:51 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 16:40:51 -0400 Subject: [Gambas-user] visual intro to gambas In-Reply-To: <3EE126ED.1060602@...149...> References: <200306061612.59154.sourceforge-raindog2@...94...> <3EE126ED.1060602@...149...> Message-ID: <200306061640.51394.sourceforge-raindog2@...94...> On Friday 06 June 2003 19:42, Ken Schrock wrote: > My, if you're always this productive > I want to buy some stock in your company I'm actually sick today, but when I get feverish I get compulsive ;) Rob From karl.reinl at ...9... Sat Jun 7 00:16:39 2003 From: karl.reinl at ...9... (Charlie) Date: Sat, 07 Jun 2003 00:16:39 +0200 Subject: [Gambas-user] visual intro to gambas References: <200306061612.59154.sourceforge-raindog2@...94...> <3EE126ED.1060602@...149...> Message-ID: <3EE112C7.4050903@...9...> Ken Schrock schrieb: > My, if you're always this productive > I want to buy some stock in your company > > Rob wrote: > >> I spent a little time making some imagemaps and I think I've put >> together the beginnings of a nice "what are all these windows and >> stuff" page. Haven't gotten started describing all the elements of >> the main window yet, just the Gambas startup dialog. See what you >> think: >> >> http://www.binara.com/gambas-wiki/bin/view/Gambas/VisualIntroductionToGambas >> >> >> Rob >> Best demonstration what man and maschine can fit up in short time. Concratulation Rob, that is a real good done job, using all tools possible to get it out quickly. And thanks Charlie PS: uff, i'm impressed From sourceforge-raindog2 at ...94... Sat Jun 7 01:13:51 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Jun 2003 19:13:51 -0400 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306060003.56446.gambas@...2...> References: <3EDD148A.7000802@...137...> <200306050022.56645.sourceforge-raindog2@...94...> <200306060003.56446.gambas@...2...> Message-ID: <200306061913.51694.sourceforge-raindog2@...94...> Oh yeah, I missed this one... On Thursday 05 June 2003 18:03, Benoit Minisini wrote: > > I can't figure out how to subclass TextLabel and add my own events, not > > that I think it'd be possible in the first place to find out what word > > you just clicked on, so I'm rolling my own using a Scrollview and lots of > You will have a TextBrowser widget in the next version. It is like a > TextLabel with scrollbars, link management, and browsing capabilities. Yep, I've used Qt's TextBrowser in perl and c++. Thank you very much! Guess I'll put off the help browser for a version ;) Rob From gambas at ...2... Sat Jun 7 11:23:25 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 7 Jun 2003 11:23:25 +0200 Subject: [Gambas-user] Gambas help files In-Reply-To: <3EE11B3E.7030605@...149...> References: <3EDD148A.7000802@...137...> <200306061239.14964.sourceforge-raindog2@...94...> <3EE11B3E.7030605@...149...> Message-ID: <200306071123.25887.gambas@...2...> Le Samedi 7 Juin 2003 00:52, Ken Schrock a ?crit : > Rob wrote: > >On Friday 06 June 2003 00:59, Ken Schrock wrote: > >>Impressive from every angle, particularly speed completed > >>What other chunks do you currenly envision, if any? > > > >The "How do I...." is a big missing part, and a lot of that can be filled > > in short term by linking to theeasygambasdoku (which I'll start working > > on today or over the weekend.) I think maybe making tutorials out of one > > of the example apps might be a good thing too. > > > >But anything that anyone wants to add is as simple as hitting the edit > > link, adding a link to a page that doesn't exist and then clicking on > > that link when you're done editing.... don't be too afraid of messing up > > because all the revisions are tracked in RCS (as with most wikis.) > > I don't know if you noticed > But there is considerable sentiment here > To "limit" who can contribute to these things > (kind of runs counter to the idea of wiki, but oh well : -) > I think we should not limit access to the gambas wiki, but we must know who has written what. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Jun 7 11:28:17 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 7 Jun 2003 11:28:17 +0200 Subject: [Gambas-user] another reason I love Gambas In-Reply-To: <200306061335.16415.sourceforge-raindog2@...94...> References: <200306061335.16415.sourceforge-raindog2@...94...> Message-ID: <200306071128.17258.gambas@...2...> Le Vendredi 6 Juin 2003 19:35, Rob a ?crit : > I just added all the documentation for all of the component class members > to the wiki in about 10 minutes by hacking the Gambas IDE source to do most > of the work for me ;) > > In the FExplorer class I added > > PUBLIC avc AS File > > to the beginning and > > TRY KILL "/tmp/gambasdoc/" & aKey[1] & "." & akey[2] & ".txt" > TRY OPEN "/tmp/gambasdoc/" & aKey[1] & "." & akey[2] & ".txt" FOR CREATE AS > #avc > TRY PRINT #avc, " BGCOLOR=#C0C0C0 WIDTH=100%>
" & sTitle & "

" & > sDesc > TRY CLOSE #avc > > to the end of the RefreshInfo sub in that class. Then I hit F5, loaded a > random project I had laying around, hit F2, and cursored through the entire > list of component classes while it dumped HTML files for each class member > to a directory in /tmp. I paused after each component to move them into a > subdirectory and when I was done, ran the following Perl script to > integrate them with the class documentation I'd already extracted and > wikify the lot (I would have used Gambas again but I don't know how to do > regular expressions in Gambas ;) ): Why not making a gambas perl regular expression component ? :-) > > #!/usr/bin/perl > for $f (`find`) { > next if $f =~ m|/children/|; > next if $f =~ m|/classes/|; > next unless $f =~ /\.txt$/; > chomp $f; > $g = `cat $f`; > $basename = $f; > $basename =~ s/.txt$//; > > # convert filenames to wiki words > $f =~ s/\//-/g; > $f =~ s/^\.-//; > $f =~ s/\[\]/Array/; > $f =~ s/^gb-/GambasComponentGb/; > $f =~ s/^gb.eval-/GambasComponentEval/; > $f =~ s/^gb.db-/GambasComponentDb/; > $f =~ s/^gb.qt-/GambasComponentQt/; > $f =~ s/^gb.qt.ext-/GambasComponentQtExt/; > $f =~ s/^gb.qt.kde-/GambasComponentQtKde/; > $f =~ s/^gb.qt.editor-/GambasComponentQtEditor/; > $f =~ s/\.//g; > $f =~ s/txt$/.txt/; > > # convert HTML content to wiki text > $g .= `cat children/$basename* 2>/dev/null`; > $g =~ s/\s*(.+?)\s*<\/i>/ _$1\_ /gi; > $g =~ s/\s*(.+?)\s*<\/b>/ \*$1\* /gi; > $g =~ s/

\s*(.+?)\s*<\/h1>/\n---+$1/is; > $g =~ s/

\s*(.+?)\s*<\/h1>/\n---++$1/gis; > $g =~ s/

\s*(.+?)\s*<\/h2>/\n---++$1/gsi; > $g =~ s/
/\n/gsi; > $g =~ s|/usr/lib/control|/gambas-wiki/images|gis; > $g =~ s||\n * |gis; > $g =~ s/<\/?table.*?>/\n/gis; > $g =~ s/<\/?font.*?>//gis; > $g =~ s/<\/?tr.*?>/\n/gis; > $g =~ s/<\/?td.*?>/\n/gis; > $g =~ s//\n\n/gis; > $g =~ s/

\n/\n/gis; > $g =~ s/

\s*(.+?)\s*<\/h3>/\n---+++$1/gi; > $g =~ s/\n\n+/\n\n/gis; > $g =~ s/^\n+//gis; > $g =~ s/<\/h3>//gis; > > open OUT, ">fixed/$f"; > print OUT $g; > close OUT; > print "$f\n"; > } > > And finally I scp'ed the whole thing up to the wiki. So now we have a > searchable, easily updated reference to all the component class members in > the same format as the rest of the language. > > Try doing that in VB! > > Rob > Now I understand why I didn't see the symbol help in the wiki... -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Jun 7 11:47:39 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 7 Jun 2003 11:47:39 +0200 Subject: [Gambas-user] visual intro to gambas In-Reply-To: <200306061612.59154.sourceforge-raindog2@...94...> References: <200306061612.59154.sourceforge-raindog2@...94...> Message-ID: <200306071147.39119.gambas@...2...> Le Vendredi 6 Juin 2003 22:12, Rob a ?crit : > I spent a little time making some imagemaps and I think I've put together > the beginnings of a nice "what are all these windows and stuff" page. > Haven't gotten started describing all the elements of the main window yet, > just the Gambas startup dialog. See what you think: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/VisualIntroductionToGamba >s > > Rob > Your job made me very impressed and happy :-) Is it possible to change the page header and footer ? (this yellow background is...hum) Is is possible to modify your filter so that: - Symbols descriptions are their own pages - OR all symbols of a class are on one page, but there is an index on the top of the page. Is it possible to mark all pages generated by your filter, so that everybody knows that this page should not be modified ? OR to change your filter, so that it keeps modifications made by other users ? Maybe it is impossible... I will add a link on the web site as soon as possible. Thanks, it is a great job :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Jun 7 11:50:19 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 7 Jun 2003 11:50:19 +0200 Subject: [Gambas-user] visual intro to gambas In-Reply-To: <200306061612.59154.sourceforge-raindog2@...94...> References: <200306061612.59154.sourceforge-raindog2@...94...> Message-ID: <200306071150.19765.gambas@...2...> Le Vendredi 6 Juin 2003 22:12, Rob a ?crit : > I spent a little time making some imagemaps and I think I've put together > the beginnings of a nice "what are all these windows and stuff" page. > Haven't gotten started describing all the elements of the main window yet, > just the Gambas startup dialog. See what you think: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/VisualIntroductionToGamba >s > > Rob > > Another remark, Rob, You shoud not remove the point from the virtual class names in the index, like ".ComboBoxItem", because this point shows that this class is not a real class. Maybe you could add a symbol too, so that these virtual classes are more visible. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Jun 7 14:40:58 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 7 Jun 2003 14:40:58 +0200 Subject: [Gambas-user] new pre-version of gambas Message-ID: <200306071440.58765.gambas@...2...> Hello Suse 8.2, RedHat and Gentoo users, I have made a new pre-version of gambas here: http://gambas.sourceforge.net/gambas-0.58pre2.tar.gz Could you download it and compile it ? It should compile, the IDE should run, and should crash if you try to create a project using the KDE component. Tell me if I'm right or wrong, Regards, -- Benoit Minisini mailto:gambas at ...1... From schrockk at ...137... Sat Jun 7 16:19:32 2003 From: schrockk at ...137... (Ken Schrock) Date: Sat, 7 Jun 2003 10:19:32 -0400 Subject: [Gambas-user] docs Message-ID: <200306071019.32227.schrockk@...137...> Rob I think you are right about not being able to retrofit version change info now It would probably be impossible to do NEW for VER .xx or VER .xx CHNG now However, I think these docs need to be marked version 0.57 And some method is needed to track version changes in the future Because 0.53 -> 0.57 seems pretty major and breaks things (my 0.53 can't run many of your 0.57 example things) And packages, particularly binary ones, live forever Have you done a browser check on this? Some of the fonts on some of the pages Are really HUGE in some browsers I see a lot of things like _Example_ that seem odd Were the underscores intentional or conversion errors? How about the VB DIFF icon at the top of the page idea? Would you like me to do anything, and if so what? -- Using Lindows From Gambasfr at ...11... Sat Jun 7 17:34:42 2003 From: Gambasfr at ...11... (Gamby) Date: Sat, 7 Jun 2003 17:34:42 +0200 Subject: [Gambas-user] visual intro to gambas In-Reply-To: <200306071150.19765.gambas@...2...> References: <200306061612.59154.sourceforge-raindog2@...94...> <200306071150.19765.gambas@...2...> Message-ID: <200306071734.42374.Gambasfr@...11...> Le Samedi 7 Juin 2003 11:50, Benoit Minisini a ?crit : > Le Vendredi 6 Juin 2003 22:12, Rob a ?crit : > > I spent a little time making some imagemaps and I think I've put together > > the beginnings of a nice "what are all these windows and stuff" page. > > Haven't gotten started describing all the elements of the main window > > yet, just the Gambas startup dialog. See what you think: > > > > http://www.binara.com/gambas-wiki/bin/view/Gambas/VisualIntroductionToGam > >ba s > > > > Rob > > Another remark, Rob, > > You shoud not remove the point from the virtual class names in the index, > like ".ComboBoxItem", because this point shows that this class is not a > real class. Maybe you could add a symbol too, so that these virtual classes > are more visible. Congratuation.... You've made a good job Rob ! but look a this erro ;) http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasNEW hButton = NEW Button AS "MyButton"
...
PUBLIC PROCEDURE MyButton_Click()

PRINT "My button was clicked !"

END Don't use the
tag under
 one !

 display the text as it is !

Fabien

For the color, maybe see at http://abidoo.too.free.fr or 
http://gambas.family.free.fr in two hours



 

 



From bernard.pre at ...62...  Sat Jun  7 18:31:58 2003
From: bernard.pre at ...62... (Bernard PRE)
Date: Sat, 7 Jun 2003 18:31:58 +0200
Subject: [Gambas-user] new pre-version of gambas
In-Reply-To: <200306071440.58765.gambas@...2...>
Message-ID: 

hi,
this vesion dont't compile on redhat 9

qptrlist.h no such file or directory

==> identifier undeclared

Bernard

-----Message d'origine-----
De : gambas-user-admin at lists.sourceforge.net
[mailto:gambas-user-admin at lists.sourceforge.net]De la part de Benoit
Minisini
Envoye : samedi 7 juin 2003 14:41
A : gambas-user at lists.sourceforge.net
Objet : [Gambas-user] new pre-version of gambas


Hello Suse 8.2, RedHat and Gentoo users,

I have made a new pre-version of gambas here:

http://gambas.sourceforge.net/gambas-0.58pre2.tar.gz

Could you download it and compile it ?

It should compile, the IDE should run, and should crash if you try to create
a
project using the KDE component.

Tell me if I'm right or wrong,

Regards,

--
Benoit Minisini
mailto:gambas at ...1...


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user




From cmcpero at ...142...  Sat Jun  7 20:38:12 2003
From: cmcpero at ...142... (Jean-Francois Perreault)
Date: Sat, 07 Jun 2003 14:38:12 -0400
Subject: [Gambas-user] new pre-version of gambas
In-Reply-To: <200306071440.58765.gambas@...2...>
References: <200306071440.58765.gambas@...2...>
Message-ID: <3EE23114.4010606@...142...>

Hi,

It does compile and finish "make install" with no error
but the IDE doesn't start , I get segfault at startup

I included the output of strace

Benoit Minisini wrote:

>Hello Suse 8.2, RedHat and Gentoo users,
>
>I have made a new pre-version of gambas here:
>
>http://gambas.sourceforge.net/gambas-0.58pre2.tar.gz
>
>Could you download it and compile it ?
>
>It should compile, the IDE should run, and should crash if you try to create a 
>project using the KDE component.
>
>Tell me if I'm right or wrong,
>
>Regards,
>
>  
>


-- 
--------------------
Jean-Francois Perreault
NanoTech Informatique

UIN 783056
cmcpero at ...142...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gambas-0.58pre2.nopgsql.strace.gz
Type: application/x-gzip
Size: 3559 bytes
Desc: not available
URL: 

From sourceforge-raindog2 at ...94...  Sat Jun  7 20:41:43 2003
From: sourceforge-raindog2 at ...94... (Rob)
Date: Sat, 7 Jun 2003 14:41:43 -0400
Subject: [Gambas-user] another reason I love Gambas
In-Reply-To: <200306071128.17258.gambas@...2...>
References: <200306061335.16415.sourceforge-raindog2@...94...> <200306071128.17258.gambas@...2...>
Message-ID: <200306071441.43654.sourceforge-raindog2@...94...>

On Saturday 07 June 2003 05:28, Benoit Minisini wrote:
> Why not making a gambas perl regular expression component ? :-)

Unfortunately, I don't know how to do regular expressions in C either ;)

I've done them in Javascript and Tcl (and obviously perl) but that's about it.

Rob




From sourceforge-raindog2 at ...94...  Sat Jun  7 20:53:31 2003
From: sourceforge-raindog2 at ...94... (Rob)
Date: Sat, 7 Jun 2003 14:53:31 -0400
Subject: [Gambas-user] visual intro to gambas
In-Reply-To: <200306071147.39119.gambas@...2...>
References: <200306061612.59154.sourceforge-raindog2@...94...> <200306071147.39119.gambas@...2...>
Message-ID: <200306071453.31395.sourceforge-raindog2@...94...>

On Saturday 07 June 2003 05:47, Benoit Minisini wrote:
> Is it possible to change the page header and footer ? (this yellow
> background is...hum)

Yeah, everything is tweakable via "skins" which are a mix of perl and html.  I 
tend to surf using Galeon's "use my own colors" setting so I never noticed 
before ;)  There are other TWiki defaults that I could do without, like the 
list of webs (my company might add other webs eventually but I would rather 
Gambas had a wiki all to itself to avoid confusing Gambas users) and the 
"Offices" link, but I'd love to hear feedback from other people as to what 
other stylistic changes to make.  I'll start by simply making that yellow 
stuff white.

You can also view any page in printer friendly format by adding ?skin=plain to 
the end (the "printable" link at the bottom doesn't completely get rid of the 
headers and footers.)  I plan to make a set of HTML files for use with the 
help browser I mean to contribute, by navigating the entire web using a Perl 
script and appending ?skin=plain to each URL.  The links between all the 
pages should all still be maintained.

> Is is possible to modify your filter so that:
> - Symbols descriptions are their own pages
> - OR all symbols of a class are on one page, but there is an index on the
> top of the page.

The latter would require one line of changed code.  I'll do that this 
afternoon.  Maybe I should list all the symbols within each class on the 
index by category page as well, though that may not be quite so automated.  
Ultimately I may need to break the index by category page into pages for each 
category but maintain the whole index by means of the Wiki %INCLUDE tag.  
That'll be better for keeping stuff categorized (currently every single 
language related page is linked to by the index by name and index by 
category) but for now I guess I'm still figuring out the structure.

> Is it possible to mark all pages generated by your filter, so that
> everybody knows that this page should not be modified ?
> OR to change your filter, so that it keeps modifications made by other
> users ? Maybe it is impossible...

I can mark those pages such that they're only editable by the administrator 
group (currently that's just me) but I don't know if I can do that without 
having some Set Variablename = Somegroupname thing on every such page.

> I will add a link on the web site as soon as possible.
> Thanks, it is a great job :-)

Glad you like it, hoping it can form the base for a great Gambas doc system ;)

Rob




From sourceforge-raindog2 at ...94...  Sat Jun  7 20:54:12 2003
From: sourceforge-raindog2 at ...94... (Rob)
Date: Sat, 7 Jun 2003 14:54:12 -0400
Subject: [Gambas-user] visual intro to gambas
In-Reply-To: <200306071150.19765.gambas@...2...>
References: <200306061612.59154.sourceforge-raindog2@...94...> <200306071150.19765.gambas@...2...>
Message-ID: <200306071454.12574.sourceforge-raindog2@...94...>

On Saturday 07 June 2003 05:50, Benoit Minisini wrote:
> You shoud not remove the point from the virtual class names in the index,
> like ".ComboBoxItem", because this point shows that this class is not a
> real class. Maybe you could add a symbol too, so that these virtual classes
> are more visible.

Oops, that must have been a typo in one of my scripts.  I'll find the relevant 
classes and fix them.

Rob




From sourceforge-raindog2 at ...94...  Sat Jun  7 21:01:47 2003
From: sourceforge-raindog2 at ...94... (Rob)
Date: Sat, 7 Jun 2003 15:01:47 -0400
Subject: [Gambas-user] docs
In-Reply-To: <200306071019.32227.schrockk@...137...>
References: <200306071019.32227.schrockk@...137...>
Message-ID: <200306071501.47865.sourceforge-raindog2@...94...>

On Saturday 07 June 2003 10:19, Ken Schrock wrote:
> Have you done a browser check on this?
> Some of the fonts on some of the pages
> Are really HUGE in some browsers

Yes, that's a problem with how the wiki handles table tags from the code.  I 
started going through and converting them to Wiki tables last night, made it 
through all of the "Language concepts" pages but I'm sure there are lots more 
where that came from.

Apart from that, to use automatic table of contents generation (on the pages 
with more than one item on them) you need to use the H1/H2/H3 etc. tags and 
it wouldn't surprise me if H1 used quite a large font on some people's 
browsers.  On mine it's like a 20 point font but I'll try to check them out 
on some other browsers.  (I don't really have access to IE here for example 
though.  I guess I could try to run it through Crossover.)

> I see a lot of things like _Example_ that seem odd
> Were the underscores intentional or conversion errors?

Conversion errors.... I didn't realize it at the time, but in the wiki to make 
something italic you need (space)_something_(space) and there were a lot of 
errant HTML tags in there which screwed that up.  I deleted all those with 
some more regular expressions last night but again I'm sure there are more 
examples of that and I'll have to find them manually.  Or anyone who finds 
them can correct them ;)  Though probably not with the component class 
symbols since it seems I'll be generating them from Benoit's documentation 
for the foreseeable future.

> How about the VB DIFF icon at the top of the page idea?
> Would you like me to do anything, and if so what?

Well, that VB DIFF thing will be entirely manual and requires someone with 
expertise in both VB and Gambas, so you're welcome to start doing that.  I'll 
try adding a (name of page)VBDiff link to all the pages at some point (I'll 
post and email you when I have) and you can start clicking on them and 
creating pages for those differences.  Eventually maybe I can turn those 
links to %INCLUDE statements with entries in the table of contents for each 
page.

Rob




From sourceforge-raindog2 at ...94...  Sat Jun  7 21:03:47 2003
From: sourceforge-raindog2 at ...94... (Rob)
Date: Sat, 7 Jun 2003 15:03:47 -0400
Subject: [Gambas-user] visual intro to gambas
In-Reply-To: <200306071734.42374.Gambasfr@...11...>
References: <200306061612.59154.sourceforge-raindog2@...94...> <200306071150.19765.gambas@...2...> <200306071734.42374.Gambasfr@...11...>
Message-ID: <200306071503.47314.sourceforge-raindog2@...94...>

On Saturday 07 June 2003 11:34, Gamby wrote:
> 
PUBLIC PROCEDURE MyButton_Click()

PRINT "My button was clicked > !"

END > Don't use the
tag under
 one !
> 
 display the text as it is !

I'm actually using the wiki  tag for code examples, and I should 
have converted all 
's between tags to linefeeds. I'll try and put something together to do that today. > For the color, maybe see at http://abidoo.too.free.fr or > http://gambas.family.free.fr in two hours Thanks, I'll take a look :) I have errands to do this afternoon so I may not get to all these changes, but I mean to at least get started. Rob From sourceforge-raindog2 at ...94... Sat Jun 7 21:08:04 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 7 Jun 2003 15:08:04 -0400 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: References: Message-ID: <200306071508.04224.sourceforge-raindog2@...94...> On Saturday 07 June 2003 12:31, Bernard PRE wrote: > this vesion dont't compile on redhat 9 > qptrlist.h no such file or directory > ==> identifier undeclared Do you have the qt3-devel (or equivalent) package installed? I think rpm -q --whatprovides qt3-devel should tell you. (Unless Redhat has just named it qt-devel in which case remove the 3.) Rob From girardhenri at ...67... Sat Jun 7 22:04:00 2003 From: girardhenri at ...67... (HG) Date: Sat, 7 Jun 2003 22:04:00 +0200 Subject: [Gambas-user] new pre-version of gambas References: <200306071508.04224.sourceforge-raindog2@...94...> Message-ID: I got the same problem on RH 9 I test if qt3 and I got qt 3.1.1... In fact there is a in moc_qeditor.cpp:16: qeditor.h:318: syntax error before '*' token HG ----- Original Message ----- From: "Rob" To: Sent: Saturday, June 07, 2003 9:08 PM Subject: Re: [Gambas-user] new pre-version of gambas On Saturday 07 June 2003 12:31, Bernard PRE wrote: > this vesion dont't compile on redhat 9 > qptrlist.h no such file or directory > ==> identifier undeclared Do you have the qt3-devel (or equivalent) package installed? I think rpm -q --whatprovides qt3-devel should tell you. (Unless Redhat has just named it qt-devel in which case remove the 3.) Rob ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From Gambasfr at ...11... Sat Jun 7 22:10:51 2003 From: Gambasfr at ...11... (Gamby) Date: Sat, 7 Jun 2003 22:10:51 +0200 Subject: [Gambas-user] another reason I love Gambas In-Reply-To: <200306071441.43654.sourceforge-raindog2@...94...> References: <200306061335.16415.sourceforge-raindog2@...94...> <200306071128.17258.gambas@...2...> <200306071441.43654.sourceforge-raindog2@...94...> Message-ID: <200306072210.51674.Gambasfr@...11...> Le Samedi 7 Juin 2003 20:41, Rob a ?crit : > On Saturday 07 June 2003 05:28, Benoit Minisini wrote: > > Why not making a gambas perl regular expression component ? :-) > > Unfortunately, I don't know how to do regular expressions in C either ;) > > I've done them in Javascript and Tcl (and obviously perl) but that's about > it. > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user think it's possible to implement the qt one, ... in the qt.ext, but it will be better if the component is free of qt or gtk. Fabien Maybe we can found some exemple in php source no? From kschrock at ...149... Sun Jun 8 03:38:21 2003 From: kschrock at ...149... (Ken Schrock) Date: Sat, 07 Jun 2003 18:38:21 -0700 Subject: [Gambas-user] docs References: <200306071019.32227.schrockk@...137...> <200306071501.47865.sourceforge-raindog2@...94...> Message-ID: <3EE2938D.4080506@...149...> Rob wrote: [snip] >Well, that VB DIFF thing will be entirely manual and requires someone with >expertise in both VB and Gambas, so you're welcome to start doing that. I'll >try adding a (name of page)VBDiff link to all the pages at some point (I'll >post and email you when I have) and you can start clicking on them and >creating pages for those differences. Eventually maybe I can turn those >links to %INCLUDE statements with entries in the table of contents for each >page. > I haven't used VB for years (VB 4 was the last I had) so not much help there But no reason I couldn't add flags and explanations as others suggest them Is a graphic\icon\flag possible on wiki and allowed\acceptable\liked or not? Candidates: !vb1 !vb2 ivb3 ivb4 >Rob > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.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: -------------- next part -------------- A non-text attachment was scrubbed... Name: !vb1.jpg Type: image/jpeg Size: 876 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: !vb2.jpg Type: image/jpeg Size: 704 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: !vb3.jpg Type: image/jpeg Size: 894 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: !vb4.jpg Type: image/jpeg Size: 1425 bytes Desc: not available URL: From Gambasfr at ...11... Sun Jun 8 01:45:13 2003 From: Gambasfr at ...11... (Gamby) Date: Sun, 8 Jun 2003 01:45:13 +0200 Subject: [Gambas-user] docs In-Reply-To: <3EE2938D.4080506@...149...> References: <200306071019.32227.schrockk@...137...> <200306071501.47865.sourceforge-raindog2@...94...> <3EE2938D.4080506@...149...> Message-ID: <200306080145.13317.Gambasfr@...11...> Le Dimanche 8 Juin 2003 03:38, Ken Schrock a ?crit : > Rob wrote: > > [snip] > > >Well, that VB DIFF thing will be entirely manual and requires someone with > >expertise in both VB and Gambas, so you're welcome to start doing that. > > I'll try adding a (name of page)VBDiff link to all the pages at some > > point (I'll post and email you when I have) and you can start clicking on > > them and creating pages for those differences. Eventually maybe I can > > turn those links to %INCLUDE statements with entries in the table of > > contents for each page. > > I haven't used VB for years (VB 4 was the last I had) so not much help > there But no reason I couldn't add flags and explanations as others suggest > them Is a graphic\icon\flag possible on wiki and allowed\acceptable\liked > or not? > > Candidates: > !vb1 !vb2 ivb3 ivb4 > > >Rob > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Etnus, makers of TotalView, The best > >thread debugger on the planet. Designed with thread debugging features > >you've never dreamed of, try TotalView 6 free at www.etnus.com. > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user Hi And now there is vb6 an vb.net vb.net is really diff?rent than vb6. Gambas like a vb6 but have a synthaxe who look like the vb.net one for the class d?claration. In fact there is not lot actually lot of people who really know vb.net. I'm an ex vb4 an vb6 programmer, there is not great diff?rence betwin this too linguages. Fabien From kschrock at ...149... Sun Jun 8 06:17:12 2003 From: kschrock at ...149... (Ken Schrock) Date: Sat, 07 Jun 2003 21:17:12 -0700 Subject: [Gambas-user] docs References: <200306071019.32227.schrockk@...137...> <200306071501.47865.sourceforge-raindog2@...94...> <3EE2938D.4080506@...149...> <200306080145.13317.Gambasfr@...11...> Message-ID: <3EE2B8C8.3020604@...149...> Is there a simple function, method, etc. doc still? (There use to be a text file with it) Gamby wrote: >Le Dimanche 8 Juin 2003 03:38, Ken Schrock a ?crit : > > >>Rob wrote: >> >>[snip] >> >>>Well, that VB DIFF thing will be entirely manual and requires someone with >>>expertise in both VB and Gambas, so you're welcome to start doing that. >>>I'll try adding a (name of page)VBDiff link to all the pages at some >>>point (I'll post and email you when I have) and you can start clicking on >>>them and creating pages for those differences. Eventually maybe I can >>>turn those links to %INCLUDE statements with entries in the table of >>>contents for each page. >>> >>> >>I haven't used VB for years (VB 4 was the last I had) so not much help >>there But no reason I couldn't add flags and explanations as others suggest >>them Is a graphic\icon\flag possible on wiki and allowed\acceptable\liked >>or not? >> >>Candidates: >> !vb1 !vb2 ivb3 ivb4 >> >>>Rob >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: Etnus, makers of TotalView, The best >>>thread debugger on the planet. Designed with thread debugging features >>>you've never dreamed of, try TotalView 6 free at www.etnus.com. >>>_______________________________________________ >>>Gambas-user mailing list >>>Gambas-user at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> > >Hi >And now there is vb6 an vb.net >vb.net is really diff?rent than vb6. Gambas like a vb6 but have a synthaxe who >look like the vb.net one for the class d?claration. >In fact there is not lot actually lot of people who really know vb.net. >I'm an ex vb4 an vb6 programmer, there is not great diff?rence betwin this too >linguages. > >Fabien > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.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 sourceforge-raindog2 at ...94... Sun Jun 8 04:59:47 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 7 Jun 2003 22:59:47 -0400 Subject: [Gambas-user] docs In-Reply-To: <3EE2B8C8.3020604@...149...> References: <200306071019.32227.schrockk@...137...> <200306080145.13317.Gambasfr@...11...> <3EE2B8C8.3020604@...149...> Message-ID: <200306072259.47004.sourceforge-raindog2@...94...> On Sunday 08 June 2003 00:17, Ken Schrock wrote: > Is there a simple function, method, etc. doc still? > (There use to be a text file with it) Last time I used VB6, you had to pretty much install MSDN to get the VB docs and access them a page at a time through the MSDN browser. Then it always seemed that some random piece of documentation (for the database components, for example) would have never been installed and it'd be a huge pain in the butt to add it without reinstalling VB and/or MSDN. I kinda hated it and wanted to make something a little less retarded. Ultimately, I'd like to see a localized, automatically cleaned up snapshot of the wiki with full text and comcept/keyword search capabilities to be the underlying data for whatever help browser program we come up with. Something similar to but far more flexible and less annoying than the win98/NT4 help browser, maybe. (You know, the one with the three tabs.... display all concepts alphabetically, search for keywords, and full text search.) Rob From sourceforge-raindog2 at ...94... Sun Jun 8 04:53:05 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 7 Jun 2003 22:53:05 -0400 Subject: [Gambas-user] docs In-Reply-To: <3EE2938D.4080506@...149...> References: <200306071019.32227.schrockk@...137...> <200306071501.47865.sourceforge-raindog2@...94...> <3EE2938D.4080506@...149...> Message-ID: <200306072253.05014.sourceforge-raindog2@...94...> On Saturday 07 June 2003 21:38, Ken Schrock wrote: > I haven't used VB for years (VB 4 was the last I had) so not much help > there But no reason I couldn't add flags and explanations as others suggest > them Is a graphic\icon\flag possible on wiki and allowed\acceptable\liked > or not? > Candidates: > !vb1 !vb2 ivb3 ivb4 Well, there's no reason you can't upload a "differences from VB" icon (I'd suggest creating a "Gambas for VB users" page and the first time you view it, hit the "Attach" link at the bottom and upload a simple graphic) but I'd be careful about codifying too much VB version-specific stuff. I think rather than being an exhaustive "every possible difference from every VB version" we would just want something like what I did here: http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasSHELL Instead of ( VB Diff ) at the end of the first line we'd want whatever icon we come up with. Rob From sourceforge-raindog2 at ...94... Sun Jun 8 07:19:15 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 8 Jun 2003 01:19:15 -0400 Subject: [Gambas-user] docs In-Reply-To: <200306072253.05014.sourceforge-raindog2@...94...> References: <200306071019.32227.schrockk@...137...> <3EE2938D.4080506@...149...> <200306072253.05014.sourceforge-raindog2@...94...> Message-ID: <200306080119.15684.sourceforge-raindog2@...94...> On Saturday 07 June 2003 22:53, Rob wrote: > On Saturday 07 June 2003 21:38, Ken Schrock wrote: > > !vb1 !vb2 ivb3 ivb4 > Instead of ( VB Diff ) at the end of the first line we'd want whatever icon > we come up with. And then I found the images you'd attached to your email, and picked one. It's out there now (and I created a "VB Differences" page which will automagically list all of these migration notes as we create them.) Rob From kschrock at ...149... Sun Jun 8 13:32:47 2003 From: kschrock at ...149... (Ken Schrock) Date: Sun, 08 Jun 2003 04:32:47 -0700 Subject: [Gambas-user] docs References: <200306071019.32227.schrockk@...137...> <200306071501.47865.sourceforge-raindog2@...94...> <3EE2938D.4080506@...149...> <200306072253.05014.sourceforge-raindog2@...94...> Message-ID: <3EE31EDF.1070804@...149...> I think that is exactly perfect as it is there As far as the "every possible difference" thing goes I think we could rely on the list to give the major places Where VB users trip, and then ask questions or complain To doc the important things, exhaustive isn't necessary Rob wrote: >On Saturday 07 June 2003 21:38, Ken Schrock wrote: > > >>I haven't used VB for years (VB 4 was the last I had) so not much help >>there But no reason I couldn't add flags and explanations as others suggest >>them Is a graphic\icon\flag possible on wiki and allowed\acceptable\liked >>or not? >>Candidates: >> !vb1 !vb2 ivb3 ivb4 >> >> > >Well, there's no reason you can't upload a "differences from VB" icon (I'd >suggest creating a "Gambas for VB users" page and the first time you view it, >hit the "Attach" link at the bottom and upload a simple graphic) but I'd be >careful about codifying too much VB version-specific stuff. I think rather >than being an exhaustive "every possible difference from every VB version" we >would just want something like what I did here: > >http://www.binara.com/gambas-wiki/bin/view/Gambas/GambasSHELL > >Instead of ( VB Diff ) at the end of the first line we'd want whatever icon we >come up with. > >Rob > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.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 kschrock at ...149... Sun Jun 8 13:44:36 2003 From: kschrock at ...149... (Ken Schrock) Date: Sun, 08 Jun 2003 04:44:36 -0700 Subject: [Gambas-user] docs References: <200306071019.32227.schrockk@...137...> <200306080145.13317.Gambasfr@...11...> <3EE2B8C8.3020604@...149...> <200306072259.47004.sourceforge-raindog2@...94...> Message-ID: <3EE321A4.10405@...149...> I still use the NT 3.1 beta SDK and Win95 beta SDK docs (when absolutely necessary, not often anymore) As all the later ones were so very ugly But VB, at one time (1.0 to ???) Had two text files, one with Win API declares And one with declares of all the VB functions and methods Would be nice to have something like that here for this But again, I don't know how much VB's changed Rob wrote: >On Sunday 08 June 2003 00:17, Ken Schrock wrote: > > >>Is there a simple function, method, etc. doc still? >>(There use to be a text file with it) >> >> >Last time I used VB6, you had to pretty much install MSDN to get the VB docs >and access them a page at a time through the MSDN browser. Then it always >seemed that some random piece of documentation (for the database components, >for example) would have never been installed and it'd be a huge pain in the >butt to add it without reinstalling VB and/or MSDN. I kinda hated it and >wanted to make something a little less retarded. > >Ultimately, I'd like to see a localized, automatically cleaned up snapshot of >the wiki with full text and comcept/keyword search capabilities to be the >underlying data for whatever help browser program we come up with. Something >similar to but far more flexible and less annoying than the win98/NT4 help >browser, maybe. (You know, the one with the three tabs.... display all >concepts alphabetically, search for keywords, and full text search.) > >Rob > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.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 gambas at ...2... Sun Jun 8 11:20:30 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 8 Jun 2003 11:20:30 +0200 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <3EE23114.4010606@...142...> References: <200306071440.58765.gambas@...2...> <3EE23114.4010606@...142...> Message-ID: <200306081120.30190.gambas@...2...> Le Samedi 7 Juin 2003 20:38, Jean-Francois Perreault a ?crit : > Hi, > > It does compile and finish "make install" with no error > but the IDE doesn't start , I get segfault at startup > > I included the output of strace > Argh ! :-( I prefer the output of gdb, and the stack backtrace, to know where it crashes. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sat Jun 7 21:55:24 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 7 Jun 2003 15:55:24 -0400 Subject: [Gambas-user] Gambas help files In-Reply-To: <200306071123.25887.gambas@...2...> References: <3EDD148A.7000802@...137...> <3EE11B3E.7030605@...149...> <200306071123.25887.gambas@...2...> Message-ID: <200306071555.24494.sourceforge-raindog2@...94...> On Saturday 07 June 2003 05:23, Benoit Minisini wrote: > I think we should not limit access to the gambas wiki, but we must know who > has written what. I agree. To that end I've set up the wiki so that it can manage users and passwords directly. I put a link to register for a username/password on the front page, and from that page you can change or reset your password as well. Please let me know if anyone has troubles with it. Benoit and Jochen, since so much of the wiki depends upon your existing documentation please let me know if you'd like me to add you to the admin group after you've set yourself up accounts. Rob From karl.reinl at ...9... Sun Jun 8 12:57:17 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 08 Jun 2003 12:57:17 +0200 Subject: [Gambas-user] How about Mandrake 9, x86 or PPC, SuSe 7.3, Yellow Dog (3.x I think) References: <3EE23A88.6000207@...137...> <200306071506.53244.sourceforge-raindog2@...94...> <3EE28E44.3050602@...137...> Message-ID: <3EE3168D.8040501@...9...> Ken Schrock schrieb: > Rob wrote: > >>On Saturday 07 June 2003 15:18, Ken Schrock wrote: >> >> >>>I also have Mandrake version 8.2 on this machine >>>Will the 0.57 source compile ok there? >>> >>> >>I think Gambas might require Qt 3 and I think 8.2 was still back on Qt 2.1. >> > How about Mandrake 9, x86 or PPC, SuSe 7.3, Yellow Dog (3.x I think) > I also have a new version of Lycoris but couldn't get it installed on > anything > Salut Ken, for SuSe 7.3 it should work, I ran a full updated ( at 01/30/2003) SuSE 7.2 with KDE 2.2.2 and qt-3.0.5 (downloaded from trolltech and installed like they say ) And gambas-0.57 comp. without KDE (need 3 or > ) and without pgsql (is not installed) I had a try with qt-3.1.2 but gambas compilation failed, I think that failer commes from the 2.95.3 gcc. With qt-3.1.2 on a SuSE 8.0 I had the same failer , using also 2.95.3 of gcc. I din't find a gcc > 3.0.2 for SuSE 7.2 but if I remember well I saw it for 7.3 at gcc site. amicalement Charlie From kschrock at ...149... Sun Jun 8 20:18:58 2003 From: kschrock at ...149... (Ken Schrock) Date: Sun, 08 Jun 2003 11:18:58 -0700 Subject: [Gambas-user] How about Mandrake 9, x86 or PPC, SuSe 7.3, Yellow Dog (3.x I think) References: <3EE23A88.6000207@...137...> <200306071506.53244.sourceforge-raindog2@...94...> <3EE28E44.3050602@...137...> <3EE3168D.8040501@...9...> Message-ID: <3EE37E12.20900@...149...> Charlie wrote: > Salut Ken, > > for SuSe 7.3 it should work, > I ran a full updated ( at 01/30/2003) SuSE 7.2 with KDE 2.2.2 and > qt-3.0.5 (downloaded from trolltech and installed like they say ) > > And gambas-0.57 comp. without KDE (need 3 or > ) and without pgsql (is > not installed) > > I had a try with qt-3.1.2 but gambas compilation failed, I think that > failer commes from the 2.95.3 gcc. > With qt-3.1.2 on a SuSE 8.0 I had the same failer , using also 2.95.3 > of gcc. > > I din't find a gcc > 3.0.2 for SuSE 7.2 but if I remember well I saw > it for 7.3 at gcc site. SuSe 7.3 wouldn't boot on here as both hda2 and hdb2 are above the 8 gig line I will install it on the notebook and try things out there Thanks > amicalement > Charlie > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The best > thread debugger on the planet. Designed with thread debugging features > you've never dreamed of, try TotalView 6 free at www.etnus.com. > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From karl.reinl at ...9... Sun Jun 8 21:35:38 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 08 Jun 2003 21:35:38 +0200 Subject: [Gambas-user] Problems with the IDE Message-ID: <3EE3900A.1080604@...9...> Salut Benoit, 1. I work with 2 Screens and allways if I hade worked last with second screen. Start next time working on the first the debug window is on his right place, but closing this The Pos for FDebug in .gambas =-4,-20 From now on I have still access to the buttons , but moving it I have to use right-click/move. But for easier work I think it will be nice not to store Window Pos less then 0. 2. The IDE crash without any Message, if you copy componente to second Project, where the lib is not used. 3. If accedently you have deleted the NAME of an component, the project, will not run with F5, but don'T say anything about that. 4. Sometimes the IDE crash after choosing a project ( in open a ..) 5. a attached you a File in which I close all open windows from the IDE, I find this very usefull after a long debuging or search . I close all windows, let the AktiveForm open would be better. amicalement Charlie Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: caw Type: application/x-java-vm Size: 527 bytes Desc: not available URL: From bsnipes at ...21... Mon Jun 9 00:05:50 2003 From: bsnipes at ...21... (Brian Snipes) Date: 08 Jun 2003 17:05:50 -0500 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <200306071440.58765.gambas@...2...> References: <200306071440.58765.gambas@...2...> Message-ID: <1055109950.3392.2.camel@...73...> Installs and runs perfectly on Gentoo (with current QT, KDE, MySQL and PostgreSQL). Any chance of getting the Gentoo paths for KDE libraries and includes added to the configure script? My paths are: /usr/kde/3.1/lib /usr/kde/3.1/include Brian On Sat, 2003-06-07 at 07:40, Benoit Minisini wrote: > Hello Suse 8.2, RedHat and Gentoo users, > > I have made a new pre-version of gambas here: > > http://gambas.sourceforge.net/gambas-0.58pre2.tar.gz > > Could you download it and compile it ? > > It should compile, the IDE should run, and should crash if you try to create a > project using the KDE component. > > Tell me if I'm right or wrong, > > Regards, From gambas at ...2... Mon Jun 9 09:59:23 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 09:59:23 +0200 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <1055109950.3392.2.camel@...73...> References: <200306071440.58765.gambas@...2...> <1055109950.3392.2.camel@...73...> Message-ID: <200306090959.23976.gambas@...2...> Le Lundi 9 Juin 2003 00:05, Brian Snipes a ?crit : > Installs and runs perfectly on Gentoo (with current QT, KDE, MySQL and > PostgreSQL). Wow ! Great news :-) But why does it not work for Jean-Fran?ois ?? > Any chance of getting the Gentoo paths for KDE libraries and includes > added to the configure script? My paths are: > /usr/kde/3.1/lib > /usr/kde/3.1/include I think I will use kde-config to deal with KDE paths, because there are too many differences between distributions. > > Brian > -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon Jun 9 10:05:53 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 10:05:53 +0200 Subject: [Gambas-user] Problems with the IDE In-Reply-To: <3EE3900A.1080604@...9...> References: <3EE3900A.1080604@...9...> Message-ID: <200306091005.53173.gambas@...2...> Le Dimanche 8 Juin 2003 21:35, Charlie a ?crit : > Salut Benoit, > > 1. > I work with 2 Screens > and allways if I hade worked last with second screen. > Start next time working on the first the debug window is on his right > place, but closing this > The Pos for FDebug in .gambas =-4,-20 > > From now on I have still access to the buttons , but moving it I have > to use right-click/move. > > But for easier work I think it will be nice not to store Window Pos less > then 0. Sorry Charlie, I don't really understand what you mean exactly ? But I'm not surprised if they are problems with windows positions, as QT manages them in a very strange manner, if not buggy :-). I had to workaround this management when the window is hidden in gambas sources. > > 2. > The IDE crash without any Message, if you copy componente to second > Project, where the lib is not used. The component management in the IDE is badly designed, and I must redo it. > > 3. > If accedently you have deleted the NAME of an component, the project, > will not run with F5, but don'T say anything about that. What do you mean by that ? > > 4. > Sometimes the IDE crash after choosing a project ( in open a ..) > Is it reproduceable ? > 5. > a attached you a File in which I close all open windows from the IDE, I > find this very usefull after a long debuging or search . You are right, I should do the same thing than VB. > I close all windows, let the AktiveForm open would be better. > > > amicalement > Charlie > > > > Charlie Regards, -- Benoit Minisini mailto:gambas at ...1... From radoslav.dejanovic at ...116... Mon Jun 9 11:11:39 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Mon, 9 Jun 2003 11:11:39 +0200 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <200306071440.58765.gambas@...2...> References: <200306071440.58765.gambas@...2...> Message-ID: <200306091111.39546.radoslav.dejanovic@...116...> On Saturday 07 June 2003 02:40 pm, Benoit Minisini wrote: > It should compile, the IDE should run, and should crash if you try to > create a project using the KDE component. SuSE 8.2 compiles and installs just fine, but when I try to run it, it gives me out an segmentation error... -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From gambas at ...2... Mon Jun 9 12:39:30 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 12:39:30 +0200 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <200306091111.39546.radoslav.dejanovic@...116...> References: <200306071440.58765.gambas@...2...> <200306091111.39546.radoslav.dejanovic@...116...> Message-ID: <200306091239.31067.gambas@...2...> Le Lundi 9 Juin 2003 11:11, Radoslav Dejanovic a ?crit : > On Saturday 07 June 2003 02:40 pm, Benoit Minisini wrote: > > It should compile, the IDE should run, and should crash if you try to > > create a project using the KDE component. > > SuSE 8.2 compiles and installs just fine, but when I try to run it, it > gives me out an segmentation error... Could you tell me where it segfaults ? If you don't know how to do that, see: http://gambas.sourceforge.net/tr-report.html Regards, -- Benoit Minisini mailto:gambas at ...1... From radoslav.dejanovic at ...116... Mon Jun 9 13:16:01 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Mon, 9 Jun 2003 13:16:01 +0200 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <200306091239.31067.gambas@...2...> References: <200306071440.58765.gambas@...2...> <200306091111.39546.radoslav.dejanovic@...116...> <200306091239.31067.gambas@...2...> Message-ID: <200306091316.01928.radoslav.dejanovic@...116...> On Monday 09 June 2003 12:39 pm, Benoit Minisini wrote: > Could you tell me where it segfaults ? funny thing, when I go trough gdb, it gives me this error: ERROR: #45: File or directory does not exist: /opt/gambas/.project If i touch the file, it crashes. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From bsnipes at ...21... Mon Jun 9 13:46:13 2003 From: bsnipes at ...21... (Brian Snipes) Date: 09 Jun 2003 06:46:13 -0500 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <200306090959.23976.gambas@...2...> References: <200306071440.58765.gambas@...2...> <1055109950.3392.2.camel@...73...> <200306090959.23976.gambas@...2...> Message-ID: <1055159173.23640.1.camel@...73...> Any chance that it is the NVidia issue? Doing an 'opengl-update xfree' on Gentoo swaps over to the XFree86 OpenGL libraries. I have to use those still with Gentoo as opposed to the NVidia ones. Brian On Mon, 2003-06-09 at 02:59, Benoit Minisini wrote: > Le Lundi 9 Juin 2003 00:05, Brian Snipes a ?crit : > > Installs and runs perfectly on Gentoo (with current QT, KDE, MySQL and > > PostgreSQL). > > Wow ! Great news :-) > But why does it not work for Jean-Fran?ois ?? > > > Any chance of getting the Gentoo paths for KDE libraries and includes > > added to the configure script? My paths are: > > /usr/kde/3.1/lib > > /usr/kde/3.1/include > > I think I will use kde-config to deal with KDE paths, because there are too > many differences between distributions. > > > > > Brian > > From gambas at ...2... Mon Jun 9 15:23:23 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 15:23:23 +0200 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <200306091316.01928.radoslav.dejanovic@...116...> References: <200306071440.58765.gambas@...2...> <200306091239.31067.gambas@...2...> <200306091316.01928.radoslav.dejanovic@...116...> Message-ID: <200306091523.23581.gambas@...2...> Le Lundi 9 Juin 2003 13:16, Radoslav Dejanovic a ?crit : > On Monday 09 June 2003 12:39 pm, Benoit Minisini wrote: > > Could you tell me where it segfaults ? > > funny thing, when I go trough gdb, it gives me this error: > > ERROR: #45: File or directory does not exist: /opt/gambas/.project > > If i touch the file, it crashes. You should have read the link I sent ! You must go to the directory containing the source of the IDE. -- Benoit Minisini mailto:gambas at ...1... From cmcpero at ...142... Mon Jun 9 16:17:29 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Mon, 09 Jun 2003 10:17:29 -0400 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <1055109950.3392.2.camel@...73...> References: <200306071440.58765.gambas@...2...> <1055109950.3392.2.camel@...73...> Message-ID: <3EE496F9.2060601@...142...> Hi, So I've been the one with a problem all along argg maybe I have some crud in my system I built it 27-4-2003 can you check when you built yours ? I'll try to produce a gdb log but I never used that before (the little C/C++ I know never left books) first I got a gambas is not en executable error so I opened the file , first line refers to gbx -i , I assume this is some kind BASIC interpretor ? so according to the 12 years old gdb man page I run this gdb gbx run -i /opt/gambas/bin/gambas first time it says no file or directory called /root/.project if I just run it says "gbx :too many project files" I created a /root/.project directory not it says /root/.project is not a file rm -r /root/.project gdb gbx run -i /opt/gambas/bin/gambas (gdb) run Starting program: /usr/bin/gbx Syntax error in project file. Cannot preload libraries: Success Program received signal SIGSEGV, Segmentation fault. 0x0805b1c2 in project_analyze (addr=0x807dee8 "$3\027@$3\027@\020", len=0) at project.c:205 205 if (PROJECT_name[0] == 0) (gdb) (I just love how you can paste UNIX text files into mozilla and it just understands , no lost formatting , sweet...) strange thing though , the strace log looked like more stuff was happening I though of other factors maybe it's because I'm using a 2.4.20-gentoo-r5 kernel , what are you using Brian ? Brian Snipes wrote: >Installs and runs perfectly on Gentoo (with current QT, KDE, MySQL and >PostgreSQL). >Any chance of getting the Gentoo paths for KDE libraries and includes >added to the configure script? My paths are: >/usr/kde/3.1/lib >/usr/kde/3.1/include > >Brian > >On Sat, 2003-06-07 at 07:40, Benoit Minisini wrote: > > >>Hello Suse 8.2, RedHat and Gentoo users, >> >>I have made a new pre-version of gambas here: >> >>http://gambas.sourceforge.net/gambas-0.58pre2.tar.gz >> >>Could you download it and compile it ? >> >>It should compile, the IDE should run, and should crash if you try to create a >>project using the KDE component. >> >>Tell me if I'm right or wrong, >> >>Regards, >> >> -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From gambas at ...2... Mon Jun 9 16:41:21 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 16:41:21 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) Message-ID: <200306091641.21967.gambas@...2...> This post concerns: - Gentoo users - SuSE users - RedHat users - Every users using NVidia driver I have uploaded a pre-version of gambas here: http://gambas.sourceforge.net/gambas-0.58pre3.tar.gz This version may solve: - The crash on compilation (everywhere) - The crash on SuSE when running the IDE (maybe) - The crash when using NVidia driver (not sure) - The problem to find KDE paths on Gentoo I'm waiting for your returns now :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon Jun 9 16:46:11 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 16:46:11 +0200 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <3EE496F9.2060601@...142...> References: <200306071440.58765.gambas@...2...> <1055109950.3392.2.camel@...73...> <3EE496F9.2060601@...142...> Message-ID: <200306091646.11358.gambas@...2...> Le Lundi 9 Juin 2003 16:17, Jean-Francois Perreault a ?crit : > Hi, > > So I've been the one with a problem all along argg > maybe I have some crud in my system I built it 27-4-2003 can you check > when you built yours ? > > I'll try to produce a gdb log but I never used that before (the little > C/C++ I know never left books) To know how to produce a backtrace, follow what is written on the website: http://gambas.sourceforge.net/tr-report.html > > first I got a gambas is not en executable error > so I opened the file , first line refers to gbx -i , I assume this is > some kind BASIC interpretor ? Yes, gbx is the gambas interpretor. Regards, -- Benoit Minisini mailto:gambas at ...1... From cmcpero at ...142... Mon Jun 9 17:20:54 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Mon, 09 Jun 2003 11:20:54 -0400 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <200306091641.21967.gambas@...2...> References: <200306091641.21967.gambas@...2...> Message-ID: <3EE4A5D6.2030704@...142...> Hi, (from gambas-58pre2 I ran make uninstall then rm -r /opt/gambas) then for gambas-0.58pre3 ./configure --disable-pgsql-driver ... (no obvious errors) and it found kde libs and kde include during the configure step make ... (no obvious errors) make install ... (no obvious errors) Installing the library help files... Installing the control icons... make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/root/gambas-0.58pre3' make[1]: Leaving directory `/root/gambas-0.58pre3' DJHaCK-3 gambas-0.58pre3 # gambas Segmentation fault DJHaCK-3 gambas-0.58pre3 # gdb gbx GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) run Starting program: /usr/bin/gbx ERROR: #45: File or directory does not exist: /root/gambas-0.58pre3/.project Program exited with code 01. (gdb) quit DJHaCK-3 gambas-0.58pre3 # cd .. DJHaCK-3 root # gdb gbx GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) run Starting program: /usr/bin/gbx Syntax error in project file. Cannot preload libraries: Success Program received signal SIGSEGV, Segmentation fault. 0x0805b1c2 in project_analyze (addr=0x807df68 "", len=0) at project.c:205 205 if (PROJECT_name[0] == 0) (gdb) now from ~/gambas-0.58pre3/app/gambas/ DJHaCK-3 gambas #gdb gbx GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) run Starting program: /usr/bin/gbx Program received signal SIGTRAP, Trace/breakpoint trap. 0x40000b40 in _start () from /lib/ld-linux.so.2 (gdb) bt #0 0x40000b40 in _start () from /lib/ld-linux.so.2 (gdb) do you want ssh access ? you know more what you're doing then me I'm starting to believe it's my systems that are screwed up ! or I am doing something fundamentaly wrong (what is that .project file anyway ?) Benoit Minisini wrote: >This post concerns: >- Gentoo users >- SuSE users >- RedHat users >- Every users using NVidia driver > >I have uploaded a pre-version of gambas here: >http://gambas.sourceforge.net/gambas-0.58pre3.tar.gz > >This version may solve: >- The crash on compilation (everywhere) >- The crash on SuSE when running the IDE (maybe) >- The crash when using NVidia driver (not sure) >- The problem to find KDE paths on Gentoo > >I'm waiting for your returns now :-) > >Regards, > > > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From bernard.pre at ...62... Mon Jun 9 17:37:04 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Mon, 9 Jun 2003 17:37:04 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <200306091641.21967.gambas@...2...> Message-ID: hi Benoit I have a pb when compiling this version on redhat 9 : dcopref.h : No such file or directory Bernard -----Message d'origine----- De : gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]De la part de Benoit Minisini Envoye : lundi 9 juin 2003 16:41 A : gambas-user at lists.sourceforge.net Objet : [Gambas-user] pre-version of gambas (third edition) This post concerns: - Gentoo users - SuSE users - RedHat users - Every users using NVidia driver I have uploaded a pre-version of gambas here: http://gambas.sourceforge.net/gambas-0.58pre3.tar.gz This version may solve: - The crash on compilation (everywhere) - The crash on SuSE when running the IDE (maybe) - The crash when using NVidia driver (not sure) - The problem to find KDE paths on Gentoo I'm waiting for your returns now :-) Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2... Mon Jun 9 19:25:07 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 19:25:07 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: References: Message-ID: <200306091925.07990.gambas@...2...> Le Lundi 9 Juin 2003 17:37, Bernard PRE a ?crit : > hi Benoit > > I have a pb when compiling this version on redhat 9 : > > dcopref.h : No such file or directory > > Bernard > This is a KDE include file. Could you check that ./configure finds the correct location of KDE includes. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon Jun 9 19:28:41 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 19:28:41 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <3EE4A5D6.2030704@...142...> References: <200306091641.21967.gambas@...2...> <3EE4A5D6.2030704@...142...> Message-ID: <200306091928.41700.gambas@...2...> Le Lundi 9 Juin 2003 17:20, Jean-Francois Perreault a ?crit : > Hi, > > (from gambas-58pre2 I ran make uninstall then rm -r /opt/gambas) > > then for gambas-0.58pre3 > > > ./configure --disable-pgsql-driver > ... (no obvious errors) and it found kde libs and kde include during the > configure step > make > ... (no obvious errors) > make install > ... (no obvious errors) > Installing the library help files... > > Installing the control icons... > make[2]: Nothing to be done for `install-data-am'. > make[2]: Leaving directory `/root/gambas-0.58pre3' > make[1]: Leaving directory `/root/gambas-0.58pre3' > DJHaCK-3 gambas-0.58pre3 # gambas > Segmentation fault > DJHaCK-3 gambas-0.58pre3 # gdb gbx > GNU gdb 5.3 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-linux-gnu"... > (gdb) run > Starting program: /usr/bin/gbx > ERROR: #45: File or directory does not exist: > /root/gambas-0.58pre3/.project > > Program exited with code 01. > (gdb) quit > DJHaCK-3 gambas-0.58pre3 # cd .. > DJHaCK-3 root # gdb gbx > GNU gdb 5.3 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-linux-gnu"... > (gdb) run > Starting program: /usr/bin/gbx > Syntax error in project file. > Cannot preload libraries: Success > > Program received signal SIGSEGV, Segmentation fault. > 0x0805b1c2 in project_analyze (addr=0x807df68 "", len=0) at project.c:205 > 205 if (PROJECT_name[0] == 0) > (gdb) > > now from ~/gambas-0.58pre3/app/gambas/ > > DJHaCK-3 gambas #gdb gbx > GNU gdb 5.3 > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i686-pc-linux-gnu"... > (gdb) run > Starting program: /usr/bin/gbx > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x40000b40 in _start () from /lib/ld-linux.so.2 > (gdb) bt > #0 0x40000b40 in _start () from /lib/ld-linux.so.2 > (gdb) > > do you want ssh access ? you know more what you're doing then me You can simply give me a telnet access by sending me your IP address, a non-root account and a password, and by telling me where you store gambas sources. If you can do it now, I will reread my e-mail in one hour. > > I'm starting to believe it's my systems that are screwed up ! > or I am doing something fundamentaly wrong (what is that .project file > anyway ?) .project is a text file describing a gambas project. When you launch gbx without any parameter, it assumes that the current directory is the directory of the gambas project you want to run. -- Benoit Minisini mailto:gambas at ...1... From bernard.pre at ...62... Mon Jun 9 21:03:20 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Mon, 9 Jun 2003 21:03:20 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <200306091925.07990.gambas@...2...> Message-ID: hi I do : ./configure --with-kde-includes /usr/include/kde ans i have the same error This include files(dcopref.h) is located in this directorie Bernard -----Message d'origine----- De : gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]De la part de Benoit Minisini Envoy? : lundi 9 juin 2003 19:25 ? : gambas-user at lists.sourceforge.net Objet : Re: [Gambas-user] pre-version of gambas (third edition) Le Lundi 9 Juin 2003 17:37, Bernard PRE a ?crit : > hi Benoit > > I have a pb when compiling this version on redhat 9 : > > dcopref.h : No such file or directory > > Bernard > This is a KDE include file. Could you check that ./configure finds the correct location of KDE includes. Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From cmcpero at ...142... Mon Jun 9 21:24:34 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Mon, 09 Jun 2003 15:24:34 -0400 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: References: Message-ID: <3EE4DEF2.8040305@...142...> Hi, try ./configure --with-kde-includes=/usr/include/kde also try find / | grep dcopref.h to see if you have multiple copies of that file Bernard PRE wrote: >hi > >I do : >./configure --with-kde-includes /usr/include/kde > >ans i have the same error > >This include files(dcopref.h) is located in this directorie > > >Bernard > > >-----Message d'origine----- >De : gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net]De la part de Benoit >Minisini >Envoy? : lundi 9 juin 2003 19:25 >? : gambas-user at lists.sourceforge.net >Objet : Re: [Gambas-user] pre-version of gambas (third edition) > > >Le Lundi 9 Juin 2003 17:37, Bernard PRE a ?crit : > > >>hi Benoit >> >>I have a pb when compiling this version on redhat 9 : >> >>dcopref.h : No such file or directory >> >>Bernard >> >> >> > >This is a KDE include file. Could you check that ./configure finds the >correct >location of KDE includes. > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From bernard.pre at ...62... Mon Jun 9 21:29:22 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Mon, 9 Jun 2003 21:29:22 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <3EE4DEF2.8040305@...142...> Message-ID: hi ! I do that .. i have only one copy of this file Bernard -----Message d'origine----- De : gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]De la part de Jean-Francois Perreault Envoy? : lundi 9 juin 2003 21:25 ? : gambas-user at lists.sourceforge.net Objet : Re: [Gambas-user] pre-version of gambas (third edition) Hi, try ../configure --with-kde-includes=/usr/include/kde also try find / | grep dcopref.h to see if you have multiple copies of that file Bernard PRE wrote: >hi > >I do : >./configure --with-kde-includes /usr/include/kde > >ans i have the same error > >This include files(dcopref.h) is located in this directorie > > >Bernard > > >-----Message d'origine----- >De : gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net]De la part de Benoit >Minisini >Envoy? : lundi 9 juin 2003 19:25 >? : gambas-user at lists.sourceforge.net >Objet : Re: [Gambas-user] pre-version of gambas (third edition) > > >Le Lundi 9 Juin 2003 17:37, Bernard PRE a ?crit : > > >>hi Benoit >> >>I have a pb when compiling this version on redhat 9 : >> >>dcopref.h : No such file or directory >> >>Bernard >> >> >> > >This is a KDE include file. Could you check that ./configure finds the >correct >location of KDE includes. > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From nikosdion at ...146... Mon Jun 9 21:59:36 2003 From: nikosdion at ...146... (Nikolaos Dionysopoulos) Date: 09 Jun 2003 22:59:36 +0300 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <200306091641.21967.gambas@...2...> References: <200306091641.21967.gambas@...2...> Message-ID: <1055188776.5730.6.camel@...150...> > This post concerns: > - Gentoo users > - SuSE users > - RedHat users > - Every users using NVidia driver > > I have uploaded a pre-version of gambas here: > http://gambas.sourceforge.net/gambas-0.58pre3.tar.gz > > This version may solve: > - The crash on compilation (everywhere) > - The crash on SuSE when running the IDE (maybe) > - The crash when using NVidia driver (not sure) > - The problem to find KDE paths on Gentoo > > I'm waiting for your returns now :-) I am using Mandrake 9.1RC1 with newest NVidia drivers. The compilation works fine (it segfaulted on previous versions), but when I try to launch the IDE or any project, it crashes with a "Segmentation Fault" error. Hope you can fix that NVidia problem in the future :) Regards, -- Nick Dionysopoulos Student of Mechanical Engineering nikosdion-AT-in.gr -- http://www.sledge81.cjb.net From jsrlepage at ...67... Mon Jun 9 22:02:10 2003 From: jsrlepage at ...67... (Renaud Lepage) Date: Mon, 09 Jun 2003 20:02:10 +0000 Subject: [Gambas-user] pre-version of gambas (third edition) Message-ID: 'think i know the problem... you have to call up your form at the boot of the application. presently, the closing of any app i make is a segmentation fault. dunno if i wrote it correctly - pourrais-tu reformuler ?a, beno?t? >From: Nikolaos Dionysopoulos >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] pre-version of gambas (third edition) >Date: 09 Jun 2003 22:59:36 +0300 > > > This post concerns: > > - Gentoo users > > - SuSE users > > - RedHat users > > - Every users using NVidia driver > > > > I have uploaded a pre-version of gambas here: > > http://gambas.sourceforge.net/gambas-0.58pre3.tar.gz > > > > This version may solve: > > - The crash on compilation (everywhere) > > - The crash on SuSE when running the IDE (maybe) > > - The crash when using NVidia driver (not sure) > > - The problem to find KDE paths on Gentoo > > > > I'm waiting for your returns now :-) > >I am using Mandrake 9.1RC1 with newest NVidia drivers. The compilation >works fine (it segfaulted on previous versions), but when I try to >launch the IDE or any project, it crashes with a "Segmentation Fault" >error. > >Hope you can fix that NVidia problem in the future :) > >Regards, >-- >Nick Dionysopoulos >Student of Mechanical Engineering > >nikosdion-AT-in.gr -- http://www.sledge81.cjb.net > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The best >thread debugger on the planet. Designed with thread debugging features >you've never dreamed of, try TotalView 6 free at www.etnus.com. >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://fr.ca.search.msn.com/ From cmcpero at ...142... Mon Jun 9 22:05:25 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Mon, 09 Jun 2003 16:05:25 -0400 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <1055188776.5730.6.camel@...150...> References: <200306091641.21967.gambas@...2...> <1055188776.5730.6.camel@...150...> Message-ID: <3EE4E885.9070201@...142...> try this mkdir ~/.font gbx Nikolaos Dionysopoulos wrote: >>This post concerns: >>- Gentoo users >>- SuSE users >>- RedHat users >>- Every users using NVidia driver >> >>I have uploaded a pre-version of gambas here: >>http://gambas.sourceforge.net/gambas-0.58pre3.tar.gz >> >>This version may solve: >>- The crash on compilation (everywhere) >>- The crash on SuSE when running the IDE (maybe) >>- The crash when using NVidia driver (not sure) >>- The problem to find KDE paths on Gentoo >> >>I'm waiting for your returns now :-) >> >> > >I am using Mandrake 9.1RC1 with newest NVidia drivers. The compilation >works fine (it segfaulted on previous versions), but when I try to >launch the IDE or any project, it crashes with a "Segmentation Fault" >error. > >Hope you can fix that NVidia problem in the future :) > >Regards, > > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From gambas at ...2... Mon Jun 9 22:22:09 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 22:22:09 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: References: Message-ID: <200306092222.09380.gambas@...2...> Le Lundi 9 Juin 2003 21:03, Bernard PRE a ?crit : > hi > > I do : > ./configure --with-kde-includes /usr/include/kde > > ans i have the same error > You must do ./configure --with-kde-includes=/usr/include/kde, with '=' ? Tell me if I'm wrong ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon Jun 9 22:29:02 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 22:29:02 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <1055188776.5730.6.camel@...150...> References: <200306091641.21967.gambas@...2...> <1055188776.5730.6.camel@...150...> Message-ID: <200306092229.02833.gambas@...2...> Le Lundi 9 Juin 2003 21:59, Nikolaos Dionysopoulos a ?crit : > > This post concerns: > > - Gentoo users > > - SuSE users > > - RedHat users > > - Every users using NVidia driver > > > > I have uploaded a pre-version of gambas here: > > http://gambas.sourceforge.net/gambas-0.58pre3.tar.gz > > > > This version may solve: > > - The crash on compilation (everywhere) > > - The crash on SuSE when running the IDE (maybe) > > - The crash when using NVidia driver (not sure) > > - The problem to find KDE paths on Gentoo > > > > I'm waiting for your returns now :-) > > I am using Mandrake 9.1RC1 with newest NVidia drivers. The compilation > works fine (it segfaulted on previous versions), but when I try to > launch the IDE or any project, it crashes with a "Segmentation Fault" > error. > > Hope you can fix that NVidia problem in the future :) > > Regards, Could you (or another NVidia user) let me accessing your Linux box by telnet or ssh ? Regards, -- Benoit Minisini mailto:gambas at ...1... From bernard.pre at ...62... Mon Jun 9 22:27:27 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Mon, 9 Jun 2003 22:27:27 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <200306092222.09380.gambas@...2...> Message-ID: hi, Yes i use the syntaxe with "=" ... i don't undestand .... Bernard -----Message d'origine----- De : gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]De la part de Benoit Minisini Envoy? : lundi 9 juin 2003 22:22 ? : gambas-user at lists.sourceforge.net Objet : Re: [Gambas-user] pre-version of gambas (third edition) Le Lundi 9 Juin 2003 21:03, Bernard PRE a ?crit : > hi > > I do : > ./configure --with-kde-includes /usr/include/kde > > ans i have the same error > You must do ./configure --with-kde-includes=/usr/include/kde, with '=' ? Tell me if I'm wrong ! -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2... Mon Jun 9 22:33:42 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 22:33:42 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <3EE4E885.9070201@...142...> References: <200306091641.21967.gambas@...2...> <1055188776.5730.6.camel@...150...> <3EE4E885.9070201@...142...> Message-ID: <200306092233.42486.gambas@...2...> Le Lundi 9 Juin 2003 22:05, Jean-Francois Perreault a ?crit : > try this > > mkdir ~/.font > gbx > No, it is mkdir ~/.fonts, with an 's' and it seems that only your box has this problem ! :-) -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Mon Jun 9 22:58:11 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 09 Jun 2003 22:58:11 +0200 Subject: [Gambas-user] Problems with the IDE References: <3EE3900A.1080604@...9...> <200306091005.53173.gambas@...2...> Message-ID: <3EE4F4E3.1030404@...9...> Benoit Minisini schrieb: >Le Dimanche 8 Juin 2003 21:35, Charlie a ?crit : > > >>Salut Benoit, >> >>1. >>I work with 2 Screens >>and allways if I hade worked last with second screen. >>Start next time working on the first the debug window is on his right >>place, but closing this >>The Pos for FDebug in .gambas =-4,-20 >> >> From now on I have still access to the buttons , but moving it I have >>to use right-click/move. >> >>But for easier work I think it will be nice not to store Window Pos less >>then 0. >> >> > >Sorry Charlie, I don't really understand what you mean exactly ? >But I'm not surprised if they are problems with windows positions, as QT >manages them in a very strange manner, if not buggy :-). I had to workaround >this management when the window is hidden in gambas sources. > > Acctualy gambas can store Windows (in Config.class / SaveWindosPos) with negativ Values in the file .gambas . Just change to the code in Config.class / SaveWindosPos from sPos = CStr(hWindows.X) & "," & CStr(hWindows.Y) into something like : if hWindows.X < 0 then sPos = "0" else sPos = CStr(hWindows.X) endif if hWindows.Y < 0 then sPos = sPos & "0" else sPos = sPos & CStr(hWindows.Y) endif so windows alway visible . Ma by the same at SaveWindowsSize but there not = may be you give 40 Charlie From cmcpero at ...142... Mon Jun 9 23:04:01 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Mon, 09 Jun 2003 17:04:01 -0400 Subject: [Gambas-user] #gambas In-Reply-To: <200306092233.42486.gambas@...2...> References: <200306091641.21967.gambas@...2...> <1055188776.5730.6.camel@...150...> <3EE4E885.9070201@...142...> <200306092233.42486.gambas@...2...> Message-ID: <3EE4F641.5090603@...142...> I propose we make a #gambas IRC channel on the freenode network this would speed up communication and lower mailing list traffic else there will be over 1000 msg per month by the end of summer once irc traffic is too high we could split into #gambas #gambas-fr #gambas-de #gambas-dev #gambas-newbies #gambas-advanced anyone thinks this makes sense ? -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From gambas at ...2... Mon Jun 9 23:18:03 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 9 Jun 2003 23:18:03 +0200 Subject: [Gambas-user] #gambas In-Reply-To: <3EE4F641.5090603@...142...> References: <200306091641.21967.gambas@...2...> <200306092233.42486.gambas@...2...> <3EE4F641.5090603@...142...> Message-ID: <200306092318.03514.gambas@...2...> Le Lundi 9 Juin 2003 23:04, Jean-Francois Perreault a ?crit : > I propose we make a #gambas IRC channel on the freenode network > this would speed up communication and lower mailing list traffic > > else there will be over 1000 msg per month by the end of summer > > once irc traffic is too high we could split into > > #gambas > #gambas-fr > #gambas-de > #gambas-dev > #gambas-newbies > #gambas-advanced > > anyone thinks this makes sense ? The advantage of the mailing-list is that everything is archived. -- Benoit Minisini mailto:gambas at ...1... From cmcpero at ...142... Mon Jun 9 23:23:25 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Mon, 09 Jun 2003 17:23:25 -0400 Subject: [Gambas-user] #gambas In-Reply-To: <200306092318.03514.gambas@...2...> References: <200306091641.21967.gambas@...2...> <200306092233.42486.gambas@...2...> <3EE4F641.5090603@...142...> <200306092318.03514.gambas@...2...> Message-ID: <3EE4FACD.8010806@...142...> Benoit Minisini wrote: >Le Lundi 9 Juin 2003 23:04, Jean-Francois Perreault a ?crit : > > >>I propose we make a #gambas IRC channel on the freenode network >>this would speed up communication and lower mailing list traffic >> >>else there will be over 1000 msg per month by the end of summer >> >>once irc traffic is too high we could split into >> >>#gambas >>#gambas-fr >>#gambas-de >>#gambas-dev >>#gambas-newbies >>#gambas-advanced >> >>anyone thinks this makes sense ? >> >> > >The advantage of the mailing-list is that everything is archived. > > > we could keep daily searchable logs but this would be good at keeping the harder questions in the mailing list and the quickly solved problem in the daily on irc , though the wiki pages will also do a good job at solving that kind of small problems too -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From carlo.m at ...122... Tue Jun 10 00:37:28 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: 10 Jun 2003 00:37:28 +0200 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <1055188776.5730.6.camel@...150...> References: <200306091641.21967.gambas@...2...> <1055188776.5730.6.camel@...150...> Message-ID: <1055198248.3512.9.camel@...56...> Sorry, I'lost the original post of this message so my reply can be out of correct thread, however I've compiled, installed and used the pre3 version on my Redhat 9 by disabling kde components. If kde components are enabled (default) './configure' give no warnings but 'make' return errors while compiling. My box is updated with the latest release of kde (via up2date). Should I be more specific on error messages or this is a known issue (pre2 post reported: ...and should crash if you try to create a project using the KDE component...)? Regards, Carlo > > This post concerns: > > - Gentoo users > > - SuSE users > > - RedHat users > > - Every users using NVidia driver > > > > I have uploaded a pre-version of gambas here: > > http://gambas.sourceforge.net/gambas-0.58pre3.tar.gz > > > > This version may solve: > > - The crash on compilation (everywhere) > > - The crash on SuSE when running the IDE (maybe) > > - The crash when using NVidia driver (not sure) > > - The problem to find KDE paths on Gentoo > > > > I'm waiting for your returns now :-) From bsnipes at ...21... Tue Jun 10 04:46:51 2003 From: bsnipes at ...21... (Brian Snipes) Date: 09 Jun 2003 21:46:51 -0500 Subject: [Gambas-user] new pre-version of gambas In-Reply-To: <3EE496F9.2060601@...142...> References: <200306071440.58765.gambas@...2...> <1055109950.3392.2.camel@...73...> <3EE496F9.2060601@...142...> Message-ID: <1055213210.23767.10.camel@...73...> This workstation is based Gentoo 1.4rc2 I believe. I just 'emerge world' 2 weeks ago so my programs are current: qt = qt-3.1.2-r3 kde = kde-3.1.2 NVidia OpenGL libraries are still a problem with 0.58pre3 Brian On Mon, 2003-06-09 at 09:17, Jean-Francois Perreault wrote: > Hi, > > So I've been the one with a problem all along argg > maybe I have some crud in my system I built it 27-4-2003 can you check > when you built yours ? > > I'll try to produce a gdb log but I never used that before (the little > C/C++ I know never left books) > > first I got a gambas is not en executable error > so I opened the file , first line refers to gbx -i , I assume this is > some kind BASIC interpretor ? > > so according to the 12 years old gdb man page I run this > gdb gbx > run -i /opt/gambas/bin/gambas > > first time it says > no file or directory called /root/.project > > if I just run it says "gbx :too many project files" > > I created a /root/.project directory > not it says /root/.project is not a file > > rm -r /root/.project > gdb gbx > run -i /opt/gambas/bin/gambas > > (gdb) run > Starting program: /usr/bin/gbx > Syntax error in project file. > Cannot preload libraries: Success > > Program received signal SIGSEGV, Segmentation fault. > 0x0805b1c2 in project_analyze (addr=0x807dee8 "$3\027@$3\027@\020", > len=0) at project.c:205 > 205 if (PROJECT_name[0] == 0) > (gdb) > (I just love how you can paste UNIX text files into mozilla and it just > understands , no lost formatting , sweet...) > strange thing though , the strace log looked like more stuff was happening > > I though of other factors > maybe it's because I'm using a 2.4.20-gentoo-r5 kernel , what are you > using Brian ? > > Brian Snipes wrote: > > >Installs and runs perfectly on Gentoo (with current QT, KDE, MySQL and > >PostgreSQL). > >Any chance of getting the Gentoo paths for KDE libraries and includes > >added to the configure script? My paths are: > >/usr/kde/3.1/lib > >/usr/kde/3.1/include > > > >Brian > > > >On Sat, 2003-06-07 at 07:40, Benoit Minisini wrote: > > > > > >>Hello Suse 8.2, RedHat and Gentoo users, > >> > >>I have made a new pre-version of gambas here: > >> > >>http://gambas.sourceforge.net/gambas-0.58pre2.tar.gz > >> > >>Could you download it and compile it ? > >> > >>It should compile, the IDE should run, and should crash if you try to create a > >>project using the KDE component. > >> > >>Tell me if I'm right or wrong, > >> > >>Regards, > >> > >> From schumacher-k at ...20... Tue Jun 10 18:07:58 2003 From: schumacher-k at ...20... (Klaus Schumacher) Date: Tue, 10 Jun 2003 18:07:58 +0200 Subject: [Gambas-user] character code ?? In-Reply-To: <200305272202.06335.gambas@...2...> References: <200305190052.40576.schrockk@...137...> <200305212017.50477.schrockk@...137...> <3ED24DEE.4090504@...20...> <200305272202.06335.gambas@...2...> Message-ID: <3EE6025E.2010204@...20...> Hi Benoit, thanks for your help, it works with Conv$ Klaus Benoit Minisini wrote: > Le Lundi 26 Mai 2003 19:25, Klaus Schumacher a ?crit : > >>Hello everybody, >>I've done a small program in gambas 0.44 which reads a file with data >>form my palm, converted with the tool pdb2csv. Now I've updated gambas >>and the german characters (?,?, ?) in the file are not longer readable. >>I suppose it's because of the UTF-8 charset changing since 0.50 ?! >>But what can I do ? >> >>Klaus >> > > > Hi Klaus, > > You canuse the Conv$() function that can convert from any charset to any other > charset. > > Now in Gambas, all qt controls use UTF-8. Every string coming from and sent to > the interface are in UTF-8. > > Every string sent to a terminal, or into a database are sent as is, so you > must be careful with the charset of the data destination. > > For example, for putting a file downloaded from a palm into a textbox, you may > have to do the following : > > MyTextBox.Text = Conv$(MyPalmData, "ISO-8859-1", "UTF-8") > > Tell me if it works, > > Regards, > From dimitribellini at ...69... Wed Jun 11 20:18:48 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 11 Jun 2003 18:18:48 +0000 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( Message-ID: <200306111818.49084.dimitribellini@...69...> Hi all i need help to create a basic input/output program i see every mail in the list but nothing to do... Yes i can read a data ... but i must collect the incoming data in real time and show it in a form with some modification so i dont use a external tool. When i use the Open file Direct and grab a line with INPUT LINE the program stop until a new data is arrived... azz... I dont understand how can i solve this problem.... Please help me... I'm not a C programer :-) There is some one that have made a module Like MSComm for Gambas. Thanks in Advance Dimitri From gambas at ...2... Wed Jun 11 19:02:09 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 11 Jun 2003 19:02:09 +0200 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( In-Reply-To: <200306111818.49084.dimitribellini@...69...> References: <200306111818.49084.dimitribellini@...69...> Message-ID: <200306111902.09859.gambas@...2...> Le Mercredi 11 Juin 2003 20:18, Dimitri Bellini a ?crit : > Hi all > i need help to create a basic input/output program i see every mail in the > list but nothing to do... > Yes i can read a data ... but i must collect the incoming data in real time > and show it in a form with some modification so i dont use a external tool. > When i use the Open file Direct and grab a line with INPUT LINE the program > stop until a new data is arrived... azz... I dont understand how can i > solve this problem.... > Please help me... I'm not a C programer :-) There is some one that have > made a module Like MSComm for Gambas. > Thanks in Advance > Dimitri > Hi, Dimitri. There is all what you need inside the interpreter, but I haven't created the corresponding instruction yet. I think this instruction will have the following syntax: WATCH "/dev/ttyS0" FOR READ WRITE AS #hFile And you will get events, like the EXEC instruction. I must write an event loop into the interpreter first - There is a post somewhere about that. Be patient :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From kschrock at ...149... Wed Jun 11 14:21:26 2003 From: kschrock at ...149... (kschrock) Date: Wed, 11 Jun 2003 13:21:26 +0100 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( References: <200306111818.49084.dimitribellini@...69...> Message-ID: <3EE71EC6.90703@...149...> Level 1. Use READ #File,Variable [ ,Length ] with a length of 1 Then at least you only wait a single character instead of a line Level 2. Make a script that does the same thing EXEC or SHELL it from Gambas and user FOR READ option So that you app can go about its business until it returns The shell will call a callback when data is ready Level 3. Write a gambas component or have someone do that for you (in C) Dimitri Bellini wrote: >Hi all > i need help to create a basic input/output program i see every mail in the >list but nothing to do... >Yes i can read a data ... but i must collect the incoming data in real time >and show it in a form with some modification so i dont use a external tool. >When i use the Open file Direct and grab a line with INPUT LINE the program >stop until a new data is arrived... azz... I dont understand how can i solve >this problem.... >Please help me... I'm not a C programer :-) There is some one that have made a >module Like MSComm for Gambas. >Thanks in Advance >Dimitri > From nikosdion at ...146... Thu Jun 12 03:17:00 2003 From: nikosdion at ...146... (Nikolaos Dionysopoulos) Date: 12 Jun 2003 04:17:00 +0300 Subject: [Gambas-user] pre-version of gambas (third edition) In-Reply-To: <200306092229.02833.gambas@...2...> References: <200306091641.21967.gambas@...2...> <1055188776.5730.6.camel@...150...> <200306092229.02833.gambas@...2...> Message-ID: <1055333043.3236.10.camel@...150...> ???? 09/????/2003, ????? ??????? ??? ??? 23:29, ?/? Benoit Minisini ??????: [snip] > > > > I am using Mandrake 9.1RC1 with newest NVidia drivers. The compilation > > works fine (it segfaulted on previous versions), but when I try to > > launch the IDE or any project, it crashes with a "Segmentation Fault" > > error. > > > > Hope you can fix that NVidia problem in the future :) > > > > Regards, > > Could you (or another NVidia user) let me accessing your Linux box by telnet > or ssh ? Unfortunately I am connected on a dial-up line, so my box is usually off the net :( Is there possibly anything else I could do to help you fix this bug? -- Nick Dionysopoulos Student of Mechanical Engineering nikosdion-AT-in.gr -- http://www.sledge81.cjb.net From sourceforge-raindog2 at ...94... Thu Jun 12 04:08:04 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 11 Jun 2003 22:08:04 -0400 Subject: [Gambas-user] Rol/Ror vs. Shl/Shr Message-ID: <200306112206.27886.sourceforge-raindog2@...94...> I was trying to come up with some examples for Rol/Ror tonight (bit rotate left/bit rotate right) and an explanation for the differences from Shl/Shr, so I made a simple console only project and put this in sub main: DIM oldvar AS Byte DIM newvar AS Byte oldvar = 129 newvar = Shl(oldvar,1) PRINT newvar newvar = Rol(oldvar,1) PRINT newvar and built and ran it, and got this: 2 2 meaning Shl and Rol both treat carried bits the same (discard them). Are they meant to just be aliases of each other or is this a gambas bug? For what it's worth, changing them to Shr and Ror returned 64 64 which is consistent, but when I made newvar an Integer, it returned 64 -2147483584 which is more what I'd expect (the latter being the output of Ror.) I noticed there were no examples for Rol/Ror in the encyclopaedia and figured maybe it was something Benoit meant to fix a long time ago and got distracted by more interesting things ;) Rob From dimitribellini at ...69... Thu Jun 12 13:24:42 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 12 Jun 2003 11:24:42 +0000 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( In-Reply-To: <200306111902.09859.gambas@...2...> References: <200306111818.49084.dimitribellini@...69...> <200306111902.09859.gambas@...2...> Message-ID: <200306121124.42647.dimitribellini@...69...> > There is all what you need inside the interpreter, but I haven't created > the corresponding instruction yet. > > I think this instruction will have the following syntax: > > WATCH "/dev/ttyS0" FOR READ WRITE AS #hFile > > And you will get events, like the EXEC instruction. > > I must write an event loop into the interpreter first - There is a post > somewhere about that. > > Be patient :-) > > Regards, Thanks Benoit for your answer, you have plan to create this new istruction in few month? I dont see in Properties a INDEX option is possible to have it? (i think is possible to use index without this option but if is possible.. :-) ) Thanks for Your Great work. Dimitri PS:is possible to add a italian language in Wiki (i translate the english version) From dimitribellini at ...69... Thu Jun 12 13:58:03 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 12 Jun 2003 11:58:03 +0000 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( In-Reply-To: <3EE71EC6.90703@...149...> References: <200306111818.49084.dimitribellini@...69...> <3EE71EC6.90703@...149...> Message-ID: <200306121158.03357.dimitribellini@...69...> On Wednesday 11 June 2003 12:21, kschrock wrote: > Level 1. Use > READ #File,Variable [ ,Length ] with a length of 1 > Then at least you only wait a single character instead of a line > > Level 2. Make a script that does the same thing > EXEC or SHELL it from Gambas and user FOR READ option > So that you app can go about its business until it returns > The shell will call a callback when data is ready > > Level 3. Write a gambas component or have someone do that for you (in C) > Hi I try to use your "READ #File,Variable [ ,Length ]" but if i use Step by Step "F8" work well if i Run with "F5" my App dont work well it seems that some charatter still stay in buffer. Thanks for possible solution. Dimitri From kschrock at ...149... Thu Jun 12 15:05:48 2003 From: kschrock at ...149... (Ken Schrock) Date: Thu, 12 Jun 2003 09:05:48 -0400 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( References: <200306111818.49084.dimitribellini@...69...> <3EE71EC6.90703@...149...> <200306121158.03357.dimitribellini@...69...> Message-ID: <3EE87AAC.2010308@...149...> Dimitri Bellini wrote: >Hi > I try to use your "READ #File,Variable [ ,Length ]" but if i use Step by Step >"F8" work well if i Run with "F5" my App dont work well it seems that some >charatter still stay in buffer. >Thanks for possible solution. > Both the exec and shell statements allow async operation If you made a simple perl script that read tty input and output it to stdout You could use the EXEC function to get the data without locking the app (see the sample code in the exec section of the manual) I also made a component for gambas that can read or write any port But to use this for serial io you would have to know all about the various Control and status registers involved in serial io and do handshaking yourself Which, if you've never done it before, is not a simple task >Dimitri > > > >------------------------------------------------------- >This SF.NET email is sponsored by: eBay >Great deals on office technology -- on eBay now! Click here: >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From henryi at ...160... Thu Jun 12 15:04:38 2003 From: henryi at ...160... (Henry Ismaili) Date: Thu, 12 Jun 2003 23:04:38 +1000 Subject: [Gambas-user] Tab Order Message-ID: <200306122304.38243.henryi@...160...> Is there anyway to set the tab order on buttons/combos/textboxes on the form ? there's no place in the properties to set it ... when i bring a form up, and press tab to move from textbox to textbox, it flies all over the place ? maybe i haven't looked hard enough. regards, Henry. From gambas at ...2... Thu Jun 12 19:06:54 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 12 Jun 2003 19:06:54 +0200 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( In-Reply-To: <200306121124.42647.dimitribellini@...69...> References: <200306111818.49084.dimitribellini@...69...> <200306111902.09859.gambas@...2...> <200306121124.42647.dimitribellini@...69...> Message-ID: <200306121906.54344.gambas@...2...> Le Jeudi 12 Juin 2003 13:24, Dimitri Bellini a ?crit : > Thanks Benoit > for your answer, you have plan to create this new istruction in few month? > I dont see in Properties a INDEX option is possible to have it? (i think is > possible to use index without this option but if is possible.. :-) ) What do you mean ??? -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu Jun 12 19:06:50 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 12 Jun 2003 13:06:50 -0400 Subject: [Gambas-user] Gambas Wiki Translations Message-ID: <200306121306.50889.sourceforge-raindog2@...94...> Okay, now I have had offers of help in translating the Gambas Encyclopaedia Wiki into French, German and Italian. Thanks to all of you! I have looked at other people's wikis and it appears that the way it is done is to make new root webs which are copies of the original (in this case English) version, called for example GambasFran?ais, GambasDeutsch or GambasItaliano, and then have the translators move through them translating. It doesn't seem that there's any automated way to propagate additions from the original version to the translated versions. Obviously, over time, some things will end up being written in each language that don't end up getting translated to other languages, and I think we're going to have to live with that. As recently as last night, I have run perl scripts on the wiki to remove leftover formatting problems (stray * and _ marks, mostly) and add a table of contents to each of the component class pages, and while the wiki in general is pretty clean now, it's certainly possible that someone would find something that needs to be cleaned up across a large number of pages. I should be able to do these things to the translated versions of the wiki as well, but when the next version of Gambas appears, I'm also going to be rebuilding my script to import Benoit's class documentation into the wiki, so that it can be added automatically but users' additions (example code, documentation of undocumented classes) will remain intact. That will require changes to all the component class pages, and possibly some debugging. So, here's what I have done. I have set up the following webs but have not linked them from the main web (since they're all in English:) http://www.binara.com/gambas-wiki/bin/view/GambasDeutsch/WebHome http://www.binara.com/gambas-wiki/bin/view/GambasFrancais/WebHome (sorry, it seems TWiki can't handle webs named with the french "?" in them) http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome On each of the above wiki home pages, in the blue strip at the top next to the Gambas logo is a link to the name of the wiki. If you click it, it will give you a list of pages in your language's wiki that are still in English. I did this by added a "StillInEnglish" link to the bottom of every page; as you translate each page you should remove it, and eventually get down to zero pages left to be translated ;) I've also created a GambasTest wiki in which I'm going to start experimenting with the automated class documentation to wiki filter (I'll need to write my own Gambas program to do this since the way I did it initially was very clumsy and not very automated.) If I perfect it before you guys touch the affected pages, I'll update them in your language's wiki as well. There, I know that's a lot to put out there at once, but hopefully it'll be a help to you guys who would like a Wiki in your native language ;) Rob From pchapman at ...129... Thu Jun 12 20:00:14 2003 From: pchapman at ...129... (Philip A. Chapman) Date: 12 Jun 2003 13:00:14 -0500 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( In-Reply-To: <200306121906.54344.gambas@...2...> References: <200306111818.49084.dimitribellini@...69...> <200306111902.09859.gambas@...2...> <200306121124.42647.dimitribellini@...69...> <200306121906.54344.gambas@...2...> Message-ID: <1055440813.24290.28.camel@...130...> On Thu, 2003-06-12 at 12:06, Benoit Minisini wrote: > Le Jeudi 12 Juin 2003 13:24, Dimitri Bellini a ?crit : > > Thanks Benoit > > for your answer, you have plan to create this new istruction in few month? > > I dont see in Properties a INDEX option is possible to have it? (i think is > > possible to use index without this option but if is possible.. :-) ) > > What do you mean ??? I believe he ment the index property for a control, like VB has for it's control array construct. Le Jeudi, please refer to Bambas tip of the day number 10. It speaks of the group property which every Gambas control has and how it may be used. Using Gambas' group property is more powerful than the VB control array because the group property does not require the controls to be of the same type. Hope this helps, -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From gambas at ...2... Thu Jun 12 20:25:07 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 12 Jun 2003 20:25:07 +0200 Subject: [Gambas-user] pre-version of gambas (episode 4) Message-ID: <200306122025.07233.gambas@...2...> This post concerns the same as before. I have uploaded a pre-version of gambas here: http://gambas.sourceforge.net/gambas-0.58pre4.tar.gz This version may solve the same problems: - The crash on compilation (everywhere) - The crash on SuSE when running the IDE (maybe) - The crash when using NVidia driver (not sure) - The problem to find KDE paths on Gentoo I hope this will solve the NVidia, the SuSE and gentoo problem. Elsewhere, I have not idea left ! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Thu Jun 12 20:27:55 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 12 Jun 2003 20:27:55 +0200 Subject: [Gambas-user] Rol/Ror vs. Shl/Shr In-Reply-To: <200306112206.27886.sourceforge-raindog2@...94...> References: <200306112206.27886.sourceforge-raindog2@...94...> Message-ID: <200306122027.55382.gambas@...2...> Le Jeudi 12 Juin 2003 04:08, Rob a ?crit : > I was trying to come up with some examples for Rol/Ror tonight (bit rotate > left/bit rotate right) and an explanation for the differences from Shl/Shr, > so I made a simple console only project and put this in sub main: > > DIM oldvar AS Byte > DIM newvar AS Byte > > oldvar = 129 > newvar = Shl(oldvar,1) > PRINT newvar > > newvar = Rol(oldvar,1) > PRINT newvar > > and built and ran it, and got this: > > 2 > 2 > > meaning Shl and Rol both treat carried bits the same (discard them). Are > they meant to just be aliases of each other or is this a gambas bug? > > For what it's worth, changing them to Shr and Ror returned > 64 > 64 > which is consistent, but when I made newvar an Integer, it returned > 64 > -2147483584 > which is more what I'd expect (the latter being the output of Ror.) I > noticed there were no examples for Rol/Ror in the encyclopaedia and figured > maybe it was something Benoit meant to fix a long time ago and got > distracted by more interesting things ;) > > Rob > Hum... In fact these functions work only with full integers, because they don't manage the case where their arguments are less than 4 bytes integers. Call this a bug ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Thu Jun 12 20:30:01 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 12 Jun 2003 20:30:01 +0200 Subject: [Gambas-user] Tab Order In-Reply-To: <200306122304.38243.henryi@...160...> References: <200306122304.38243.henryi@...160...> Message-ID: <200306122030.01177.gambas@...2...> Le Jeudi 12 Juin 2003 15:04, Henry Ismaili a ?crit : > Is there anyway to set the tab order on buttons/combos/textboxes on the > form ? > > there's no place in the properties to set it ... > when i bring a form up, and press tab to move from textbox to textbox, it > flies all over the place ? > maybe i haven't looked hard enough. > > regards, > > Henry. > > A workaround for that problem is to use "bring to foreground" and "send to background" in the form editor pop-up menu. The tab order will follow the Z order of the controls ! Regards, -- Benoit Minisini mailto:gambas at ...1... From carlo.m at ...122... Thu Jun 12 20:44:58 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: 12 Jun 2003 20:44:58 +0200 Subject: [Gambas-user] pre-version of gambas (episode 4) In-Reply-To: <200306122025.07233.gambas@...2...> References: <200306122025.07233.gambas@...2...> Message-ID: <1055443498.3529.8.camel@...56...> Ok, everything worked for me on redhat 9. Thanks, Carlo Il gio, 2003-06-12 alle 20:25, Benoit Minisini ha scritto: > This post concerns the same as before. > > I have uploaded a pre-version of gambas here: > http://gambas.sourceforge.net/gambas-0.58pre4.tar.gz > > This version may solve the same problems: > - The crash on compilation (everywhere) > - The crash on SuSE when running the IDE (maybe) > - The crash when using NVidia driver (not sure) > - The problem to find KDE paths on Gentoo > > I hope this will solve the NVidia, the SuSE and gentoo problem. Elsewhere, I > have not idea left ! > > Regards, From sourceforge-raindog2 at ...94... Fri Jun 13 07:34:50 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Jun 2003 01:34:50 -0400 Subject: [Gambas-user] automated class docs export Message-ID: <200306130134.50530.sourceforge-raindog2@...94...> OK, tonight I wrote a Gambas project that goes through all the components installed in your Gambas and creates Wiki pages in /tmp/gambas-export of each of their classes, and also each symbol from each class. Each class documentation page has a bunch of wiki %INCLUDE statements to include the documentation of each symbol, so it'll be harder for people to accidentally make changes to pages that will be wiped out with each new Gambas version. I attached the project (excuse the ugly code, it was pretty trial and error and largely borrowed from the IDE's FExplorer class) and you can see the results at http://www.binara.com/gambas-wiki/bin/view/GambasTest/GambasIndexByCategory#Components Let me know if there are any problems with it. If I don't hear any complaints by sometime this weekend I'm gonna go ahead and put the automated output into the real wiki. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-component-extract.tar.gz Type: application/x-tgz Size: 9371 bytes Desc: not available URL: From inigo at ...161... Fri Jun 13 07:59:33 2003 From: inigo at ...161... (Inigo Zuluaga) Date: Fri, 13 Jun 2003 07:59:33 +0200 Subject: [Gambas-user] Gambas Wiki Translations In-Reply-To: <200306121306.50889.sourceforge-raindog2@...94...> Message-ID: It is possible? ***************************************************************** http://www.binara.com/gambas-wiki/bin/view/GambasEspanol/WebHome ***************************************************************** (In Spanish) Thanks -----Mensaje original----- De: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]En nombre de Rob Enviado el: jueves, 12 de junio de 2003 19:07 Para: gambas-user at lists.sourceforge.net CC: Stephan Gans Asunto: [Gambas-user] Gambas Wiki Translations Okay, now I have had offers of help in translating the Gambas Encyclopaedia Wiki into French, German and Italian. Thanks to all of you! I have looked at other people's wikis and it appears that the way it is done is to make new root webs which are copies of the original (in this case English) version, called for example GambasFran?ais, GambasDeutsch or GambasItaliano, and then have the translators move through them translating. It doesn't seem that there's any automated way to propagate additions from the original version to the translated versions. Obviously, over time, some things will end up being written in each language that don't end up getting translated to other languages, and I think we're going to have to live with that. As recently as last night, I have run perl scripts on the wiki to remove leftover formatting problems (stray * and _ marks, mostly) and add a table of contents to each of the component class pages, and while the wiki in general is pretty clean now, it's certainly possible that someone would find something that needs to be cleaned up across a large number of pages. I should be able to do these things to the translated versions of the wiki as well, but when the next version of Gambas appears, I'm also going to be rebuilding my script to import Benoit's class documentation into the wiki, so that it can be added automatically but users' additions (example code, documentation of undocumented classes) will remain intact. That will require changes to all the component class pages, and possibly some debugging. So, here's what I have done. I have set up the following webs but have not linked them from the main web (since they're all in English:) http://www.binara.com/gambas-wiki/bin/view/GambasDeutsch/WebHome http://www.binara.com/gambas-wiki/bin/view/GambasFrancais/WebHome (sorry, it seems TWiki can't handle webs named with the french "?" in them) http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome On each of the above wiki home pages, in the blue strip at the top next to the Gambas logo is a link to the name of the wiki. If you click it, it will give you a list of pages in your language's wiki that are still in English. I did this by added a "StillInEnglish" link to the bottom of every page; as you translate each page you should remove it, and eventually get down to zero pages left to be translated ;) I've also created a GambasTest wiki in which I'm going to start experimenting with the automated class documentation to wiki filter (I'll need to write my own Gambas program to do this since the way I did it initially was very clumsy and not very automated.) If I perfect it before you guys touch the affected pages, I'll update them in your language's wiki as well. There, I know that's a lot to put out there at once, but hopefully it'll be a help to you guys who would like a Wiki in your native language ;) Rob ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From dimitribellini at ...69... Fri Jun 13 17:45:39 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 13 Jun 2003 15:45:39 +0000 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( In-Reply-To: <1055440813.24290.28.camel@...130...> References: <200306111818.49084.dimitribellini@...69...> <200306121906.54344.gambas@...2...> <1055440813.24290.28.camel@...130...> Message-ID: <200306131545.39310.dimitribellini@...69...> On Thursday 12 June 2003 18:00, Philip A. Chapman wrote: > On Thu, 2003-06-12 at 12:06, Benoit Minisini wrote: > > Le Jeudi 12 Juin 2003 13:24, Dimitri Bellini a ?crit : > > > Thanks Benoit > > > for your answer, you have plan to create this new istruction in few > > > month? I dont see in Properties a INDEX option is possible to have it? > > > (i think is possible to use index without this option but if is > > > possible.. :-) ) > > > > What do you mean ??? > > I believe he ment the index property for a control, like VB has for it's > control array construct. Le Jeudi, please refer to Bambas tip of the > day number 10. It speaks of the group property which every Gambas > control has and how it may be used. Using Gambas' group property is > more powerful than the VB control array because the group property does > not require the controls to be of the same type. Thanks Philip Yes is right... So i use Group function for create Index like Visual Basic. Thanks in advance Dimitri From dimitribellini at ...69... Fri Jun 13 17:42:22 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 13 Jun 2003 15:42:22 +0000 Subject: [Gambas-user] Gambas Wiki Translations In-Reply-To: <200306121306.50889.sourceforge-raindog2@...94...> References: <200306121306.50889.sourceforge-raindog2@...94...> Message-ID: <200306131542.22928.dimitribellini@...69...> On Thursday 12 June 2003 17:06, Rob wrote: > http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome Hi Rob how can i translate the italian version? Thanks Dimitri From dimitribellini at ...69... Fri Jun 13 17:48:25 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 13 Jun 2003 15:48:25 +0000 Subject: [Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-( In-Reply-To: <3EE87AAC.2010308@...149...> References: <200306111818.49084.dimitribellini@...69...> <200306121158.03357.dimitribellini@...69...> <3EE87AAC.2010308@...149...> Message-ID: <200306131548.25811.dimitribellini@...69...> On Thursday 12 June 2003 13:05, Ken Schrock wrote: > Dimitri Bellini wrote: > >Hi > > I try to use your "READ #File,Variable [ ,Length ]" but if i use Step by > > Step "F8" work well if i Run with "F5" my App dont work well it seems > > that some charatter still stay in buffer. > >Thanks for possible solution. > > Both the exec and shell statements allow async operation > If you made a simple perl script that read tty input and output it to > stdout You could use the EXEC function to get the data without locking the > app (see the sample code in the exec section of the manual) > > I also made a component for gambas that can read or write any port > But to use this for serial io you would have to know all about the various > Control and status registers involved in serial io and do handshaking > yourself > Which, if you've never done it before, is not a simple task > > >Dimitri Thanks Ken for this example I try this. Bye Dimitri From sourceforge-raindog2 at ...94... Fri Jun 13 16:17:29 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Jun 2003 10:17:29 -0400 Subject: [Gambas-user] Gambas Wiki Translations In-Reply-To: <200306131542.22928.dimitribellini@...69...> References: <200306121306.50889.sourceforge-raindog2@...94...> <200306131542.22928.dimitribellini@...69...> Message-ID: <200306131017.29224.sourceforge-raindog2@...94...> On Friday 13 June 2003 11:42, Dimitri Bellini wrote: > On Thursday 12 June 2003 17:06, Rob wrote: > > http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome > how can i translate the italian version? Just hit edit at the bottom of any page you'd like to start translating, and translate it, make sure to delete the "StillInEnglish" mark at the bottom of the page, and save your changes. If you guys find that it's too much work converting all this documentation manually, maybe I can come up with an abusive script that uses Google or Altavista to make a very poor translation that you can then clean up ;) That program I wrote to extract all the component class/symbol information should also be able to generate the information in other languages into which Gambas has been translated (I didn't hard code it into English or anything) so someone with Gambas translated into their language should run it and send me the output. However, Benoit found a few bugs in the output so I'd ask you to hold off till I get another revision out. Rob From dimitribellini at ...69... Fri Jun 13 19:06:35 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 13 Jun 2003 17:06:35 +0000 Subject: [Gambas-user] Gambas Wiki Translations In-Reply-To: <200306131017.29224.sourceforge-raindog2@...94...> References: <200306121306.50889.sourceforge-raindog2@...94...> <200306131542.22928.dimitribellini@...69...> <200306131017.29224.sourceforge-raindog2@...94...> Message-ID: <200306131706.35523.dimitribellini@...69...> On Friday 13 June 2003 14:17, Rob wrote: > On Friday 13 June 2003 11:42, Dimitri Bellini wrote: > > On Thursday 12 June 2003 17:06, Rob wrote: > > > http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome > > > > how can i translate the italian version? > > Just hit edit at the bottom of any page you'd like to start translating, > and translate it, make sure to delete the "StillInEnglish" mark at the > bottom of the page, and save your changes. > > If you guys find that it's too much work converting all this documentation > manually, maybe I can come up with an abusive script that uses Google or > Altavista to make a very poor translation that you can then clean up ;) > > That program I wrote to extract all the component class/symbol information > should also be able to generate the information in other languages into > which Gambas has been translated (I didn't hard code it into English or > anything) so someone with Gambas translated into their language should run > it and send me the output. However, Benoit found a few bugs in the output > so I'd ask you to hold off till I get another revision out. > > Rob Hi Rob I try to translate manualy i think is the right way... :-) bye Dimitri From sourceforge-raindog2 at ...94... Fri Jun 13 19:25:48 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Jun 2003 13:25:48 -0400 Subject: [Gambas-user] Gambas Wiki Translations In-Reply-To: References: Message-ID: <200306131325.48113.sourceforge-raindog2@...94...> On Friday 13 June 2003 01:59, Inigo Zuluaga wrote: > It is possible? > ***************************************************************** > http://www.binara.com/gambas-wiki/bin/view/GambasEspanol/WebHome > ***************************************************************** > (In Spanish) OK, I've created the GambasEspanol web (at the above url) but I hope you're volunteering to do the translation. As poor as my German and French are, my Spanish is far worse ;) Rob From gambas at ...162... Sat Jun 14 01:23:56 2003 From: gambas at ...162... (Wojtek) Date: Sat, 14 Jun 2003 01:23:56 +0200 Subject: [Gambas-user] Re: pre-version of gambas (episode 4) Message-ID: <200306132056.39764.gambas@...162...> Suse 8.1, KDE 3.1, Qt 3.1.1 configure, make and install -> OK size of gambas file = 645682 run gambas -> memory protection violation run /opt/gambas/bin/gbx in ~/0.58pre4/app/gambas -> OK open project ~/0.58pre4/app/gambas -> OK run from IDE -> OK Make executable -> OK size of gambas file = 512277 copy gambas to /opt/gambas/bin and run -> memory protection violation similarly gambas-database-manager -- Wojciech Saltarski From bsnipes at ...21... Sat Jun 14 05:30:22 2003 From: bsnipes at ...21... (Brian Snipes) Date: 13 Jun 2003 22:30:22 -0500 Subject: [Gambas-user] pre-version of gambas (episode 4) In-Reply-To: <200306122025.07233.gambas@...2...> References: <200306122025.07233.gambas@...2...> Message-ID: <1055561422.23369.1.camel@...73...> Compiles and runs fine on my Gentoo box with the exception of the NVidia OpenGL issue. I did not have to specify the path to KDE libs and includes. Brian On Thu, 2003-06-12 at 13:25, Benoit Minisini wrote: > This post concerns the same as before. > > I have uploaded a pre-version of gambas here: > http://gambas.sourceforge.net/gambas-0.58pre4.tar.gz > > This version may solve the same problems: > - The crash on compilation (everywhere) > - The crash on SuSE when running the IDE (maybe) > - The crash when using NVidia driver (not sure) > - The problem to find KDE paths on Gentoo > > I hope this will solve the NVidia, the SuSE and gentoo problem. Elsewhere, I > have not idea left ! > > Regards, From gambas at ...2... Sat Jun 14 13:20:55 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 14 Jun 2003 13:20:55 +0200 Subject: [Gambas-user] Re: pre-version of gambas (episode 4) In-Reply-To: <200306132056.39764.gambas@...162...> References: <200306132056.39764.gambas@...162...> Message-ID: <200306141320.55167.gambas@...2...> Le Samedi 14 Juin 2003 01:23, Wojtek a ?crit : > Suse 8.1, KDE 3.1, Qt 3.1.1 > > configure, make and install -> OK > size of gambas file = 645682 > run gambas -> memory protection violation > run /opt/gambas/bin/gbx in ~/0.58pre4/app/gambas -> OK > open project ~/0.58pre4/app/gambas -> OK > run from IDE -> OK > Make executable -> OK > size of gambas file = 512277 > copy gambas to /opt/gambas/bin and run -> memory protection violation > > similarly gambas-database-manager Is it possible for you to give me an access to your system ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Jun 14 21:38:37 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 14 Jun 2003 21:38:37 +0200 Subject: [Gambas-user] gambas 0.58 Message-ID: <200306142138.37019.gambas@...2...> Hi people, Gambas 0.58 is out. This version should work on: SuSE, Gentoo, RedHat, and on systems using drivers from NVidia !! I must admit that I tested only on a Gentoo with a NVidia driver. But you will tell me :-) Youu will find also a new TextView control to display rich text (i.e. almost HTML) and a more usable Printer class. Many bug fixes too (for example, the annoying delayed popup menu) Enjoy it, and don't forget to give me feedback so that I fill the distribution notes on the web site. Regards, -- Benoit Minisini mailto:gambas at ...1... From Gambasfr at ...11... Sat Jun 14 22:36:36 2003 From: Gambasfr at ...11... (Fabien) Date: Sat, 14 Jun 2003 22:36:36 +0200 Subject: [Gambas-user] gambas 0.58 In-Reply-To: <200306142138.37019.gambas@...2...> References: <200306142138.37019.gambas@...2...> Message-ID: <200306142236.36322.Gambasfr@...11...> Le Samedi 14 Juin 2003 21:38, Benoit Minisini a ?crit : > Many bug fixes too (for example, the > annoying delayed popup menu) Thank you... i may finish my work soon now. Fabien From bsnipes at ...21... Sun Jun 15 05:08:40 2003 From: bsnipes at ...21... (Brian Snipes) Date: 14 Jun 2003 22:08:40 -0500 Subject: [Gambas-user] gambas 0.58 In-Reply-To: <200306142138.37019.gambas@...2...> References: <200306142138.37019.gambas@...2...> Message-ID: <1055646520.3365.2.camel@...73...> I use Gentoo and still have the NVidia issue with this version. Everything else works fine. I tried it on v4349 and on v4363 with same results - a segfault starting Gambus unless I use 'opengl-update xfree' before running Gambas. Brian On Sat, 2003-06-14 at 14:38, Benoit Minisini wrote: > Hi people, > > Gambas 0.58 is out. > > This version should work on: SuSE, Gentoo, RedHat, and on systems using > drivers from NVidia !! > > I must admit that I tested only on a Gentoo with a NVidia driver. But you will > tell me :-) > > Youu will find also a new TextView control to display rich text (i.e. almost > HTML) and a more usable Printer class. Many bug fixes too (for example, the > annoying delayed popup menu) > > Enjoy it, and don't forget to give me feedback so that I fill the distribution > notes on the web site. > > Regards, From gambas at ...2... Sun Jun 15 08:05:02 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 15 Jun 2003 08:05:02 +0200 Subject: [Gambas-user] gambas 0.58 In-Reply-To: <1055646520.3365.2.camel@...73...> References: <200306142138.37019.gambas@...2...> <1055646520.3365.2.camel@...73...> Message-ID: <200306150805.02552.gambas@...2...> Le Dimanche 15 Juin 2003 05:08, Brian Snipes a ?crit : > I use Gentoo and still have the NVidia issue with this version. > Everything else works fine. I tried it on v4349 and on v4363 with same > results - a segfault starting Gambus unless I use 'opengl-update xfree' > before running Gambas. > > Brian > Hi Brian, Could you grant me an access on your machine (ssh or telnet) ? -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Sun Jun 15 20:22:40 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 15 Jun 2003 20:22:40 +0200 Subject: [Gambas-user] Gentoo and gambas Message-ID: <3EECB970.9010100@...9...> Salut, I will have finished installation Gentoo (1.4) soon ( compiling since 2 h KDE on a 466 Mhz box). This will be my first steps on it. To all gentoo experienced user: For gambas (0.58) my question is, how to install gambas on this distro. Haven't had a look, but I think thers now ebuilde. I'm to unpationed : Had made a ./configure (without DB ) --- said OK and a make --- said also OK Any hints ? Or just make the last of the three and it works ? amicalement Charlie From karl.reinl at ...9... Sun Jun 15 22:09:43 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 15 Jun 2003 22:09:43 +0200 Subject: [Gambas-user] SuSE 7.2 and gambas-0.58 Message-ID: <3EECD287.6010800@...9...> Salut Beno?t, still on my SuSE 7.2 , KDE 2.2.2 , qt-3.0.5 and gcc 2.95.x I'v got this when running make. ( wihtout KDE and pgsql) Any help ? Thanks! amicalement Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: make-0.58.log URL: From cmcpero at ...142... Sun Jun 15 23:51:03 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Sun, 15 Jun 2003 17:51:03 -0400 Subject: [Gambas-user] gambas 0.58 In-Reply-To: <200306142138.37019.gambas@...2...> References: <200306142138.37019.gambas@...2...> Message-ID: <3EECEA47.2070903@...142...> Hi, IT IS FULLY WORKING ! I made made first working hello world program press F5 .. run then alt+f7 then close gambas then cd /root/helloworld then gbx my first gambas program running outside the IDE sweeet Benoit Minisini wrote: >Hi people, > >Gambas 0.58 is out. > >This version should work on: SuSE, Gentoo, RedHat, and on systems using >drivers from NVidia !! > >I must admit that I tested only on a Gentoo with a NVidia driver. But you will >tell me :-) > >Youu will find also a new TextView control to display rich text (i.e. almost >HTML) and a more usable Printer class. Many bug fixes too (for example, the >annoying delayed popup menu) > >Enjoy it, and don't forget to give me feedback so that I fill the distribution >notes on the web site. > >Regards, > > > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From sourceforge-raindog2 at ...94... Mon Jun 16 06:07:34 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 16 Jun 2003 00:07:34 -0400 Subject: [Gambas-user] gambas 0.58 In-Reply-To: <200306142138.37019.gambas@...2...> References: <200306142138.37019.gambas@...2...> Message-ID: <200306160002.50500.sourceforge-raindog2@...94...> On Saturday 14 June 2003 15:38, Benoit Minisini wrote: > Enjoy it, and don't forget to give me feedback so that I fill the > distribution notes on the web site. I haven't really gotten too far into it, but for the first time gambas doesn't build on Mandrake 9.0 and it doesn't seem to be a one line fix like last time. The problem seems to be in CPicture.cpp and I wonder if it's related to there being a moc file for it this time (I don't seem to have one from last time, and this one is empty). The offending symbol seems to be QPaintDevice::x11AppRootWindow as follows: c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/qt3/include -I../../../src/share -pipe -Wall -fno-exceptions -g -O0 -c CDialog.cpp -fPIC -DPIC -o CDialog.lo /usr/lib/qt3/include/../bin/moc CPicture.h -o moc_CPicture.cpp CPicture.h:0: Warning: No relevant classes found. No output generated. /bin/sh ../../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/qt3/include -I../../../src/share -pipe -Wall -fno-exceptions -g -O0 -c moc_CPicture.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/qt3/include -I../../../src/share -pipe -Wall -fno-exceptions -g -O0 -c moc_CPicture.cpp -fPIC -DPIC -o moc_CPicture.lo /bin/sh ../../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/qt3/include -I../../../src/share -pipe -Wall -fno-exceptions -g -O0 -c CPicture.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/qt3/include -I../../../src/share -pipe -Wall -fno-exceptions -g -O0 -c CPicture.cpp -fPIC -DPIC -o CPicture.lo CPicture.cpp: In function `CPICTURE* CPICTURE_grab(int)': CPicture.cpp:337: no method `QPaintDevice::x11AppRootWindow' make[5]: *** [CPicture.lo] Error 1 I know, M 9.1 has been out for over 2 months, I should be more current ;) Rob From radoslav.dejanovic at ...116... Mon Jun 16 11:08:08 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Mon, 16 Jun 2003 11:08:08 +0200 Subject: [Gambas-user] gambas 0.58 In-Reply-To: <200306142138.37019.gambas@...2...> References: <200306142138.37019.gambas@...2...> Message-ID: <200306161108.08596.radoslav.dejanovic@...116...> On Saturday 14 June 2003 09:38 pm, Benoit Minisini wrote: > Hi people, > > Gambas 0.58 is out. > > This version should work on: SuSE, Gentoo, RedHat, and on systems using > drivers from NVidia !! It compiles fine on SuSE 8.2, but there's a little problem in install: it can't find the libqt-mt.so because the library is named differently. This can be easily fixed with this command: ln -s /usr/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so After that, the install procedure goes just fine. I've tried to fire up IDE and it opens just nicely, and it seem to work. However, when I tried to select different font for a text frame, IDE bailed out with this message: FProperty.SaveProperty.256: #13: Null object I've tried it several times, sometimes it changes the font to the desired value, sometimes it bails out... it seems that I can't reproduce it in consistent manner. I've tried to change fonts over and over, and sometimes it crashes, sometimes not. I presume it might happen in this case: since I have "focus follows mouse" and many windows open, it might be that I accidentaly switch focus to some other window, at which time properties window changes to reflect the other window, and when I try to apply new font, it crashes. I've tested this on source window, and it crashes every time: 1. I open a form, button, whatever 2. I click on font property of a regular object to get font chooser 3. I move my mouse over the source window, to give it a focus; properties window in fact does change to something (!) 4. I try to apply new font selection and voila - boom, crash, bang! :) Now that would explain that "Null object". Is it possible to force Gambas to stick properties window to selected object, to avoid switching between objects and components just by moving the mouse over them? -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From bernard.pre at ...62... Tue Jun 17 13:35:12 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Tue, 17 Jun 2003 13:35:12 +0200 Subject: [Gambas-user] Gambas .58 Message-ID: Hi ! On redhat 9 i have no pb to compil but i have a bad issuue when i try to execute gambas : "/usr/bin.gbx: relocation error : /usr/lib/qt-3.1/lib/libqt-mt.so: undefined symbol: _ZNSs4_Rep11_S_terminalE" Bernard From gambas at ...2... Wed Jun 18 00:03:55 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 18 Jun 2003 00:03:55 +0200 Subject: [Gambas-user] compilation error with qt 3.0 Message-ID: <200306180003.55867.gambas@...2...> I have used a method in CPicture.cpp that exists only in qt 3.1 and not in qt 3.0. So gambas 0.58 does not compile on systems based on qt 3.0. As a temporary workaround, puts the line 336 and 337 in comments. But be careful, the gambas method Desktop.Grab will not work anymore. Sorry for this inconvenience, but it is almost impossible to know exactly what TrollTech changes between two QT versions :-( Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Wed Jun 18 00:01:27 2003 From: karl.reinl at ...9... (Charlie) Date: Wed, 18 Jun 2003 00:01:27 +0200 Subject: [Gambas-user] gentoo and gambas-0.58 work together Message-ID: <3EEF8FB7.9050800@...9...> Just for good news, after setting up my old box with gentoo 1.4 (that took me some time with a 56 k modem) , had a 2 day fight with ppp and wvdial, but the problem were at the provider who made troubles at this time. Now my gentoo 1.4 kde 3.1.2 qt-3.1.2 gcc 3.2.2 ran. And gambas 0.58 too. looks very easy to setup a gentoo, for who can read, thats all. Charlie From bsnipes at ...21... Wed Jun 18 02:51:13 2003 From: bsnipes at ...21... (Brian Snipes) Date: 17 Jun 2003 19:51:13 -0500 Subject: [Gambas-user] gentoo and gambas-0.58 work together In-Reply-To: <3EEF8FB7.9050800@...9...> References: <3EEF8FB7.9050800@...9...> Message-ID: <1055897473.4238.1.camel@...73...> My problem is with the NVidia driver and Gambas. By doing 'opengl-update xfree' I can run Gambas with no issues. If I am using the NVidia OpenGL modules, Gambas segfaults. Brian On Tue, 2003-06-17 at 17:01, Charlie wrote: > Just for good news, > > after setting up my old box with gentoo 1.4 (that took me some time with > a 56 k modem) , had a 2 day fight with ppp and wvdial, but the problem > were at the provider who made troubles at this time. > Now my gentoo 1.4 kde 3.1.2 qt-3.1.2 gcc 3.2.2 ran. > And gambas 0.58 too. > > looks very easy to setup a gentoo, for who can read, thats all. > > Charlie > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bsnipes at ...21... Wed Jun 18 03:49:15 2003 From: bsnipes at ...21... (Brian Snipes) Date: 17 Jun 2003 20:49:15 -0500 Subject: [Gambas-user] ListView Message-ID: <1055900955.4406.2.camel@...73...> Prepare for a bunch of simple questions from me since I am starting a Gambas project that does more than exec-ing a binary. Question #1: How do I get the Key of a selected ListView item in order to delete it? Brian From bsnipes at ...21... Wed Jun 18 04:02:54 2003 From: bsnipes at ...21... (Brian Snipes) Date: 17 Jun 2003 21:02:54 -0500 Subject: [Gambas-user] ListView In-Reply-To: <1055900955.4406.2.camel@...73...> References: <1055900955.4406.2.camel@...73...> Message-ID: <1055901774.4401.4.camel@...73...> Figured it out... ListView.current.key Brian On Tue, 2003-06-17 at 20:49, Brian Snipes wrote: > Prepare for a bunch of simple questions from me since I am starting a > Gambas project that does more than exec-ing a binary. > > Question #1: > How do I get the Key of a selected ListView item in order to delete it? > > Brian > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bsnipes at ...21... Wed Jun 18 05:08:34 2003 From: bsnipes at ...21... (Brian Snipes) Date: 17 Jun 2003 22:08:34 -0500 Subject: [Gambas-user] ListView and Exec Message-ID: <1055905714.4401.9.camel@...73...> I am writing a program in which you input an ip or hostname, click the Insert button and the host is pinged with the constant output inserted into a ListView item line. I have 2 questions: 1. How can I spawn random Exec processes and keep track of the output? 2. When I exec the 'ping hostname' command, the item line in the ListView scrolls up by about 1/2 of the line. Is this a ListView bug or something that I might be doing wrong? Thanks, Brian From gambas at ...2... Wed Jun 18 18:06:55 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 18 Jun 2003 18:06:55 +0200 Subject: [Gambas-user] News about me Message-ID: <200306181806.55750.gambas@...2...> I just wanted to tell everybody that I was fired this morning. I don't know what I'm going to do, i.e. if I will be able to find another half-time job. Because I want to continue learning acting, and developing Gambas of course ! So, maybe it is a bad news, or maybe it is a good news. It depends on what will happen to me... Regards, -- Benoit Minisini mailto:gambas at ...1... From vilainm at ...43... Wed Jun 18 20:03:44 2003 From: vilainm at ...43... (michel vilain) Date: Wed, 18 Jun 2003 11:03:44 -0700 (PDT) Subject: [Gambas-user] Running at last!!! Message-ID: <20030618180344.6199.qmail@...163...> Yup, on my NVidia based Mdk9.1 box, I can finally compile and start Gambas! I even succeeded in making a standalone "Hello World" program. This will be fun. I did a ./configure, make and (as root) make install. Now, root can run Gambas just fine, but as user, I got: sh: line 1: /tmp/gambas/2485.1.tmp: Permission denied Project.InitVersion.152: #43: Access forbidden Now, after changing permisions on /temp/gambas, all is well.... Benoit, I'm really sorry to hear about your job misfortune. I hope (and I'm sure we all do) that you find a replacement job pretty quick. __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From girardhenri at ...67... Wed Jun 18 23:24:43 2003 From: girardhenri at ...67... (HG) Date: Wed, 18 Jun 2003 23:24:43 +0200 Subject: [Gambas-user] Running at last!!! References: <20030618180344.6199.qmail@...163...> Message-ID: good... on my redhat 9 compilation ok... doesn't start : relocation error /usr/bin/gbx ? /usr/lib/qt-3.1/lib/libqt-mt.so : undefined symbol: _ZNSs4_Rep11_S_terminalE help needed HG ----- Original Message ----- From: "michel vilain" To: Sent: Wednesday, June 18, 2003 8:03 PM Subject: [Gambas-user] Running at last!!! > Yup, on my NVidia based Mdk9.1 box, I can finally > compile and start Gambas! I even succeeded in making a > standalone "Hello World" program. This will be fun. > I did a ./configure, make and (as root) make install. > Now, root can run Gambas just fine, but as user, I > got: > sh: line 1: /tmp/gambas/2485.1.tmp: Permission denied > Project.InitVersion.152: #43: Access forbidden > Now, after changing permisions on /temp/gambas, all is > well.... > > Benoit, I'm really sorry to hear about your job > misfortune. I hope (and I'm sure we all do) that you > find a replacement job pretty quick. > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From carlo.m at ...122... Wed Jun 18 23:45:13 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: 18 Jun 2003 23:45:13 +0200 Subject: [Gambas-user] Running at last!!! In-Reply-To: References: <20030618180344.6199.qmail@...163...> Message-ID: <1055972712.3528.3.camel@...56...> I've solved this problem (undefined symbol) on rh9 by upgrading qt library, using those in redhat rawhide (http://distro.ibiblio.org/pub/Linux/distributions/redhat/rawhide/) Regards, Carlo Il mer, 2003-06-18 alle 23:24, HG ha scritto: > good... on my redhat 9 compilation ok... doesn't start : relocation error > /usr/bin/gbx ? > /usr/lib/qt-3.1/lib/libqt-mt.so : undefined symbol: _ZNSs4_Rep11_S_terminalE > help needed > HG > ----- Original Message ----- > From: "michel vilain" > To: > Sent: Wednesday, June 18, 2003 8:03 PM > Subject: [Gambas-user] Running at last!!! > > > > Yup, on my NVidia based Mdk9.1 box, I can finally > > compile and start Gambas! I even succeeded in making a > > standalone "Hello World" program. This will be fun. > > I did a ./configure, make and (as root) make install. > > Now, root can run Gambas just fine, but as user, I > > got: > > sh: line 1: /tmp/gambas/2485.1.tmp: Permission denied > > Project.InitVersion.152: #43: Access forbidden > > Now, after changing permisions on /temp/gambas, all is > > well.... > > > > Benoit, I'm really sorry to hear about your job > > misfortune. I hope (and I'm sure we all do) that you > > find a replacement job pretty quick. > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jochen.georges at ...22... Thu Jun 19 00:37:54 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Thu, 19 Jun 2003 00:37:54 +0200 Subject: [Gambas-user] News about me In-Reply-To: <200306181806.55750.gambas@...2...> References: <200306181806.55750.gambas@...2...> Message-ID: <200306190037.54038.jochen.georges@...22...> On Wednesday 18 June 2003 18:06, Benoit Minisini wrote: > I just wanted to tell everybody that I was fired this morning. oh shit > I don't know what I'm going to do, i.e. if I will be able to find another > half-time job. Because I want to continue learning acting, and developing > Gambas of course ! i wish you tons and tons of luck!!! beste gruesse jochen From inigo at ...161... Thu Jun 19 10:52:47 2003 From: inigo at ...161... (Inigo Zuluaga) Date: Thu, 19 Jun 2003 10:52:47 +0200 Subject: [Gambas-user] compilation error with qt 3.0 In-Reply-To: <200306180003.55867.gambas@...2...> Message-ID: -----Mensaje original----- De: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net]En nombre de Benoit Minisini Enviado el: miercoles, 18 de junio de 2003 0:04 Para: gambas-user at lists.sourceforge.net Asunto: [Gambas-user] compilation error with qt 3.0 I have used a method in CPicture.cpp that exists only in qt 3.1 and not in qt 3.0. So gambas 0.58 does not compile on systems based on qt 3.0. As a temporary workaround, puts the line 336 and 337 in comments. But be careful, the gambas method Desktop.Grab will not work anymore. ************************ That file? Which it is the content of the lines to comment? ************************** Thanks From sourceforge-raindog2 at ...94... Thu Jun 19 14:03:24 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 19 Jun 2003 08:03:24 -0400 Subject: [Gambas-user] compilation error with qt 3.0 In-Reply-To: References: Message-ID: <200306190803.24111.sourceforge-raindog2@...94...> On Thursday 19 June 2003 04:52, Inigo Zuluaga wrote: > That file? > Which it is the content of the lines to comment? if (wid == 0) wid = QPaintDevice::x11AppRootWindow(); but I only commented out the wid = QPaintDevice.... line and added after it, { pict = NULL; return pict; } thinking that the subsequent lines might barf on wid == 0. I don't know whether mine will cause coredumps or not (haven't made it into a patch so I could build an RPM yet, been working under deadline) but it did compile ;) Rob From gambas at ...2... Sat Jun 21 11:57:05 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 21 Jun 2003 11:57:05 +0200 Subject: [Gambas-user] gambas 0.58 In-Reply-To: <200306161108.08596.radoslav.dejanovic@...116...> References: <200306142138.37019.gambas@...2...> <200306161108.08596.radoslav.dejanovic@...116...> Message-ID: <200306211157.05981.gambas@...2...> Le Lundi 16 Juin 2003 11:08, Radoslav Dejanovic a ?crit : > On Saturday 14 June 2003 09:38 pm, Benoit Minisini wrote: > > Hi people, > > > > Gambas 0.58 is out. > > > > This version should work on: SuSE, Gentoo, RedHat, and on systems using > > drivers from NVidia !! > > It compiles fine on SuSE 8.2, but there's a little problem in install: it > can't find the libqt-mt.so because the library is named differently. > This can be easily fixed with this command: > > ln -s /usr/lib/libqt-mt.so.3 /usr/lib/libqt-mt.so > > After that, the install procedure goes just fine. > I've tried to fire up IDE and it opens just nicely, and it seem to work. > However, when I tried to select different font for a text frame, IDE > bailed out with this message: > > FProperty.SaveProperty.256: #13: Null object > > I've tried it several times, sometimes it changes the font to the desired > value, sometimes it bails out... it seems that I can't reproduce it in > consistent manner. I've tried to change fonts over and over, and sometimes > it crashes, sometimes not. I presume it might happen in this case: since I > have "focus follows mouse" and many windows open, it might be that I > accidentaly switch focus to some other window, at which time properties > window changes to reflect the other window, and when I try to apply new > font, it crashes. I've tested this on source window, and it crashes every > time: > > 1. I open a form, button, whatever > 2. I click on font property of a regular object to get font chooser > 3. I move my mouse over the source window, to give it a focus; properties > window in fact does change to something (!) > 4. I try to apply new font selection and voila - boom, crash, bang! :) > > Now that would explain that "Null object". Is it possible to force Gambas > to stick properties window to selected object, to avoid switching between > objects and components just by moving the mouse over them? Thanks. I fixed it ! -- Benoit Minisini mailto:gambas at ...1... From lmorselli at ...86... Sat Jun 21 19:09:56 2003 From: lmorselli at ...86... (Lorenzo Morselli) Date: 21 Jun 2003 19:09:56 +0200 Subject: [Gambas-user] gambas 0.58 In-Reply-To: <200306142138.37019.gambas@...2...> References: <200306142138.37019.gambas@...2...> Message-ID: <1055786441.22122.2.camel@...40...> On Sat, 2003-06-14 at 21:38, Benoit Minisini wrote: > Hi people, > > Gambas 0.58 is out. > > This version should work on: SuSE, Gentoo, RedHat, and on systems using > drivers from NVidia !! > > I must admit that I tested only on a Gentoo with a NVidia driver. But you will > tell me :-) On Mandrake 9.1 and NVidia it works. I' can't compile it on Red Hat 8.0, I'll try again tomorrow. Bye. -- Lorenzo Morselli http://spazioinwind.libero.it/lmorselli/ From gambas at ...2... Sun Jun 22 12:39:18 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 22 Jun 2003 12:39:18 +0200 Subject: [Gambas-user] Re: gambas 0.58 install error In-Reply-To: <200306211905.47391.vozkev@...159...> References: <200306211905.47391.vozkev@...159...> Message-ID: <200306221239.18918.gambas@...2...> Le Dimanche 22 Juin 2003 04:05, vous avez ?crit : > Hi, > > I'm trying to compile/install v 0.58 of gambas on a SuSE 8.1 system > running KDE 3.1.1 and qt3.1.2. > > I downloaded the tarball and get to the point of doing a make install and > everything comes to a screeching halt. It all appears to compile with the > switches, but has a problem in the install. > > Included is the directory listing where the library is referenced (as a > link). > > When compiled, I tried a ./reconf and make clean before actually generating > the output.txt file using switches shown (below), but the error is always > occurring at the same point during install. > > Other details: > > hardware: intel p4; 2.2Ghz, 1GB ram, > > glibc v.2.2.5-184 > > ratbert:/tmp/gambas-0.58 # gcc --version > gcc (GCC) 3.2 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > ratbert:/tmp/gambas-0.58 # > > > > Here's the command I used to produce output.txt and an excerpt around where > I get the error: > > ratbert:/tmp/gambas-0.58 # (./configure --with-kde-libraries=/opt/kde3/lib/ > --with-kde-includes=/opt/kde3/include/ --disable-pgsql-driver > --disable-mysql-driver ; make ; make install ) > output.txt 2>&1 > > > . > . > . > > Making symbolic links in /usr/bin... > > Compiling and installing the development environment... > Compiling gambas... > OK > Compiling gambas-database-manager... > OK > > Creating the library info files... > /opt/gambas/bin/gbi: error while loading shared libraries: libqt-mt.so: > cannot open shared obje > ct file: No such file or directory > make[2]: *** [install-exec-local] Error 127 > make[2]: Leaving directory `/tmp/gambas-0.58' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/tmp/gambas-0.58' > make: *** [install-recursive] Error 1 > ratbert:/tmp/gambas-0.58 # > > > Lsting of the directory with ref to library that is complained about: > > ratbert:/tmp/gambas-0.58 # ll /usr/lib/qt3/lib > total 19614 > drwxr-xr-x 2 root root 736 2003-04-16 15:48 . > drwxr-xr-x 12 root root 312 2003-04-16 15:48 .. > -rw-r--r-- 1 root root 6073940 2003-03-26 17:33 libdesigner.a > -rw-r--r-- 1 root root 976 2003-03-26 17:32 libdesigner.prl > -rw-r--r-- 1 root root 378218 2003-03-26 17:33 libeditor.a > -rw-r--r-- 1 root root 836 2003-03-26 17:32 libeditor.prl > -rw-r--r-- 1 root root 18362 2003-03-26 17:33 > libqassistantclient.a > -rw-r--r-- 1 root root 847 2003-03-26 17:32 > libqassistantclient.prl > -rw-r--r-- 1 root root 696 2003-03-26 16:21 libqt-mt.prl > lrwxrwxrwx 1 root root 17 2003-04-16 15:31 libqt-mt.so -> > libqt-mt.so.3.1.2 > lrwxrwxrwx 1 root root 17 2003-04-16 15:28 libqt-mt.so.3 > -> libqt-mt.so.3.1.2 > lrwxrwxrwx 1 root root 17 2003-04-16 15:28 libqt-mt.so.3.1 > -> libqt-mt.so.3.1.2 > -rwxr-xr-x 1 root root 6693968 2003-03-26 16:21 > libqt-mt.so.3.1.2 -rw-r--r-- 1 root root 668 2003-03-26 > 15:33 libqt.prl lrwxrwxrwx 1 root root 14 2003-04-16 15:33 > libqt.so -> libqt.so.3.1.2 > lrwxrwxrwx 1 root root 14 2003-04-16 15:33 libqt.so.3 -> > libqt.so.3.1.2 > lrwxrwxrwx 1 root root 14 2003-04-16 15:33 libqt.so.3.1 -> > libqt.so.3.1.2 > -rwxr-xr-x 1 root root 6661088 2003-03-26 15:33 libqt.so.3.1.2 > -rw-r--r-- 1 root root 609 2003-03-26 16:22 libqui.prl > lrwxrwxrwx 1 root root 15 2003-04-16 15:31 libqui.so -> > libqui.so.1.0.0 > lrwxrwxrwx 1 root root 15 2003-04-16 15:28 libqui.so.1 -> > libqui.so.1.0.0 > lrwxrwxrwx 1 root root 15 2003-04-16 15:28 libqui.so.1.0 > -> libqui.so.1.0.0 > -rwxr-xr-x 1 root root 201776 2003-03-26 16:22 libqui.so.1.0.0 > ratbert:/tmp/gambas-0.58 # > > > attached is output.txt file > > > any suggestions appreciated. TIA, > Kevin Hi, Kevin. I think the problem comes from the fact that that the qt libary are preloaded by gbi and gbx, to avoid a crash, and that the qt library is not in the library path under SuSE 8.1 Could you try to lauch gbi by hand this way to confirm my supposition ? $ LD_LIBRARY_PATH=/usr/lib/qt3/lib gbi Regards, -- Benoit Minisini mailto:gambas at ...1... From henrigirard at ...11... Sun Jun 22 17:25:01 2003 From: henrigirard at ...11... (HG) Date: Sun, 22 Jun 2003 17:25:01 +0200 Subject: [Gambas-user] unsubscribe References: <200306211905.47391.vozkev@...159...> <200306221239.18918.gambas@...2...> Message-ID: <003401c338d2$72f0fef0$0100a8c0@...164...> ----- Original Message ----- From: "Benoit Minisini" To: "K. Vosburgh" ; Sent: Sunday, June 22, 2003 12:39 PM Subject: [Gambas-user] Re: gambas 0.58 install error Le Dimanche 22 Juin 2003 04:05, vous avez ?crit : > Hi, > > I'm trying to compile/install v 0.58 of gambas on a SuSE 8.1 system > running KDE 3.1.1 and qt3.1.2. > > I downloaded the tarball and get to the point of doing a make install and > everything comes to a screeching halt. It all appears to compile with the > switches, but has a problem in the install. > > Included is the directory listing where the library is referenced (as a > link). > > When compiled, I tried a ./reconf and make clean before actually generating > the output.txt file using switches shown (below), but the error is always > occurring at the same point during install. > > Other details: > > hardware: intel p4; 2.2Ghz, 1GB ram, > > glibc v.2.2.5-184 > > ratbert:/tmp/gambas-0.58 # gcc --version > gcc (GCC) 3.2 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > ratbert:/tmp/gambas-0.58 # > > > > Here's the command I used to produce output.txt and an excerpt around where > I get the error: > > ratbert:/tmp/gambas-0.58 # (./configure --with-kde-libraries=/opt/kde3/lib/ > --with-kde-includes=/opt/kde3/include/ --disable-pgsql-driver > --disable-mysql-driver ; make ; make install ) > output.txt 2>&1 > > > . > . > . > > Making symbolic links in /usr/bin... > > Compiling and installing the development environment... > Compiling gambas... > OK > Compiling gambas-database-manager... > OK > > Creating the library info files... > /opt/gambas/bin/gbi: error while loading shared libraries: libqt-mt.so: > cannot open shared obje > ct file: No such file or directory > make[2]: *** [install-exec-local] Error 127 > make[2]: Leaving directory `/tmp/gambas-0.58' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/tmp/gambas-0.58' > make: *** [install-recursive] Error 1 > ratbert:/tmp/gambas-0.58 # > > > Lsting of the directory with ref to library that is complained about: > > ratbert:/tmp/gambas-0.58 # ll /usr/lib/qt3/lib > total 19614 > drwxr-xr-x 2 root root 736 2003-04-16 15:48 . > drwxr-xr-x 12 root root 312 2003-04-16 15:48 .. > -rw-r--r-- 1 root root 6073940 2003-03-26 17:33 libdesigner.a > -rw-r--r-- 1 root root 976 2003-03-26 17:32 libdesigner.prl > -rw-r--r-- 1 root root 378218 2003-03-26 17:33 libeditor.a > -rw-r--r-- 1 root root 836 2003-03-26 17:32 libeditor.prl > -rw-r--r-- 1 root root 18362 2003-03-26 17:33 > libqassistantclient.a > -rw-r--r-- 1 root root 847 2003-03-26 17:32 > libqassistantclient.prl > -rw-r--r-- 1 root root 696 2003-03-26 16:21 libqt-mt.prl > lrwxrwxrwx 1 root root 17 2003-04-16 15:31 libqt-mt.so -> > libqt-mt.so.3.1.2 > lrwxrwxrwx 1 root root 17 2003-04-16 15:28 libqt-mt.so.3 > -> libqt-mt.so.3.1.2 > lrwxrwxrwx 1 root root 17 2003-04-16 15:28 libqt-mt.so.3.1 > -> libqt-mt.so.3.1.2 > -rwxr-xr-x 1 root root 6693968 2003-03-26 16:21 > libqt-mt.so.3.1.2 -rw-r--r-- 1 root root 668 2003-03-26 > 15:33 libqt.prl lrwxrwxrwx 1 root root 14 2003-04-16 15:33 > libqt.so -> libqt.so.3.1.2 > lrwxrwxrwx 1 root root 14 2003-04-16 15:33 libqt.so.3 -> > libqt.so.3.1.2 > lrwxrwxrwx 1 root root 14 2003-04-16 15:33 libqt.so.3.1 -> > libqt.so.3.1.2 > -rwxr-xr-x 1 root root 6661088 2003-03-26 15:33 libqt.so.3.1.2 > -rw-r--r-- 1 root root 609 2003-03-26 16:22 libqui.prl > lrwxrwxrwx 1 root root 15 2003-04-16 15:31 libqui.so -> > libqui.so.1.0.0 > lrwxrwxrwx 1 root root 15 2003-04-16 15:28 libqui.so.1 -> > libqui.so.1.0.0 > lrwxrwxrwx 1 root root 15 2003-04-16 15:28 libqui.so.1.0 > -> libqui.so.1.0.0 > -rwxr-xr-x 1 root root 201776 2003-03-26 16:22 libqui.so.1.0.0 > ratbert:/tmp/gambas-0.58 # > > > attached is output.txt file > > > any suggestions appreciated. TIA, > Kevin Hi, Kevin. I think the problem comes from the fact that that the qt libary are preloaded by gbi and gbx, to avoid a crash, and that the qt library is not in the library path under SuSE 8.1 Could you try to lauch gbi by hand this way to confirm my supposition ? $ LD_LIBRARY_PATH=/usr/lib/qt3/lib gbi Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From kannan62k at ...43... Sun Jun 22 20:06:45 2003 From: kannan62k at ...43... (Kannan Ramasamy) Date: Sun, 22 Jun 2003 11:06:45 -0700 (PDT) Subject: [Gambas-user] make error with missing qt-mt file Message-ID: <20030622180645.30475.qmail@...165...> Hi, I jus installed qt-3.1.1 and to dismay, install exited with not finding a libqt-mt library. What hav i missed? Regards R S Kannan __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From kannan62k at ...43... Sun Jun 22 20:10:34 2003 From: kannan62k at ...43... (Kannan Ramasamy) Date: Sun, 22 Jun 2003 11:10:34 -0700 (PDT) Subject: [Gambas-user] (no subject) Message-ID: <20030622181034.15106.qmail@...167...> Following is the error while using lib-qt-mt of bundled with qt3-3.0.5 [root at ...166... lib]# gbi -V gbi-0.58 [root at ...166... lib]# gambas ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: _ZN6QFrame11styleChangeER6QStyle This is for ur info. Regards R S Kannan __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From sirtim at ...168... Mon Jun 23 09:25:22 2003 From: sirtim at ...168... (Tim Broddin) Date: Mon, 23 Jun 2003 09:25:22 +0200 Subject: [Gambas-user] Startup issue Message-ID: <3EF6AB62.4090203@...168...> Hi, I'm relatively new to Linux and when I since a worked a lot with VB in the past I really wanted to start developing with Gambas. Compilation went fine but when I start gambas I get this error: /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so: undefined symbol: _ZNSs4_Rep11_S_terminalE I'm using Gambas 0.58 on a Red Hat 9 box. Anyone knows how to resolve this? Kind regards Tim From girardhenri at ...67... Mon Jun 23 09:45:47 2003 From: girardhenri at ...67... (HG) Date: Mon, 23 Jun 2003 09:45:47 +0200 Subject: [Gambas-user] Startup issue References: <3EF6AB62.4090203@...168...> Message-ID: i have the same problem... in gambas archives someone answered few days ago saying to get the rpm from another location ... look in archives 3 days ago.. I hadn't time to do it yet (i think it's in fresh meat rpm.. not sure...) good luck HG ----- Original Message ----- From: "Tim Broddin" To: Sent: Monday, June 23, 2003 9:25 AM Subject: [Gambas-user] Startup issue > Hi, > > I'm relatively new to Linux and when I since a worked a lot with VB in > the past I really wanted to start developing with Gambas. Compilation > went fine but when I start gambas I get this error: > > /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so: > undefined symbol: _ZNSs4_Rep11_S_terminalE > > I'm using Gambas 0.58 on a Red Hat 9 box. > > Anyone knows how to resolve this? > > Kind regards > > Tim > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2... Mon Jun 23 11:32:42 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 23 Jun 2003 11:32:42 +0200 Subject: [Gambas-user] Startup issue In-Reply-To: <3EF6AB62.4090203@...168...> References: <3EF6AB62.4090203@...168...> Message-ID: <200306231132.43055.gambas@...2...> Le Lundi 23 Juin 2003 09:25, Tim Broddin a ?crit : > Hi, > > I'm relatively new to Linux and when I since a worked a lot with VB in > the past I really wanted to start developing with Gambas. Compilation > went fine but when I start gambas I get this error: > > /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so: > undefined symbol: _ZNSs4_Rep11_S_terminalE > > I'm using Gambas 0.58 on a Red Hat 9 box. > > Anyone knows how to resolve this? > > Kind regards > > Tim > I put the solution on the "important notes" page on the website. Regards, -- Benoit Minisini mailto:gambas at ...1... From secmon at ...169... Mon Jun 23 12:42:09 2003 From: secmon at ...169... (Henry Ismaili) Date: Mon, 23 Jun 2003 20:42:09 +1000 Subject: [Gambas-user] input box Message-ID: <200306232042.09406.secmon@...169...> i know there is a Message box in Gambas, but is there such a thing as an INPUT box? regards, Henry. From Gambasfr at ...11... Mon Jun 23 21:27:01 2003 From: Gambasfr at ...11... (Fabien) Date: Mon, 23 Jun 2003 21:27:01 +0200 Subject: [Gambas-user] input box In-Reply-To: <200306232042.09406.secmon@...169...> References: <200306232042.09406.secmon@...169...> Message-ID: <200306232127.01704.Gambasfr@...11...> Le Lundi 23 Juin 2003 12:42, Henry Ismaili a ?crit : > i know there is a Message box in Gambas, but is there such a thing as an > INPUT box? > > regards, > > Henry. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Can't you make it yourself ? No, input box doesn't exist in gambas ! There isn't really hard work to make a little reusable input box ! Look the ide for it ! Fabien From sourceforge-raindog2 at ...94... Mon Jun 23 21:50:48 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 23 Jun 2003 15:50:48 -0400 Subject: [Gambas-user] input box In-Reply-To: <200306232127.01704.Gambasfr@...11...> References: <200306232042.09406.secmon@...169...> <200306232127.01704.Gambasfr@...11...> Message-ID: <200306231550.48398.sourceforge-raindog2@...94...> On Monday 23 June 2003 15:27, Fabien wrote: > Can't you make it yourself ? > No, input box doesn't exist in gambas ! > There isn't really hard work to make a little reusable input box ! > Look the ide for it ! Just the same, I'll add that to the "Differences from VB" page since there it's a pretty commonly used 1 line of code and here it's a minimum of 3 lines of code plus an extra form and class in each project that uses it. What would be cool would be if it were possible to actually write components in Gambas (the way you can write VB controls in VB) so your projects don't have to get cluttered up with extra classes that implement pretty basic functionality like this but you also don't have to learn C (or in this case C++ since it's Qt) just to write reusable Gambas components. There's precedent in other high level Unix languages as well - Perl, Tcl, etc. I don't know if Gambas' architecture makes that possible, though. Maybe the concept of "Gambas libraries" - code files that act more or less like components (add available classes to your projects) but aren't located in the same directory as your Gambas project and are written in Gambas (but invisible to the user in the IDE, so they can't accidentally be messed up) - would be a nice compromise. That would require changes to the language as well, of course. Rob From dimitribellini at ...69... Tue Jun 24 02:24:23 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 24 Jun 2003 00:24:23 +0000 Subject: [Gambas-user] input box In-Reply-To: <200306231550.48398.sourceforge-raindog2@...94...> References: <200306232042.09406.secmon@...169...> <200306232127.01704.Gambasfr@...11...> <200306231550.48398.sourceforge-raindog2@...94...> Message-ID: <200306240027.32669.dimitribellini@...69...> On Monday 23 June 2003 19:50, Rob wrote: > On Monday 23 June 2003 15:27, Fabien wrote: > > Can't you make it yourself ? > > No, input box doesn't exist in gambas ! > > There isn't really hard work to make a little reusable input box ! > > Look the ide for it ! > > Just the same, I'll add that to the "Differences from VB" page since there > it's a pretty commonly used 1 line of code and here it's a minimum of 3 > lines of code plus an extra form and class in each project that uses it. > > What would be cool would be if it were possible to actually write > components in Gambas (the way you can write VB controls in VB) so your > projects don't have to get cluttered up with extra classes that implement > pretty basic functionality like this but you also don't have to learn C (or > in this case C++ since it's Qt) just to write reusable Gambas components. > There's precedent in other high level Unix languages as well - Perl, Tcl, > etc. I don't know if Gambas' architecture makes that possible, though. > > Maybe the concept of "Gambas libraries" - code files that act more or less > like components (add available classes to your projects) but aren't located > in the same directory as your Gambas project and are written in Gambas (but > invisible to the user in the IDE, so they can't accidentally be messed up) > - would be a nice compromise. That would require changes to the language > as well, of course. > > Rob > Nice idea Rob!! Thanks Benoit Dimitri From gambas at ...2... Tue Jun 24 10:15:35 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 24 Jun 2003 10:15:35 +0200 Subject: [Gambas-user] input box In-Reply-To: <200306231550.48398.sourceforge-raindog2@...94...> References: <200306232042.09406.secmon@...169...> <200306232127.01704.Gambasfr@...11...> <200306231550.48398.sourceforge-raindog2@...94...> Message-ID: <200306241015.35481.gambas@...2...> Le Lundi 23 Juin 2003 21:50, Rob a ?crit : > On Monday 23 June 2003 15:27, Fabien wrote: > > Can't you make it yourself ? > > No, input box doesn't exist in gambas ! > > There isn't really hard work to make a little reusable input box ! > > Look the ide for it ! > > Just the same, I'll add that to the "Differences from VB" page since there > it's a pretty commonly used 1 line of code and here it's a minimum of 3 > lines of code plus an extra form and class in each project that uses it. > > What would be cool would be if it were possible to actually write > components in Gambas (the way you can write VB controls in VB) so your > projects don't have to get cluttered up with extra classes that implement > pretty basic functionality like this but you also don't have to learn C (or > in this case C++ since it's Qt) just to write reusable Gambas components. > There's precedent in other high level Unix languages as well - Perl, Tcl, > etc. I don't know if Gambas' architecture makes that possible, though. > > Maybe the concept of "Gambas libraries" - code files that act more or less > like components (add available classes to your projects) but aren't located > in the same directory as your Gambas project and are written in Gambas (but > invisible to the user in the IDE, so they can't accidentally be messed up) > - would be a nice compromise. That would require changes to the language > as well, of course. > > Rob > This is planned :-) -- Benoit Minisini mailto:gambas at ...1... From secmon at ...169... Tue Jun 24 13:51:54 2003 From: secmon at ...169... (Henry Ismaili) Date: Tue, 24 Jun 2003 21:51:54 +1000 Subject: [Gambas-user] input box In-Reply-To: <200306241015.35481.gambas@...2...> References: <200306232042.09406.secmon@...169...> <200306231550.48398.sourceforge-raindog2@...94...> <200306241015.35481.gambas@...2...> Message-ID: <200306242151.54153.secmon@...169...> On Tue, 24 Jun 2003 18:15, Benoit Minisini wrote: > Le Lundi 23 Juin 2003 21:50, Rob a ?crit : > > On Monday 23 June 2003 15:27, Fabien wrote: > > > Can't you make it yourself ? > > > No, input box doesn't exist in gambas ! > > > There isn't really hard work to make a little reusable input box ! > > > Look the ide for it ! > > > > Just the same, I'll add that to the "Differences from VB" page since > > there it's a pretty commonly used 1 line of code and here it's a minimum > > of 3 lines of code plus an extra form and class in each project that uses > > it. > > > > What would be cool would be if it were possible to actually write > > components in Gambas (the way you can write VB controls in VB) so your > > projects don't have to get cluttered up with extra classes that implement > > pretty basic functionality like this but you also don't have to learn C > > (or in this case C++ since it's Qt) just to write reusable Gambas > > components. There's precedent in other high level Unix languages as well > > - Perl, Tcl, etc. I don't know if Gambas' architecture makes that > > possible, though. > > > > Maybe the concept of "Gambas libraries" - code files that act more or > > less like components (add available classes to your projects) but aren't > > located in the same directory as your Gambas project and are written in > > Gambas (but invisible to the user in the IDE, so they can't accidentally > > be messed up) - would be a nice compromise. That would require changes > > to the language as well, of course. > > > > Rob > > This is planned :-) I used to use a program called VB Sourcebook, when i used to use VB. All it was, was a collection of Functions and Procedures that u can import into your project. I've created a few functions and procedures in a module, that i use for projects in Gambas. ie a combobox function where u pass just the variables and the function does the rest. (query db, fill combolist etc) maybe this is kind of another option ... From secmon at ...169... Tue Jun 24 15:42:23 2003 From: secmon at ...169... (Henry Ismaili) Date: Tue, 24 Jun 2003 23:42:23 +1000 Subject: [Gambas-user] Leavng a SUB Message-ID: <200306242342.23572.secmon@...169...> Is this the way it's supposed to be done ... PUBLIC SUB Button2_Click() IF textbox1.text = "" THEN Message.Question("You must enter a number", "OK") GOTO B2_END END IF PRINT textbox1.text B2_END: END I know in VB, instead of the GOTO, u place an 'EXIT SUB". Regards, Henry From Gambasfr at ...11... Tue Jun 24 20:45:27 2003 From: Gambasfr at ...11... (Fabien) Date: Tue, 24 Jun 2003 20:45:27 +0200 Subject: [Gambas-user] Leavng a SUB In-Reply-To: <200306242342.23572.secmon@...169...> References: <200306242342.23572.secmon@...169...> Message-ID: <200306242045.27628.Gambasfr@...11...> Le Mardi 24 Juin 2003 15:42, Henry Ismaili a ?crit : > Is this the way it's supposed to be done ... > > PUBLIC SUB Button2_Click() > > IF textbox1.text = "" THEN > Message.Question("You must enter a number", "OK") > GOTO B2_END > END IF > > PRINT textbox1.text > > B2_END: > > END > > I know in VB, instead of the GOTO, u place an 'EXIT SUB". > > Regards, > > Henry > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Salut You can use the RETURN keyword ! Return have two act in gambas : - simply RETURN to leave the sub - RETURN $result to return a function result Exemple for function : in vb Public Function Weather (Value as Integer) as String if Value = 1 then Weather = Sunny Exit Function End if Weather = Cloudy End select End Function The same in Gambas : PUBLIC FUNCTION Weather (Value as Integer) as String IF Value = 1 THEN RETURN Sunny RETURN Cloudy End select END Gambas is great ! Fabien From sourceforge-raindog2 at ...94... Tue Jun 24 23:13:29 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 24 Jun 2003 17:13:29 -0400 Subject: [Gambas-user] the "differences from VB" page Message-ID: <200306241713.29706.sourceforge-raindog2@...94...> I updated that page for users coming from VB environments today a little bit based on the recent discussions here (RETURN vs. EXIT SUB, InputBox etc.) If anyone would like to add anything to it (even if it's a question for the rest of us to answer), please do. It's been too long since I used VB myself to notice some of these differences that trip longtime VB users up. I also just had a pretty hardcore VB user ask me to package up Gambas, my MDI hack of it, and the source and documentation on a CD for his Linux laptop so I imagine in the next week or so I'll have lots more to add ;) Rob From kannan62k at ...43... Wed Jun 25 04:50:29 2003 From: kannan62k at ...43... (Kannan Ramasamy) Date: Tue, 24 Jun 2003 19:50:29 -0700 (PDT) Subject: [Gambas-user] Diff. with VB Message-ID: <20030625025029.49348.qmail@...170...> Hi, The differences, i think, are minimal when it comes to overall deliverance and the direct link with QT and a C compiler is the best mix anyone can desire. At this outset, I would like to see these controls: 1. Datepicker 2. Database/Table link 3. Reporting Tool Packaging was something I conveyed Beniot sometime back and Im the in the process of building/selling Linux Boxes here, I live in Chennai(Madras)/Tamil Nadu/India. Im planning to package some of the famous Freeware/Sourceforge projects with the system. Regards R S Kannan __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From sourceforge-raindog2 at ...94... Wed Jun 25 05:33:48 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 24 Jun 2003 23:33:48 -0400 Subject: [Gambas-user] Diff. with VB In-Reply-To: <20030625025029.49348.qmail@...170...> References: <20030625025029.49348.qmail@...170...> Message-ID: <200306242333.48475.sourceforge-raindog2@...94...> On Tuesday 24 June 2003 22:50, Kannan Ramasamy wrote: > At this outset, I would like to see these controls: > 1. Datepicker > 2. Database/Table link > 3. Reporting Tool I think that all of these things would be better implemented in Gambas (using whatever mechanism Benoit comes up with - see his brief note on the InputBox thread) rather than writing new components for them in C++ and Qt (which would then have to be reimplemented when Gambas gets a Gtk/Win32/Cocoa/whatever component.) I've done a lot with the Printer object in VB for report generation because the included Crystal Reports (and indeed, the expensive retail one) sucks ass and crashes a lot, so I expect to be experimenting with the Gambas equivalent, and the other two items on your list would best be implemented as compound widgets, to use a Tcl term. That said, I don't want to dissuade anyone (including you!) from tackling any of these ideas if you would rather not wait for someone else to do so. > Packaging was something I conveyed Beniot sometime > back and Im the in the process of building/selling > Linux Boxes here, I live in Chennai(Madras)/Tamil > Nadu/India. Im planning to package some of the famous > Freeware/Sourceforge projects with the system. You mean packaging of Gambas itself, or packaging of Gambas projects? If you meant the former, I think campaigning for distributions to include Gambas (and failing that, getting people like you and me to build them for our favorite distribution) makes more sense than trying to convince Benoit to install every distribution on the face of the earth to tediously build packages ;) If you meant the latter, I could certainly see Gambas setup tools for RPM- and apt-based distributions that start with the tarball created by the "make package" menu option and end up with your package format of choice. I'll probably write one for RPM when I have time (read: down my priority list a ways, behind getting the wiki docs all straightened out and making my first attempt at a VB->Gambas form translator.) Rob From nigel at ...38... Wed Jun 25 13:59:09 2003 From: nigel at ...38... (Nigel Gerrard) Date: Wed, 25 Jun 2003 12:59:09 +0100 Subject: [Gambas-user] input box References: <200306232042.09406.secmon@...169...> <200306232127.01704.Gambasfr@...11...> <200306231550.48398.sourceforge-raindog2@...94...> <200306241015.35481.gambas@...2...> Message-ID: <008401c33b11$52c438e0$000a0a0a@...171...> Back in January I submitted the following component for inclusion in gambas. At the time Benoit thought the InputBox of VB a bad idea, so it didn't get included. Perhaps we'll try again :-) Nigel ----- Original Message ----- From: "Benoit Minisini" To: Sent: Tuesday, June 24, 2003 9:15 AM Subject: Re: [Gambas-user] input box Le Lundi 23 Juin 2003 21:50, Rob a ?crit : > On Monday 23 June 2003 15:27, Fabien wrote: > > Can't you make it yourself ? > > No, input box doesn't exist in gambas ! > > There isn't really hard work to make a little reusable input box ! > > Look the ide for it ! > > Just the same, I'll add that to the "Differences from VB" page since there > it's a pretty commonly used 1 line of code and here it's a minimum of 3 > lines of code plus an extra form and class in each project that uses it. > > What would be cool would be if it were possible to actually write > components in Gambas (the way you can write VB controls in VB) so your > projects don't have to get cluttered up with extra classes that implement > pretty basic functionality like this but you also don't have to learn C (or > in this case C++ since it's Qt) just to write reusable Gambas components. > There's precedent in other high level Unix languages as well - Perl, Tcl, > etc. I don't know if Gambas' architecture makes that possible, though. > > Maybe the concept of "Gambas libraries" - code files that act more or less > like components (add available classes to your projects) but aren't located > in the same directory as your Gambas project and are written in Gambas (but > invisible to the user in the IDE, so they can't accidentally be messed up) > - would be a nice compromise. That would require changes to the language > as well, of course. > > Rob > This is planned :-) -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: CInputBox.tar.gz Type: application/octet-stream Size: 2423 bytes Desc: not available URL: From gambas at ...2... Wed Jun 25 14:27:44 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 25 Jun 2003 14:27:44 +0200 Subject: [Gambas-user] input box In-Reply-To: <008401c33b11$52c438e0$000a0a0a@...171...> References: <200306232042.09406.secmon@...169...> <200306241015.35481.gambas@...2...> <008401c33b11$52c438e0$000a0a0a@...171...> Message-ID: <200306251427.44428.gambas@...2...> Le Mercredi 25 Juin 2003 13:59, Nigel Gerrard a ?crit : > Back in January I submitted the following component for inclusion in > gambas. At the time Benoit thought the InputBox of VB a bad idea, so > it didn't get included. Perhaps we'll try again :-) > > Nigel > I think it is better to do such a thing in Gambas, and to let a Gambas project use another Gambas project as a library. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Jun 25 14:31:05 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 25 Jun 2003 14:31:05 +0200 Subject: [Gambas-user] Diff. with VB In-Reply-To: <20030625025029.49348.qmail@...170...> References: <20030625025029.49348.qmail@...170...> Message-ID: <200306251431.05141.gambas@...2...> Le Mercredi 25 Juin 2003 04:50, Kannan Ramasamy a ?crit : > Hi, > > > The differences, i think, are minimal when it comes to > overall deliverance and the direct link with QT and a > C compiler is the best mix anyone can desire. > > > At this outset, I would like to see these controls: > > 1. Datepicker I just tried to integrate the DatePicker widget of KDE, but it strangely crashes sometimes... So I dropped. > > 2. Database/Table link What do you mean ? Look in the gambas database manager sources, you can use the TableView widget to view database contents. > > 3. Reporting Tool > It is planned. > > > Packaging was something I conveyed Beniot sometime > back and Im the in the process of building/selling > Linux Boxes here, I live in Chennai(Madras)/Tamil > Nadu/India. Im planning to package some of the famous > Freeware/Sourceforge projects with the system. > > Regards > > > > R S Kannan Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed Jun 25 14:35:19 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 25 Jun 2003 14:35:19 +0200 Subject: [Gambas-user] Diff. with VB In-Reply-To: <200306242333.48475.sourceforge-raindog2@...94...> References: <20030625025029.49348.qmail@...170...> <200306242333.48475.sourceforge-raindog2@...94...> Message-ID: <200306251435.19904.gambas@...2...> Le Mercredi 25 Juin 2003 05:33, Rob a ?crit : > On Tuesday 24 June 2003 22:50, Kannan Ramasamy wrote: > > At this outset, I would like to see these controls: > > 1. Datepicker > > 2. Database/Table link > > 3. Reporting Tool > > I think that all of these things would be better implemented in Gambas > (using whatever mechanism Benoit comes up with - see his brief note on the > InputBox thread) rather than writing new components for them in C++ and Qt > (which would then have to be reimplemented when Gambas gets a > Gtk/Win32/Cocoa/whatever component.) I agree. > > I've done a lot with the Printer object in VB for report generation because > the included Crystal Reports (and indeed, the expensive retail one) sucks > ass and crashes a lot, so I expect to be experimenting with the Gambas > equivalent, and the other two items on your list would best be implemented > as compound widgets, to use a Tcl term. Having integrated Report manager into Gambas needs a lot of IDE rework first. This work is currently in progress. > > That said, I don't want to dissuade anyone (including you!) from tackling > any of these ideas if you would rather not wait for someone else to do so. > > > Packaging was something I conveyed Beniot sometime > > back and Im the in the process of building/selling > > Linux Boxes here, I live in Chennai(Madras)/Tamil > > Nadu/India. Im planning to package some of the famous > > Freeware/Sourceforge projects with the system. > > You mean packaging of Gambas itself, or packaging of Gambas projects? If > you meant the former, I think campaigning for distributions to include > Gambas (and failing that, getting people like you and me to build them for > our favorite distribution) makes more sense than trying to convince Benoit > to install every distribution on the face of the earth to tediously build > packages ;) Of course ! I think Gambas is next to work on all distributions. The problem is that the major distributions currently change a lot of things between each version: glibc, qt, etc. I hope all that will stabilize in the near future. > > If you meant the latter, I could certainly see Gambas setup tools for RPM- > and apt-based distributions that start with the tarball created by the > "make package" menu option and end up with your package format of choice. > I'll probably write one for RPM when I have time (read: down my priority > list a ways, behind getting the wiki docs all straightened out and making > my first attempt at a VB->Gambas form translator.) Such a tool will be great for VB newbies. > > Rob > -- Benoit Minisini mailto:gambas at ...1... From Gambasfr at ...11... Wed Jun 25 21:26:20 2003 From: Gambasfr at ...11... (Fabien) Date: Wed, 25 Jun 2003 21:26:20 +0200 Subject: [Gambas-user] input box In-Reply-To: <200306251427.44428.gambas@...2...> References: <200306232042.09406.secmon@...169...> <008401c33b11$52c438e0$000a0a0a@...171...> <200306251427.44428.gambas@...2...> Message-ID: <200306252126.20643.Gambasfr@...11...> Le Mercredi 25 Juin 2003 14:27, Benoit Minisini a ?crit : > Le Mercredi 25 Juin 2003 13:59, Nigel Gerrard a ?crit : > > Back in January I submitted the following component for inclusion in > > gambas. At the time Benoit thought the InputBox of VB a bad idea, so > > it didn't get included. Perhaps we'll try again :-) > > > > Nigel > > I think it is better to do such a thing in Gambas, and to let a Gambas > project use another Gambas project as a library. Yep i agree ! And with this, idea i see lot of different application, and scripting tool ! Fabien From gambas at ...2... Thu Jun 26 00:06:30 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 26 Jun 2003 00:06:30 +0200 Subject: [Gambas-user] gambas 0.60 Message-ID: <200306260006.30636.gambas@...2...> Hi people, gambas 0.60 is out. You can download it on the web site. Here are the changes : - The IDE component explorer has been replaced by an help browser based on the Gambas Wiki made by Rob. - The internal component management has been rewritten. Every component information is stored into a text file named 'components' located by default in /opt/gambas/lib. This text file contains component names that can be translated. - Logically, SuSE 8.2 users are not obliged to create a symbolic link on libqt-mt.so.3 anymore. They just have to pass "--with-qt-libraries= /usr/lib" to the ./configure script. Tell me if it works. - Files can be watched like Processes. Be careful, this implies a p-code incompatibility : older projects that use the OPEN keyword must be recompiled. Here is an example of how to watch a serial port : '------------------------- ' Gambas module PRIVATE hPort AS File PUBLIC SUB Main() OPEN "/dev/ttyS0" FOR READ WRITE WATCH AS #hPort END PUBLIC SUB File_Read() DIM iByte AS Byte PRINT "I can read at least one byte on the port" READ #hPort, iByte PRINT iByte END PUBLIC SUB File_Write() PRINT "I can write on the port" WRITE #hPort, 42 END '------------------------- Enjoy it. -- Benoit Minisini mailto:gambas at ...1... From jsrlepage at ...67... Thu Jun 26 03:43:07 2003 From: jsrlepage at ...67... (Renaud Lepage) Date: Thu, 26 Jun 2003 01:43:07 +0000 Subject: [Gambas-user] gambas 0.60 Message-ID: An HTML attachment was scrubbed... URL: From gambas at ...2... Thu Jun 26 09:55:35 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 26 Jun 2003 09:55:35 +0200 Subject: [Gambas-user] gambas 0.60 In-Reply-To: References: Message-ID: <200306260955.35992.gambas@...2...> Le Jeudi 26 Juin 2003 03:43, Renaud Lepage a ?crit : >
changelog : petit d?tail...
>
 
>
A watched file call the "File_Read" and "File_Write" > event handlers as needed.
 
>
Le call devrait plut?t ?tre > calls si la signification de la phrase est "Un > fichier (watched) appelle "File_Read" [...].
 
>
; - )


MSN Messenger : discutez en direct > avec vos amis ! Cliquez-ici > > Fixed :-) I suggest you not yo use HTML mails to post on the mailing-list. Regards, -- Benoit Minisini mailto:gambas at ...1... From dimitribellini at ...69... Thu Jun 26 13:37:58 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 26 Jun 2003 11:37:58 +0000 Subject: [Gambas-user] gambas 0.60 In-Reply-To: <200306260006.30636.gambas@...2...> References: <200306260006.30636.gambas@...2...> Message-ID: <200306261137.59066.dimitribellini@...69...> Thanks Benoit for your great and fast work. Dimitri On Wednesday 25 June 2003 22:06, Benoit Minisini wrote: > Hi people, > > gambas 0.60 is out. You can download it on the web site. > > Here are the changes : > > - The IDE component explorer has been replaced by an help browser based on > the Gambas Wiki made by Rob. > > - The internal component management has been rewritten. Every component > information is stored into a text file named 'components' located > by default in /opt/gambas/lib. This text file contains component > names that can be translated. > > - Logically, SuSE 8.2 users are not obliged to create a symbolic link > on libqt-mt.so.3 anymore. They just have to pass "--with-qt-libraries= > /usr/lib" to the ./configure script. Tell me if it works. > > - Files can be watched like Processes. Be careful, this implies a p-code > incompatibility : older projects that use the OPEN keyword must be > recompiled. > > Here is an example of how to watch a serial port : > > '------------------------- > ' Gambas module > > PRIVATE hPort AS File > > PUBLIC SUB Main() > > OPEN "/dev/ttyS0" FOR READ WRITE WATCH AS #hPort > > END > > PUBLIC SUB File_Read() > > DIM iByte AS Byte > > PRINT "I can read at least one byte on the port" > READ #hPort, iByte > PRINT iByte > > END > > PUBLIC SUB File_Write() > > PRINT "I can write on the port" > WRITE #hPort, 42 > > END > > '------------------------- > > Enjoy it. From radoslav.dejanovic at ...116... Thu Jun 26 15:27:00 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Thu, 26 Jun 2003 15:27:00 +0200 Subject: [Gambas-user] gambas 0.60 In-Reply-To: <200306260006.30636.gambas@...2...> References: <200306260006.30636.gambas@...2...> Message-ID: <200306261527.02013.radoslav.dejanovic@...116...> On Thursday 26 June 2003 12:06 am, Benoit Minisini wrote: > - Logically, SuSE 8.2 users are not obliged to create a symbolic link > on libqt-mt.so.3 anymore. They just have to pass "--with-qt-libraries= > /usr/lib" to the ./configure script. Tell me if it works. Nope, I still have to have symlink in order to get it installed. Everything else is Ok, it seems that properties crash is fixed, the properties window now requires me to click on an object in order to change values. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From dimitribellini at ...69... Thu Jun 26 18:11:54 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 26 Jun 2003 16:11:54 +0000 Subject: [Gambas-user] gambas 0.60 In-Reply-To: <200306260006.30636.gambas@...2...> References: <200306260006.30636.gambas@...2...> Message-ID: <200306261611.54412.dimitribellini@...69...> HI Benoit i have try this new function with new project i only cut and paste your post but gambas return a syntax error on "OPEN "/dev/ttyS0" FOR READ WRITE WATCH AS #hPort" i cant understand the problem. Thanks for help Dimitri > - Files can be watched like Processes. Be careful, this implies a p-code > incompatibility : older projects that use the OPEN keyword must be > recompiled. > > Here is an example of how to watch a serial port : > > '------------------------- > ' Gambas module > > PRIVATE hPort AS File > > PUBLIC SUB Main() > > OPEN "/dev/ttyS0" FOR READ WRITE WATCH AS #hPort > > END > > PUBLIC SUB File_Read() > > DIM iByte AS Byte > > PRINT "I can read at least one byte on the port" > READ #hPort, iByte > PRINT iByte > > END > > PUBLIC SUB File_Write() > > PRINT "I can write on the port" > WRITE #hPort, 42 > > END > > '------------------------- > > Enjoy it. From nigel at ...38... Wed Jun 25 13:53:07 2003 From: nigel at ...38... (Nigel GERRARD) Date: Wed, 25 Jun 2003 12:53:07 +0100 Subject: [Gambas-user] input box Message-ID: <000201c33bf9$34a48ac0$020a0a0a@...55...> Back in January I submitted a version of the InputBox, but....... :-) Nigel ----- Original Message ----- From: "Beno?t Minisini" To: Sent: Sunday, January 26, 2003 9:42 PM Subject: Re: [Gambas-devel] Simple InputBox Le Vendredi 24 Janvier 2003 19:59, Nigel GERRARD a ?crit : > Beno?t > > Attached is a simple control for inputting a single value. It is based > loosely on the Message control and I have tested it in the gb.qt library. > Is it useful? > > Nigel I have never found the InputBox of VB a good idea. Hey ! It is for lazy guys that want to make bad user interfaces... But if you insist, I will add it to the gb.qt.ext component. A good idea would be to add the InputBox to the Dialog class with the same interface. Dialog.InputBox() AS BOOLEAN Dialog.Value Dialog.Title ...etc. -- Beno?t Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See! http://www.vasoftware.com _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- A non-text attachment was scrubbed... Name: CInputBox.tar.gz Type: application/x-gzip Size: 2423 bytes Desc: not available URL: From karl.reinl at ...9... Fri Jun 27 00:32:44 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 27 Jun 2003 00:32:44 +0200 Subject: [Gambas-user] the 0.60 Message-ID: <3EFB748C.1030507@...9...> Salut, the attached error happend on my SuSE 7.2 , KDE 2.2.2 , qt-3.0.5 and gcc 2.95.x Any help ? On the new Test-gentoo it works fine. Very nice the new Help-Browser, but if you are offline (still using a modem)it hangs when you are going on a URL outside. Amicalement Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: make.log URL: From conselvan2 at ...172... Fri Jun 27 04:52:52 2003 From: conselvan2 at ...172... (Ander Conselvan de Oliveira) Date: Thu, 26 Jun 2003 23:52:52 -0300 Subject: [Gambas-user] Linker problem? Message-ID: <001c01c33c57$356ec8e0$0100a8c0@...173...> I tried to compile gambas-0.60. It compiled but make install failed with the following error: ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: _ZN7QObject5eventEP6QEvent What could it be? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...2... Thu Jun 26 23:01:17 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 26 Jun 2003 23:01:17 +0200 Subject: [Gambas-user] gambas 0.60 In-Reply-To: <200306261611.54412.dimitribellini@...69...> References: <200306260006.30636.gambas@...2...> <200306261611.54412.dimitribellini@...69...> Message-ID: <200306262301.17660.gambas@...2...> Le Jeudi 26 Juin 2003 18:11, Dimitri Bellini a ?crit : > HI Benoit > i have try this new function with new project i only cut and paste your > post but gambas return a syntax error on "OPEN "/dev/ttyS0" FOR READ WRITE > WATCH AS #hPort" i cant understand the problem. > Thanks for help > Dimitri > Hmmm... Maybe it is a compiler bug. I really tested with only READ WATCH, not READ WRITE WATCH. Sorry for this inconvenience ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Fri Jun 27 10:14:12 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 27 Jun 2003 10:14:12 +0200 Subject: [Gambas-user] the 0.60 In-Reply-To: <3EFB748C.1030507@...9...> References: <3EFB748C.1030507@...9...> Message-ID: <200306271014.12401.gambas@...2...> Le Vendredi 27 Juin 2003 00:32, Charlie a ?crit : > Salut, > > the attached error happend on my SuSE 7.2 , KDE 2.2.2 , qt-3.0.5 and gcc > 2.95.x > > Any help ? > It is a qt-3.0 incompatibility yet. Remove the line #include , and everything should work fine. > On the new Test-gentoo it works fine. > Very nice the new Help-Browser, > but if you are offline (still using a modem)it hangs when you are going > on a URL outside. ???? The Qt browser widget don't access internet ! It just displays a white page if the url is bad. > > Amicalement > Charlie Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Fri Jun 27 10:15:05 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 27 Jun 2003 10:15:05 +0200 Subject: [Gambas-user] Linker problem? In-Reply-To: <001c01c33c57$356ec8e0$0100a8c0@...173...> References: <001c01c33c57$356ec8e0$0100a8c0@...173...> Message-ID: <200306271015.05144.gambas@...2...> Le Vendredi 27 Juin 2003 04:52, Ander Conselvan de Oliveira a ?crit : > I tried to compile gambas-0.60. It compiled but make install failed with > the following error: > > ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': > /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: > _ZN7QObject5eventEP6QEvent > > What could it be? You must give your distribution and the version of your distribution if you want an answer. -- Benoit Minisini mailto:gambas at ...1... From conselvan2 at ...172... Fri Jun 27 13:01:38 2003 From: conselvan2 at ...172... (Ander Conselvan de Oliveira) Date: Fri, 27 Jun 2003 08:01:38 -0300 Subject: [Gambas-user] Linker problem? References: <001c01c33c57$356ec8e0$0100a8c0@...173...> <200306271015.05144.gambas@...2...> Message-ID: <000d01c33c9b$7d6a45e0$39cb9ac8@...173...> Sorry, I'm using Mandrake 8.1 with gcc 3.2.2, qt 3.1.2 ----- Original Message ----- From: "Benoit Minisini" To: Sent: Friday, June 27, 2003 5:15 AM Subject: Re: [Gambas-user] Linker problem? Le Vendredi 27 Juin 2003 04:52, Ander Conselvan de Oliveira a ?crit : > I tried to compile gambas-0.60. It compiled but make install failed with > the following error: > > ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': > /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: > _ZN7QObject5eventEP6QEvent > > What could it be? You must give your distribution and the version of your distribution if you want an answer. -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Fri Jun 27 15:30:07 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 27 Jun 2003 09:30:07 -0400 Subject: [Gambas-user] the 0.60 In-Reply-To: <200306271014.12401.gambas@...2...> References: <3EFB748C.1030507@...9...> <200306271014.12401.gambas@...2...> Message-ID: <200306270930.07908.sourceforge-raindog2@...94...> On Friday 27 June 2003 04:14, Benoit Minisini wrote: > > Very nice the new Help-Browser, > > but if you are offline (still using a modem)it hangs when you are going > > on a URL outside. > ???? The Qt browser widget don't access internet ! It just displays a white > page if the url is bad. I bet he got to the "How do I..." page, which I haven't yet pulled down off of Jochen's site. Rob From girardhenri at ...67... Fri Jun 27 18:22:04 2003 From: girardhenri at ...67... (HG) Date: Fri, 27 Jun 2003 18:22:04 +0200 Subject: [Gambas-user] Linker problem? References: <001c01c33c57$356ec8e0$0100a8c0@...173...> <200306271015.05144.gambas@...2...> <000d01c33c9b$7d6a45e0$39cb9ac8@...173...> Message-ID: I got the same problem with redhat 9... ----- Original Message ----- From: "Ander Conselvan de Oliveira" To: Sent: Friday, June 27, 2003 1:01 PM Subject: Re: [Gambas-user] Linker problem? > Sorry, > I'm using Mandrake 8.1 with gcc 3.2.2, qt 3.1.2 > > ----- Original Message ----- > From: "Benoit Minisini" > To: > Sent: Friday, June 27, 2003 5:15 AM > Subject: Re: [Gambas-user] Linker problem? > > > Le Vendredi 27 Juin 2003 04:52, Ander Conselvan de Oliveira a ?crit : > > I tried to compile gambas-0.60. It compiled but make install failed with > > the following error: > > > > ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': > > /opt/gambas/lib/lib.gb.qt.so.0: undefined symbol: > > _ZN7QObject5eventEP6QEvent > > > > What could it be? > > You must give your distribution and the version of your distribution if you > want an answer. > > -- > Benoit Minisini > mailto:gambas at ...1... > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dimitribellini at ...69... Fri Jun 27 20:35:23 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 27 Jun 2003 18:35:23 +0000 Subject: [Gambas-user] gambas 0.60 In-Reply-To: <200306262301.17660.gambas@...2...> References: <200306260006.30636.gambas@...2...> <200306261611.54412.dimitribellini@...69...> <200306262301.17660.gambas@...2...> Message-ID: <200306271835.23927.dimitribellini@...69...> On Thursday 26 June 2003 21:01, Benoit Minisini wrote: > Le Jeudi 26 Juin 2003 18:11, Dimitri Bellini a ?crit : > > HI Benoit > > i have try this new function with new project i only cut and paste your > > post but gambas return a syntax error on "OPEN "/dev/ttyS0" FOR READ > > WRITE WATCH AS #hPort" i cant understand the problem. > > Thanks for help > > Dimitri > > Hmmm... Maybe it is a compiler bug. I really tested with only READ WATCH, > not READ WRITE WATCH. Sorry for this inconvenience ! Ehehee...Dont worry thanks... Dimitri From karl.reinl at ...9... Fri Jun 27 20:31:55 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 27 Jun 2003 20:31:55 +0200 Subject: [Gambas-user] the 0.60 References: <3EFB748C.1030507@...9...> <200306271014.12401.gambas@...2...> <200306270930.07908.sourceforge-raindog2@...94...> Message-ID: <3EFC8D9B.6090302@...9...> Rob schrieb: >On Friday 27 June 2003 04:14, Benoit Minisini wrote: > > >>>Very nice the new Help-Browser, >>> but if you are offline (still using a modem)it hangs when you are going >>>on a URL outside. >>> >>> >>???? The Qt browser widget don't access internet ! It just displays a white >>page if the url is bad. >> >> > >I bet he got to the "How do I..." page, which I haven't yet pulled down off of >Jochen's site. > >Rob > > Bingo, I dit Charlie From karl.reinl at ...9... Fri Jun 27 20:58:00 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 27 Jun 2003 20:58:00 +0200 Subject: [Gambas-user] the 0.60 References: <3EFB748C.1030507@...9...> <200306271014.12401.gambas@...2...> Message-ID: <3EFC93B8.3000708@...9...> Benoit Minisini schrieb: >Le Vendredi 27 Juin 2003 00:32, Charlie a ?crit : > > >>Salut, >> >>the attached error happend on my SuSE 7.2 , KDE 2.2.2 , qt-3.0.5 and gcc >>2.95.x >> >>Any help ? >> >> >> > >It is a qt-3.0 incompatibility yet. Remove the line #include , >and everything should work fine. > > I dit it in main.cpp and CWindow.cpp and I had to comment out in CWindow.cpp line 1380 1381 189 and 1390 ,a little bit rough , but could work If you don't use embedded. but I'v got a new in CPicture.cpp (see Attachment) So I think gambas-0.58 was the last version who run with a qt-3.0.5 and gcc 2.95.x And now I have to setup my testsystem to a productive State. > > >>On the new Test-gentoo it works fine. >>Very nice the new Help-Browser, >> but if you are offline (still using a modem)it hangs when you are going >>on a URL outside. >> >> > >???? The Qt browser widget don't access internet ! It just displays a white >page if the url is bad. > > > >>Amicalement >>Charlie >> >> > >Regards, > > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: make.log URL: From sourceforge-raindog2 at ...94... Fri Jun 27 22:57:12 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 27 Jun 2003 16:57:12 -0400 Subject: [Gambas-user] gambas 0.60 Mandrake RPM's etc. Message-ID: <200306271657.12729.sourceforge-raindog2@...94...> I finally posted at http://www.kudla.org some RPM's for Gambas 0.60. This time rather than being for Mandrake 9.0 they are for 9.1 instead, since I haven't had time to patch Gambas 0.60 for Qt 3.0. One thing I had to do in my spec file (which I'd probably include in my patch for Mandrake 9.0 but for one line it seemed silly to make a patch) was fix the FExplorer class of the IDE to look in the directory RPM creates for doc files (/usr/share/doc/gambas-0.60 in this case) rather than /usr for the help HTML files. I dunno if this is the optimal way to do things; maybe the help directory ought to be specified in some make file or configuration file or the configure script or something. But it works. I also noticed there were some issues I hadn't seen before with the wiki extract. In particular, it seems the entire gb.gb class isn't accessible from the explorer thingy, and somehow a few of the array-related components (String[], etc) had symbol documentation created with right square brackets in it, screwing up wiki links and therefore the documentation too. I'll try to fix that as I find it. I'll also be working on copying theeasygambasdoku into wiki format so all the "How do i...." pages can be included in the help browser in the next version (the VB user I gave Gambas to thought the docs could use a lot more examples and mentioned Jochen's site as a good source of examples.) And our conversations on the wiki pages (on the How do I page and the new Wishlist created by Nelson, but probably others) should probably go between nopublish.../nopublish tags, which I've already started doing with other stuff like "download the static version here." Of course, with >90F/30C temperatures and no A/C in my office, this is all heat permitting ;) The way the search thingy returns HTML filenames (especially with the byzantine way I named the Wiki pages) is kinda unfriendly. I will probably submit a patch to make it look a little nicer (maybe the same way I did with the "referenced by" links in the component pages ofthe wiki.) Have to say that I've abandoned my plans for a cached full text search though - the brute force search out there now is amazingly fast. Great work, Benoit and Fabien. Instead, I will probably make a cached "searchable list of pages by title" like the second tab in the old VB help browser and submit that. Rob From kannan62k at ...43... Sat Jun 28 11:40:01 2003 From: kannan62k at ...43... (Kannan Ramasamy) Date: Sat, 28 Jun 2003 02:40:01 -0700 (PDT) Subject: [Gambas-user] Re: the 0.60 Message-ID: <20030628094001.43672.qmail@...175...> Hello there, Thanx for ur pointing out the changes to made in v0.58 source with respect to CWindow.cpp, main.cpp and CPicture.cpp(earlier by Benoit himself). These patches hav got me beyond and into 0.60 and it installs great now except that the properties window doesnt show up anything about controls. $hConn.exec now terminates the application without any error even if the next line does a 'Catch'. The same for Tableview in 0.58, the app. doesnt even load the form where with 0.57 I could see the contents except that a mouse click closes the entire application. Mysql.devel is working fine for me now in my RH8.0 with qt3-gcc3.2 installation and i could do a hConn effortlessly. These problems as above should be minimal compared to the phenomenal work that has been completed so far and which is so very good as well. Regards to all, R S Kannan kannan62k at ...43... __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From gambas at ...2... Sat Jun 28 11:53:49 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 28 Jun 2003 11:53:49 +0200 Subject: [Gambas-user] Using projects as libraries Message-ID: <200306281153.50022.gambas@...2...> Hello everybody, I have just added the possibility of using projects as libraries on my own box, and I wanted to have your opinion. How does it work ? I have added a new keyword, USE, to tell the interpreter to take classes into another Gambas archive. For example, let's suppose you have two gambas projects in the same directory. -+--- MyProjects | +---Test | +---MyClasses I want to use the classes of the MyClasses project in the Test project. To do that, I just to add the following add in the Main() function of Test: STATIC PUBLIC SUB Main() USE "MyClasses" ... END Then, the Gambas intepreter will search a gambas archive with the name passed to USE in the following directories: 1) In the same directory than where Test is stored. 2) If a directory with the good name is found in the same directory, then this directory is search for a gambas archive (it is supposed to be a gambas project). 3) In the component directory (/opt/gambas/lib by default). This way, we can add global classes (such as an InputBox :-)) to every gambas project. What do you think of that ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Jun 28 12:08:42 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 28 Jun 2003 12:08:42 +0200 Subject: [Gambas-user] Using projects as libraries In-Reply-To: <200306281153.50022.gambas@...2...> References: <200306281153.50022.gambas@...2...> Message-ID: <200306281208.42419.gambas@...2...> Le Samedi 28 Juin 2003 11:53, Benoit Minisini a ?crit : > do that, I just to add the following add in the Main() function of Test: should be replaced with : ... I just have to add the following in the Main() function of Test: -- Benoit Minisini mailto:gambas at ...1... From nicola.bisetto at ...69... Sat Jun 28 17:53:34 2003 From: nicola.bisetto at ...69... (Nicola Bisetto) Date: Sat, 28 Jun 2003 15:53:34 +0000 Subject: [Gambas-user] closing a form Message-ID: <200306281553.34708.nicola.bisetto@...69...> I started use Gambas yesterday and in a few hours I was able to convert some little VB projects under linux. Someone can teach me: 1) how can I close a form that hasn't the focus ? 2) how can I change the value of a control placed in a form that hasn't the focus? Thank you for your help Nicola B. From sourceforge-raindog2 at ...94... Sat Jun 28 18:47:40 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Jun 2003 12:47:40 -0400 Subject: [Gambas-user] Using projects as libraries In-Reply-To: <200306281153.50022.gambas@...2...> References: <200306281153.50022.gambas@...2...> Message-ID: <200306281247.40185.sourceforge-raindog2@...94...> On Saturday 28 June 2003 05:53, Benoit Minisini wrote: > I have added a new keyword, USE, to tell the interpreter to take classes > into another Gambas archive. Gambas archive meaning a compiled Gambas executable, some new compiled Gambas library object, or just a directory full of Gambas source files? I'd be okay with that in any of those cases, btw. > 3) In the component directory (/opt/gambas/lib by default). This way, we > can add global classes (such as an InputBox :-)) to every gambas project. This part sounds especially good, because then "libraries" written in Gambas would have nearly the same ease of use as those written in C/C++. But I'm assuming that if you made a form in such a project that you wished to use as a control in other projects, it still wouldn't appear in the Gambas IDE's toolbox - you'd have to instantiate it and place the control programmatically at runtime. Is that accurate? Rob From sourceforge-raindog2 at ...94... Sat Jun 28 19:23:26 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Jun 2003 13:23:26 -0400 Subject: [Gambas-user] closing a form In-Reply-To: <200306281553.34708.nicola.bisetto@...69...> References: <200306281553.34708.nicola.bisetto@...69...> Message-ID: <200306281323.26254.sourceforge-raindog2@...94...> On Saturday 28 June 2003 11:53, Nicola Bisetto wrote: > 1) how can I close a form that hasn't the focus ? Supposing that you are trying to close it from the class where you opened it, and supposing you named it "ThatOtherForm" and made it public, you just go ThatOtherForm.Delete This assumes that you did Public ThatOtherForm As Form at the top of the class, and not Dim ThatOtherForm As Form in the procedure where you opened it. If you're trying to close it from a different class, instead of ThatOtherForm.Delete it would be MyFirstClass.ThatOtherForm.Delete where MyFirstClass is the name of the class where you opened the form. > 2) how can I change the value of a control placed in a form that hasn't the > focus? You need to check the "Form controls are public" checkbox in the Project Properties dialog. Again you need to make sure you have a reference to the form you're trying to access (see above), and you would go (for example) ThatOtherForm.MyTextbox.Clear ThatOtherForm.MyTextbox.Insert("Whatever you wanted to say") (Maybe it'd be better if there were a SetText method for textboxes that did both of those lines, since it's much more common to want to erase what was already there than to insert text....) Rob From sourceforge-raindog2 at ...94... Sat Jun 28 21:46:16 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Jun 2003 15:46:16 -0400 Subject: [Gambas-user] Nelson's Gambas wish list Message-ID: <200306281546.16096.sourceforge-raindog2@...94...> Nelson Ferraz has set up a wish list for Gambas language features at http://www.binara.com/gambas-wiki/bin/view/Gambas/WishList Some of his suggestions are better suited to Perl (which is where he got them from) and some are already present in Gambas, but a couple might be nice to have. One of the things Nelson is asking for is post-conditional notation, which I think would be overly confusing for BASIC programmers but I can see the value in being able to do the following in one line: PRINT i FOR i = 1 TO 10 Instead, maybe Gambas should have a syntax element like other BASIC languages have always had, the colon to separate statements on a line: FOR i = 1 TO 10 : PRINT i : NEXT He also suggested Perl-style string interpolation by prefixing variables with a dollar sign, e.g. MyStr = "world" PRINT "Hello $MyStr!" I can see where that might be difficult to do, but it would sure save a lot of typing. Thoughts? Nelson, did you ever sign up for the list? Rob From gambas at ...2... Sat Jun 28 23:38:05 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 28 Jun 2003 23:38:05 +0200 Subject: [Gambas-user] Using projects as libraries In-Reply-To: <200306281247.40185.sourceforge-raindog2@...94...> References: <200306281153.50022.gambas@...2...> <200306281247.40185.sourceforge-raindog2@...94...> Message-ID: <200306282338.05514.gambas@...2...> Le Samedi 28 Juin 2003 18:47, Rob a ?crit : > On Saturday 28 June 2003 05:53, Benoit Minisini wrote: > > I have added a new keyword, USE, to tell the interpreter to take classes > > into another Gambas archive. > > Gambas archive meaning a compiled Gambas executable, some new compiled > Gambas library object, or just a directory full of Gambas source files? > I'd be okay with that in any of those cases, btw. It is a "compiled Gambas executable". I name it "archive", because it IS an archive, like a *.tar file. > > > 3) In the component directory (/opt/gambas/lib by default). This way, we > > can add global classes (such as an InputBox :-)) to every gambas project. > > This part sounds especially good, because then "libraries" written in > Gambas would have nearly the same ease of use as those written in C/C++. > > But I'm assuming that if you made a form in such a project that you wished > to use as a control in other projects, it still wouldn't appear in the > Gambas IDE's toolbox - you'd have to instantiate it and place the control > programmatically at runtime. Is that accurate? Yes. Gambas form cannot be a real control. At the moment :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sat Jun 28 23:39:46 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 28 Jun 2003 23:39:46 +0200 Subject: [Gambas-user] closing a form In-Reply-To: <200306281323.26254.sourceforge-raindog2@...94...> References: <200306281553.34708.nicola.bisetto@...69...> <200306281323.26254.sourceforge-raindog2@...94...> Message-ID: <200306282339.46671.gambas@...2...> Le Samedi 28 Juin 2003 19:23, Rob a ?crit : > On Saturday 28 June 2003 11:53, Nicola Bisetto wrote: > > 1) how can I close a form that hasn't the focus ? > > Supposing that you are trying to close it from the class where you opened > it, and supposing you named it "ThatOtherForm" and made it public, you just > go > > ThatOtherForm.Delete You should better do ThatOtherForm.Close > > This assumes that you did > > Public ThatOtherForm As Form > > at the top of the class, and not > > Dim ThatOtherForm As Form > > in the procedure where you opened it. > > If you're trying to close it from a different class, instead of > ThatOtherForm.Delete it would be > > MyFirstClass.ThatOtherForm.Delete > > where MyFirstClass is the name of the class where you opened the form. > > > 2) how can I change the value of a control placed in a form that hasn't > > the focus? > > You need to check the "Form controls are public" checkbox in the Project > Properties dialog. Again you need to make sure you have a reference to the > form you're trying to access (see above), and you would go (for example) > > ThatOtherForm.MyTextbox.Clear > ThatOtherForm.MyTextbox.Insert("Whatever you wanted to say") Faster is : ThatOtherForm.MyTextbox.Text = "Whatever you wanted to say" > > (Maybe it'd be better if there were a SetText method for textboxes that did > both of those lines, since it's much more common to want to erase what was > already there than to insert text....) > > Rob > -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sun Jun 29 00:12:15 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 29 Jun 2003 00:12:15 +0200 Subject: [Gambas-user] Nelson's Gambas wish list In-Reply-To: <200306281546.16096.sourceforge-raindog2@...94...> References: <200306281546.16096.sourceforge-raindog2@...94...> Message-ID: <200306290012.15837.gambas@...2...> Le Samedi 28 Juin 2003 21:46, Rob a ?crit : > Nelson Ferraz has set up a wish list for Gambas language features at > > http://www.binara.com/gambas-wiki/bin/view/Gambas/WishList > > Some of his suggestions are better suited to Perl (which is where he got > them from) and some are already present in Gambas, but a couple might be > nice to have. > > One of the things Nelson is asking for is post-conditional notation, which > I think would be overly confusing for BASIC programmers but I can see the > value in being able to do the following in one line: > > PRINT i FOR i = 1 TO 10 I don't like this because it is very confusing for BASIC programmers. > > Instead, maybe Gambas should have a syntax element like other BASIC > languages have always had, the colon to separate statements on a line: > > FOR i = 1 TO 10 : PRINT i : NEXT This could be possible, but this syntax tends to produce code that is very hard to read. Like in Perl... ;-) > > He also suggested Perl-style string interpolation by prefixing variables > with a dollar sign, e.g. > > MyStr = "world" > PRINT "Hello $MyStr!" > > I can see where that might be difficult to do, but it would sure save a lot > of typing. I don't like that, because it breaks the BASIC syntax, it would need an interpreter overhead, and because it prevents these strings to be translatable. You have the Subst() function, that is adapted to translation. > > Thoughts? Nelson, did you ever sign up for the list? > > Rob > We should discuss that on the mailing-list rather than on the Wiki ! -- Benoit Minisini mailto:gambas at ...1... From pako67 at ...176... Sun Jun 29 00:32:31 2003 From: pako67 at ...176... (F.J. Cruz) Date: Sun, 29 Jun 2003 00:32:31 +0200 Subject: [Gambas-user] Problems with class 'Connectio' Message-ID: <200306290032.33086.pako67@...176...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everybody, I'm working with Gambas 0.60 (installed via rpm) in my Mandrake 9.0. When I try to make a connection to a database, I get this error message: "Cannot load Class 'Connection', unabe to load class file". I've got this problem with de 0.58 version. However, I can run an example program that use this class without any problems. This is part of my code: PRIVATE Conn AS NEW Connection STATIC PUBLIC SUB Main() DIM hForm AS Form hForm = NEW Fprincipal hForm.Show END (...) Any idea? Thanks. - -- *************************************** *Linux user #188524 * *Linux machine #83532 * *************************************** -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+/hd/mrdP5kr8t+cRAgUEAKCNdLJZ2rMUiwhbewGsWGzh8JpzEACgievO Sh8ZS9sRCr6BVnXhuhNCbYY= =wlo6 -----END PGP SIGNATURE----- From nicola.bisetto at ...69... Sun Jun 29 11:15:59 2003 From: nicola.bisetto at ...69... (Nicola Bisetto) Date: Sun, 29 Jun 2003 09:15:59 +0000 Subject: [Gambas-user] Ending an application Message-ID: <200306290915.59710.nicola.bisetto@...69...> Thank you for precedent suggest! I have a new question: 1) there is in Gambas something like Apllication.quit for ending an application? Tank you. Nicola B. From Gambasfr at ...11... Sun Jun 29 12:56:06 2003 From: Gambasfr at ...11... (Fabien) Date: Sun, 29 Jun 2003 12:56:06 +0200 Subject: [Gambas-user] Nelson's Gambas wish list In-Reply-To: <200306290012.15837.gambas@...2...> References: <200306281546.16096.sourceforge-raindog2@...94...> <200306290012.15837.gambas@...2...> Message-ID: <200306291255.29547.Gambasfr@...11...> Le Dimanche 29 Juin 2003 00:12, Benoit Minisini a ?crit : > Le Samedi 28 Juin 2003 21:46, Rob a ?crit : > > Nelson Ferraz has set up a wish list for Gambas language features at > > > > http://www.binara.com/gambas-wiki/bin/view/Gambas/WishList > > > > Some of his suggestions are better suited to Perl (which is where he got > > them from) and some are already present in Gambas, but a couple might be > > nice to have. > > > > One of the things Nelson is asking for is post-conditional notation, > > which I think would be overly confusing for BASIC programmers but I can > > see the value in being able to do the following in one line: > > > > PRINT i FOR i = 1 TO 10 > > I don't like this because it is very confusing for BASIC programmers. > > > Instead, maybe Gambas should have a syntax element like other BASIC > > languages have always had, the colon to separate statements on a line: > > > > FOR i = 1 TO 10 : PRINT i : NEXT > > This could be possible, but this syntax tends to produce code that is very > hard to read. Like in Perl... ;-) > > > He also suggested Perl-style string interpolation by prefixing variables > > with a dollar sign, e.g. > > > > MyStr = "world" > > PRINT "Hello $MyStr!" > > > > I can see where that might be difficult to do, but it would sure save a > > lot of typing. > > I don't like that, because it breaks the BASIC syntax, it would need an > interpreter overhead, and because it prevents these strings to be > translatable. > > You have the Subst() function, that is adapted to translation. > > > Thoughts? Nelson, did you ever sign up for the list? > > > > Rob > > We should discuss that on the mailing-list rather than on the Wiki ! i think the gambas wiki is not a discuss place but an help one. in the first time, i've think that new keywords appear in gambas synthaxe ! i'ts really confusing ! Fabien From sourceforge-raindog2 at ...94... Sun Jun 29 01:18:09 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Jun 2003 19:18:09 -0400 Subject: [Gambas-user] closing a form In-Reply-To: <200306282339.46671.gambas@...2...> References: <200306281553.34708.nicola.bisetto@...69...> <200306281323.26254.sourceforge-raindog2@...94...> <200306282339.46671.gambas@...2...> Message-ID: <200306281918.09654.sourceforge-raindog2@...94...> On Saturday 28 June 2003 17:39, Benoit Minisini wrote: > > ThatOtherForm.MyTextbox.Clear > > ThatOtherForm.MyTextbox.Insert("Whatever you wanted to say") > Faster is : > ThatOtherForm.MyTextbox.Text = "Whatever you wanted to say" Oh geez, I have no idea why it never occurred to me that the Text property wouldn't be writable. Rob From sourceforge-raindog2 at ...94... Sun Jun 29 17:17:54 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Jun 2003 11:17:54 -0400 Subject: [Gambas-user] Nelson's Gambas wish list In-Reply-To: <200306291255.29547.Gambasfr@...11...> References: <200306281546.16096.sourceforge-raindog2@...94...> <200306290012.15837.gambas@...2...> <200306291255.29547.Gambasfr@...11...> Message-ID: <200306291117.54443.sourceforge-raindog2@...94...> On Sunday 29 June 2003 06:56, Fabien wrote: > > We should discuss that on the mailing-list rather than on the Wiki ! > i think the gambas wiki is not a discuss place but an help one. in the I agree. I can forgive Nelson for starting a discussion on the wiki because if you go to his website, his entire company site is on a wiki. But I did leave a note suggesting we continue the discussion on the list, which is why I sent that mail yesterday. What I certainly do not want to see is the documentation for the next version of Gambas having people's discussions included in it. I'll probably exclude the wish list from inclusion in the static version of the wiki by using the "nopublish" tag. Rob From sourceforge-raindog2 at ...94... Sun Jun 29 17:53:18 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Jun 2003 11:53:18 -0400 Subject: [Gambas-user] visual introduction to Gambas Message-ID: <200306291153.18249.sourceforge-raindog2@...94...> I finished filling in the text for the "Visual Introduction to Gambas" page on the wiki, btw, but of course now the screenshots are all out of date (they're from 0.57.) And they are imagemaps, which means they will be a huge pain in the ass to regenerate, so it may take me some time (maybe I'll just do the splash screen which mentions the version first, since it hasn't changed much.) If anyone would like to embellish the text I put in there, which is pretty much just one or two lines per element, please feel free. Next up is wikifying the Easy Gambas Doku pages one by one. Rob From kschrock at ...149... Sun Jun 29 22:45:29 2003 From: kschrock at ...149... (Ken Schrock) Date: Sun, 29 Jun 2003 16:45:29 -0400 Subject: [Gambas-user] Ending an application References: <200306290915.59710.nicola.bisetto@...69...> Message-ID: <3EFF4FE9.90106@...149...> Do a close on the startup form i.e. Form1.close if Form1 is the startup form If you are doing this from inside that form all you need is ME.close Nicola Bisetto wrote: >Thank you for precedent suggest! >I have a new question: > >1) there is in Gambas something like Apllication.quit for ending an >application? > >Tank you. > >Nicola B. > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From nigel at ...38... Mon Jun 30 19:10:41 2003 From: nigel at ...38... (Nigel Gerrard) Date: Mon, 30 Jun 2003 18:10:41 +0100 Subject: [Gambas-user] Copying an Instance of an Object Message-ID: <000001c33f2a$a7259420$000a0a0a@...171...> I maybe missing something here but I am trying make a copy of an Object for holding in a collection whilst keeping the original object for manipulation. e.g. PUBLIC MyClass AS Something PUBLIC MyCollection AS Collection PUBLIC MyOther AS Something PUBLIC SUB MAIN() DIM i AS Integer MyOther = NEW Something MyCollection = NEW Collection FOR i = 1 TO 7 MyClass = NEW Something MyOther.ID = i MyOther.Stuff = "Stuff - " & CStr(i) MyClass = MyOther ' This is where I would like to have MyOther Copied into MyClass...but I don't want to work through all ' the other elements. Something like = NEW Something(MyOther) would have been nice :-) MyCollection.Add(MyClass, CStr(MyClass.ID)) NEXT FOR EACH MyClass IN MyCollection PRINT "ID = "; MyClass.ID PRINT "Stuff = "; MyClass.Stuff NEXT END .....And of course, the output comes out... ID = 7 Stuff = Stuff-7 ID = 7 Stuff = Stuff-7 .etc. Am I missing something obvious for creating a copy of the object? I'm trying to think back to C++ and operator overloading :-) Nigel -------------- next part -------------- An HTML attachment was scrubbed... URL: From pchapman at ...129... Mon Jun 30 20:04:24 2003 From: pchapman at ...129... (Philip A. Chapman) Date: 30 Jun 2003 13:04:24 -0500 Subject: [Gambas-user] Copying an Instance of an Object In-Reply-To: <000001c33f2a$a7259420$000a0a0a@...171...> References: <000001c33f2a$a7259420$000a0a0a@...171...> Message-ID: <1056996264.9854.43.camel@...130...> Nigel, The code you have, the line: MyClass = MyOther simply assigns a reference to MyOther class to the MyClass variable. All you have done is copied the pointer reference, not the class that it points too. I do not think you can copy the object without instinating a new object reference and manipulating it. This is not what you wanted, but perhaps you can make it a little cleaner and reusable by putting it in the class itself: In Something class module: PUBLIC FUNCTION Clone() AS Something DIM oNewSomething AS Something oNewSomething = NEW oNewSomething oNewSomething.ID = ME.ID oNewSomething.Stuff = ME.Stuff RETURN oNewSomething END With the above function added to the Something class, you can do the following in the Main method: MyCollection = NEW Collection FOR i = 1 TO 7 MyOther = NEW Something ' Not quite what you had before MyOther.ID = i MyOther.Stuff = "Stuff - " & CStr(i) MyClass = MyOther.Clone() MyCollection.Add(MyClass, CStr(MyClass.ID)) NEXT FOR EACH MyClass IN MyCollection PRINT "ID = "; MyClass.ID PRINT "Stuff = "; MyClass.Stuff NEXT On Mon, 2003-06-30 at 12:10, Nigel Gerrard wrote: > I maybe missing something here but I am trying make a copy of an > Object for holding in a collection > whilst keeping the original object for manipulation. > > e.g. > > PUBLIC MyClass AS Something > PUBLIC MyCollection AS Collection > PUBLIC MyOther AS Something > > > PUBLIC SUB MAIN() > DIM i AS Integer > MyOther = NEW Something > MyCollection = NEW Collection > > FOR i = 1 TO 7 > MyClass = NEW Something > MyOther.ID = i > MyOther.Stuff = "Stuff - " & CStr(i) > MyClass = MyOther ' This is where I would like to > have MyOther Copied into MyClass...but I don't want to work through > all > ' the other > elements. Something like = NEW Something(MyOther) would have been > nice :-) > MyCollection.Add(MyClass, CStr(MyClass.ID)) > NEXT > > FOR EACH MyClass IN MyCollection > PRINT "ID = "; MyClass.ID > PRINT "Stuff = "; MyClass.Stuff > NEXT > > END > > > .....And of course, the output comes out... > ID = 7 > Stuff = Stuff-7 > ID = 7 > Stuff = Stuff-7 > .etc. > > > Am I missing something obvious for creating a copy of the object? I'm > trying to think back to C++ and operator overloading :-) > > > Nigel -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From kschrock at ...137... Mon Jun 30 20:35:26 2003 From: kschrock at ...137... (Ken Schrock) Date: Mon, 30 Jun 2003 14:35:26 -0400 Subject: [Gambas-user] excluding components Message-ID: <3F0082EE.1050208@...137...> I continue to have problems compiling Gambas on Debian The problem is in the qt extensions part How do I exclude just this piece? From gambas at ...2... Mon Jun 30 23:55:57 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 30 Jun 2003 23:55:57 +0200 Subject: [Gambas-user] Ending an application In-Reply-To: <200306290915.59710.nicola.bisetto@...69...> References: <200306290915.59710.nicola.bisetto@...69...> Message-ID: <200306302355.57315.gambas@...2...> Le Dimanche 29 Juin 2003 11:15, Nicola Bisetto a ?crit : > Thank you for precedent suggest! > I have a new question: > > 1) there is in Gambas something like Apllication.quit for ending an > application? > > Tank you. > > Nicola B. > > The QUIT keyword is not yet implemented, because I don't know how to do that cleanly at the moment. To quit a program, you must close all visible windows, and close all watched files. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon Jun 30 23:54:22 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 30 Jun 2003 23:54:22 +0200 Subject: [Gambas-user] Problems with class 'Connectio' In-Reply-To: <200306290032.33086.pako67@...176...> References: <200306290032.33086.pako67@...176...> Message-ID: <200306302354.22728.gambas@...2...> Le Dimanche 29 Juin 2003 00:32, F.J. Cruz a ?crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi everybody, > > I'm working with Gambas 0.60 (installed via rpm) in my Mandrake 9.0. > > When I try to make a connection to a database, I get this error message: > > "Cannot load Class 'Connection', unabe to load class file". > > I've got this problem with de 0.58 version. However, I can run an example > program that use this class without any problems. > > This is part of my code: > > PRIVATE Conn AS NEW Connection > > STATIC PUBLIC SUB Main() > > DIM hForm AS Form > > hForm = NEW Fprincipal > hForm.Show > > END (...) > > Any idea? > > Thanks. > > - -- > > *************************************** > *Linux user #188524 * > *Linux machine #83532 * > *************************************** > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.2 (GNU/Linux) > > iD8DBQE+/hd/mrdP5kr8t+cRAgUEAKCNdLJZ2rMUiwhbewGsWGzh8JpzEACgievO > Sh8ZS9sRCr6BVnXhuhNCbYY= > =wlo6 > -----END PGP SIGNATURE----- > Could you try with a gambas compiled from the source package ? -- Benoit Minisini mailto:gambas at ...1...