From gambas at ...1... Mon Dec 1 12:53:20 2003 From: gambas at ...1... (Benoit Minisini) Date: Mon, 1 Dec 2003 12:53:20 +0100 Subject: [Gambas-user] about process In-Reply-To: <20031129142002.32812.qmail@...274...> References: <20031129142002.32812.qmail@...274...> Message-ID: <200312011253.20297.gambas@...1...> On Saturday 29 November 2003 15:20, Edward Hsu wrote: > Dear Benoit, > > Thanks for your reply. > > I am very confused. I wrote an e-mail asking about the > example of movieplayer which did not work at all and > you said 'the READ option should be taken away'. After > I took it away, it works fine. I also found that you > took it out in the example of movieplayer for Gambas > 0.72. > > Now you said that EXEC ... for READ WRITE as > $hProcess should work. I try the example of > movieplayer with READ option again on Gambas 0.72, it > still doesn't work. After I take READ option away, it > works. Is there any bug in new EXEC for music? I found > it works fine for others with READ option but it > doesn't work for music with mplayer. > > Regards, > > Edward > > Can you send me your project ? -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon Dec 1 14:21:29 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 1 Dec 2003 08:21:29 -0500 Subject: [Gambas-user] Event loop In-Reply-To: <3FC904D4.4000505@...137...> References: <3FC904D4.4000505@...137...> Message-ID: <200312010821.29917.sourceforge-raindog2@...94...> On Saturday 29 November 2003 15:43, Ken Schrock wrote: > There was a DoEvents or some such in VB > Sleep works in C in Linux > How here? You want the WAIT keyword. It's equivalent to the C sleep() function in stdlib, though sleep() takes a required integer parameter and with WAIT it's a float so you can "WAIT 0.5" to sleep half a second. (or just "WAIT" to wait only as long as the system needs to do the event loop....) I think I'll add some notes to the WAIT page in the wiki so people can more easily find it. Rob From edward_cjhsu at ...253... Tue Dec 2 01:09:13 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Mon, 1 Dec 2003 19:09:13 -0500 (EST) Subject: [Gambas-user] about process In-Reply-To: <200312011253.20297.gambas@...1...> Message-ID: <20031202000913.37324.qmail@...270...> Dear benoit, Thanks for your e-mail. I already sent the project in my last e-mail. That one is for Gambas 0.70b. What I changed in 0.72 is to replace the Process_Write with Process_Read and the I use Line Input to read sData from #LAST as you mentioned me to do so. The reason of sending you my project in 0.70b is to give you an idea of how it is working and then it will be easy for you to find out the bugs in Gambas' EXEC command. Your work is really marvelous, I hope it will be the best tools in LINUX. Thanks. Regards, Edward --------------------------------- Post your free ad now! Yahoo! Canada Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: From danielcampos at ...282... Tue Dec 2 10:22:15 2003 From: danielcampos at ...282... (danielcampos at ...282...) Date: Tue, 2 Dec 2003 10:22:15 CET Subject: [Gambas-user] Wiki changes / bug Message-ID: Hi Rob: I saw you changed recently "Wait" method,and it appears a warning saying: "At the moment, this keyword works only with projects using the gb.qt component. Note that during the wait, no keyboard or mouse events are processed. Only draw events." Currently, this is not true , as Beno?t added the code needed to make it work wihout qt, in 0.72 Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From t4nu at ...103... Tue Dec 2 14:23:52 2003 From: t4nu at ...103... (t4nu) Date: Tue, 2 Dec 2003 20:23:52 +0700 Subject: [Gambas-user] How to use Printer class ? Message-ID: <200312022023.53088.t4nu@...103...> Hi .. It is confusing for me to understand how to use Printer Class... Well.....it's because my mind still thinking in VB ways perhaps .... Anybody can help ? In VB I use Printer.Print Something to use default Printer How about Gambas ? From gambas at ...1... Tue Dec 2 18:30:44 2003 From: gambas at ...1... (Benoit Minisini) Date: Tue, 2 Dec 2003 18:30:44 +0100 Subject: [Gambas-user] Wiki changes / bug In-Reply-To: References: Message-ID: <200312021830.44696.gambas@...1...> On Tuesday 02 December 2003 14:22, danielcampos at ...282... wrote: > Hi Rob: > > I saw you changed recently "Wait" method,and it appears a warning saying: > > "At the moment, this keyword works only with projects using the gb.qt > component. Note that during the wait, no keyboard or mouse events are > processed. Only draw events." > > Currently, this is not true , as Beno?t added the code needed to make it > work wihout qt, in 0.72 > > Regards, > > Daniel Campos > Note that you can change it yourself ! :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Dec 2 18:32:15 2003 From: gambas at ...1... (Benoit Minisini) Date: Tue, 2 Dec 2003 18:32:15 +0100 Subject: [Gambas-user] How to use Printer class ? In-Reply-To: <200312022023.53088.t4nu@...103...> References: <200312022023.53088.t4nu@...103...> Message-ID: <200312021832.15340.gambas@...1...> On Tuesday 02 December 2003 14:23, t4nu wrote: > Hi .. > It is confusing for me to understand how to use Printer Class... > Well.....it's because my mind still thinking in VB ways perhaps .... > > Anybody can help ? > > In VB I use > Printer.Print Something > > to use default Printer > > How about Gambas ? > > This way: Draw.Begin(Printer) Draw.* ' What yo want to draw Draw.End Elsewhere, Printer has methods to change page, abort a job, define page properties, and so on, like in VB. Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Tue Dec 2 19:39:11 2003 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 2 Dec 2003 19:39:11 +0100 Subject: [Gambas-user] gambas-0.73pre2 Message-ID: <200312021939.11939.Karl.Reinl@...9...> Salut, gentoo 1.4 , qt 3.1.2 , gcc 3.2.3 , KDE 3.1.2 , mysql 4.0.13 no problems to compile gambas-0.73pre2 amicalement Charlie From ronstk at ...239... Wed Dec 3 18:39:47 2003 From: ronstk at ...239... (ron) Date: Wed, 3 Dec 2003 18:39:47 +0100 Subject: [Gambas-user] about process In-Reply-To: References: Message-ID: <200312031839.47378.ronstk@...239...> Hi All, > Message: 1 > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] about process > Date: Mon, 1 Dec 2003 12:53:20 +0100 > Reply-To: gambas-user at lists.sourceforge.net > > On Saturday 29 November 2003 15:20, Edward Hsu wrote: > > Dear Benoit, > > > > Thanks for your reply. > > > > I am very confused. I wrote an e-mail asking about the > > example of movieplayer which did not work at all and > > you said 'the READ option should be taken away'. After > > I took it away, it works fine. I also found that you > > took it out in the example of movieplayer for Gambas > > 0.72. > > > > Now you said that EXEC ... for READ WRITE as > > $hProcess should work. I try the example of > > movieplayer with READ option again on Gambas 0.72, it > > still doesn't work. After I take READ option away, it > > works. Is there any bug in new EXEC for music? I found > > it works fine for others with READ option but it > > doesn't work for music with mplayer. > > > > Regards, > > > > Edward > > Can you send me your project ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > > > --__--__-- > > Message: 2 > From: Rob > To: gambas-user at lists.sourceforge.net, > Ken Schrock > Subject: Re: [Gambas-user] Event loop > Date: Mon, 1 Dec 2003 08:21:29 -0500 > Reply-To: gambas-user at lists.sourceforge.net > > On Saturday 29 November 2003 15:43, Ken Schrock wrote: > > There was a DoEvents or some such in VB > > Sleep works in C in Linux > > How here? > > You want the WAIT keyword. It's equivalent to the C sleep() > function in stdlib, though sleep() takes a required integer > parameter and with WAIT it's a float so you can "WAIT 0.5" to > sleep half a second. (or just "WAIT" to wait only as long as > the system needs to do the event loop....) > > I think I'll add some notes to the WAIT page in the wiki so > people can more easily find it. > > Rob > Rob: You recently mentioned the WAIT as alternative for VB's DoEvents for a wait process. Be carefull for the difference. As I understand from documentation the WAIT does a wait for Gambas, the interpreter wait the time and nothing else is executed in the interpreter (i.e. other events ) in the program using this WAIT function. With VB DoEvents this behaviour is different, other buttons can be pressed and those events are executed. VB's DoEvents let the events in the programm working but also windows background processes. VB's Sleep (or Delay, i forgot) holds everything, events in the program and all other programs in windows!. Can't move Notepad window. Gambas WAIT keeps the whole program waiting till the wait time is passed. Other program stay working!. Can move Kedit window. In VB you can use textbox.text="Check the checkbox GO to continue at the same moment" do while checkbox_go=false DoEvents passes=passes+1 loop textbox.text="Thank You" and use a checbox to stop this waiting and passes has a very big value. textbox.text="Check the checkbox GO to continue, may be a delay of 10 sec" do while checkbox_go=false WAIT 10 INC passes loop textbox.text="Thank You" You must be lucky to check the GO because only at a interval of 10 seconds the WHILE condition is tested and the time after the WAIT till this test is a few miliseconds. The passes is only every 10 second incremented You can't use WAIT 10 in a seperate form to monitor every 10 seconds changes somewhere as was the intention by the person asking about it and keep the application creating this form continue other tasks. He should use a timer object in that form. Edward Hsu: The READ was working by me in 0.71 but during the update to 0.72 I forgot to save the new player example I made. You must use Process_Read() if you use READ to consume the data send by the aplication to stdout. It was not clear how to use the Process_Read() at the time I did it but I found the way. The problem was that the READ could be consumed with LineInput and Input methods. LineInput #filehandle, sVariable It wants a file handle and you dont have a file (disk file). In this case you must use the process handle. LineInput #processhandle, sVariable This way you get the output from the player and could wait for the line with AV: as start to make the play window visible instead of using the WAIT method. If you use READ then you must use the Process_Read() function, read the data from the handle and trow away or do something with it. See below for additional comment. Benoit: When the mplayer program send it output to stdout it is visible in the Gambas console. I can scroll in the console this output so i asume there is a big buffer. Is it posible that programs send so many data and the console buffer becomes full? Can you give an example or documentation for the Stream object used to get the output of the program started with EXEC in the way your intention is ? I had some problems to find the way to get the data. As far I know I did it this way: A global variable MovieVisible Use the EXEC() FOR READ WRITE AS $hProcess. Put a rem before the WAIT. Set variable MovieVisible=false Made a subroutine of the part below the WAIT as showmovie. Add a new subroutine like this one: public process_read() dim txt as string ' this must always be done else the movie/program stops lineinput #hProcess, txt ' test if movie is already visible if MovieVisible=true then return ' wait for mark of the first movie frame if left (txt,4) = "AV: " then showmovie ' calling the extra subroutine MovieVisible=true endif end This way the beginning dropped by the WAIT function was eliminated and the show started direct as the first frame is available. With the WAIT 0.5*4 or *8 for the mpg film on a network share you miss the leading seconds by the WAIT function. The variable MovieVisible can be the visible property of the label used as viewport. Is more correct too. For the rest I like Gambas, it is a good alternative for C to make simple programs with less overhead as using C. I go now for 6 weeks to do a programming job on Tenerife but when I am back I wil take a look to remake the Mediaplayer using READ. grts Ron. From wyg_kd at ...43... Thu Dec 4 08:08:36 2003 From: wyg_kd at ...43... (Wayan Sriyasa) Date: Wed, 3 Dec 2003 23:08:36 -0800 (PST) Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #433 - 1 msg In-Reply-To: Message-ID: <20031204070836.1035.qmail@...317...> hello, my names is Wayan from Bogor, Indonesia. Well I'm a new GAMBAS user, I wonder to know how to create a new project in GAMBAS. Is there any tutorial about GAMBAS, like GAMBAS userguide, language reference or a project sample. thank you... gambas-user-request at lists.sourceforge.net wrote:Send Gambas-user mailing list submissions to gambas-user at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/gambas-user or, via email, send a message with subject or body 'help' to gambas-user-request at lists.sourceforge.net You can reach the person managing the list at gambas-user-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Gambas-user digest..." Today's Topics: 1. Re: about process (ron) --__--__-- Message: 1 From: ron To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] about process Date: Wed, 3 Dec 2003 18:39:47 +0100 Reply-To: gambas-user at lists.sourceforge.net Hi All, > Message: 1 > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] about process > Date: Mon, 1 Dec 2003 12:53:20 +0100 > Reply-To: gambas-user at lists.sourceforge.net > > On Saturday 29 November 2003 15:20, Edward Hsu wrote: > > Dear Benoit, > > > > Thanks for your reply. > > > > I am very confused. I wrote an e-mail asking about the > > example of movieplayer which did not work at all and > > you said 'the READ option should be taken away'. After > > I took it away, it works fine. I also found that you > > took it out in the example of movieplayer for Gambas > > 0.72. > > > > Now you said that EXEC ... for READ WRITE as > > $hProcess should work. I try the example of > > movieplayer with READ option again on Gambas 0.72, it > > still doesn't work. After I take READ option away, it > > works. Is there any bug in new EXEC for music? I found > > it works fine for others with READ option but it > > doesn't work for music with mplayer. > > > > Regards, > > > > Edward > > Can you send me your project ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > > > -- __--__-- > > Message: 2 > From: Rob > To: gambas-user at lists.sourceforge.net, > Ken Schrock > Subject: Re: [Gambas-user] Event loop > Date: Mon, 1 Dec 2003 08:21:29 -0500 > Reply-To: gambas-user at lists.sourceforge.net > > On Saturday 29 November 2003 15:43, Ken Schrock wrote: > > There was a DoEvents or some such in VB > > Sleep works in C in Linux > > How here? > > You want the WAIT keyword. It's equivalent to the C sleep() > function in stdlib, though sleep() takes a required integer > parameter and with WAIT it's a float so you can "WAIT 0.5" to > sleep half a second. (or just "WAIT" to wait only as long as > the system needs to do the event loop....) > > I think I'll add some notes to the WAIT page in the wiki so > people can more easily find it. > > Rob > Rob: You recently mentioned the WAIT as alternative for VB's DoEvents for a wait process. Be carefull for the difference. As I understand from documentation the WAIT does a wait for Gambas, the interpreter wait the time and nothing else is executed in the interpreter (i.e. other events ) in the program using this WAIT function. With VB DoEvents this behaviour is different, other buttons can be pressed and those events are executed. VB's DoEvents let the events in the programm working but also windows background processes. VB's Sleep (or Delay, i forgot) holds everything, events in the program and all other programs in windows!. Can't move Notepad window. Gambas WAIT keeps the whole program waiting till the wait time is passed. Other program stay working!. Can move Kedit window. In VB you can use textbox.text="Check the checkbox GO to continue at the same moment" do while checkbox_go=false DoEvents passes=passes+1 loop textbox.text="Thank You" and use a checbox to stop this waiting and passes has a very big value. textbox.text="Check the checkbox GO to continue, may be a delay of 10 sec" do while checkbox_go=false WAIT 10 INC passes loop textbox.text="Thank You" You must be lucky to check the GO because only at a interval of 10 seconds the WHILE condition is tested and the time after the WAIT till this test is a few miliseconds. The passes is only every 10 second incremented You can't use WAIT 10 in a seperate form to monitor every 10 seconds changes somewhere as was the intention by the person asking about it and keep the application creating this form continue other tasks. He should use a timer object in that form. Edward Hsu: The READ was working by me in 0.71 but during the update to 0.72 I forgot to save the new player example I made. You must use Process_Read() if you use READ to consume the data send by the aplication to stdout. It was not clear how to use the Process_Read() at the time I did it but I found the way. The problem was that the READ could be consumed with LineInput and Input methods. LineInput #filehandle, sVariable It wants a file handle and you dont have a file (disk file). In this case you must use the process handle. LineInput #processhandle, sVariable This way you get the output from the player and could wait for the line with AV: as start to make the play window visible instead of using the WAIT method. If you use READ then you must use the Process_Read() function, read the data from the handle and trow away or do something with it. See below for additional comment. Benoit: When the mplayer program send it output to stdout it is visible in the Gambas console. I can scroll in the console this output so i asume there is a big buffer. Is it posible that programs send so many data and the console buffer becomes full? Can you give an example or documentation for the Stream object used to get the output of the program started with EXEC in the way your intention is ? I had some problems to find the way to get the data. As far I know I did it this way: A global variable MovieVisible Use the EXEC() FOR READ WRITE AS $hProcess. Put a rem before the WAIT. Set variable MovieVisible=false Made a subroutine of the part below the WAIT as showmovie. Add a new subroutine like this one: public process_read() dim txt as string ' this must always be done else the movie/program stops lineinput #hProcess, txt ' test if movie is already visible if MovieVisible=true then return ' wait for mark of the first movie frame if left (txt,4) = "AV: " then showmovie ' calling the extra subroutine MovieVisible=true endif end This way the beginning dropped by the WAIT function was eliminated and the show started direct as the first frame is available. With the WAIT 0.5*4 or *8 for the mpg film on a network share you miss the leading seconds by the WAIT function. The variable MovieVisible can be the visible property of the label used as viewport. Is more correct too. For the rest I like Gambas, it is a good alternative for C to make simple programs with less overhead as using C. I go now for 6 weeks to do a programming job on Tenerife but when I am back I wil take a look to remake the Mediaplayer using READ. grts Ron. --__--__-- _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user End of Gambas-user Digest --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now -------------- next part -------------- An HTML attachment was scrubbed... URL: From girardhenri at ...67... Thu Dec 4 08:28:37 2003 From: girardhenri at ...67... (Henri Girard) Date: Thu, 4 Dec 2003 08:28:37 +0100 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #433 - 1 msg References: <20031204070836.1035.qmail@...317...> Message-ID: run gambas and menu create a new project.. look the exemples they are quite good for beginning... and on the gambas web site there is links for newbies good luck :) Henri ----- Original Message ----- From: Wayan Sriyasa To: gambas-user at lists.sourceforge.net Sent: Thursday, December 04, 2003 8:08 AM Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #433 - 1 msg hello, my names is Wayan from Bogor, Indonesia. Well I'm a new GAMBAS user, I wonder to know how to create a new project in GAMBAS. Is there any tutorial about GAMBAS, like GAMBAS userguide, language reference or a project sample. thank you... -------------- next part -------------- An HTML attachment was scrubbed... URL: From wizardmansite at ...43... Thu Dec 4 10:02:57 2003 From: wizardmansite at ...43... (Devilyn) Date: Thu, 4 Dec 2003 01:02:57 -0800 (PST) Subject: [Gambas-user] Playing Midi files Message-ID: <20031204090257.89327.qmail@...318...> Been waiting! Any progress with on playing MIDI files? Using SDL component? Need this for RPG game. Devilyn --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now -------------- next part -------------- An HTML attachment was scrubbed... URL: From leo.barnhoorn at ...246... Fri Dec 5 09:20:17 2003 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Fri, 5 Dec 2003 00:20:17 -0800 Subject: [Gambas-user] Fonts Message-ID: <200312050020.18032.leo.barnhoorn@...246...> Hallo Benoit, I have finaly fount the fonts, Ms Linedraw.ttf and dosapp.fon. This fonts work OK whitin Gambas. Question: When i draw them only the range from Ascii code 0 to 128 he draws, the range from 129 to 255 is not shown in de drawarea. Is it posible that i can make them visible on the drawingarea. This last range from 129 to 255 is what i need, especially the range from 169 to 223 this are the drawing characters from this fonts. Thanks, Regards, Leo Barnhoorn. From gambas at ...1... Fri Dec 5 20:13:13 2003 From: gambas at ...1... (Benoit Minisini) Date: Fri, 5 Dec 2003 20:13:13 +0100 Subject: [Gambas-user] about process In-Reply-To: <200312031839.47378.ronstk@...239...> References: <200312031839.47378.ronstk@...239...> Message-ID: <200312052013.13499.gambas@...1...> On Wednesday 03 December 2003 18:39, ron wrote: > Hi All, > > Rob: > You recently mentioned the WAIT as alternative for VB's DoEvents for a wait > process. Be carefull for the difference. As I understand from documentation > the WAIT does a wait for Gambas, the interpreter wait the time and nothing > else is executed in the interpreter (i.e. other events ) in the program > using this WAIT function. > > With VB DoEvents this behaviour is different, other buttons can be pressed > and those events are executed. > > VB's DoEvents let the events in the programm working but also windows > background processes. > The Gambas behaviour relies on a QT feature, that allow processing events without interaction. The VB way is horrible, because it leads easily to infinite loops or strange behaviours in the code. When you WAIT in a program, you don't want the user to interact with the application. If you want that, just return to the event loop. If you can't, then your program may be badly written. > VB's Sleep (or Delay, i forgot) holds everything, events in the program > and all other programs in windows!. Can't move Notepad window. > > Gambas WAIT keeps the whole program waiting till the wait time is passed. > Other program stay working!. Can move Kedit window. This behaviour comes from X-Window and the multitasking kernel, not Gambas ! Forget Win9x man :-) On Window NT, you can do the same thing, except that some badly written application like Explorer can block when trying to access a network share for example. > > In VB you can use > > textbox.text="Check the checkbox GO to continue at the same moment" > do while checkbox_go=false > DoEvents > passes=passes+1 > loop > textbox.text="Thank You" > > and use a checbox to stop this waiting and passes has a very big value. > > textbox.text="Check the checkbox GO to continue, may be a delay of 10 sec" > do while checkbox_go=false > WAIT 10 > INC passes > loop > textbox.text="Thank You" > > You must be lucky to check the GO because only at a interval of 10 seconds > the WHILE condition is tested and the time after the WAIT till this test is > a few miliseconds. The passes is only every 10 second incremented > > You can't use WAIT 10 in a seperate form to monitor every 10 seconds > changes somewhere as was the intention by the person asking about it and > keep the application creating this form continue other tasks. He should use > a timer object in that form. > -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Dec 5 20:14:10 2003 From: gambas at ...1... (Benoit Minisini) Date: Fri, 5 Dec 2003 20:14:10 +0100 Subject: [Gambas-user] Playing Midi files In-Reply-To: <20031204090257.89327.qmail@...318...> References: <20031204090257.89327.qmail@...318...> Message-ID: <200312052014.10300.gambas@...1...> On Thursday 04 December 2003 10:02, Devilyn wrote: > Been waiting! Any progress with on playing MIDI files? Using SDL component? > Need this for RPG game. > Devilyn > Mmmm... SDL has nothing to do with playing Midi file. I think you must lauch an external program to do that. I don't have much information about how to do that... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Dec 5 20:19:29 2003 From: gambas at ...1... (Benoit Minisini) Date: Fri, 5 Dec 2003 20:19:29 +0100 Subject: [Gambas-user] Fonts In-Reply-To: <200312050020.18032.leo.barnhoorn@...246...> References: <200312050020.18032.leo.barnhoorn@...246...> Message-ID: <200312052019.29153.gambas@...1...> On Friday 05 December 2003 09:20, Leo Barnhoorn wrote: > Hallo Benoit, > > I have finaly fount the fonts, Ms Linedraw.ttf and dosapp.fon. This fonts > work OK whitin Gambas. > > Question: When i draw them only the range from Ascii code 0 to 128 he > draws, the range from 129 to 255 is not shown in de drawarea. Is it posible > that i can make them visible on the drawingarea. This last range from 129 > to 255 is what i need, especially the range from 169 to 223 this are the > drawing characters from this fonts. > > Thanks, > > Regards, > Leo Barnhoorn. > Be careful Leo ! Gambas interpreter encodes its strings in UTF-8, not ASCII ! So CHR$(x) when x >= 128 is not a character. You must use the UTF-8 encoding instead. The lazy way is Conv$(MyString, "ISO-8859-1", "UTF-8") Regards, -- Benoit Minisini mailto:gambas at ...1... From kschrock at ...149... Sat Dec 6 06:29:04 2003 From: kschrock at ...149... (Ken Schrock) Date: Fri, 5 Dec 2003 21:29:04 -0800 Subject: [Gambas-user] Playing Midi files In-Reply-To: <200312052014.10300.gambas@...1...> References: <20031204090257.89327.qmail@...318...> <200312052014.10300.gambas@...1...> Message-ID: <200312052129.05106.kschrock@...149...> One way would be to just use playmidi which is included with most distros SHELL "playmidi somesong.mid" However, midi is often not available in Linux because A. Some of the real cheap built-in sound cards don't do midi B. There seems to be a lot of alsa drivers that don't support midi So a more reliable way is to use timidity, which does it in software And is always avalable to the program if the user has a sound card The disadvantages to this method are A. you have to make timidity a dependency of your app B. Timidity sucks a lot of CPU, which may be a problem in a game On Friday 05 December 2003 11:14 am, Benoit Minisini wrote: > On Thursday 04 December 2003 10:02, Devilyn wrote: > > Been waiting! Any progress with on playing MIDI files? Using SDL > > component? Need this for RPG game. > > Devilyn > > Mmmm... SDL has nothing to do with playing Midi file. I think you must > lauch an external program to do that. I don't have much information about > how to do that... > > Regards, From danielcampos at ...277... Sat Dec 6 12:33:58 2003 From: danielcampos at ...277... (daniel) Date: Sat, 06 Dec 2003 11:33:58 +0000 Subject: [Gambas-user] about process In-Reply-To: <200312052013.13499.gambas@...1...> References: <200312031839.47378.ronstk@...239...> <200312052013.13499.gambas@...1...> Message-ID: <1070710438.2893.2.camel@...278...> > The Gambas behaviour relies on a QT feature, that allow processing events > without interaction. > > The VB way is horrible, because it leads easily to infinite loops or strange > behaviours in the code. > > When you WAIT in a program, you don't want the user to interact with the > application. If you want that, just return to the event loop. If you can't, > then your program may be badly written. > May be you want the user to press the 'Cancel' button... From danielcampos at ...277... Sat Dec 6 12:46:12 2003 From: danielcampos at ...277... (daniel) Date: Sat, 06 Dec 2003 11:46:12 +0000 Subject: [Gambas-user] Playing Midi files In-Reply-To: <200312052129.05106.kschrock@...149...> References: <20031204090257.89327.qmail@...318...> <200312052014.10300.gambas@...1...> <200312052129.05106.kschrock@...149...> Message-ID: <1070711172.2893.11.camel@...278...> Why not using WAVs or MP3 instead of midi? It is true midi is a problem in Linux, but, for a game, you can use pure sounds instead of midi, I think it is not a problem for yor game... Regards, Daniel Campos > One way would be to just use playmidi which is included with most distros > > SHELL "playmidi somesong.mid" > > However, midi is often not available in Linux because > A. Some of the real cheap built-in sound cards don't do midi > B. There seems to be a lot of alsa drivers that don't support midi > > So a more reliable way is to use timidity, which does it in software > And is always avalable to the program if the user has a sound card > > The disadvantages to this method are > A. you have to make timidity a dependency of your app > B. Timidity sucks a lot of CPU, which may be a problem in a game > > On Friday 05 December 2003 11:14 am, Benoit Minisini wrote: > > On Thursday 04 December 2003 10:02, Devilyn wrote: > > > Been waiting! Any progress with on playing MIDI files? Using SDL > > > component? Need this for RPG game. > > > Devilyn > > > > Mmmm... SDL has nothing to do with playing Midi file. I think you must > > lauch an external program to do that. I don't have much information about > > how to do that... > > > > Regards, > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Dec 6 19:04:40 2003 From: gambas at ...1... (Benoit Minisini) Date: Sat, 6 Dec 2003 19:04:40 +0100 Subject: [Gambas-user] gambas 0.73 Message-ID: <200312061904.40451.gambas@...1...> Hi, Gambas users, Here is the 0.73 version of Gambas: - File functions now automatically convert their file names arguments from UTF-8 to the local system encoding. - The QT component should compile with QT 3.2 now. - Some bugs have been fixed. Here is a list of the 'problems' I want to fix before the 1.0 release: 1) Clean up the 'introspection' mechanism, i.e. the Symbol, Class and Component classes. 2) Having a better image processing class: at the moment, you can access pixels, replace colored pixels by transparent pixels, flip, stretch or rotate an image. I'd like to have more powerful functions, or at least a well designed interface to these functions. 3) I'd like to be sure that gambas install and run correctly on all Linux distributions, so don't hesitate to tell me when you can't do that with your own distribution, or when you can, so that I know. I have only a Mandrake 9.2 at home, and no VMWare yet ! 4) Make some changes in the way ListView, TreeView and ColumnView elements can be browsed. The current interface is not well designed. 5) Having an updated documentation on the Wiki made by Rob. I hope this will come soon ;-) And, of course, if you see other important points, tell them on this mailing-list ! Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Sat Dec 6 18:43:21 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 6 Dec 2003 12:43:21 -0500 Subject: [Gambas-user] about process In-Reply-To: <1070710438.2893.2.camel@...278...> References: <200312052013.13499.gambas@...1...> <1070710438.2893.2.camel@...278...> Message-ID: <200312061243.21021.sourceforge-raindog2@...94...> On Saturday 06 December 2003 06:33, daniel wrote: > > When you WAIT in a program, you don't want the user to > > interact with the application. If you want that, just return > > to the event loop. If you can't, then your program may be > > badly written. > May be you want the user to press the 'Cancel' button... I have usually been back in the main event loop when I've wanted a cancel button (e.g. a long running process launched with SHELL, a wait for the HTTP client to retrieve a page) but I suppose there might be instances where you wanted to have a cancel button available on some long-running process inside your Gambas code itself. Rob From Karl.Reinl at ...9... Sun Dec 7 00:33:18 2003 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 7 Dec 2003 00:33:18 +0100 Subject: [Gambas-user] gambas-0.73 Message-ID: <200312070033.18992.Karl.Reinl@...9...> Salut, gentoo 1.4 , qt 3.1.2 , gcc 3.2.3 , KDE 3.1.2 , mysql 4.0.13 no problems to compile gambas-0.73 amicalement Charlie PS: I had problems, while unpacked first in mc , got strange messages and a system freese during 'make', after making tar on a console the 3 worked . 'mc' make problems with tar I wrote now (proDVD for xcdroast) From olivier at ...289... Sun Dec 7 08:07:17 2003 From: olivier at ...289... (Olivier Coquet) Date: Sun, 7 Dec 2003 08:07:17 +0100 Subject: [Gambas-user] gambas 0.73 In-Reply-To: <200312061904.40451.gambas@...1...> References: <200312061904.40451.gambas@...1...> Message-ID: <200312070807.17900.olivier@...289...> hi, compile and run ok Fedora Core 1 littles bugs since 0.71: -if save a file with an accent in the filename, file is not visible in load Dialog.OpenFile() and file is saved with "?" Unicode non valide - Picture bug is now out, we can click on button to load picture, but the text box where there is the picture name is alway Read Only ! Regards Olivier Coquet http://stratoria.dynu.net:85/ From edward_cjhsu at ...253... Sun Dec 7 10:45:32 2003 From: edward_cjhsu at ...253... (Edward Hsu) Date: Sun, 7 Dec 2003 04:45:32 -0500 (EST) Subject: [Gambas-user] about process In-Reply-To: <200312031839.47378.ronstk@...239...> Message-ID: <20031207094532.13546.qmail@...254...> Dear Ron and Benoit, Thanks for the helpful e-mails about EXEC with READ option for the mplayer. It is working fine with Gambas 0.73. It is right as Ron said we have to use line input in Process_Read function. I used Read #$hProcess, sData, and it doesn't work at all, when I changed to Line Input #$hProcess, sData then it works beautifully. Regards, Edward ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From gambas at ...1... Sun Dec 7 13:01:45 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Dec 2003 13:01:45 +0100 Subject: [Gambas-user] about process In-Reply-To: <20031207094532.13546.qmail@...254...> References: <20031207094532.13546.qmail@...254...> Message-ID: <200312071301.45753.gambas@...1...> On Sunday 07 December 2003 10:45, Edward Hsu wrote: > Dear Ron and Benoit, > > Thanks for the helpful e-mails about EXEC with READ > option for the mplayer. It is working fine with Gambas > 0.73. > > It is right as Ron said we have to use line input in > Process_Read function. I used Read #$hProcess, sData, > and it doesn't work at all, when I changed to Line > Input #$hProcess, sData then it works beautifully. > > Regards, > > Edward > You must understand carefully what LINE INPUT and READ do. LINE INPUT reads a stream until a '\n' character or an end of file, and returns what it reads as as string. Use it if you are sure that your process sends only text lines (it is a common behaviour with UNIX commands). READ #Stream, sData reads a string on the stream in a GAMBAS serialized format: in other words, it reads the length of the string first, and then reads the string itself. You use this function only if you read a stream where you wrote data with WRITE #Stream, sData. Elsewhere, you can use the following syntax: READ #Stream, sData, N Then, you will just read N characters on the stream as a string. Or you can use READ #Stream, sData, -N. Then, you will read N characters on the stream, or less if a end of file happens. I use that to read the output of a process in the IDE debugger. I hope everything is clearer. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 7 13:05:40 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Dec 2003 13:05:40 +0100 Subject: [Gambas-user] gambas 0.73 In-Reply-To: <200312070807.17900.olivier@...289...> References: <200312061904.40451.gambas@...1...> <200312070807.17900.olivier@...289...> Message-ID: <200312071305.40738.gambas@...1...> On Sunday 07 December 2003 08:07, Olivier Coquet wrote: > hi, > > compile and run ok Fedora Core 1 > > > littles bugs since 0.71: > > -if save a file with an accent in the filename, file is not visible in load > Dialog.OpenFile() and file is saved with "?" Unicode non valide Hmm... Problem ! I will check what happens. > > - Picture bug is now out, we can click on button to load picture, but the > text box where there is the picture name is alway Read Only ! Hey ! This is a feature, not a bug. I don't want the user to type what he wants in this text box ! > > > > > Regards > Olivier Coquet > http://stratoria.dynu.net:85/ > -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 7 13:33:04 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 7 Dec 2003 13:33:04 +0100 Subject: [Gambas-user] gambas 0.73 In-Reply-To: <200312070807.17900.olivier@...289...> References: <200312061904.40451.gambas@...1...> <200312070807.17900.olivier@...289...> Message-ID: <200312071333.04154.gambas@...1...> On Sunday 07 December 2003 08:07, Olivier Coquet wrote: > hi, > > compile and run ok Fedora Core 1 > > > littles bugs since 0.71: > > -if save a file with an accent in the filename, file is not visible in load > Dialog.OpenFile() and file is saved with "?" Unicode non valide > OK. I Found and fixed the following methods: - Dialog.OpenFile - Dialog.SaveFile - Dialog.SelectDirectory - File.Load - File.Save -- Benoit Minisini mailto:gambas at ...1... From olivier at ...289... Sun Dec 7 16:10:00 2003 From: olivier at ...289... (Olivier Coquet) Date: Sun, 7 Dec 2003 16:10:00 +0100 Subject: [Gambas-user] gambas 0.73 In-Reply-To: <200312071333.04154.gambas@...1...> References: <200312061904.40451.gambas@...1...> <200312070807.17900.olivier@...289...> <200312071333.04154.gambas@...1...> Message-ID: <200312071610.00907.olivier@...289...> Le Dimanche 7 D?cembre 2003 13:33, Benoit Minisini a ?crit : thanks good job ! for the picture text.box, I've found where I can modify it in gambas ide source :=) regards Olivier > On Sunday 07 December 2003 08:07, Olivier Coquet wrote: > > hi, > > > > compile and run ok Fedora Core 1 > > > > > > littles bugs since 0.71: > > > > -if save a file with an accent in the filename, file is not visible in > > load Dialog.OpenFile() and file is saved with "?" Unicode non valide > > OK. I Found and fixed the following methods: > - Dialog.OpenFile > - Dialog.SaveFile > - Dialog.SelectDirectory > - File.Load > - File.Save From olivier at ...289... Sun Dec 7 16:16:21 2003 From: olivier at ...289... (Olivier Coquet) Date: Sun, 7 Dec 2003 16:16:21 +0100 Subject: [Gambas-user] gambas 0.73 In-Reply-To: <200312071333.04154.gambas@...1...> References: <200312061904.40451.gambas@...1...> <200312070807.17900.olivier@...289...> <200312071333.04154.gambas@...1...> Message-ID: <200312071616.21673.olivier@...289...> Another little bug, or problemme with sql exec DB.exec("CREATE TABLE `table de test` ( `test` varchar(100) )") give an error ! this is because there is spaces in the table name, this is not complient with rules of sql query which should accept spaces in table names. Regards Olivier From sourceforge-raindog2 at ...94... Sun Dec 7 19:32:16 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 7 Dec 2003 13:32:16 -0500 Subject: [Gambas-user] gambas 0.73 In-Reply-To: <200312071616.21673.olivier@...289...> References: <200312061904.40451.gambas@...1...> <200312071333.04154.gambas@...1...> <200312071616.21673.olivier@...289...> Message-ID: <200312071332.16676.sourceforge-raindog2@...94...> On Sunday 07 December 2003 10:16, Olivier Coquet wrote: > Another little bug, or problemme with sql exec > DB.exec("CREATE TABLE `table de test` ( `test` varchar(100) > )") Are you really using backticks "`" to quote your table name? Because that shouldn't ever work. You should be using single quotes "'". Rob From karl.reinl at ...9... Sun Dec 7 20:25:24 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 07 Dec 2003 20:25:24 +0100 Subject: [Gambas-user] virtual machines Message-ID: <3FD37EA4.2020207@...9...> Salut, for those who looks out for virtual machines, here a other one. http://www.cl.cam.ac.uk/Research/SRG/netos/xen/ Xen is also Open Source software, released under the terms of the GNU General Public License . amicalemet Charlie PS. xen is sponsort by Intel and Microsoft From grahame at ...307... Sun Dec 7 22:13:21 2003 From: grahame at ...307... (Grahame White) Date: Sun, 7 Dec 2003 21:13:21 +0000 Subject: [Gambas-user] gambas-0.73 In-Reply-To: <200312070033.18992.Karl.Reinl@...9...> References: <200312070033.18992.Karl.Reinl@...9...> Message-ID: <200312072113.21433.grahame@...307...> debian unstable , qt 3.2.1 , gcc 3.3.3 , KDE 3.1.3 Gambas compiled with no errors, although I had to install the libqt3-compat-headers package to get the required qvector.h header file. Gambas also installed with no errors reported. However when I run gambas from the commandline as a normal user and then try to create a new project I am dropped back to the commandline and get the following error : FSupSelector.HaveDirChild.536: #43: Access forbidden As root I can open a new project which suggests a permissions problem. Grahame From Karl.Reinl at ...9... Sun Dec 7 22:32:15 2003 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 7 Dec 2003 22:32:15 +0100 Subject: [Gambas-user] a new Hint : delete you project-files, while open in the IDE Message-ID: <200312072232.15044.Karl.Reinl@...9...> Salut, must be fool to do it , but possible Start a Project and Create a new form or open an existing project Then File/Open a Project Select (in left window) the project change to the right window and open on a file with a right mouse click the context menu NOW you can delete you project-files, while open in the IDE Amicalement Charlie From na2492 at ...9... Sun Dec 7 22:35:27 2003 From: na2492 at ...9... (na2492 at ...9...) Date: Sun, 7 Dec 2003 22:35:27 00100 Subject: [Gambas-user] gambas-0.73 Message-ID: <3fd39d1f.5105.0@...9...> >debian unstable , qt 3.2.1 , gcc 3.3.3 , KDE 3.1.3 > >Gambas compiled with no errors, although I had to install the >libqt3-compat-headers package to get the required qvector.h header file. > >Gambas also installed with no errors reported. > >However when I run gambas from the commandline as a normal user and then >try to create a new project I am dropped back to the commandline and get >the following error : > >FSupSelector.HaveDirChild.536: #43: Access forbidden > >As root I can open a new project which suggests a permissions problem. > >Grahame > Salut, look about rights on /../gambas-installation and /tmp amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...9... Sun Dec 7 22:36:05 2003 From: na2492 at ...9... (na2492 at ...9...) Date: Sun, 7 Dec 2003 22:36:05 00100 Subject: [Gambas-user] gambas-0.73 Message-ID: <3fd39d45.5147.0@...9...> >debian unstable , qt 3.2.1 , gcc 3.3.3 , KDE 3.1.3 > >Gambas compiled with no errors, although I had to install the >libqt3-compat-headers package to get the required qvector.h header file. > >Gambas also installed with no errors reported. > >However when I run gambas from the commandline as a normal user and then >try to create a new project I am dropped back to the commandline and get >the following error : > >FSupSelector.HaveDirChild.536: #43: Access forbidden > >As root I can open a new project which suggests a permissions problem. > >Grahame > Salut, look about rights on /../your-gambas-installation and /tmp amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambasfr at ...11... Sun Dec 7 23:25:11 2003 From: gambasfr at ...11... (Fabien Bodard) Date: Sun, 07 Dec 2003 23:25:11 +0100 Subject: [Gambas-user] gambas-0.73 In-Reply-To: <200312072113.21433.grahame@...307...> References: <200312070033.18992.Karl.Reinl@...9...> <200312072113.21433.grahame@...307...> Message-ID: <1070835911.30534.11.camel@...40...> Le dim 07/12/2003 ? 22:13, Grahame White a ?crit : > debian unstable , qt 3.2.1 , gcc 3.3.3 , KDE 3.1.3 > > Gambas compiled with no errors, although I had to install the > libqt3-compat-headers package to get the required qvector.h header file. > > Gambas also installed with no errors reported. > > However when I run gambas from the commandline as a normal user and then > try to create a new project I am dropped back to the commandline and get > the following error : > > FSupSelector.HaveDirChild.536: #43: Access forbidden > > As root I can open a new project which suggests a permissions problem. > > Grahame > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ????? I don't undersand what is the problem... On my computer it work correctly... Nevertheless... Replace the file FSupSelector.class by this one and tell me if it work correctly now. Regard, Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: FSupSelector.class Type: application/x-java-byte-code Size: 34809 bytes Desc: not available URL: From grahame at ...307... Mon Dec 8 00:09:46 2003 From: grahame at ...307... (Grahame White) Date: Sun, 7 Dec 2003 23:09:46 +0000 Subject: [Gambas-user] gambas-0.73 In-Reply-To: <1070835911.30534.11.camel@...40...> References: <200312070033.18992.Karl.Reinl@...9...> <200312072113.21433.grahame@...307...> <1070835911.30534.11.camel@...40...> Message-ID: <200312072309.46539.grahame@...307...> > ????? > I don't undersand what is the problem... On my computer it work > correctly... Nevertheless... > > Replace the file FSupSelector.class by this one and tell me if it work > correctly now. > > Regard, Fabien Right, I replaced FSupSelector.class with the file you sent me and tried creating a new project again. I got the same error error as before only on line 534 instead. Line 534 in the new file being the same as line 536 in the previous file. Grahame From olivier at ...289... Mon Dec 8 08:00:46 2003 From: olivier at ...289... (Olivier Coquet) Date: Mon, 8 Dec 2003 08:00:46 +0100 Subject: [Gambas-user] gambas 0.73 In-Reply-To: <200312071332.16676.sourceforge-raindog2@...94...> References: <200312061904.40451.gambas@...1...> <200312071616.21673.olivier@...289...> <200312071332.16676.sourceforge-raindog2@...94...> Message-ID: <200312080800.46707.olivier@...289...> Le Dimanche 7 D?cembre 2003 19:32, Rob a ?crit : > On Sunday 07 December 2003 10:16, Olivier Coquet wrote: > > Another little bug, or problemme with sql exec > > DB.exec("CREATE TABLE `table de test` ( `test` varchar(100) > > )") > > Are you really using backticks "`" to quote your table name? > Because that shouldn't ever work. You should be using single > quotes "'". > > Rob No lol it's just a creator Mysqlcc copy !!!!! Regards Olivier From gambas at ...1... Mon Dec 8 16:49:12 2003 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Dec 2003 16:49:12 +0100 Subject: [Gambas-user] gambas 0.73 In-Reply-To: <200312080800.46707.olivier@...289...> References: <200312061904.40451.gambas@...1...> <200312071332.16676.sourceforge-raindog2@...94...> <200312080800.46707.olivier@...289...> Message-ID: <200312081649.12663.gambas@...1...> On Monday 08 December 2003 08:00, Olivier Coquet wrote: > Le Dimanche 7 D?cembre 2003 19:32, Rob a ?crit : > > On Sunday 07 December 2003 10:16, Olivier Coquet wrote: > > > Another little bug, or problemme with sql exec > > > DB.exec("CREATE TABLE `table de test` ( `test` varchar(100) > > > )") > > > > Are you really using backticks "`" to quote your table name? > > Because that shouldn't ever work. You should be using single > > quotes "'". > > > > Rob > > No lol it's just a creator Mysqlcc copy !!!!! > > Regards > Olivier > If you use DB.Exec, the SQL command is directly sent to the backend, so don't complain. Maybe the backend does not accept databases names with spaces. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon Dec 8 17:02:42 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 8 Dec 2003 11:02:42 -0500 Subject: [Gambas-user] gambas 0.73 packages Message-ID: <200312081058.26370.sourceforge-raindog2@...94...> I have Mandrake 9.1/9.2 packages of 0.73 available. http://www.kudla.org/index.php?wl_mode=more&wl_eid=41 I also re-generated the component docs for 0.73 and made a few of Benoit's requested changes in the process (the most visible being the addition of the Author line to the main component pages.... which involved learning how to use iconv to convert utf8 to iso-8859-1 ;) ) Example: http://www.binara.com/gambas-wiki/bin/view/GambasTest/GambasComponentSdl In other news, I may get access to a Lindows 4.0 machine in the next week or two and will try to learn how to make at least a .deb file of the latest gambas, and if "Click'n'Run" uses a different format than .deb now, then that too (they're like 7 or 8 versions behind right now.) I occasionally have access to a Suse box so I might try building RPM's on that too. Rob From gambas at ...1... Mon Dec 8 17:25:46 2003 From: gambas at ...1... (Benoit Minisini) Date: Mon, 8 Dec 2003 17:25:46 +0100 Subject: [Gambas-user] gambas 0.73 packages In-Reply-To: <200312081058.26370.sourceforge-raindog2@...94...> References: <200312081058.26370.sourceforge-raindog2@...94...> Message-ID: <200312081725.46704.gambas@...1...> On Monday 08 December 2003 17:02, Rob wrote: > I have Mandrake 9.1/9.2 packages of 0.73 available. > > http://www.kudla.org/index.php?wl_mode=more&wl_eid=41 > > I also re-generated the component docs for 0.73 and made a few of > Benoit's requested changes in the process (the most visible > being the addition of the Author line to the main component > pages.... which involved learning how to use iconv to convert > utf8 to iso-8859-1 ;) ) > Good. But why did you put the Author line AFTER the Class title and not before ? Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon Dec 8 17:52:20 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 8 Dec 2003 11:52:20 -0500 Subject: [Gambas-user] gambas 0.73 packages In-Reply-To: <200312081725.46704.gambas@...1...> References: <200312081058.26370.sourceforge-raindog2@...94...> <200312081725.46704.gambas@...1...> Message-ID: <200312081152.20755.sourceforge-raindog2@...94...> On Monday 08 December 2003 11:25, Benoit Minisini wrote: > Good. But why did you put the Author line AFTER the Class > title and not before ? The "Classes" line is in the main component file, the "Author" line is in the export file included by that file. So there's no way to interleave output. I guess I should delete the "Classes" line from the main file and start putting it in the export... Rob From grahame at ...307... Mon Dec 8 20:02:06 2003 From: grahame at ...307... (Grahame White) Date: Mon, 8 Dec 2003 19:02:06 +0000 Subject: [Gambas-user] gambas-0.73 In-Reply-To: <3fd39d45.5147.0@...9...> References: <3fd39d45.5147.0@...9...> Message-ID: <200312081902.06430.grahame@...307...> On Sunday 07 December 2003 22:36, na2492 at ...9... wrote: > >debian unstable , qt 3.2.1 , gcc 3.3.3 , KDE 3.1.3 > > > >Gambas compiled with no errors, although I had to install the > >libqt3-compat-headers package to get the required qvector.h header > > file. > > > >Gambas also installed with no errors reported. > > > >However when I run gambas from the commandline as a normal user and > > then try to create a new project I am dropped back to the commandline > > and get the following error : > > > >FSupSelector.HaveDirChild.536: #43: Access forbidden > > > >As root I can open a new project which suggests a permissions problem. > > > >Grahame > > Salut, > > look about rights on /../your-gambas-installation and /tmp in /tmp drwx------ 2 grahame grahame 4096 Dec 8 18:50 gambas.1000 in /../my-gambas-install drwxr-sr-x 6 root staff 4096 Dec 7 21:01 gambas I also have a text file containing a full permissions list of all the file in the installed gambas directory. I tried changing this to be owned by me but I still get the same error. Grahame From Karl.Reinl at ...9... Mon Dec 8 21:15:23 2003 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 8 Dec 2003 21:15:23 +0100 Subject: [Gambas-user] multible Processes Message-ID: <200312082115.23081.Karl.Reinl@...9...> Salut, I want to write a small programm in gambas, where i compare the output from EXEC and SHELL . so I dit: PRIVATE myShellProcess AS Process PRIVATE myEXECProcess AS Process - made two Textboxes for input One for the command , and one for the arguments. - I made 4 Output Textboxes a OUTput for read and one for Error and that twice for Exec and SHELL - a Button [Fire] shall starts all : PUBLIC SUB btnFire_Click() DIM sSHELLText AS String EXECFeedback.Text = "" SHELLFeedback.Text = "" EXECError.Text = "" SHELLError.Text = "" 'Trim strips the whitespaces from a string IF Trim(InputCom.Text)<> "" THEN ' call it with EXEC EXEC [Trim(InputCom.Text),Trim(InputArguments.Text)] FOR READ WRITE AS myEXECProcess ' call it with SHELL sSHELLText = Trim(InputCom.Text)+" " + Trim(InputArguments.Text) SHELL sSHELLText FOR READ WRITE AS myShellProcess ELSE EXECError.Text = "please enter a program to execute" SHELLError.Text = EXECError.Text ENDIF END But how can I catch the Output(s) ??? PUBLIC SUB Process_Read() ??? PUBLIC SUB Process_Error(sStr AS String) Have I to catch the Process.Id for make the difference ? Thanks for any hint. amicalement Charlie From gambasfr at ...11... Mon Dec 8 21:36:21 2003 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 08 Dec 2003 21:36:21 +0100 Subject: [Gambas-user] gambas-0.73 In-Reply-To: <200312072309.46539.grahame@...307...> References: <200312070033.18992.Karl.Reinl@...9...> <200312072113.21433.grahame@...307...> <1070835911.30534.11.camel@...40...> <200312072309.46539.grahame@...307...> Message-ID: <1070915781.2685.1.camel@...40...> Le lun 08/12/2003 ? 00:09, Grahame White a ?crit : > > ????? > > I don't undersand what is the problem... On my computer it work > > correctly... Nevertheless... > > > > Replace the file FSupSelector.class by this one and tell me if it work > > correctly now. > > > > Regard, Fabien > > Right, I replaced FSupSelector.class with the file you sent me and tried > creating a new project again. > > I got the same error error as before only on line 534 instead. > > Line 534 in the new file being the same as line 536 in the previous file. > > Grahame > > Try with this file please. I've change the function that i have use to test the directory access. Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: FSupSelector.class Type: application/x-java-byte-code Size: 34824 bytes Desc: not available URL: From na2492 at ...9... Mon Dec 8 21:39:09 2003 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 8 Dec 2003 21:39:09 00100 Subject: [Gambas-user] gambas-0.73 Message-ID: <3fd4e16d.7179.0@...9...> >On Sunday 07 December 2003 22:36, na2492 at ...9... wrote: >> >debian unstable , qt 3.2.1 , gcc 3.3.3 , KDE 3.1.3 >> > >> >Gambas compiled with no errors, although I had to install the >> >libqt3-compat-headers package to get the required qvector.h header >> > file. >> > >> >Gambas also installed with no errors reported. >> > >> >However when I run gambas from the commandline as a normal user and >> > then try to create a new project I am dropped back to the commandline >> > and get the following error : >> > >> >FSupSelector.HaveDirChild.536: #43: Access forbidden >> > >> >As root I can open a new project which suggests a permissions problem. >> > >> >Grahame >> >> Salut, >> >> look about rights on /../your-gambas-installation and /tmp > >in /tmp >drwx------ 2 grahame grahame 4096 Dec 8 18:50 gambas.1000 > >in /../my-gambas-install >drwxr-sr-x 6 root staff 4096 Dec 7 21:01 gambas > >I also have a text file containing a full permissions list of all the file >in the installed gambas directory. > >I tried changing this to be owned by me but I still get the same error. > >Grahame > Sorry for my first mail (wasn't clear), you have to look for the rights in the upper Dir where you want create your project. I can produce your 'Error', which is not an Error, it only says 'in that Dir , where you want create the project Dir, you have no rights to do it '. Try it in /tmp or in /home/grahame or create a gambas-Project Dir , and give you the right like drwxr-xrwx for that Dir. In /../my-gambas-install even if you are member of staff you have no (w)rite permission amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From grahame at ...307... Mon Dec 8 21:43:54 2003 From: grahame at ...307... (Grahame White) Date: Mon, 8 Dec 2003 20:43:54 +0000 Subject: [Gambas-user] gambas-0.73 In-Reply-To: <1070915781.2685.1.camel@...40...> References: <200312070033.18992.Karl.Reinl@...9...> <200312072309.46539.grahame@...307...> <1070915781.2685.1.camel@...40...> Message-ID: <200312082043.54569.grahame@...307...> On Monday 08 December 2003 20:36, Fabien Bodard wrote: > Le lun 08/12/2003 ? 00:09, Grahame White a ?crit : > > > ????? > > > I don't undersand what is the problem... On my computer it work > > > correctly... Nevertheless... > > > > > > Replace the file FSupSelector.class by this one and tell me if it > > > work correctly now. > > > > > > Regard, Fabien > > > > Right, I replaced FSupSelector.class with the file you sent me and > > tried creating a new project again. > > > > I got the same error error as before only on line 534 instead. > > > > Line 534 in the new file being the same as line 536 in the previous > > file. > > > > Grahame > > Try with this file please. I've change the function that i have use to > test the directory access. > > Fabien Replaced, ran and tried to create a new project. This time the error is pointing to line 535, same line as in the other two files :/ Grahame From grahame at ...307... Mon Dec 8 21:48:43 2003 From: grahame at ...307... (Grahame White) Date: Mon, 8 Dec 2003 20:48:43 +0000 Subject: [Gambas-user] gambas-0.73 In-Reply-To: <3fd4e16d.7179.0@...9...> References: <3fd4e16d.7179.0@...9...> Message-ID: <200312082048.43208.grahame@...307...> > Sorry for my first mail (wasn't clear), > > you have to look for the rights in the upper Dir where you want create > your > > project. > > I can produce your 'Error', which is not an Error, it only says 'in that > Dir , where > you want create the project Dir, you have no rights to do it '. > > Try it in /tmp or in /home/grahame or create a gambas-Project Dir , and > give you > the right like drwxr-xrwx for that Dir. > > In /../my-gambas-install even if you are member of staff you have no > (w)rite > > permission > I would try this, but the error is occuring as soon as I click the "New Project" button in the root menu of gambas. I haven't even gotten to the _where_ I want to create the project section yet :-/ Grahame From jstookey at ...43... Tue Dec 9 01:37:00 2003 From: jstookey at ...43... (Jake Stookey) Date: Mon, 8 Dec 2003 16:37:00 -0800 (PST) Subject: [Gambas-user] Catching events from dynamic control form In-Reply-To: Message-ID: <20031209003700.95324.qmail@...319...> Mandrake Linux 9.2 Gambas Version 0.72 built from source Hello, I recently started playing with Gambas and it's really wonderful (from a VB 6 user). I have one question. I would like to be able to capture an event raised by a control form that I have dynamically added to my main form (using NEW). I was able to dynamically add a button control to the main form and capture events from the button by declaring the button -- AS "MyButton" -- and captuting the event in -- SUB MyButton_Click --. However, I was unable to recreate this functionality in a control form that I created myself. Here are the few lines of code that demonstrate my problem. My main form starts out completely blank, so that I can add my control to it: ' ---------- Fmain form ------------- PRIVATE FormControl AS Fsub PUBLIC SUB Form_Open() ' Add control form Fsub as a control on form Fmain at run-time FormControl = NEW Fsub(ME) AS "SubForm" FormControl.Left = 0 FormControl.Top = 0 END PUBLIC SUB SubForm_MyEvent() Message("Hello!") END The Fsub form has a single button on it called button1 ' ---------- Fsub control form ------------- ' Fsub form EVENT MyEvent() PUBLIC SUB Button1_Click() RAISE MyEvent() END The problem is that Fmain never captures the MyEvent. Can someone tell me what I am doing wrong? Thank you, Jake Stookey PS: You can download my small project from here if that's easier: http://www.jstookey.com/eventtest.tar.gz __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ From sourceforge-raindog2 at ...94... Tue Dec 9 06:00:16 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 9 Dec 2003 00:00:16 -0500 Subject: [Gambas-user] Catching events from dynamic control form In-Reply-To: <20031209003700.95324.qmail@...319...> References: <20031209003700.95324.qmail@...319...> Message-ID: <200312090000.16885.sourceforge-raindog2@...94...> On Monday 08 December 2003 19:37, Jake Stookey wrote: > PUBLIC SUB SubForm_MyEvent() > Message("Hello!") > END I thought that forms used as controls were still their own event listeners, such that you'd need to make a PUBLIC SUB MyEvent() or possibly PUBLIC SUB Form_MyEvent() in Fsub.class, rather than in your main form. But I haven't actually tried what you're trying to do (pass events back to the calling form). Rob From gambas at ...1... Tue Dec 9 20:44:00 2003 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Dec 2003 20:44:00 +0100 Subject: [Gambas-user] multible Processes In-Reply-To: <200312082115.23081.Karl.Reinl@...9...> References: <200312082115.23081.Karl.Reinl@...9...> Message-ID: <200312092044.00823.gambas@...1...> On Monday 08 December 2003 21:15, Charlie Reinl wrote: > Salut, > > I want to write a small programm in gambas, where i compare the output from > EXEC and SHELL . > > so I dit: > > PRIVATE myShellProcess AS Process > PRIVATE myEXECProcess AS Process > > > - made two Textboxes for input > One for the command , and one for the arguments. > > - I made 4 Output Textboxes a OUTput for read and one for Error and that > twice for Exec and SHELL > > - a Button [Fire] shall starts all : > > PUBLIC SUB btnFire_Click() > DIM sSHELLText AS String > EXECFeedback.Text = "" > SHELLFeedback.Text = "" > EXECError.Text = "" > SHELLError.Text = "" > 'Trim strips the whitespaces from a string > IF Trim(InputCom.Text)<> "" THEN > ' call it with EXEC > EXEC [Trim(InputCom.Text),Trim(InputArguments.Text)] FOR READ > WRITE AS myEXECProcess > ' call it with SHELL > sSHELLText = Trim(InputCom.Text)+" " + Trim(InputArguments.Text) > SHELL sSHELLText FOR READ WRITE AS myShellProcess > ELSE > EXECError.Text = "please enter a program to execute" > SHELLError.Text = EXECError.Text > ENDIF > END > > But how can I catch the Output(s) > > ??? PUBLIC SUB Process_Read() > ??? PUBLIC SUB Process_Error(sStr AS String) > > Have I to catch the Process.Id for make the difference ? > > Thanks for any hint. > > amicalement > Charlie > > Use the LAST keyword to get the process that raises the event in Process_Read() or Process_Error(). Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Dec 9 20:59:25 2003 From: gambas at ...1... (Benoit Minisini) Date: Tue, 9 Dec 2003 20:59:25 +0100 Subject: [Gambas-user] Catching events from dynamic control form In-Reply-To: <20031209003700.95324.qmail@...319...> References: <20031209003700.95324.qmail@...319...> Message-ID: <200312092059.25896.gambas@...1...> On Tuesday 09 December 2003 01:37, Jake Stookey wrote: > Mandrake Linux 9.2 > Gambas Version 0.72 built from source > > Hello, > I recently started playing with Gambas and it's > really wonderful (from a VB 6 user). I like these kind of remarks. > > I have one question. I would like to be able to > capture an event raised by a control form that I have > dynamically added to my main form (using NEW). > > I was able to dynamically add a button control to > the main form and capture events from the button by > declaring the button -- AS "MyButton" -- and captuting > the event in -- SUB MyButton_Click --. However, I was > unable to recreate this functionality in a control > form that I created myself. > > Here are the few lines of code that demonstrate my > problem. > > > My main form starts out completely blank, so that I > can add my control to it: > > ' ---------- Fmain form ------------- > PRIVATE FormControl AS Fsub > > PUBLIC SUB Form_Open() > ' Add control form Fsub as a control on form Fmain > at run-time > FormControl = NEW Fsub(ME) AS "SubForm" > FormControl.Left = 0 > FormControl.Top = 0 > END > > PUBLIC SUB SubForm_MyEvent() > Message("Hello!") > END > > The Fsub form has a single button on it called button1 > ' ---------- Fsub control form ------------- > ' Fsub form > EVENT MyEvent() > > PUBLIC SUB Button1_Click() > RAISE MyEvent() > END > > The problem is that Fmain never captures the MyEvent. > Can someone tell me what I am doing wrong? > > Thank you, > Jake Stookey > > PS: You can download my small project from here if > that's easier: > > http://www.jstookey.com/eventtest.tar.gz > Embedded forms are not exactly like controls, as the events they generate must be processed inside the form code. In other words, embedded forms, like forms, keep being their own event observer. A workaround is using Object.Attach() to change the embedded form event observer, this way: FormControl = NEW Fsub(ME) AS "SubForm" Object.Attach(FormControl, ME) But be careful ! The events generated by FormControl are mixed with the events generated by ME, and the events generated by the controls of FormControl keep being handled by FormControl. And you may create circular references this way... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 14 13:01:32 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Dec 2003 13:01:32 +0100 Subject: [Gambas-user] About changes in ListView, TreeView & ColumnView Message-ID: <200312141301.32125.gambas@...1...> Hi everyone, I just want to warn you that I'm going to change the interface of the three controls: ListView, TreeView & ColumnView. The Current property will not return a virtual reference to an item anymore, but: - The key of the selected item if *.Mode=Single. - The key of the current item otherwise. The Item property will return a virtual reference to an item referenced by an "internal" cursor. This internal cursor will be set to: - The *.Current item by default. - The item concerned by the event in an event handler. - The resulting item after a call to *.Item.Move* The *.Item.Move* may be renamed, by removing the Move prefix in the method name. The current interface is a bit incoherent, so I want to change it. I want to change the Dir$() function. Instead of behaving like the VB one, I want it to return a Array of file names. This way, it will be simpler to browser a directory. What do you think about that ? Regards, -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Sun Dec 14 13:18:02 2003 From: mardus at ...298... (Marcelo Duschkin) Date: Sun, 14 Dec 2003 09:18:02 -0300 Subject: [Gambas-user] Re: About changes in ListView, TreeView & ColumnView In-Reply-To: <200312141301.32125.gambas@...1...> References: <200312141301.32125.gambas@...1...> Message-ID: <200312140918.02506.mardus@...298...> El Dom 14 Dic 2003 09:01, Benoit Minisini escribi?: >(BM) I want to change the Dir$() function. Instead of behaving like the VB >(BM) one, I want it to return a Array of file names. >(BM) This way, it will be simpler to browser a directory. >(BM) What do you think about that ? Exelent idea !!! -- Para el cierre: --- El Maestro Pen Guin hace tiempo sentenci?: Multitarea: posibilidad que dos bugs ocurran simult?neamente. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From nferraz at ...184... Sun Dec 14 16:13:29 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 14 Dec 2003 13:13:29 -0200 Subject: [Gambas-user] About changes in ListView, TreeView & ColumnView In-Reply-To: <200312141301.32125.gambas@...1...> References: <200312141301.32125.gambas@...1...> Message-ID: <3FDC7E19.6090802@...184...> Benoit Minisini wrote: > I want to change the Dir$() function. Instead of behaving like the VB one, I > want it to return a Array of file names. This way, it will be simpler to > browser a directory. What do you think about that ? This is a good idea. The function could return a single value OR an array, depending on context: myItem = Dir$() ' return a single item myArray = Dir$() ' return an array Another thing, it would be interesting to have the following methods to deal with arrays: Shift, Unshift, Push and Pop. item = Shift (array) ' get first item Unshift (array, item) ' insert an item at first position Push (array, item) ' insert an item at last position item = Pop (array) ' get last item The Shift method, in particular, could be useful to emulate the former behaviour. Something like this: myAray = Dir$() WHILE (myArray) myItem = Shift (myArray) ' do something with myItem END -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From danielcampos at ...277... Sun Dec 14 17:28:31 2003 From: danielcampos at ...277... (daniel) Date: Sun, 14 Dec 2003 16:28:31 +0000 Subject: [Gambas-user] About changes in ListView, TreeView & ColumnView In-Reply-To: <200312141301.32125.gambas@...1...> References: <200312141301.32125.gambas@...1...> Message-ID: <1071419285.2337.2.camel@...278...> El dom, 14-12-2003 a las 12:01, Benoit Minisini escribi?: > name. > > The current interface is a bit incoherent, so I want to change it. > > I want to change the Dir$() function. Instead of behaving like the VB one, I > want it to return a Array of file names. This way, it will be simpler to > browser a directory. What do you think about that ? This would be cool! > > Regards, From danielcampos at ...282... Sun Dec 14 17:32:20 2003 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 14 Dec 2003 16:32:20 +0000 Subject: [Gambas-user] Another possible change... Message-ID: <1071419540.2334.6.camel@...278...> Hi: Is there any function to reverse the contents of an string? I mean : String A String B A="hello" B=StrReverse(A) B="olleh" This is an useful functionallity that exits on VB, but I didn't find this in Gambas (may be I'm wrong) Regards, Daniel Campos -- Daniel Campos From nferraz at ...184... Sun Dec 14 18:18:05 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 14 Dec 2003 15:18:05 -0200 Subject: [Gambas-user] Another possible change... In-Reply-To: <1071419540.2334.6.camel@...278...> References: <1071419540.2334.6.camel@...278...> Message-ID: <3FDC9B4D.7090709@...184...> Daniel Campos wrote: > Is there any function to reverse the contents of an string? > > I mean : > > String A > String B > A="hello" > B=StrReverse(A) > B="olleh" It's another interesting idea, but I think it could be implement as a string method: newString = myString.Reverse() Using Split and Join methods, we could reverse a sentence word by word: newString = myString.Split(/\s/).Reverse().Join(' ') The Reverse() method should be applicable to arrays as well. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From Gambasfr at ...11... Sun Dec 14 21:35:42 2003 From: Gambasfr at ...11... (Fabien Bodard) Date: Sun, 14 Dec 2003 21:35:42 +0100 Subject: [Gambas-user] About changes in ListView, TreeView & ColumnView In-Reply-To: <200312141301.32125.gambas@...1...> References: <200312141301.32125.gambas@...1...> Message-ID: <200312142135.42337.Gambasfr@...11...> Le Dimanche 14 D?cembre 2003 13:01, Benoit Minisini a ?crit : > Hi everyone, > > I just want to warn you that I'm going to change the interface of the three > controls: ListView, TreeView & ColumnView. > > The Current property will not return a virtual reference to an item > anymore, but: > - The key of the selected item if *.Mode=Single. > - The key of the current item otherwise. > > The Item property will return a virtual reference to an item referenced by > an "internal" cursor. This internal cursor will be set to: > - The *.Current item by default. > - The item concerned by the event in an event handler. > - The resulting item after a call to *.Item.Move* > > The *.Item.Move* may be renamed, by removing the Move prefix in the method > name. > > The current interface is a bit incoherent, so I want to change it. > > I want to change the Dir$() function. Instead of behaving like the VB one, > I want it to return a Array of file names. This way, it will be simpler to > browser a directory. What do you think about that ? > > Regards, Yes, it's a good idea... Dir Treeview filling can be more speedely. Can we have a File.Target for links ? and Maybe a File.perm for file right... Fabien From Gambasfr at ...11... Sun Dec 14 21:38:27 2003 From: Gambasfr at ...11... (Fabien Bodard) Date: Sun, 14 Dec 2003 21:38:27 +0100 Subject: [Gambas-user] Another possible change... In-Reply-To: <3FDC9B4D.7090709@...184...> References: <1071419540.2334.6.camel@...278...> <3FDC9B4D.7090709@...184...> Message-ID: <200312142138.27511.Gambasfr@...11...> Le Dimanche 14 D?cembre 2003 18:18, Nelson Ferraz a ?crit : > Daniel Campos wrote: > > Is there any function to reverse the contents of an string? > > > > I mean : > > > > String A > > String B > > A="hello" > > B=StrReverse(A) > > B="olleh" > > It's another interesting idea, but I think it could be implement as a > string method: > > newString = myString.Reverse() > > Using Split and Join methods, we could reverse a sentence word by word: > > newString = myString.Split(/\s/).Reverse().Join(' ') Hummm ... I don't really understand this line... Do i must understand dots as Pipe ? Fabien > > The Reverse() method should be applicable to arrays as well. From gambas at ...1... Sun Dec 14 21:42:43 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Dec 2003 21:42:43 +0100 Subject: [Gambas-user] About changes in ListView, TreeView & ColumnView In-Reply-To: <3FDC7E19.6090802@...184...> References: <200312141301.32125.gambas@...1...> <3FDC7E19.6090802@...184...> Message-ID: <200312142142.43159.gambas@...1...> On Sunday 14 December 2003 16:13, Nelson Ferraz wrote: > Benoit Minisini wrote: > > I want to change the Dir$() function. Instead of behaving like the VB > > one, I want it to return a Array of file names. This way, it will be > > simpler to browser a directory. What do you think about that ? > > This is a good idea. > > The function could return a single value OR an array, depending on context: > > myItem = Dir$() ' return a single item > myArray = Dir$() ' return an array There is no 'context' in Gambas. A function cannot know anything about where its return value will be stored. It is a matter of encapsulation. So Dir$() will return a String array. > > Another thing, it would be interesting to have the following methods to > deal with arrays: Shift, Unshift, Push and Pop. Hey... Push() and Pop() already exist ! > > item = Shift (array) ' get first item > Unshift (array, item) ' insert an item at first position > > Push (array, item) ' insert an item at last position > item = Pop (array) ' get last item You can do: MyArray.Add(Item) or MyArray.Push(Item) to insert an item at the last position, and MyArray.Add(Item, 0) to insert an item at the first position. > > The Shift method, in particular, could be useful to emulate the former > behaviour. Something like this: > > myAray = Dir$() > WHILE (myArray) > myItem = Shift (myArray) > ' do something with myItem > END This is not a good idea to do that in Gambas with array. Removing an array element has a big cost, because the array may be reallocated. Maybe I should add linked list datatype, named 'List' for example. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 14 21:43:54 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Dec 2003 21:43:54 +0100 Subject: [Gambas-user] About changes in ListView, TreeView & ColumnView In-Reply-To: <200312142135.42337.Gambasfr@...11...> References: <200312141301.32125.gambas@...1...> <200312142135.42337.Gambasfr@...11...> Message-ID: <200312142143.54652.gambas@...1...> On Sunday 14 December 2003 21:35, Fabien Bodard wrote: > Le Dimanche 14 D?cembre 2003 13:01, Benoit Minisini a ?crit : > Yes, it's a good idea... Dir Treeview filling can be more speedely. > > Can we have a File.Target for links ? > > and Maybe a File.perm for file right... > > Fabien > Yes. I didn't want to do that at the early beginning of Gambas because of VB, but now I don't care. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 14 21:45:02 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Dec 2003 21:45:02 +0100 Subject: [Gambas-user] Another possible change... In-Reply-To: <1071419540.2334.6.camel@...278...> References: <1071419540.2334.6.camel@...278...> Message-ID: <200312142145.02334.gambas@...1...> On Sunday 14 December 2003 17:32, Daniel Campos wrote: > Hi: > > > Is there any function to reverse the contents of an string? > > I mean : > > String A > String B > A="hello" > B=StrReverse(A) > B="olleh" > > This is an useful functionallity that exits on VB, but I didn't > find this in Gambas (may be I'm wrong) > > Regards, > > Daniel Campos I never reversed a string in all my life :-), so could you tell me what is the use of such a function ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 14 21:47:07 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Dec 2003 21:47:07 +0100 Subject: [Gambas-user] Another possible change... In-Reply-To: <3FDC9B4D.7090709@...184...> References: <1071419540.2334.6.camel@...278...> <3FDC9B4D.7090709@...184...> Message-ID: <200312142147.07592.gambas@...1...> On Sunday 14 December 2003 18:18, Nelson Ferraz wrote: > Daniel Campos wrote: > > Is there any function to reverse the contents of an string? > > > > I mean : > > > > String A > > String B > > A="hello" > > B=StrReverse(A) > > B="olleh" > > It's another interesting idea, but I think it could be implement as a > string method: Huuu ? String has no methods, it is a native datype. > > newString = myString.Reverse() > > Using Split and Join methods, we could reverse a sentence word by word: > > newString = myString.Split(/\s/).Reverse().Join(' ') > > The Reverse() method should be applicable to arrays as well. OK ! You want a Array.Reverse()... I will dit it. But what is the use of reversing a sentence word by word ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Dec 14 21:59:52 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 14 Dec 2003 21:59:52 +0100 Subject: [Gambas-user] Another possible change... In-Reply-To: <200312142147.07592.gambas@...1...> References: <1071419540.2334.6.camel@...278...> <3FDC9B4D.7090709@...184...> <200312142147.07592.gambas@...1...> Message-ID: <200312142159.52265.gambas@...1...> On Sunday 14 December 2003 21:47, Benoit Minisini wrote: > > Daniel Campos wrote: > > newString = myString.Reverse() > > > > Using Split and Join methods, we could reverse a sentence word by word: > > > > newString = myString.Split(/\s/).Reverse().Join(' ') > > Array.Reverse() is done, but does not return anything. So the previous example needs at least two lines of code ! I did it, because returning an object reference has a cost, so it must be avoided as possible. Regards, -- Benoit Minisini mailto:gambas at ...1... From nferraz at ...184... Sun Dec 14 22:45:41 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 14 Dec 2003 19:45:41 -0200 Subject: [Gambas-user] Another possible change... In-Reply-To: <200312142138.27511.Gambasfr@...11...> References: <1071419540.2334.6.camel@...278...> <3FDC9B4D.7090709@...184...> <200312142138.27511.Gambasfr@...11...> Message-ID: <3FDCDA05.5060301@...184...> Fabien Bodard wrote: >>Using Split and Join methods, we could reverse a sentence word by word: >> >>newString = myString.Split(/\s/).Reverse().Join(' ') > > Hummm ... I don't really understand this line... Do i must understand dots as > Pipe ? Each dot is a method invocation, but we could say they act like pipes. (I don't know if this actually works in Gambas; I borrowed the idea from Ruby) In this context, Split is reversing an array, not a string. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Sun Dec 14 23:18:57 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 14 Dec 2003 20:18:57 -0200 Subject: [Gambas-user] About changes in ListView, TreeView & ColumnView In-Reply-To: <200312142142.43159.gambas@...1...> References: <200312141301.32125.gambas@...1...> <3FDC7E19.6090802@...184...> <200312142142.43159.gambas@...1...> Message-ID: <3FDCE1D1.4000805@...184...> Benoit Minisini wrote: >>Another thing, it would be interesting to have the following methods to >>deal with arrays: Shift, Unshift, Push and Pop. > > Hey... Push() and Pop() already exist ! That's cool! Half way done. :) > You can do: MyArray.Add(Item) or MyArray.Push(Item) to insert an item at the > last position, and MyArray.Add(Item, 0) to insert an item at the first > position. I'd tend to use MyArray.Add(Item,Position) to insert items at arbitrary positions. It would be nice to have Shift and Unshift, if nothing else, to improve the symmetry of the language: [][][][][] <- Push [][][][][] -> Pop Shift <- [][][][][] Unshift -> [][][][][] Of course, it's important to consider the impact, in terms of risk and performance, of implementing such functions on regular arrays. What do you think? It's worth the risk? (Considering Gambas already has Push() and Pop()...) -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From sourceforge-raindog2 at ...94... Sun Dec 14 23:25:46 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 14 Dec 2003 17:25:46 -0500 Subject: [Gambas-user] Another possible change... In-Reply-To: <3FDCDA05.5060301@...184...> References: <1071419540.2334.6.camel@...278...> <200312142138.27511.Gambasfr@...11...> <3FDCDA05.5060301@...184...> Message-ID: <200312141725.46107.sourceforge-raindog2@...94...> On Sunday 14 December 2003 16:45, Nelson Ferraz wrote: > >>newString = myString.Split(/\s/).Reverse().Join(' ') > > Hummm ... I don't really understand this line... Do i must > > understand dots as Pipe ? > Each dot is a method invocation, but we could say they act > like pipes. (I don't know if this actually works in Gambas; I > borrowed the idea from Ruby) Nah, native gambas datatypes don't have methods (except the array classes in the gb core component.) But here's an equivalent one liner in gambas: newString = join(' ', reverse(split(' ', myString))) assuming one writes reverse() as (warning, pseudo code ahead): function reverse(instring as String[]) as String[] dim outstring as String[] dim i as integer for i = 1 to instring.count outstring.add(instring[instring.count - i]) ' remember, arrays go from 0 to array.count - 1 next return outstring end Of course a reverse() that just reverses a string is just as trivial to write, quite seldom used, and therefore I don't understand what this whole thread is about ;) And don't the gambas gb component's array types have push and pop methods, speaking of lists Rob From nferraz at ...184... Sun Dec 14 23:43:05 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 14 Dec 2003 20:43:05 -0200 Subject: [Gambas-user] Another possible change... In-Reply-To: <200312142145.02334.gambas@...1...> References: <1071419540.2334.6.camel@...278...> <200312142145.02334.gambas@...1...> Message-ID: <3FDCE779.5030703@...184...> Benoit Minisini wrote: > I never reversed a string in all my life :-), so could you tell me what is the > use of such a function ? How about finding rhymes of a given word? :-) cat /usr/dict/words | reverse | sort | reverse -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From nferraz at ...184... Mon Dec 15 00:10:28 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 14 Dec 2003 21:10:28 -0200 Subject: [Gambas-user] Another possible change... In-Reply-To: <200312142159.52265.gambas@...1...> References: <1071419540.2334.6.camel@...278...> <3FDC9B4D.7090709@...184...> <200312142147.07592.gambas@...1...> <200312142159.52265.gambas@...1...> Message-ID: <3FDCEDE4.5030704@...184...> Benoit Minisini wrote: > Array.Reverse() is done, but does not return anything. So the previous example > needs at least two lines of code ! > > I did it, because returning an object reference has a cost, so it must be > avoided as possible. Okay! BTW, does Gambas use exclamation points (!) for anything? In Ruby, some methods are named with an exclamation point to indicate that they modify some data. Applied to Gambas, it would work like this: newArray = myArray.Reverse ' return a reversed array myArray.Reverse! ' reverse this array! newArray = myArray.Sort ' returns a sorted array myArray.Sort! ' sort this array! newString = myString.Reverse ' returns a reversed string myString.Reverse! ' reverse this string! I know this isn't BASIC as we know it, but it's an interesting idea nonetheless. -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From na2492 at ...9... Mon Dec 15 08:15:46 2003 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 15 Dec 2003 08:15:46 00100 Subject: [Gambas-user] Another possible change... Message-ID: <3fdd5fa2.1e41.0@...9...> >Benoit Minisini wrote: > >> I never reversed a string in all my life :-), so could you tell me what is the >> use of such a function ? > >How about finding rhymes of a given word? :-) > >cat /usr/dict/words | reverse | sort | reverse > do you know tac (cat reverse) very usefull to read log-files Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Mon Dec 15 12:55:32 2003 From: gambas at ...1... (Benoit Minisini) Date: Mon, 15 Dec 2003 12:55:32 +0100 Subject: [Gambas-user] Another possible change... In-Reply-To: <3FDCEDE4.5030704@...184...> References: <1071419540.2334.6.camel@...278...> <200312142159.52265.gambas@...1...> <3FDCEDE4.5030704@...184...> Message-ID: <200312151255.32770.gambas@...1...> On Monday 15 December 2003 00:10, Nelson Ferraz wrote: > Benoit Minisini wrote: > > Array.Reverse() is done, but does not return anything. So the previous > > example needs at least two lines of code ! > > > > I did it, because returning an object reference has a cost, so it must be > > avoided as possible. > > Okay! > > BTW, does Gambas use exclamation points (!) for anything? > Yes. Didn't you read the doc ? ;-) AnObject!Something <=> AnObject["Something"] It's the same use in VB. Regards, -- Benoit Minisini mailto:gambas at ...1... From nferraz at ...184... Mon Dec 15 17:21:54 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Mon, 15 Dec 2003 14:21:54 -0200 Subject: [Gambas-user] Another possible change... In-Reply-To: <200312151255.32770.gambas@...1...> References: <1071419540.2334.6.camel@...278...> <200312142159.52265.gambas@...1...> <3FDCEDE4.5030704@...184...> <200312151255.32770.gambas@...1...> Message-ID: <3FDDDFA2.7060209@...184...> Benoit Minisini wrote: >>BTW, does Gambas use exclamation points (!) for anything? > > Yes. Didn't you read the doc ? ;-) Oh, I did look for "exclamation" in the wiki, but found nothing: http://www.binara.com/gambas-wiki/bin/search/Gambas/?scope=text&search=exclamation (Perhaps it's mentioned elsewhere) > AnObject!Something <=> AnObject["Something"] Perhaps it could be changed to accommodate a new use, just like the "?:" operator in Perl6, which was changed to "??::", so that: $a ? $b : $c becomes $a ?? $b :: $c "The basic problem is that the old ?: operator wastes two very useful single characters for an operator that is not used often enough to justify the waste of two characters. It's bad Huffman coding, in other words." - Larry Wall, Apocalypse 3 -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From danielcampos at ...277... Mon Dec 15 21:34:12 2003 From: danielcampos at ...277... (daniel) Date: Mon, 15 Dec 2003 20:34:12 +0000 Subject: [Gambas-user] Another possible change... In-Reply-To: <200312142145.02334.gambas@...1...> References: <1071419540.2334.6.camel@...278...> <200312142145.02334.gambas@...1...> Message-ID: <1071520449.2251.9.camel@...278...> > > > > Daniel Campos > > I never reversed a string in all my life :-), I've reversed strings since the first day I began to work with computers ... :-) > so could you tell me what is the > use of such a function ? When extracting data from special devices like commercial scales or remote-controlled engines or sensors, you have to think that they can have a very poor (and cheap) proccessor, so they do not spend time in usual operations in big computers: for example, they can send you a 4 byte integer in the "wrong" order, so you have to change the byte order, or they can send strings stored in the "wrong" order, so you receive first the end of the string. Think that some 8 bits proccessors can add an unit to a pointer, but they can not directly reduce an unit, so the time to implement to that operation could be big... Regards, Daniel Campos > > Regards, From sourceforge-raindog2 at ...94... Tue Dec 16 01:55:45 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 15 Dec 2003 19:55:45 -0500 Subject: [Gambas-user] Another possible change... In-Reply-To: <3FDDDFA2.7060209@...184...> References: <1071419540.2334.6.camel@...278...> <200312151255.32770.gambas@...1...> <3FDDDFA2.7060209@...184...> Message-ID: <200312151955.45788.sourceforge-raindog2@...94...> On Monday 15 December 2003 11:21, Nelson Ferraz wrote: > Perhaps it could be changed to accommodate a new use, just > like the "?:" operator in Perl6, which was changed to "??::", Reason #485 why Rob won't switch to perl6 until Rob is forced to. ;) Rob From nferraz at ...184... Tue Dec 16 12:45:35 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Tue, 16 Dec 2003 09:45:35 -0200 Subject: [Gambas-user] Another possible change... In-Reply-To: <200312151955.45788.sourceforge-raindog2@...94...> References: <1071419540.2334.6.camel@...278...> <200312151255.32770.gambas@...1...> <3FDDDFA2.7060209@...184...> <200312151955.45788.sourceforge-raindog2@...94...> Message-ID: <3FDEF05F.90709@...184...> Rob wrote: >>Perhaps it could be changed to accommodate a new use, just >>like the "?:" operator in Perl6, which was changed to "??::", > > Reason #485 why Rob won't switch to perl6 until Rob is forced to. > ;) Of course, we'd have to wait until the language is finished. Perhaps another couple of years? :) -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From gambas at ...1... Sun Dec 21 02:23:21 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Dec 2003 02:23:21 +0100 Subject: [Gambas-user] gambas 0.74 Message-ID: <200312210223.21161.gambas@...1...> Hi people, Gambas 0.74 is out just for Christmas holidays ! You will find in it: - A new syntax for Dir$() function. - An almost unchanged syntax for ListView, TreeView, ColumnView and IconView controls. - You can return from a function in the debugger. - You can reverse any array, but not strings yet :-) - The Window mask is not shifted one pixel down anymore. That's cool ! - Many other bug fixes. - AND LAST BUT NOT LEAST: a full support for Drag & Drop ! I think I won't add any feature, and I will just wait a little so that users can detect bugs before releasing the 1.0 version. The only big pending problem is that you can uncheck components in the IDE that are used by the project. If I don't find a clean solution for that, I will solve it in Gambas 2.0... Enjoy it, and Merry Christmas ! Regards, -- Benoit Minisini mailto:gambas at ...1... From nferraz at ...184... Sun Dec 21 03:18:27 2003 From: nferraz at ...184... (Nelson Ferraz) Date: Sun, 21 Dec 2003 00:18:27 -0200 Subject: [Gambas-user] gambas 0.74 In-Reply-To: <200312210223.21161.gambas@...1...> References: <200312210223.21161.gambas@...1...> Message-ID: <3FE502F3.4030606@...184...> Benoit Minisini wrote: > I think I won't add any feature, and I will just wait a little so that users > can detect bugs before releasing the 1.0 version. Cool!!! > The only big pending problem is that you can uncheck components in the IDE > that are used by the project. If I don't find a clean solution for that, I > will solve it in Gambas 2.0... Isn't it matter of parsing all files, looking for references for a set of keywords? This could be done in a few lines with regexps, but I think the InStr function could be useful here. > Enjoy it, and Merry Christmas ! Benoit & team, Gambas will help thousands of programmers migrate from proprietary platform to free software. This will be great for them, who will finally have a choice, and great for us, Free Software users, as we'll find more applications. In other words, the world will be a better place. :-) Thanks to everyone who helped this project by programming, debuging, testing, documenting, promoting, or any other way. Your efforts made the difference in 2003, and will be fundamental in 2004. Merry Christmas and a Happy New Year! -- []s Nelson ________________________________________________________________ Nelson Ferraz GNU BIS: http://www.gnubis.com.br PhPerl: http://www.phperl.com From olivier at ...289... Sun Dec 21 07:40:46 2003 From: olivier at ...289... (Olivier Coquet) Date: Sun, 21 Dec 2003 07:40:46 +0100 Subject: [Gambas-user] gambas 0.74 In-Reply-To: <3FE502F3.4030606@...184...> References: <200312210223.21161.gambas@...1...> <3FE502F3.4030606@...184...> Message-ID: <200312210740.46085.olivier@...289...> compile ok on fedora core 1 run ok on fedora core 1 Stratoria run ok in 0.74 sorry for the slow progress in stratoria developpement but christmas and new year is a hard period of work for me.... Merry Christmas and a Happy New Year! Olivier Coquet http://stratoria.dynu.net:85/ From girardhenri at ...67... Sun Dec 21 09:43:54 2003 From: girardhenri at ...67... (Henri Girard) Date: Sun, 21 Dec 2003 09:43:54 +0100 Subject: [Gambas-user] gambas 0.74 References: <200312210223.21161.gambas@...1...> <3FE502F3.4030606@...184...> <200312210740.46085.olivier@...289...> Message-ID: Hi Olivier :) Don't be sorry.. Your good work is already a great work... It so long to develop that nowadays the time spends on a job is already a marvel ! (so you can imagine what "gambas " is as a gift ! lol ) Joyeuses f?tes de fin d'ann?es Henri ----- Original Message ----- From: "Olivier Coquet" To: Sent: Sunday, December 21, 2003 7:40 AM Subject: Re: [Gambas-user] gambas 0.74 > compile ok on fedora core 1 > run ok on fedora core 1 > > Stratoria run ok in 0.74 > > sorry for the slow progress in stratoria developpement but christmas and new > year is a hard period of work for me.... > > Merry Christmas and a Happy New Year! > > Olivier Coquet > http://stratoria.dynu.net:85/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Dec 21 10:27:01 2003 From: gambas at ...1... (Benoit Minisini) Date: Sun, 21 Dec 2003 10:27:01 +0100 Subject: [Gambas-user] bug in gambas 0.74 Message-ID: <200312211027.01168.gambas@...1...> The IDE translation dialog has problems because of the changes in the interface of the ColumnView control. Here is a patch that should solve problems. Copy it into ./app/gambas in the source tree, and recompile the IDE. Sorry for the inconvenience, Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: FTranslate.class Type: application/x-java Size: 10988 bytes Desc: not available URL: From Karl.Reinl at ...9... Sun Dec 21 14:22:09 2003 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 21 Dec 2003 14:22:09 +0100 Subject: [Gambas-user] report to gambas-0.74 Message-ID: <200312211422.09643.Karl.Reinl@...9...> Salut Beno?t, 3 news: 1 the good: no problems on gentoo 1.4 , qt 3.1.2 , gcc 3.2.3 , KDE 3.1.2 , mysql 4.0.13 2 the best (for me and my SuSe 7.2) compile with gcc 2.95 after some add. work it runs (see Attachment) - Configure takes /opt/kde2 - something in CPICTURE_update_mask not found - /reconf says : src/exec/Makefile.am:4: library used but `LIBTOOL' not defined in `configure.in' 3 the bad your FTranslate.class patch don't work (in both) Thanks for your good job And luck for 2004 Amicalement Charlie -------------- next part -------------- If I run ./configure on my SuSE 7.2 KDE 2.2.2 configure find KDE 3.x component headers and KDE 3.x component libraries but in /opt/kde2 After in 'make'. I'v got an Error (see outputs below) I think there you have still to do something checking for QT meta-object compiler... /usr/lib/qt-3.0.5/lib//../bin/moc checking for KDE 3.x component headers... /opt/kde2//include/ checking for KDE 3.x component libraries... /opt/kde2//lib/ checking for Networking component headers... make[5]: Entering directory `/opt/gambas/gambas-0.74/src/lib/qt/kde' /bin/sh ../../../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/lib/qt-3.0.5/include/ -I/opt/kde2//include/ -g -O2 -pipe -Wall -fno-exceptions -g -O0 -c CDialog.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/lib/qt-3.0.5/include/ -I/opt/kde2//include/ -g -O2 -pipe -Wall -fno-exceptions -g -O0 -Wp,-MD,.deps/CDialog.pp -c CDialog.cpp -fPIC -DPIC -o CDialog.lo In file included from /usr/include/g++/iterator:32, from /usr/lib/qt-3.0.5/include/qvaluelist.h:48, from /usr/lib/qt-3.0.5/include/qmap.h:47, from /usr/lib/qt-3.0.5/include/qmime.h:43, from /usr/lib/qt-3.0.5/include/qevent.h:45, from /usr/lib/qt-3.0.5/include/qobject.h:45, from /usr/lib/qt-3.0.5/include/qwidget.h:43, from /usr/lib/qt-3.0.5/include/qcombobox.h:42, from /opt/kde2/include/kcolordialog.h:28, from CDialog.cpp:30: /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h:337: warning: `offsetof' redefined ../../../../src/share/common.h:100: warning: this is the location of the previous definition In file included from CDialog.cpp:30: /opt/kde2/include/kcolordialog.h:33: qtableview.h: No such file or directory In file included from CDialog.cpp:30: /opt/kde2/include/kcolordialog.h:231: parse error before `{' /opt/kde2/include/kcolordialog.h:232: virtual outside class declaration /opt/kde2/include/kcolordialog.h:232: non-member function `className()' cannot have `const' method qualifier /opt/kde2/include/kcolordialog.h:232: virtual outside class declaration /opt/kde2/include/kcolordialog.h:232: virtual outside class declaration /opt/kde2/include/kcolordialog.h:232: virtual outside class declaration /opt/kde2/include/kcolordialog.h:232: virtual outside class declaration /opt/kde2/include/kcolordialog.h: In function `class QObject * qObject()': /opt/kde2/include/kcolordialog.h:232: invalid use of `this' in non-member function /opt/kde2/include/kcolordialog.h:232: warning: control reaches end of non-void function `qObject()' /opt/kde2/include/kcolordialog.h: At top level: /opt/kde2/include/kcolordialog.h:232: parse error before `private' /opt/kde2/include/kcolordialog.h:235: destructors must be member functions /opt/kde2/include/kcolordialog.h: In function `class QColor color(int)': /opt/kde2/include/kcolordialog.h:239: `colors' undeclared (first use this function) /opt/kde2/include/kcolordialog.h:239: (Each undeclared identifier is reported only once /opt/kde2/include/kcolordialog.h:239: for each function it appears in.) /opt/kde2/include/kcolordialog.h:239: warning: control reaches end of non-void function `color(int)' /opt/kde2/include/kcolordialog.h: In function `int numCells()': /opt/kde2/include/kcolordialog.h:241: implicit declaration of function `int numRows(...)' /opt/kde2/include/kcolordialog.h:241: implicit declaration of function `int numCols(...)' /opt/kde2/include/kcolordialog.h: In function `void setShading(bool)': /opt/kde2/include/kcolordialog.h:243: `shade' undeclared (first use this function) /opt/kde2/include/kcolordialog.h: In function `void setAcceptDrags(bool)': /opt/kde2/include/kcolordialog.h:245: `acceptDrags' undeclared (first use this function) /opt/kde2/include/kcolordialog.h: In function `int getSelected()': /opt/kde2/include/kcolordialog.h:248: `selected' undeclared (first use this function) /opt/kde2/include/kcolordialog.h:248: warning: control reaches end of non-void function `getSelected()' /opt/kde2/include/kcolordialog.h: At top level: /opt/kde2/include/kcolordialog.h:250: parse error before `protected' /opt/kde2/include/kcolordialog.h:261: virtual outside class declaration /opt/kde2/include/kcolordialog.h:265: virtual outside class declaration /opt/kde2/include/kcolordialog.h:269: virtual outside class declaration /opt/kde2/include/kcolordialog.h:273: virtual outside class declaration /opt/kde2/include/kcolordialog.h:277: virtual outside class declaration /opt/kde2/include/kcolordialog.h:281: virtual outside class declaration /opt/kde2/include/kcolordialog.h:285: `class QColor * colors' used prior to declaration /opt/kde2/include/kcolordialog.h:288: `int selected' used prior to declaration /opt/kde2/include/kcolordialog.h:289: `bool shade' used prior to declaration /opt/kde2/include/kcolordialog.h:290: `bool acceptDrags' used prior to declaration /opt/kde2/include/kcolordialog.h:292: parse error before `private' /opt/kde2/include/kcolordialog.h:294: syntax error before `*' /opt/kde2/include/kcolordialog.h:232: warning: `class QMetaObject * staticMetaObject()' declared `static' but never defined /opt/kde2/include/kcolordialog.h:232: warning: `class QString tr(const char *, const char * = 0)' declared `static' but never defined /opt/kde2/include/kcolordialog.h:232: warning: `class QString trUtf8(const char *, const char * = 0)' declared `static' but never defined make[5]: *** [CDialog.lo] Error 1 make[5]: Leaving directory `/opt/gambas/gambas-0.74/src/lib/qt/kde' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/opt/gambas/gambas-0.74/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/opt/gambas/gambas-0.74/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/gambas/gambas-0.74/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/gambas/gambas-0.74' make: *** [all-recursive-am] Error 2 Not knowing how to do it, I just set your have_kde in all cases to 'no' checking for QT meta-object compiler... /usr/lib/qt-3.0.5/lib//../bin/moc checking for KDE 3.x component headers... /opt/kde2//include/ checking for KDE 3.x component libraries... /opt/kde2//lib/ configure: warning: *** KDE 3.x component is disabled checking for Networking component headers... Now 'make' gave me an ERROR in CPICTURE.cpp at line 372 I just commented it out. Can you tell me if you have a work around ?? Here my new code. PUBLIC void CPICTURE_update_mask(CPICTURE *_object) { // if (THIS->pixmap && THIS->pixmap->hasAlpha()) // THIS->pixmap->setMask(THIS->pixmap->createHeuristicMask()); } This is the output after ./reconf src/exec/Makefile.am:4: library used but `LIBTOOL' not defined in `configure.in' Here the warnings ( on my changed configure) configure: warning: *** internationalization is disabled configure: warning: *** charset conversion is disabled configure: warning: *** KDE 3.x component is disabled configure: warning: *** PostgreSQL driver is disabled configure: warning: *** SDL component is disabled From Karl.Reinl at ...9... Sun Dec 21 14:22:14 2003 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 21 Dec 2003 14:22:14 +0100 Subject: [Gambas-user] gambas Syntax and proposed Syntax Message-ID: <200312211422.14189.Karl.Reinl@...9...> Salut Beno?t, if the IDE writes a mouse MouseDown to the classe, it writes .... MouseDown(X AS Integer, Y AS Integer, Button AS Integer) but if you run it produces an ERROR .... MouseDown() to not need the params anymore amicalement Charlie From karl.reinl at ...9... Sun Dec 21 14:46:14 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 21 Dec 2003 14:46:14 +0100 Subject: [Gambas-user] gambas Syntax and proposed Syntax References: <200312211422.14189.Karl.Reinl@...9...> Message-ID: <3FE5A426.6050508@...9...> Charlie Reinl schrieb: >Salut Beno?t, > if the IDE writes a mouse MouseDown to the classe, it writes > .... MouseDown(X AS Integer, Y AS Integer, Button AS Integer) > but if you run it produces an ERROR > .... MouseDown() to not need the params anymore > >amicalement >Charlie > > Sorry , I think that is a QT-3.0.5 Problem Charlie From Rick_Helfgen at ...221... Sun Dec 21 14:48:20 2003 From: Rick_Helfgen at ...221... (Ricky Helfgen) Date: Sun, 21 Dec 2003 14:48:20 +0100 Subject: [Gambas-user] bug in gambas 0.74 In-Reply-To: <200312211027.01168.gambas@...1...> References: <200312211027.01168.gambas@...1...> Message-ID: <1072014482.2694.4.camel@...280...> Salut Mr. Minisini, I have download the version for Suse 9.0. But after install I have 2 Problemes. 1. To the Beginning they shows Version 0.7a; is this 0.74 ? 2. If I would like to build new Forms the program exit? So what is wrong ? In Moment I reinstall this version and go back to the old one. mfg Ricky Am So, 2003-12-21 um 10.27 schrieb Benoit Minisini: > The IDE translation dialog has problems because of the changes > in the interface of the ColumnView control. > > Here is a patch that should solve problems. > > Copy it into ./app/gambas in the source tree, and recompile the IDE. > > Sorry for the inconvenience, > > Regards, From leo.barnhoorn at ...246... Mon Dec 22 03:08:57 2003 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 21 Dec 2003 18:08:57 -0800 Subject: [Gambas-user] gambas 0.74 In-Reply-To: <200312210223.21161.gambas@...1...> References: <200312210223.21161.gambas@...1...> Message-ID: <200312211808.57997.leo.barnhoorn@...246...> Hallo Benoit, Gambas Version 0.74 is compiling OK, on SuSE version 8.2 Until now no problems with my projects in version 0.74 Thanks and Merry Christmas ! Regards, Leo Barnhoorn From sourceforge-raindog2 at ...94... Sun Dec 21 20:24:41 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 21 Dec 2003 14:24:41 -0500 Subject: [Gambas-user] mandrake packages of 0.74 Message-ID: <200312211424.41679.sourceforge-raindog2@...94...> http://www.kudla.org/index.php?wl_mode=more&wl_eid=42 I've also made a small amount of progress on the documentation.... I moved my todo list into the wiki so people can annotate, clarify or add/remove things, as well as keep track of what I've done. Here's that link: http://www.binara.com/gambas-wiki/bin/view/Gambas/WikiExportTodoList I still have a lot to do, but I hope I can get it into a usable state for the 1.0 help browser. Rob From sourceforge-raindog2 at ...94... Sun Dec 21 20:45:41 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 21 Dec 2003 14:45:41 -0500 Subject: [Gambas-user] weird "use" problem only in IDE Message-ID: <200312211445.41633.sourceforge-raindog2@...94...> If I try to open the Gambas IDE in the Gambas IDE, it loads fine but when I go to run it it says "Cannot load component 'Util': File not found". Yet gambas itself is running fine, and the Util library lives in Gambas' home binaries directory, which under the Mandrake scheme is now /usr/lib/gambas-0.74/bin (which is also where gbx lives, symlinked into /usr/bin.) I even copied Util into /usr/bin to no avail. Here is what the Gambas docs say about USE with a relative path: It searches for an archive named Archive in the directory where the running project or the running executable is located. - okay, it's not there. Next, it searches for a Gambas project named Archive in the same place, with a compiled executable present. - okay, not there either. Finally, it searches in the bin directory of your Gambas installation, by default /opt/gambas/bin - It is there, but doesn't work in the IDE (but works fine in the compiled gambas program.) I looked for a hardcoded /opt/gambas/bin but there's none there. Maybe the interpreter should also search the user's path? Rob From gambas at ...1... Mon Dec 22 18:18:26 2003 From: gambas at ...1... (Benoit Minisini) Date: Mon, 22 Dec 2003 18:18:26 +0100 Subject: [Gambas-user] mandrake packages of 0.74 In-Reply-To: <200312211424.41679.sourceforge-raindog2@...94...> References: <200312211424.41679.sourceforge-raindog2@...94...> Message-ID: <200312221818.26128.gambas@...1...> On Sunday 21 December 2003 20:24, Rob wrote: > http://www.kudla.org/index.php?wl_mode=more&wl_eid=42 > > I've also made a small amount of progress on the > documentation.... I moved my todo list into the wiki so people > can annotate, clarify or add/remove things, as well as keep > track of what I've done. Here's that link: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/WikiExportTodoList > > I still have a lot to do, but I hope I can get it into a usable > state for the 1.0 help browser. > > Rob > Hi, Rob. It seems that the following point is not done in the wiki doc: <<< You must make a difference between Object and Object[], otherwise one of the two is not displayed. Same thing for each array class. EX: http://www.binara.com/gambas-wiki/bin/view/GambasTest/GambasComponentGb >>> The Date[] object is named DateArray for example. And the title "Classes" is before the authors ! Did you notice that I added your name in the IDE About dialog box, and in the hall of fame of the web site ? But your nationality is missing, so please tell me what it is. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon Dec 22 19:31:15 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 22 Dec 2003 13:31:15 -0500 Subject: [Gambas-user] mandrake packages of 0.74 In-Reply-To: <200312221818.26128.gambas@...1...> References: <200312211424.41679.sourceforge-raindog2@...94...> <200312221818.26128.gambas@...1...> Message-ID: <200312221331.15064.sourceforge-raindog2@...94...> On Monday 22 December 2003 12:18, Benoit Minisini wrote: > It seems that the following point is not done in the wiki doc: > <<< > You must make a difference between Object and Object[], > otherwise one of the two is not displayed. Same thing for each > array class. > EX: > http://www.binara.com/gambas-wiki/bin/view/GambasTest/GambasCo >mponentGb > The Date[] object is named DateArray for example. And the > title "Classes" is before the authors ! Oops, I meant to add the classes thing to the todo list. The Datatype[] class documentation filenames are always going to end in DatatypeArray though, because we're using a wiki and [] means something special to the wiki. I can't even figure out how to put [] in the text of a link, though if it becomes a real issue for you I can hack the twiki source the way I have done for other issues (like the Export pages showing up in search.) And they are all out there now, but apparently I messed up the index page for each component so that instead of showing up as [[GambasComponentGbObjectArray][Object (Array)]] it's showing up as [GambasComponentGbObjectArrayArray][ObjectArray]] I know, that needs a fast fix :) > Did you notice that I added your name in the IDE About dialog > box, and in the hall of fame of the web site ? But your > nationality is missing, so please tell me what it is. Thanks! My name in lights ;) I'm in the U.S. And someday, gambas will have a pcre component and the export will be all-gambas ;) Rob From kschrock at ...149... Tue Dec 23 17:52:46 2003 From: kschrock at ...149... (Ken Schrock) Date: Tue, 23 Dec 2003 08:52:46 -0800 Subject: [Gambas-user] Questions Message-ID: <200312230852.46345.kschrock@...149...> How does one do a character array or string array here? Example of what I am trying to convert DIM SHARED SCORE$(35) DIM SCORES$[35] Also, I need to check a textbox for a return key press I tried PUBLIC SUB TextBox1_KeyPress(Ascii AS String, Code AS Integer, State AS Integer) IF Code = 4101 THEN Run_Button_Click() ENDIF END But no workee From sourceforge-raindog2 at ...94... Tue Dec 23 14:59:46 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 23 Dec 2003 08:59:46 -0500 Subject: [Gambas-user] Questions In-Reply-To: <200312230852.46345.kschrock@...149...> References: <200312230852.46345.kschrock@...149...> Message-ID: <200312230859.46601.sourceforge-raindog2@...94...> On Tuesday 23 December 2003 11:52, Ken Schrock wrote: > How does one do a character array or string array here? BASIC style: dim score[35] as String Java style: dim score as new String[] The former are static (no REDIM) but are multi-dimensional. The latter are dynamic, but you have to add elements before referring to them (e.g. for i = 1 to 35 score.add "default value" next )... of course, you can simulate multidimensionality in the dynamic ones by making an array of objects and assigning an array of strings to each object.... and there's also collections, which are like a special case of array where the keys are variants. See also: http://www.binara.com/gambas-wiki/bin/view/Gambas/HowDoIMakeMultidimensionalArray > Also, I need to check a textbox for a return key press > I tried > > PUBLIC SUB TextBox1_KeyPress(Ascii AS String, Code AS Integer, > State AS Integer) The KeyPress and KeyRelease events have changed.... they take no parameters now, but you can just do this inside them: IF Key.Code = Key.Return THEN Run_Button_Click() ENDIF It's in the new documentation, but of course there are other issues with the new documentation I need to work out (and in fact I need to re-export for 0.74 over the holidays.) > But no workee I haven't seen that error message before. When did it come up exactly? ;) Rob From sourceforge-raindog2 at ...94... Tue Dec 23 15:40:03 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 23 Dec 2003 09:40:03 -0500 Subject: [Gambas-user] Questions In-Reply-To: <200312230859.46601.sourceforge-raindog2@...94...> References: <200312230852.46345.kschrock@...149...> <200312230859.46601.sourceforge-raindog2@...94...> Message-ID: <200312230940.03641.sourceforge-raindog2@...94...> On Tuesday 23 December 2003 08:59, I wrote: > It's in the new documentation, but of course there are other > issues with the new documentation I need to work out (and in > fact I need to re-export for 0.74 over the holidays.) Lest anyone misinterpret that to think that the new component documentation isn't available yet, in fact, it is: http://www.binara.com/gambas-wiki/bin/view/GambasTest/GambasComponent and starting tomorrow, a much faster daily updated static version (already out there but not current): http://www.binara.com/gambas-wiki/static/GambasTest/GambasComponent.html There are a number of serious problems with it still, like the fact that the descriptive text attached to most of the classes and symbols isn't added back in yet, just the raw usage info. Rob From amelgar at ...207... Tue Dec 23 15:39:36 2003 From: amelgar at ...207... (amelgar) Date: Tue, 23 Dec 2003 15:39:36 +0100 Subject: [Gambas-user] where is the gambas IDE? Message-ID: <3FE853A8.9050806@...207...> I can't find the source of gambas (the gambas IDE) in /opt/gambas/... I think the IDE is the best example of gambas yet ...but i can't findit :( Im in a MDK 9.2 with gambas 0.74 installed from sources thaks in advance From na2492 at ...9... Tue Dec 23 17:05:20 2003 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 23 Dec 2003 17:05:20 00100 Subject: [Gambas-user] where is the gambas IDE? Message-ID: <3fe867c0.36b1.0@...9...> >I can't find the source of gambas (the gambas IDE) in /opt/gambas/... > >I think the IDE is the best example of gambas yet ...but i can't >findit :( > >Im in a MDK 9.2 with gambas 0.74 installed from sources > >thaks in advance > Salut, have a look at ..../app/gambas amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Tue Dec 23 18:02:07 2003 From: gambas at ...1... (Benoit Minisini) Date: Tue, 23 Dec 2003 18:02:07 +0100 Subject: [Gambas-user] Questions In-Reply-To: <200312230859.46601.sourceforge-raindog2@...94...> References: <200312230852.46345.kschrock@...149...> <200312230859.46601.sourceforge-raindog2@...94...> Message-ID: <200312231802.07883.gambas@...1...> On Tuesday 23 December 2003 14:59, Rob wrote: > On Tuesday 23 December 2003 11:52, Ken Schrock wrote: > > How does one do a character array or string array here? > > BASIC style: > > dim score[35] as String > > Java style: > > dim score as new String[] > > The former are static (no REDIM) but are multi-dimensional. > The latter are dynamic, but you have to add elements before > referring to them (e.g. > > for i = 1 to 35 > score.add "default value" > next > > )... of course, you can simulate multidimensionality in the > dynamic ones by making an array of objects and assigning an > array of strings to each object.... and there's also > collections, which are like a special case of array where the > keys are variants. In fact keys are only strings. > > See also: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/HowDoIMakeMultidimensiona >lArray > > > Also, I need to check a textbox for a return key press > > I tried > > > > PUBLIC SUB TextBox1_KeyPress(Ascii AS String, Code AS Integer, > > State AS Integer) You should better use TextBox1_Activate event, that is just what you want. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Dec 23 18:52:14 2003 From: gambas at ...1... (Benoit Minisini) Date: Tue, 23 Dec 2003 18:52:14 +0100 Subject: [Gambas-user] weird "use" problem only in IDE In-Reply-To: <200312211445.41633.sourceforge-raindog2@...94...> References: <200312211445.41633.sourceforge-raindog2@...94...> Message-ID: <200312231852.14138.gambas@...1...> On Sunday 21 December 2003 20:45, Rob wrote: > If I try to open the Gambas IDE in the Gambas IDE, it loads fine > but when I go to run it it says "Cannot load component 'Util': > File not found". Yet gambas itself is running fine, and the > Util library lives in Gambas' home binaries directory, which > under the Mandrake scheme is now /usr/lib/gambas-0.74/bin (which > is also where gbx lives, symlinked into /usr/bin.) I even > copied Util into /usr/bin to no avail. > > Here is what the Gambas docs say about USE with a relative path: > > It searches for an archive named Archive in the directory where > the running project or the running executable is located. > > - okay, it's not there. > > Next, it searches for a Gambas project named Archive in the same > place, with a compiled executable present. > > - okay, not there either. > > Finally, it searches in the bin directory of your Gambas > installation, by default /opt/gambas/bin > > - It is there, but doesn't work in the IDE (but works fine in > the compiled gambas program.) > > I looked for a hardcoded /opt/gambas/bin but there's none there. > Maybe the interpreter should also search the user's path? > > Rob > > It is 'bin' that is hardcoded. If you put gbx into /something/lib, it will search in /something/bin ! I will allow installing directly in /usr/bin. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...277... Tue Dec 23 20:08:10 2003 From: danielcampos at ...277... (daniel) Date: Tue, 23 Dec 2003 19:08:10 +0000 Subject: [Gambas-user] Questions In-Reply-To: <200312230940.03641.sourceforge-raindog2@...94...> References: <200312230852.46345.kschrock@...149...> <200312230859.46601.sourceforge-raindog2@...94...> <200312230940.03641.sourceforge-raindog2@...94...> Message-ID: <1072206489.2252.0.camel@...278...> > and starting tomorrow, a much faster daily updated static version > (already out there but not current): > > http://www.binara.com/gambas-wiki/static/GambasTest/GambasComponent.html Nothing about "net" component here... > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Tue Dec 23 20:46:04 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 23 Dec 2003 14:46:04 -0500 Subject: [Gambas-user] Questions In-Reply-To: <1072206489.2252.0.camel@...278...> References: <200312230852.46345.kschrock@...149...> <200312230940.03641.sourceforge-raindog2@...94...> <1072206489.2252.0.camel@...278...> Message-ID: <200312231446.04025.sourceforge-raindog2@...94...> On Tuesday 23 December 2003 14:08, daniel wrote: > > and starting tomorrow, a much faster daily updated static > > version (already out there but not current): > Nothing about "net" component here... Like I said, it's out there already but not current ;) Tomorrow the cron job will have run and the static version should be up to date. I would have run it this morning except it takes about 3 hours nowadays! Rob From sourceforge-raindog2 at ...94... Tue Dec 23 20:56:35 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 23 Dec 2003 14:56:35 -0500 Subject: [Gambas-user] weird "use" problem only in IDE In-Reply-To: <200312231852.14138.gambas@...1...> References: <200312211445.41633.sourceforge-raindog2@...94...> <200312231852.14138.gambas@...1...> Message-ID: <200312231456.35528.sourceforge-raindog2@...94...> On Tuesday 23 December 2003 12:52, Benoit Minisini wrote: > It is 'bin' that is hardcoded. If you put gbx into > /something/lib, it will search in /something/bin ! Well, it's not in /usr/lib, it's in /usr/lib/gambas-0.74/bin :) > I will allow installing directly in /usr/bin. This would also simplify things, though I wonder what it will mean for the locations of the rest of the files in my packages... Rob From sourceforge-raindog2 at ...94... Tue Dec 23 21:00:29 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 23 Dec 2003 15:00:29 -0500 Subject: [Gambas-user] weird "use" problem only in IDE In-Reply-To: <200312231456.35528.sourceforge-raindog2@...94...> References: <200312211445.41633.sourceforge-raindog2@...94...> <200312231852.14138.gambas@...1...> <200312231456.35528.sourceforge-raindog2@...94...> Message-ID: <200312231500.29995.sourceforge-raindog2@...94...> On Tuesday 23 December 2003 14:56, Rob wrote: > On Tuesday 23 December 2003 12:52, Benoit Minisini wrote: > > It is 'bin' that is hardcoded. If you put gbx into > > /something/lib, it will search in /something/bin ! > Well, it's not in /usr/lib, it's in /usr/lib/gambas-0.74/bin > :) I guess I should clarify that I also made a symlink /usr/bin/gbx that points to /usr/lib/gambas-0.74/bin/gbx-real... Rob ' From kschrock at ...149... Wed Dec 24 04:58:37 2003 From: kschrock at ...149... (Ken Schrock) Date: Tue, 23 Dec 2003 19:58:37 -0800 Subject: [Fwd: Re: [Gambas-user] Questions] In-Reply-To: <3FE8D54C.8050702@...149...> References: <3FE8D54C.8050702@...149...> Message-ID: <200312231958.37771.kschrock@...149...> Thanks for the tip, so here is a tip back : -) You guys often assume everybody is using the bleeding edge version When, at least for me, Gambas on Debian is not easy, usually So I use Lindows and wait for them to get it working And put it up in the Click-N-Run warehouse I used 0.5x for a long time and now use 0.6x Key.Code = Key.Return doesn't work on this But Code = Key.Return did Thanks again On Tuesday 23 December 2003 3:52 pm, you wrote: > -------- Original Message -------- > Subject: Re: [Gambas-user] Questions > Date: Tue, 23 Dec 2003 08:59:46 -0500 > From: Rob > Reply-To: gambas-user at lists.sourceforge.net > To: gambas-user at lists.sourceforge.net > References: <200312230852.46345.kschrock at ...149...> > > On Tuesday 23 December 2003 11:52, Ken Schrock wrote: > > How does one do a character array or string array here? > > BASIC style: > > dim score[35] as String > > Java style: > > dim score as new String[] > > The former are static (no REDIM) but are multi-dimensional. > The latter are dynamic, but you have to add elements before > referring to them (e.g. > > for i = 1 to 35 > score.add "default value" > next > > )... of course, you can simulate multidimensionality in the > dynamic ones by making an array of objects and assigning an > array of strings to each object.... and there's also > collections, which are like a special case of array where the > keys are variants. > > See also: > > http://www.binara.com/gambas-wiki/bin/view/Gambas/HowDoIMakeMultidimensiona >lArray > > > Also, I need to check a textbox for a return key press > > I tried > > > > PUBLIC SUB TextBox1_KeyPress(Ascii AS String, Code AS Integer, > > State AS Integer) > > The KeyPress and KeyRelease events have changed.... they take no > parameters now, but you can just do this inside them: > > IF Key.Code = Key.Return THEN > Run_Button_Click() > ENDIF > > It's in the new documentation, but of course there are other > issues with the new documentation I need to work out (and in > fact I need to re-export for 0.74 over the holidays.) > > > But no workee > > I haven't seen that error message before. When did it come up > exactly? ;) > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From kschrock at ...149... Thu Dec 25 03:03:47 2003 From: kschrock at ...149... (Ken Schrock) Date: Wed, 24 Dec 2003 18:03:47 -0800 Subject: [Gambas-user] Escapes Message-ID: <200312241803.47237.kschrock@...149...> Gambas doesn't like this PUBLIC CONST BOLD_ON AS String = "\x1b(s3B" Nor can I get any hex or octal escapes to work ??? From sourceforge-raindog2 at ...94... Thu Dec 25 05:43:44 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 24 Dec 2003 23:43:44 -0500 Subject: [Fwd: Re: [Gambas-user] Questions] In-Reply-To: <200312231958.37771.kschrock@...149...> References: <3FE8D54C.8050702@...149...> <200312231958.37771.kschrock@...149...> Message-ID: <200312242343.44717.sourceforge-raindog2@...94...> On Tuesday 23 December 2003 22:58, Ken Schrock wrote: > You guys often assume everybody is using the bleeding edge > version When, at least for me, Gambas on Debian is not easy, > usually So I use Lindows and wait for them to get it working > And put it up in the Click-N-Run warehouse Yeah, I just bought someone a Lindows laptop and was disappointed to find out that the Lindows Gambas package was 8 releases out of date. So hopefully I'll get my act together and learn how to make debian packages of Gambas soon... For what it's worth, the version they have up for download is an alpha release and the current one is effectively a release candidate for 1.0.... so it's actually Lindows who's offering the "bleeding edge" unstable version, outdated though it may be ;) Rob From lcliff at ...284... Thu Dec 25 11:28:34 2003 From: lcliff at ...284... (Luke Cliff) Date: Thu, 25 Dec 2003 20:28:34 +1000 Subject: [Gambas-user] Re: Escapes In-Reply-To: References: Message-ID: <3FEABBD2.9040801@...284...> I not sure of this, but perhaps the constant is no longer constant... when asking for a conversion escape, gambas seems to read the string in C not gambas and therefore no longer constant when the escape is implemented, just a guess though What's the error?, a way around is to write the escape character with chr$() and append it to the rest of the string,but only if gambas IS reading C.... but the bracket? now I really don't have a clue, there is no octal number for a bracket...try a space between "b" and "(" ... Luke > Message: 1 > From: Ken Schrock > To: gambas > Date: Wed, 24 Dec 2003 18:03:47 -0800 > Subject: [Gambas-user] Escapes > Reply-To: gambas-user at lists.sourceforge.net > > Gambas doesn't like this > > PUBLIC CONST BOLD_ON AS String = "\x1b(s3B" > > Nor can I get any hex or octal escapes to work > > ??? > From kschrock at ...149... Thu Dec 25 17:41:42 2003 From: kschrock at ...149... (Ken Schrock) Date: Thu, 25 Dec 2003 08:41:42 -0800 Subject: [Gambas-user] Re: Escapes In-Reply-To: <3FEABBD2.9040801@...284...> References: <3FEABBD2.9040801@...284...> Message-ID: <200312250841.42922.kschrock@...149...> The bracket ( and the other letters are no problem It is only the printer escape (dec 27, hex 1b) that is a problem There is no C escape for it like \n or \r but at least in C You can use /xhh or /ooo as escapes And yes, are constants really constant in Gambas And of how much use are constants here anyway On Thursday 25 December 2003 2:28 am, Luke Cliff wrote: > I not sure of this, but perhaps the constant > is no longer constant... when asking for a conversion escape, gambas > seems to read the string in C not gambas and therefore no longer > constant when the escape is implemented, just a guess though > What's the error?, a way around is to write the escape character with > chr$() and append it to the rest of the string,but only if gambas IS > reading C.... but the bracket? now I really don't have a clue, there is > no octal number for a bracket...try a space between "b" and "(" ... > > Luke > > > Message: 1 > > From: Ken Schrock > > To: gambas > > Date: Wed, 24 Dec 2003 18:03:47 -0800 > > Subject: [Gambas-user] Escapes > > Reply-To: gambas-user at lists.sourceforge.net > > > > Gambas doesn't like this > > > > PUBLIC CONST BOLD_ON AS String = "\x1b(s3B" > > > > Nor can I get any hex or octal escapes to work > > > > ??? > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From kschrock at ...149... Thu Dec 25 18:07:17 2003 From: kschrock at ...149... (Ken Schrock) Date: Thu, 25 Dec 2003 09:07:17 -0800 Subject: [Fwd: Re: [Gambas-user] Questions] In-Reply-To: <200312242343.44717.sourceforge-raindog2@...94...> References: <3FE8D54C.8050702@...149...> <200312231958.37771.kschrock@...149...> <200312242343.44717.sourceforge-raindog2@...94...> Message-ID: <200312250907.17115.kschrock@...149...> At least the Lindows method allows some "standard" They had 0.53 and now 0.62, which is only two versions Except for the 20 people on this list who always have the "current" one Most of the folks out in the real world got whatever version they got And it is hard as hell writing software for 100 possible versions Gambas needs... 1. A real "stable" version for people to work against 2. The ability to easily install on most major Linux distros The "killer" would be a Win version Gambas is easy and powerful and logical It could be the oft promised but never delivered Holy grail of programming, a true cross platform development tool On Wednesday 24 December 2003 8:43 pm, Rob wrote: > On Tuesday 23 December 2003 22:58, Ken Schrock wrote: > > You guys often assume everybody is using the bleeding edge > > version When, at least for me, Gambas on Debian is not easy, > > usually So I use Lindows and wait for them to get it working > > And put it up in the Click-N-Run warehouse > > Yeah, I just bought someone a Lindows laptop and was disappointed > to find out that the Lindows Gambas package was 8 releases out > of date. So hopefully I'll get my act together and learn how to > make debian packages of Gambas soon... > > For what it's worth, the version they have up for download is an > alpha release and the current one is effectively a release > candidate for 1.0.... so it's actually Lindows who's offering > the "bleeding edge" unstable version, outdated though it may be > ;) > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...277... Thu Dec 25 19:17:23 2003 From: danielcampos at ...277... (daniel) Date: Thu, 25 Dec 2003 18:17:23 +0000 Subject: [Fwd: Re: [Gambas-user] Questions] In-Reply-To: <200312250907.17115.kschrock@...149...> References: <3FE8D54C.8050702@...149...> <200312231958.37771.kschrock@...149...> <200312242343.44717.sourceforge-raindog2@...94...> <200312250907.17115.kschrock@...149...> Message-ID: <1072376242.2293.23.camel@...278...> > At least the Lindows method allows some "standard" > They had 0.53 and now 0.62, which is only two versions > Except for the 20 people on this list who always have the "current" one > Most of the folks out in the real world got whatever version they got > And it is hard as hell writing software for 100 possible versions > > Gambas needs... > 1. A real "stable" version for people to work against mmmhh... OK, but before you have an stable version, you need to program it, and that's what people (mainly Beno?t) is doing now, remember that alpha and beta versions of any software are intended only for testing pourposes, so I don't undestand at all why you need to program for 100 versions; just play with them and learn more about this new Basic. There will be time in the future for a 1.0 version and big programs written with that stable platform... People of big companies like RedHat or Mandrake uses to put unstable versions of new software: remember thar RedHat suffered a lot with its 7.0 Linux distribution due to gcc and kernel, but there was not a problem of gcc nor kernel people, they saw in big capital letters that it was an unstable version, so there was possible changes and bugs. What we should do now? Stop Gambas developement because Lindows folks decided to include 0.53 in its distribution? Remember that Gambas people are not Lindows employees, they (we) are trying to write a really good developement tool, but it need more work, and changes if neccesary > 2. The ability to easily install on most major Linux distros > Some people are working on it, you already have easy packages for Mandrake, and other distributions will come soon, I suppose, as Beno?t has been adding lot of changes at MakeFiles to allow compile in many distributions... > The "killer" would be a Win version > Gambas is easy and powerful and logical > It could be the oft promised but never delivered > Holy grail of programming, a true cross platform development tool > Yes, this is true, and Gambas-Cygwin begins to work. More people that can help on it? They will be very welcome! Another possibility would be a Windows native version, but al least all graphical part should be rewritten, as QT for Windows is not free at all (may be the GTK or wxWindows component would be the cross-platform answer), and of course all the network part using Winsock... But remember that Gambas, in fact, is already cross-platform, as it begins to compile and run on Solaris and FreeBSD. I mean cross-platform does not mean Windows-Linux at all (do not forget OS/2 is still alive in many computers) Regards, Daniel Campos From kschrock at ...149... Fri Dec 26 00:14:33 2003 From: kschrock at ...149... (Ken Schrock) Date: Thu, 25 Dec 2003 15:14:33 -0800 Subject: [Fwd: Re: [Gambas-user] Questions] In-Reply-To: <1072376242.2293.23.camel@...278...> References: <3FE8D54C.8050702@...149...> <200312250907.17115.kschrock@...149...> <1072376242.2293.23.camel@...278...> Message-ID: <200312251514.33322.kschrock@...149...> Appearantly a difference of opinion I believe, even in this development stage environment It would have been nice to have milestones (say 0.48, 0.58, 0.68) So that all development work isn't like the dog chasing his tail I also find it detractive to both Gambas' development and adaption That everybody not using Mandrake has to struggle to use it For something to improve, it needs critics as well as cheerleaders OMHO On Thursday 25 December 2003 10:17 am, daniel wrote: > > At least the Lindows method allows some "standard" > > They had 0.53 and now 0.62, which is only two versions > > Except for the 20 people on this list who always have the "current" one > > Most of the folks out in the real world got whatever version they got > > And it is hard as hell writing software for 100 possible versions > > > > Gambas needs... > > 1. A real "stable" version for people to work against > > mmmhh... OK, but before you have an stable version, you need to program > it, and that's what people (mainly Beno?t) is doing now, remember that > alpha and beta versions of any software are intended only for testing > pourposes, so I don't undestand at all why you need to program for 100 > versions; just play with them and learn more about this new Basic. There > will be time in the future for a 1.0 version and big programs written > with that stable platform... > > People of big companies like RedHat or Mandrake uses to put unstable > versions of new software: remember thar RedHat suffered a lot with its > 7.0 Linux distribution due to gcc and kernel, but there was not a > problem of gcc nor kernel people, they saw in big capital letters that > it was an unstable version, so there was possible changes and bugs. What > we should do now? Stop Gambas developement because Lindows folks decided > to include 0.53 in its distribution? Remember that Gambas people are not > Lindows employees, they (we) are trying to write a really good > developement tool, but it need more work, and changes if neccesary > > > 2. The ability to easily install on most major Linux distros > > Some people are working on it, you already have easy packages for > Mandrake, and other distributions will come soon, I suppose, as Beno?t > has been adding lot of changes at MakeFiles to allow compile in > many distributions... > > > The "killer" would be a Win version > > Gambas is easy and powerful and logical > > It could be the oft promised but never delivered > > Holy grail of programming, a true cross platform development tool > > Yes, this is true, and Gambas-Cygwin begins to work. More people that > can help on it? They will be very welcome! > > Another possibility would be a Windows native version, but al least > all graphical part should be rewritten, as QT for Windows is not free at > all (may be the GTK or wxWindows component would be the cross-platform > answer), and of course all the network part using Winsock... > > But remember that Gambas, in fact, is already cross-platform, as it > begins to compile and run on Solaris and FreeBSD. I mean cross-platform > does not mean Windows-Linux at all (do not forget OS/2 is still alive in > many computers) > > Regards, > > Daniel Campos > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op,ick > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...277... Thu Dec 25 23:15:19 2003 From: danielcampos at ...277... (daniel) Date: Thu, 25 Dec 2003 22:15:19 +0000 Subject: [Fwd: Re: [Gambas-user] Questions] In-Reply-To: <200312251514.33322.kschrock@...149...> References: <3FE8D54C.8050702@...149...> <200312250907.17115.kschrock@...149...> <1072376242.2293.23.camel@...278...> <200312251514.33322.kschrock@...149...> Message-ID: <1072390518.2378.26.camel@...278...> El jue, 25-12-2003 a las 23:14, Ken Schrock escribi?: > Appearantly a difference of opinion > > I believe, even in this development stage environment > It would have been nice to have milestones (say 0.48, 0.58, 0.68) > So that all development work isn't like the dog chasing his tail > Yes, I agree in the fact that milestones and a well-defined roadmap are important, but think that this kind of planification needs lots of people working on it, so projets like Mozilla, KDE, or OpenOffice can support it; but here and now more hands are needed to do it, for instance, people becoming mantainers for old versions. I think a more organized plan will come in a future, when this project become more stable, used and known by many people. > I also find it detractive to both Gambas' development and adaption > That everybody not using Mandrake has to struggle to use it > I also agree with this, but... where are the people doing this work? At this moment there are mantainers for Mandrake, SUSE, and may be Debian?, i'm not sure, so as I said in the previous point, I suppose some more people will join to that project in the future, writing scripts for that packages, and many other needed things... > For something to improve, it needs critics as well as cheerleaders > Ah, yes, of course. I think the only point in which we disagree is that I think it's not time yet for a massive use of that Basic implementation, we should let it mature a little more, so programmers can have a really stable and powerful environment. All the big changes I've seen in the time I know Gambas has been the product of good ideas, including all the big changes Beno?t "ordered" me to the network component. I mean Gambas is not YABI, (yet another Basic implementation :), but an idea that's growing and becoming almost perfect. The final idea is that other projects has been finally abandoned by programmers, as big changes were made when lots of people were already using it as an stable platform, and they had no time to change all they had made (for instance VB6 -> VB.Net, not all programmers wants at all to adapt its programs to that new technology); and of course I would like to see packages for Fedora,Debian, and other distributions, but, we need help to do it Regards, Daniel Campos > OMHO > > On Thursday 25 December 2003 10:17 am, daniel wrote: > > > At least the Lindows method allows some "standard" > > > They had 0.53 and now 0.62, which is only two versions > > > Except for the 20 people on this list who always have the "current" one > > > Most of the folks out in the real world got whatever version they got > > > And it is hard as hell writing software for 100 possible versions > > > > > > Gambas needs... > > > 1. A real "stable" version for people to work against > > > > mmmhh... OK, but before you have an stable version, you need to program > > it, and that's what people (mainly Beno?t) is doing now, remember that > > alpha and beta versions of any software are intended only for testing > > pourposes, so I don't undestand at all why you need to program for 100 > > versions; just play with them and learn more about this new Basic. There > > will be time in the future for a 1.0 version and big programs written > > with that stable platform... > > > > People of big companies like RedHat or Mandrake uses to put unstable > > versions of new software: remember thar RedHat suffered a lot with its > > 7.0 Linux distribution due to gcc and kernel, but there was not a > > problem of gcc nor kernel people, they saw in big capital letters that > > it was an unstable version, so there was possible changes and bugs. What > > we should do now? Stop Gambas developement because Lindows folks decided > > to include 0.53 in its distribution? Remember that Gambas people are not > > Lindows employees, they (we) are trying to write a really good > > developement tool, but it need more work, and changes if neccesary > > > > > 2. The ability to easily install on most major Linux distros > > > > Some people are working on it, you already have easy packages for > > Mandrake, and other distributions will come soon, I suppose, as Beno?t > > has been adding lot of changes at MakeFiles to allow compile in > > many distributions... > > > > > The "killer" would be a Win version > > > Gambas is easy and powerful and logical > > > It could be the oft promised but never delivered > > > Holy grail of programming, a true cross platform development tool > > > > Yes, this is true, and Gambas-Cygwin begins to work. More people that > > can help on it? They will be very welcome! > > > > Another possibility would be a Windows native version, but al least > > all graphical part should be rewritten, as QT for Windows is not free at > > all (may be the GTK or wxWindows component would be the cross-platform > > answer), and of course all the network part using Winsock... > > > > But remember that Gambas, in fact, is already cross-platform, as it > > begins to compile and run on Solaris and FreeBSD. I mean cross-platform > > does not mean Windows-Linux at all (do not forget OS/2 is still alive in > > many computers) > > > > Regards, > > > > Daniel Campos > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op,ick > > _______________________________________________ > > 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: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...282... Fri Dec 26 18:17:12 2003 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 26 Dec 2003 17:17:12 +0000 Subject: [Gambas-user] A new Article (in Spanish) Message-ID: <1072459032.2251.5.camel@...278...> Hi all: I've written a litle article for " http://www.barrapunto.com ", that is something like slashdot but in spanish,you can read it there: http://barrapunto.com/articles/03/12/26/007248.shtml (sorry but there's not translation available) It seems that people in Spain (and other countries talking spanish) likes it, commentaries says mainly that this is a good job (I mean Gambas, not the article :)... May be somebody who wants to write articles like this in English, French, German, etc? It seems weblogs are good points to let the people know more about Gambas! Regards, Daniel Campos -- Daniel Campos From gambas at ...1... Fri Dec 26 17:21:54 2003 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Dec 2003 17:21:54 +0100 Subject: [Gambas-user] Escapes In-Reply-To: <200312241803.47237.kschrock@...149...> References: <200312241803.47237.kschrock@...149...> Message-ID: <200312261721.54870.gambas@...1...> On Thursday 25 December 2003 03:03, Ken Schrock wrote: > Gambas doesn't like this > > PUBLIC CONST BOLD_ON AS String = "\x1b(s3B" > > Nor can I get any hex or octal escapes to work > > ??? > > At the moment, only the following escape characters are supported: \n \r \t \' \" \\ I think I should add support for \xHH in the compiler ? :-) I will see what I can do... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Dec 26 17:51:11 2003 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Dec 2003 17:51:11 +0100 Subject: [Gambas-user] Escapes In-Reply-To: <200312261721.54870.gambas@...1...> References: <200312241803.47237.kschrock@...149...> <200312261721.54870.gambas@...1...> Message-ID: <200312261751.11071.gambas@...1...> On Friday 26 December 2003 17:21, Benoit Minisini wrote: > On Thursday 25 December 2003 03:03, Ken Schrock wrote: > > Gambas doesn't like this > > > > PUBLIC CONST BOLD_ON AS String = "\x1b(s3B" > > > > Nor can I get any hex or octal escapes to work > > > > ??? > > At the moment, only the following escape characters are supported: > > \n \r \t \' \" \\ > > I think I should add support for \xHH in the compiler ? :-) > I will see what I can do... > > Regards, Yep. It is done. -- Benoit Minisini mailto:gambas at ...1... From kschrock at ...149... Sat Dec 27 00:37:54 2003 From: kschrock at ...149... (Ken Schrock) Date: Fri, 26 Dec 2003 15:37:54 -0800 Subject: [Gambas-user] Hidden code Message-ID: <200312261537.54775.kschrock@...149...> Using this admittedly old version (0.62) I get an error Invalid assignment at line 1151 in Form1.class When the Form1.class file is only 440 lines long ??? From gambas at ...1... Fri Dec 26 21:41:10 2003 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Dec 2003 21:41:10 +0100 Subject: [Gambas-user] Hidden code In-Reply-To: <200312261537.54775.kschrock@...149...> References: <200312261537.54775.kschrock@...149...> Message-ID: <200312262141.10396.gambas@...1...> On Saturday 27 December 2003 00:37, Ken Schrock wrote: > Using this admittedly old version (0.62) I get an error > > Invalid assignment at line 1151 in Form1.class > > When the Form1.class file is only 440 lines long > > ??? > If you don't send your code, I can't guess what is wrong ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Dec 26 21:43:24 2003 From: gambas at ...1... (Benoit Minisini) Date: Fri, 26 Dec 2003 21:43:24 +0100 Subject: [Gambas-user] Hidden code In-Reply-To: <200312261537.54775.kschrock@...149...> References: <200312261537.54775.kschrock@...149...> Message-ID: <200312262143.24448.gambas@...1...> On Saturday 27 December 2003 00:37, Ken Schrock wrote: > Using this admittedly old version (0.62) I get an error > > Invalid assignment at line 1151 in Form1.class > > When the Form1.class file is only 440 lines long > > ??? > > > Send me your Form1.form AND Form1.class. The big line number comes from the compiler that transforms Form1.form into gambas code and merge it with Form1.class. This error message means that there is a bug in the Form1.form generation. Regards, -- Benoit Minisini mailto:gambas at ...1... From Rick_Helfgen at ...221... Sat Dec 27 10:03:44 2003 From: Rick_Helfgen at ...221... (Ricky Helfgen) Date: Sat, 27 Dec 2003 10:03:44 +0100 Subject: [Gambas-user] Hidden code In-Reply-To: <200312261537.54775.kschrock@...149...> References: <200312261537.54775.kschrock@...149...> Message-ID: <1072515824.2154.3.camel@...280...> Hi Ken, I find the same Problem. Maybe you have give the same name for two funktions. For exambles: textarea1 for two textareas. regards Ricky Am Sa, 2003-12-27 um 00.37 schrieb Ken Schrock: > Using this admittedly old version (0.62) I get an error > > Invalid assignment at line 1151 in Form1.class > > When the Form1.class file is only 440 lines long > > ??? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From olivier at ...289... Sat Dec 27 14:50:10 2003 From: olivier at ...289... (Olivier Coquet) Date: Sat, 27 Dec 2003 14:50:10 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 Message-ID: <200312271450.10994.olivier@...289...> Here is the i386 gambas rpm for fedora core 1 http://stratoria.dynu.net:85/gambas-rpm/ I hope than all peoples with fedora enjoy this !!!!!! Regards Olivier Coquet From gambas at ...1... Sat Dec 27 15:01:37 2003 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Dec 2003 15:01:37 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271450.10994.olivier@...289...> References: <200312271450.10994.olivier@...289...> Message-ID: <200312271501.38008.gambas@...1...> On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > Here is the i386 gambas rpm for fedora core 1 > > http://stratoria.dynu.net:85/gambas-rpm/ > > > I hope than all peoples with fedora enjoy this !!!!!! > > Regards > Olivier Coquet > > > Great Olivier, but KPackage tells me that your package depends on /usr/bin/gbx, which is a problem, as this package provides /usr/bin/gbx ! Regards, -- Benoit Minisini mailto:gambas at ...1... From olivier at ...289... Sat Dec 27 15:05:02 2003 From: olivier at ...289... (Olivier Coquet) Date: Sat, 27 Dec 2003 15:05:02 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271501.38008.gambas@...1...> References: <200312271450.10994.olivier@...289...> <200312271501.38008.gambas@...1...> Message-ID: <200312271505.02229.olivier@...289...> I've just installed on a fresh installed laptop computer with fedora core 1 and i've not noticed this msg ??????? are you sure you are on a fedora core 1 standard install ?????? regards Olivier Le Samedi 27 D?cembre 2003 15:01, Benoit Minisini a ?crit : > On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > > Here is the i386 gambas rpm for fedora core 1 > > > > http://stratoria.dynu.net:85/gambas-rpm/ > > > > > > I hope than all peoples with fedora enjoy this !!!!!! > > > > Regards > > Olivier Coquet > > Great Olivier, but KPackage tells me that your package depends on > /usr/bin/gbx, which is a problem, as this package provides /usr/bin/gbx ! > > Regards, From olivier at ...289... Sat Dec 27 15:07:19 2003 From: olivier at ...289... (Olivier Coquet) Date: Sat, 27 Dec 2003 15:07:19 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271501.38008.gambas@...1...> References: <200312271450.10994.olivier@...289...> <200312271501.38008.gambas@...1...> Message-ID: <200312271507.19310.olivier@...289...> Ps: what is KPackage??????? Regards Olivier Le Samedi 27 D?cembre 2003 15:01, Benoit Minisini a ?crit : > On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > > Here is the i386 gambas rpm for fedora core 1 > > > > http://stratoria.dynu.net:85/gambas-rpm/ > > > > > > I hope than all peoples with fedora enjoy this !!!!!! > > > > Regards > > Olivier Coquet > > Great Olivier, but KPackage tells me that your package depends on > /usr/bin/gbx, which is a problem, as this package provides /usr/bin/gbx ! > > Regards, From henrigirard at ...11... Sat Dec 27 15:27:41 2003 From: henrigirard at ...11... (Henri Girard) Date: Sat, 27 Dec 2003 15:27:41 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 References: <200312271450.10994.olivier@...289...> <200312271501.38008.gambas@...1...> <200312271507.19310.olivier@...289...> Message-ID: <001801c3cc85$963e7c60$0200a8c0@...320...> kpackage is the rpm manager from kde.. In fact I haven't seen or used it for a long time now I only use either yum or apt with synoptic... Hope it answers your question :) Henri ----- Original Message ----- From: "Olivier Coquet" To: Sent: Saturday, December 27, 2003 3:07 PM Subject: Re: [Gambas-user] Gambas 0.74 rpm for Fedora core1 Ps: what is KPackage??????? Regards Olivier Le Samedi 27 D?cembre 2003 15:01, Benoit Minisini a ?crit : > On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > > Here is the i386 gambas rpm for fedora core 1 > > > > http://stratoria.dynu.net:85/gambas-rpm/ > > > > > > I hope than all peoples with fedora enjoy this !!!!!! > > > > Regards > > Olivier Coquet > > Great Olivier, but KPackage tells me that your package depends on > /usr/bin/gbx, which is a problem, as this package provides /usr/bin/gbx ! > > Regards, ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From olivier at ...289... Sat Dec 27 15:32:30 2003 From: olivier at ...289... (Olivier Coquet) Date: Sat, 27 Dec 2003 15:32:30 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <001801c3cc85$963e7c60$0200a8c0@...320...> References: <200312271450.10994.olivier@...289...> <200312271507.19310.olivier@...289...> <001801c3cc85$963e7c60$0200a8c0@...320...> Message-ID: <200312271532.30461.olivier@...289...> there is efectively a problem with my rpm because it launch correctly samples but crash when i want edit a form...i look and repost regards olivier Le Samedi 27 D?cembre 2003 15:27, Henri Girard a ?crit : > kpackage is the rpm manager from kde.. > In fact I haven't seen or used it for a long time > now I only use either yum or apt with synoptic... > Hope it answers your question :) > Henri > ----- Original Message ----- > From: "Olivier Coquet" > To: > Sent: Saturday, December 27, 2003 3:07 PM > Subject: Re: [Gambas-user] Gambas 0.74 rpm for Fedora core1 > > > > Ps: what is KPackage??????? > > Regards > Olivier > > Le Samedi 27 D?cembre 2003 15:01, Benoit Minisini a ?crit : > > On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > > > Here is the i386 gambas rpm for fedora core 1 > > > > > > http://stratoria.dynu.net:85/gambas-rpm/ > > > > > > > > > I hope than all peoples with fedora enjoy this !!!!!! > > > > > > Regards > > > Olivier Coquet > > > > Great Olivier, but KPackage tells me that your package depends on > > /usr/bin/gbx, which is a problem, as this package provides /usr/bin/gbx ! > > > > Regards, > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick > _______________________________________________ > 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: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From raul.moratalla at ...321... Sat Dec 27 15:36:07 2003 From: raul.moratalla at ...321... (=?iso-8859-1?q?Ra=FAl_Moratalla?=) Date: Sat, 27 Dec 2003 15:36:07 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271501.38008.gambas@...1...> References: <200312271450.10994.olivier@...289...> <200312271501.38008.gambas@...1...> Message-ID: <200312271536.07268.raul.moratalla@...321...> I've installed the package on my fedora core system without any problems and it runs ok :) Thanks Olivier Regards Raul Moratalla El S?bado, 27 de Diciembre de 2003 15:01, Benoit Minisini escribi?: > On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > > Here is the i386 gambas rpm for fedora core 1 > > > > http://stratoria.dynu.net:85/gambas-rpm/ > > > > > > I hope than all peoples with fedora enjoy this !!!!!! > > > > Regards > > Olivier Coquet > > Great Olivier, but KPackage tells me that your package depends on > /usr/bin/gbx, which is a problem, as this package provides /usr/bin/gbx ! > > Regards, From gambas at ...1... Sat Dec 27 15:39:13 2003 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Dec 2003 15:39:13 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271507.19310.olivier@...289...> References: <200312271450.10994.olivier@...289...> <200312271501.38008.gambas@...1...> <200312271507.19310.olivier@...289...> Message-ID: <200312271539.13441.gambas@...1...> On Saturday 27 December 2003 15:07, Olivier Coquet wrote: > Ps: what is KPackage??????? > > Regards > Olivier > I didn't try to install the package. I just opened it with KPackage so that it shows me every information about it. And it told me that the package has a dependence on /usr/bin/gbx. I fiund that illogical, don't you ? Regards, -- Benoit Minisini mailto:gambas at ...1... From raul.moratalla at ...321... Sat Dec 27 15:47:27 2003 From: raul.moratalla at ...321... (=?iso-8859-1?q?Ra=FAl_Moratalla?=) Date: Sat, 27 Dec 2003 15:47:27 +0100 Subject: [Gambas-user] kde component Message-ID: <200312271547.27430.raul.moratalla@...321...> Hi! I'm a new user of gambas. When I select the gb.qt.kde component in the properties of my new proyect: should appear the new components on the toolbox? I select another components like gb.db and I don't see any changes on the toolbox. Now I make a suggestion: why don't develop gambas in one window like hbasic? I find it more useful and usable if I have one window on my taskbar that 5. windows. Sorry about this silly question. Regards, Raul From olivier at ...289... Sat Dec 27 15:48:19 2003 From: olivier at ...289... (Olivier Coquet) Date: Sat, 27 Dec 2003 15:48:19 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271539.13441.gambas@...1...> References: <200312271450.10994.olivier@...289...> <200312271507.19310.olivier@...289...> <200312271539.13441.gambas@...1...> Message-ID: <200312271548.19795.olivier@...289...> yes lol, i try to understand what is the trouble regards olivier Le Samedi 27 D?cembre 2003 15:39, Benoit Minisini a ?crit : > On Saturday 27 December 2003 15:07, Olivier Coquet wrote: > > Ps: what is KPackage??????? > > > > Regards > > Olivier > > I didn't try to install the package. I just opened it with KPackage so that > it shows me every information about it. And it told me that the package has > a dependence on /usr/bin/gbx. I fiund that illogical, don't you ? > > Regards, From gambas at ...1... Sat Dec 27 16:19:53 2003 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Dec 2003 16:19:53 +0100 Subject: [Gambas-user] kde component In-Reply-To: <200312271547.27430.raul.moratalla@...321...> References: <200312271547.27430.raul.moratalla@...321...> Message-ID: <200312271619.53021.gambas@...1...> On Saturday 27 December 2003 15:47, Ra?l Moratalla wrote: > Hi! I'm a new user of gambas. When I select the gb.qt.kde component in the > properties of my new proyect: should appear the new components on the > toolbox? I select another components like gb.db and I don't see any changes > on the toolbox. Because these components have no controls. There is a problem with KDE widgets that crash when they are used with gambas components ! > Now I make a suggestion: why don't develop gambas in one window like > hbasic? I find it more useful and usable if I have one window on my taskbar > that 5. windows. > > Sorry about this silly question. Not silly. I think the next version of gambas (after the coming 1.0) will have a single window interface. When I started working on the IDE, the Workspace control didn't exist. > > Regards, > > Raul > > Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Dec 27 16:34:25 2003 From: gambas at ...1... (Benoit Minisini) Date: Sat, 27 Dec 2003 16:34:25 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271450.10994.olivier@...289...> References: <200312271450.10994.olivier@...289...> Message-ID: <200312271634.25525.gambas@...1...> On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > Here is the i386 gambas rpm for fedora core 1 > > http://stratoria.dynu.net:85/gambas-rpm/ > > > I hope than all peoples with fedora enjoy this !!!!!! > > Regards > Olivier Coquet > I have a good idea :-) If people could make some shell scripts that builds packages for Mandrake, Fedora, SuSE, ... from a gambas project, it would be cool ! For example, on Mandrake: let's suppose that you have a gambas project named MyGreatProgram, and that you generate with the previous script a package named MyGreatProgram-1.0.0.noarch.rpm. This package will have dependencies on gambas-1.0mdk.i586.rpm. So a simple urpmi MyGreatProgram will install exactly what it is needed. The shell scripts will be placed into the IDE source, and the IDE could generate them by replacing some variables inside: project name, version, component dependencies, and so on. I can't do these scripts myself, because I don't know how to make RPMs, and I have not enough time to learn it. I think this will be great to have that for the 1.0. I'm looking for volunteers ! (Olivier and Rob must feel being got at...) Regards, -- Benoit Minisini mailto:gambas at ...1... From olivier at ...289... Sat Dec 27 16:38:17 2003 From: olivier at ...289... (Olivier Coquet) Date: Sat, 27 Dec 2003 16:38:17 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271634.25525.gambas@...1...> References: <200312271450.10994.olivier@...289...> <200312271634.25525.gambas@...1...> Message-ID: <200312271638.18103.olivier@...289...> personaly, i use checkinstall to make package but it seams to be not a good idea..... regards olivier Le Samedi 27 D?cembre 2003 16:34, Benoit Minisini a ?crit : > On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > > Here is the i386 gambas rpm for fedora core 1 > > > > http://stratoria.dynu.net:85/gambas-rpm/ > > > > > > I hope than all peoples with fedora enjoy this !!!!!! > > > > Regards > > Olivier Coquet > > I have a good idea :-) > > If people could make some shell scripts that builds packages for Mandrake, > Fedora, SuSE, ... from a gambas project, it would be cool ! > > For example, on Mandrake: let's suppose that you have a gambas project > named MyGreatProgram, and that you generate with the previous script a > package named MyGreatProgram-1.0.0.noarch.rpm. This package will have > dependencies on gambas-1.0mdk.i586.rpm. So a simple urpmi MyGreatProgram > will install exactly what it is needed. > > The shell scripts will be placed into the IDE source, and the IDE could > generate them by replacing some variables inside: project name, version, > component dependencies, and so on. > > I can't do these scripts myself, because I don't know how to make RPMs, and > I have not enough time to learn it. > > I think this will be great to have that for the 1.0. I'm looking for > volunteers ! (Olivier and Rob must feel being got at...) > > Regards, From olivier at ...289... Sat Dec 27 16:44:47 2003 From: olivier at ...289... (Olivier Coquet) Date: Sat, 27 Dec 2003 16:44:47 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271634.25525.gambas@...1...> References: <200312271450.10994.olivier@...289...> <200312271634.25525.gambas@...1...> Message-ID: <200312271644.47391.olivier@...289...> I think it's a good idea, another way is to make a default dir in samples, and if there is an executable project in this dir, it start when gambas is launched, otherwise gambas start normaly...... regards Olivier PS: l'anglais n'est pas mon fort lol Le Samedi 27 D?cembre 2003 16:34, Benoit Minisini a ?crit : > On Saturday 27 December 2003 14:50, Olivier Coquet wrote: > > Here is the i386 gambas rpm for fedora core 1 > > > > http://stratoria.dynu.net:85/gambas-rpm/ > > > > > > I hope than all peoples with fedora enjoy this !!!!!! > > > > Regards > > Olivier Coquet > > I have a good idea :-) > > If people could make some shell scripts that builds packages for Mandrake, > Fedora, SuSE, ... from a gambas project, it would be cool ! > > For example, on Mandrake: let's suppose that you have a gambas project > named MyGreatProgram, and that you generate with the previous script a > package named MyGreatProgram-1.0.0.noarch.rpm. This package will have > dependencies on gambas-1.0mdk.i586.rpm. So a simple urpmi MyGreatProgram > will install exactly what it is needed. > > The shell scripts will be placed into the IDE source, and the IDE could > generate them by replacing some variables inside: project name, version, > component dependencies, and so on. > > I can't do these scripts myself, because I don't know how to make RPMs, and > I have not enough time to learn it. > > I think this will be great to have that for the 1.0. I'm looking for > volunteers ! (Olivier and Rob must feel being got at...) > > Regards, From sourceforge-raindog2 at ...94... Sat Dec 27 16:22:47 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 27 Dec 2003 10:22:47 -0500 Subject: [Gambas-user] kde component In-Reply-To: <200312271547.27430.raul.moratalla@...321...> References: <200312271547.27430.raul.moratalla@...321...> Message-ID: <200312271017.43394.sourceforge-raindog2@...94...> On Saturday 27 December 2003 09:47, Ra?l Moratalla wrote: > Now I make a suggestion: why don't develop gambas in one > window like hbasic? I find it more useful and usable if I have > one window on my taskbar that 5. windows. Most Unix developers feel that MDI (one big window with other windows inside it) sucks. I disagree, and like MDI better for most things (and so will many of the VB programmers who will eventually take up coding in Gambas.) I made an MDI hack of an older Gambas version, no docking or anything, just the project explorer on the left and all other windows in an MDI workspace on the right, but I haven't maintained it. Feel free to search back on my website http://www.kudla.org and bring it up to date if you have time ;) In the meantime, one VB programmer I know who uses Gambas now puts his Gambas session in a separate virtual desktop so he can switch to it using the pager and treat that one virtual desktop as if it's an MDI. It still has all those entries in the taskbar but at least it seems less cluttered. That might be worth a try if you can't get my MDI changes to work in recent Gambas versions. Rob From na2492 at ...9... Sat Dec 27 19:47:16 2003 From: na2492 at ...9... (na2492 at ...9...) Date: Sat, 27 Dec 2003 19:47:16 00100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 Message-ID: <3fedd3b4.66b1.0@...9...> Salut, have a look to the rights there, think you havn't 'w' amicalement Charlie >there is efectively a problem with my rpm because it launch correctly samples >but crash when i want edit a form...i look and repost > >regards >olivier > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From olivier at ...289... Sat Dec 27 20:19:30 2003 From: olivier at ...289... (Olivier Coquet) Date: Sat, 27 Dec 2003 20:19:30 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <3fedd3b4.66b1.0@...9...> References: <3fedd3b4.66b1.0@...9...> Message-ID: <200312272019.30766.olivier@...289...> can you explain me, i don't understand what you say about right and "w" thanks olivier Le Samedi 27 D?cembre 2003 20:47, na2492 at ...9... a ?crit : > Salut, > > have a look to the rights there, think you havn't 'w' > > amicalement > Charlie > > >there is efectively a problem with my rpm because it launch correctly > > samples > > > >but crash when i want edit a form...i look and repost > > > >regards > >olivier > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From karl.reinl at ...9... Sun Dec 28 17:27:05 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 28 Dec 2003 17:27:05 +0100 Subject: [Gambas-user] RedHat 9 , gambas and Qt. Message-ID: <3FEF0459.4000707@...9...> Salut, for a diffent propose I installed a RedHat 9, but allways had a look to gambas. I also tried to install gambas, in this case Gambas-0.74 If got like all of you the well known Error: usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE But if got it to run: - RedHat 9 (Shrike) use qt-3.1.1 - so I'v got first qt-3.3.0b1 the latest source from Trolltech I was able to make a running gambas without the 'undefined symbol: _ZNSs4_Rep11_S_terminalE' - BUT ran in big troubles with KDE. - Now I toke a older Qt version, but newer then qt-3.1.1 from RedHat 9. I toke qt-3.1.2 - After unpacking, and renaming to qt-3.1.2 in /usr/lib - I made a symlink, named qt3 which points to /usr/lib/qt-3.1.1 , placed in /usr/lib In /usr/lib type 'ln -s qt-3.1.2 qt3' This I dit to be able to change easier, without logging off/on. Befor compiling this version I tried to do like Trolltech say in INSTALL. I created a .profile (I use the bash as shell) with all the env-variables. But that ditn't work, because RedHad 9 ditn't use it or to late. I had to change that in: /etc/profile.d/qt.sh (if your shell is bash, ksh, zsh or sh) # Qt initialization script (sh) if [ -z "$QTDIR" ] ; then # QTDIR="/usr/lib/qt-3.1" # I point to symlink qt3 QTDIR="/usr/lib/qt3" PATH=$QTDIR/bin:$PATH MANPATH=$QTDIR/doc/man:$MANPATH LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH fi export QTDIR PATH MANPATH LD_LIBRARY_PATH not in .profile like in qt - INSTALL (if your shell is bash, ksh, zsh or sh) or in /etc/profile.d/qt.csh (in case your shell is csh or tcsh) # Qt initialization script (csh) if ( $?QTDIR ) then exit endif #setenv QTDIR /usr/lib/qt-3.1 # I point to symlink qt3 setenv QTDIR /usr/lib/qt3 setenv PATH $QTDIR/bin:$PATH setenv MANPATH $QTDIR/doc/man:$MANPATH setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH not in .login like in qt - INSTALL (in case your shell is csh or tcsh) --- This one is NOT tested by me ( I use bash) then, you will need to login again Now you have to run ./configure and gmake ( or make)in /usr/lib/qt-3.1.2. Read after ./configure the output, if you need to run ./configure -thread After a successful gmake/make, return to your gambas Dir, and if you have had a go. Start './reconf' and 'make clean' Now do the 3 './configure' , 'make' and 'make install' as root Some of this actions has to done by 'root'. Gambas starts now and I could open examples and run then, KDE ditn't show problems. But I dit NOT go for long time testing. Hope that helps all RedHat 9 users. Amicalement Charlie From karl.reinl at ...9... Sun Dec 28 17:53:28 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 28 Dec 2003 17:53:28 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 References: <3fedd3b4.66b1.0@...9...> <200312272019.30766.olivier@...289...> Message-ID: <3FEF0A88.3010508@...9...> Olivier Coquet schrieb: >can you explain me, i don't understand what you say about right and "w" > Salut, I meant file or directory rights, while talking rights And 'w' I meant the writing-right on a file or directory. You know 'ls -l' this I wrote 22 Nov. Salut, /opt/gambas/share/examples is still owned by root:root . most examples run ( 'drwxr-xr-x') , but all network parts are 'drwxr--r--' so if you try to load them, the IDE crash without any message ( if you are not root) If you start gambas from a konsole you get Project.ReadProject.990: #43: Access forbidden Thats right, but not good. And it would be nice to have message from The IDE. The IDE also crash if you try to open (after 'Open a Project') the /opt/gambas/share/examples Folder. I think /opt/gambas/share/examples should have 'drwxrwxrwx' Amicalement Charlie Beno?t has fixt it , I think in 0.73 for his src- package Amicalement Charlie > > >thanks >olivier > >Le Samedi 27 D?cembre 2003 20:47, na2492 at ...9... a ?crit : > > >>Salut, >> >>have a look to the rights there, think you havn't 'w' >> >>amicalement >>Charlie >> >> >> >>>there is efectively a problem with my rpm because it launch correctly >>>samples >>> >>>but crash when i want edit a form...i look and repost >>> >>>regards >>>olivier >>> >>> >>* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * >> >> From sourceforge-raindog2 at ...94... Mon Dec 29 05:26:13 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 28 Dec 2003 23:26:13 -0500 Subject: [Fwd: Re: [Gambas-user] Questions] In-Reply-To: <200312250907.17115.kschrock@...149...> References: <3FE8D54C.8050702@...149...> <200312242343.44717.sourceforge-raindog2@...94...> <200312250907.17115.kschrock@...149...> Message-ID: <200312282326.13624.sourceforge-raindog2@...94...> On Thursday 25 December 2003 12:07, Ken Schrock wrote: > At least the Lindows method allows some "standard" > They had 0.53 and now 0.62, which is only two I'd imagine that's just because Gambas is low on their priority list, even though Michael Robertson has made a point of mentioning it in interviews and stuff (if you search the developer part of their website, they actually recommend HBasic for VB developers even though I don't think they package that one.). Gambas only gets packaged as often as it does for Mandrake because it's important to my business for my clients to see how far along it's coming. That's right, it benefits me, personally. The fact that other people get to use it is just a happy coincidence, though I'll probably have to be still more diligent in packaging it when it finally gets accepted into contrib (in hopes that they'll make it part of the core distro.) > Except for the 20 people on this list who always have the > "current" one Most of the folks out in the real world got > whatever version they got And it is hard as hell writing > software for 100 possible versions It seems to me that the two choices available to a programmer writing interpreted programs for the public are: 1. Write against the most recent stable version of your interpreter. This doesn't apply to Gambas because the 1.0 release (intended to be the stable one) doesn't exist yet. 2. Write against the most recent release. With no stable Gambas release yet, this seems like the best option. If the most recent release isn't available for your distro.... congratulations, you've just been promoted to maintainer! Seriously, that's the one and only reason I picked up the maintainer job for Mandrake.... I needed it and no one else was doing it. That's the joy of free software. Same with the documentation. "Wow, having to go back and forth between Gambas and Acrobat Reader and the component explorer kinda sucks," one of my users said, so I started the wiki. I bet if you ask any of the other guys on the list who have contributed code or resources, they're in the same boat. It's not like anyone's paying us to do so, but we feel we will benefit if Gambas does well. And my business will not collapse if Debian users can't run Gambas, since I have no Debian clients, though my partner's Lindows laptop is going to need a current Gambas release sooner or later and so I may be pressed into service at that time. > Gambas needs... > 1. A real "stable" version for people to work against With the way the last few releases have looked I fully expect a 1.0 release Real Soon Now(tm). > 2. The ability to easily install on most major Linux distros As with any free software project, that depends on volunteers. If you have RHE or Fedora or Suse or Lindows or Lycoris, build a package. If you don't know how, but have a lot of money lying around, send me a hard disk with your pet distro preinstalled, throw in some packaging docs if it's not RPM-based, and I'll try to spend some time making it all work for you. Alternatively, there's always the Loki installer, which I have never used. But I'd be happy to learn how... if you would be happy to pay me to! There are probably others on the list who would too. Or you could do it yourself like the rest of us have when Gambas needed something we wanted. > The "killer" would be a Win version I think the cygwin version won't take too much longer, but I won't be contributing even though I think it's a good idea because I just have no Windows machines anymore. I'd even be willing to take a stab on it by booting into the tiny unused win2k partition on my notebook, but again only if you or someone wanted to pay me to. As for a 'native' Windows version, it would have a lot of differences from the Gambas we know because you'd need to write an OLE automation component to replace all the things you can't do with pipes in windows, and the resulting Gambas binaries couldn't be distributed because Gambas is GPL and there's no GPL Qt port for Windows. I don't see this happening in the foreseeable future. > Gambas is easy and powerful and logical > It could be the oft promised but never delivered > Holy grail of programming, a true cross platform development > tool I agree that it could be, though it wouldn't directly benefit me as I don't do Windows myself anymore, and I look forward to your contributions, code or otherwise, to this cause. Perhaps as a start you could forward that non-working project you were mentioning to the list to help us debug it. Rob From lcliff at ...284... Tue Dec 30 20:36:31 2003 From: lcliff at ...284... (Luke Cliff) Date: Wed, 31 Dec 2003 05:36:31 +1000 Subject: [Gambas-user] Weird error with Journalized systems...Mdk9.2 Message-ID: <3FF1D3BF.5060502@...284...> Hello Users List, I have noticed a strange error, similar to an error noticed before on this list, the error occurs "sometimes" when the program has a serious error, like "file not found", where the GUI blanks out lines of code in the code listing GUI, the only way around the bug, is to use you cursor to "run" up and then down the whole code listing GUI, to again see the code, or in worst cases shut down Gambas, and reopen the project, I'm running 0.74 on Mandrake 9.2, the only thing that changed on the computer is the file system...I had ext2 "Native", for another problem with Disk caches and had no problems with this particular bug in Gambas. I noticed the bug back again in "ext3 Journalized"... Regards Luke From gambas at ...1... Tue Dec 30 21:05:02 2003 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Dec 2003 21:05:02 +0100 Subject: [Gambas-user] Weird error with Journalized systems...Mdk9.2 In-Reply-To: <3FF1D3BF.5060502@...284...> References: <3FF1D3BF.5060502@...284...> Message-ID: <200312302105.02369.gambas@...1...> On Tuesday 30 December 2003 20:36, Luke Cliff wrote: > Hello Users List, > I have noticed a strange error, similar to an error > noticed before on this list, the error occurs "sometimes" when the > program has a serious error, like "file not found", where the GUI > blanks out lines of code in the code listing GUI, the only way around > the bug, is to use you cursor to "run" up and then down the whole code > listing GUI, to again see the code, or in worst cases shut down Gambas, > and reopen the project, I'm running 0.74 on Mandrake 9.2, the only thing > that changed on the computer is the file system...I had ext2 "Native", > for another problem with Disk caches and had no problems with this > particular bug in Gambas. I noticed the bug back again > in "ext3 Journalized"... > > Regards Luke > > Hi, Luke. I think this bug has nothing to do with the file system. It is a bug in the Gambas source code editor that is present since the early beginning of Gambas! The Gambas source code editor is based on Qt 2.0 editor widget source code, which has many bugs. And I didn't wan't to fix them, because I will rewrite it in the future by using the QT 3.0 editor widget source code - which is completely new. Maybe Trolltech found the old one buggy too :-) You are the first people that noticed this drawing bug ! Or the other are more conciliatory ;-) Note: there are similar drawing bugs in the TreeView. Sometimes, it is not correctly redrawn... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Dec 30 21:23:41 2003 From: gambas at ...1... (Benoit Minisini) Date: Tue, 30 Dec 2003 21:23:41 +0100 Subject: [Gambas-user] Gambas 0.74 rpm for Fedora core1 In-Reply-To: <200312271505.02229.olivier@...289...> References: <200312271450.10994.olivier@...289...> <200312271501.38008.gambas@...1...> <200312271505.02229.olivier@...289...> Message-ID: <200312302123.41167.gambas@...1...> On Saturday 27 December 2003 15:05, Olivier Coquet wrote: > I've just installed on a fresh installed laptop computer with fedora core 1 > and i've not noticed this msg ??????? > are you sure you are on a fedora core 1 standard install ?????? > > regards > Olivier > I told you nothing. I have just noticed that kpackage always put the first installed program of the package in the dependencies. Why ? Mystery... Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Dec 31 21:42:20 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 31 Dec 2003 15:42:20 -0500 Subject: [Gambas-user] ColumnView ColumnClick event never fires? Message-ID: <200312311538.39916.sourceforge-raindog2@...94...> Using 0.73 or 0.74, given a form containing a ColumnView named SessionList and the following handler: PUBLIC SUB SessionList_ColumnClick(Column as Integer) Message.Info("column clicked") END Clicking columns in SessionList never causes that message box to pop up. Can anyone else confirm ColumnClick events don't fire? Incidentally, if I turn on the ColumnView's Sorted property, clicking on the headers does automatically cause the ColumnView to re-sort based on the clicked column, so it's not really a big deal. Rob From olivier at ...289... Wed Dec 31 23:31:37 2003 From: olivier at ...289... (Olivier Coquet) Date: Wed, 31 Dec 2003 23:31:37 +0100 Subject: [Gambas-user] ColumnView ColumnClick event never fires? In-Reply-To: <200312311538.39916.sourceforge-raindog2@...94...> References: <200312311538.39916.sourceforge-raindog2@...94...> Message-ID: <200312312331.37449.olivier@...289...> I confirm this thing another bad deal is than column view is not capable to sort data as dates correctly...... Maybe, it will be possible to define a colum ti be a date/time data type to sort them correctly. regards Olivier Le Mercredi 31 D?cembre 2003 21:42, Rob a ?crit : > Using 0.73 or 0.74, given a form containing a ColumnView named > SessionList and the following handler: > > PUBLIC SUB SessionList_ColumnClick(Column as Integer) > > Message.Info("column clicked") > > END > > Clicking columns in SessionList never causes that message box to > pop up. Can anyone else confirm ColumnClick events don't fire? > > Incidentally, if I turn on the ColumnView's Sorted property, > clicking on the headers does automatically cause the ColumnView > to re-sort based on the clicked column, so it's not really a big > deal. > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user