From mdumm at ...647... Wed Mar 1 06:19:20 2006 From: mdumm at ...647... (Maurice Dumais) Date: Wed, 01 Mar 2006 00:19:20 -0500 Subject: [Gambas-user] Database tables limited to 30 fields in GB2-1.9.21+ Message-ID: <44052ED8.2040001@...647...> Recently, I moved from Mdv 2005 LE to 2006.0. I also migrated from GB2-1.9.12 to 1.9.21. I am developping an app. which uses some 8 tables from sqlite, and which was running rather well up to then. Upon running the app. in the new environment, I started getting #11 Signals. I re-installed 2005 LE, changed the Database to sqlite3, then to Mysql, all to no avail. After lots of fumbling around, and, with the help of Db Manager, I found out that the 3 tables that had more than 30 fields were not created properly, and were generating an error on my attempt to fill them with data. To make sure, I set the database Example to read/write, and added 25 fields to the table "test" and ran it. It crashed. I removed 1 field and it worked. Is the 30 field limit a feature or has a 7 legged critter made its way into the database component? BTW the stable version is not affected by this. Regards Maurice From girardhenri at ...67... Wed Mar 1 06:38:20 2006 From: girardhenri at ...67... (Henri Girard) Date: Wed, 1 Mar 2006 06:38:20 +0100 Subject: [Gambas-user] vmplayer Message-ID: Hi :) I just install fc5t3 and debian in vmplayer.... it's just excellent... I think this way we could install gambas in a vm xp session... keep you inform... cheers Henri -------------- next part -------------- An HTML attachment was scrubbed... URL: From girardhenri at ...67... Wed Mar 1 07:25:03 2006 From: girardhenri at ...67... (Henri Girard) Date: Wed, 1 Mar 2006 07:25:03 +0100 Subject: [Gambas-user] gambas sarge vmplayer xp :) Message-ID: Hi :) I use the debian apt-get installation :) here is the scr small but i can put it somewhere if needed... cheers Henri -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: vmgambasxp.jpg Type: image/jpeg Size: 17312 bytes Desc: not available URL: From gambas at ...1... Wed Mar 1 10:23:57 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 1 Mar 2006 10:23:57 +0100 Subject: [Gambas-user] Database tables limited to 30 fields in GB2-1.9.21+ In-Reply-To: <44052ED8.2040001@...647...> References: <44052ED8.2040001@...647...> Message-ID: <200603011023.58065.gambas@...1...> On Wednesday 01 March 2006 06:19, Maurice Dumais wrote: > Recently, I moved from Mdv 2005 LE to 2006.0. I also migrated from > GB2-1.9.12 to 1.9.21. I am developping an app. which uses some 8 tables > from sqlite, and which was running rather well up to then. Upon running > the app. in the new environment, I started getting #11 Signals. I > re-installed 2005 LE, changed the Database to sqlite3, then to Mysql, all > to no avail. > After lots of fumbling around, and, with the help of Db Manager, I found > out that the 3 tables that had more than 30 fields were not created > properly, and were generating an error on my attempt to fill them with > data. > To make sure, I set the database Example to read/write, and added 25 > fields to the table "test" and ran it. It crashed. I removed 1 field and it > worked. > Is the 30 field limit a feature or has a 7 legged critter made its way into > the database component? > BTW the stable version is not affected by this. > > Regards > Maurice > To be sure to understand: did you have the crash for one specific database manager, or for all? -- Benoit Minisini From katsancat at ...11... Wed Mar 1 10:31:39 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Wed, 1 Mar 2006 10:31:39 +0100 Subject: [Gambas-user] gambas sarge vmplayer xp :) In-Reply-To: References: Message-ID: <200603011031.39838.katsancat@...11...> Hi, If i understand correctly, you are running windows XP, upon which you run linux debian by using fc5t3 and wmware, and this allowed you to install gambas as precompiled binaries? On Wednesday 01 March 2006 07:25, Henri Girard wrote: > Hi :) > I use the debian apt-get installation :) > here is the scr small but i can put it somewhere > if needed... > cheers > Henri From girardhenri at ...67... Wed Mar 1 10:58:11 2006 From: girardhenri at ...67... (Henri Girard) Date: Wed, 1 Mar 2006 10:58:11 +0100 Subject: [Gambas-user] gambas sarge vmplayer xp :) References: <200603011031.39838.katsancat@...11...> Message-ID: sorry apparently i wasn't too clear... i am using vmplayer with an image of debian created on the vmplayer site debian image is only text and networking but very smal 110 Mo after i run synaptic to get the debian rpms made on gambas website ... (thanks to the author..lol) no erreur ... run at once... i think vmplayer is interesting because free availabity (at the moment) i guess they will let it free... i run the fc5 t3 image too... but i didn't compile yet gambas as i have a dual boot with fc5 test3. i am looking to do the reverse ... vmplayer on linux and xp running... but i need quite a lot of time as I didn't success to run kernel module vmplayer... i guess to "fresh libs" lol Hope i am clearer now... but i am very happy to play with gambas on xp ! lol cheers Henri ----- Original Message ----- From: "Bertrand-Xavier M." To: Sent: Wednesday, March 01, 2006 10:31 AM Subject: Re: [Gambas-user] gambas sarge vmplayer xp :) > Hi, > If i understand correctly, you are running windows XP, upon which you run > linux debian by using fc5t3 and wmware, and this allowed you to install > gambas as precompiled binaries? > > On Wednesday 01 March 2006 07:25, Henri Girard wrote: >> Hi :) >> I use the debian apt-get installation :) >> here is the scr small but i can put it somewhere >> if needed... >> cheers >> Henri > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From girardhenri at ...67... Wed Mar 1 11:20:05 2006 From: girardhenri at ...67... (Henri Girard) Date: Wed, 1 Mar 2006 11:20:05 +0100 Subject: [Gambas-user] vmplayer fc5t3 image gambas 1.0x (no example : lol) References: <200603011031.39838.katsancat@...11...> Message-ID: yum install gambas... Run at once ! Henri ----- Original Message ----- From: "Bertrand-Xavier M." To: Sent: Wednesday, March 01, 2006 10:31 AM Subject: Re: [Gambas-user] gambas sarge vmplayer xp :) > Hi, > If i understand correctly, you are running windows XP, upon which you run > linux debian by using fc5t3 and wmware, and this allowed you to install > gambas as precompiled binaries? > > On Wednesday 01 March 2006 07:25, Henri Girard wrote: >> Hi :) >> I use the debian apt-get installation :) >> here is the scr small but i can put it somewhere >> if needed... >> cheers >> Henri > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: fc5gambas.jpg Type: image/jpeg Size: 16451 bytes Desc: not available URL: From girardhenri at ...67... Wed Mar 1 12:22:35 2006 From: girardhenri at ...67... (Henri Girard) Date: Wed, 1 Mar 2006 12:22:35 +0100 Subject: [Gambas-user] gambas2 Message-ID: compile perfect in vmplayer fc5t3... Henri -------------- next part -------------- An HTML attachment was scrubbed... URL: From rohnny at ...1248... Wed Mar 1 16:16:18 2006 From: rohnny at ...1248... (R. Stormo) Date: Wed, 1 Mar 2006 07:16:18 -0800 (PST) Subject: [Gambas-user] WebCheck Message-ID: <3184844.post@...1379...> I want to make a webupdate routine and looking for an example or a routine to use. I have been looking at the example httpget. But I'm not getting data while waiting for the rutine to end. The data is comming after I have finished myclass and app. 1 sec after that. What I want is a routine that holds while the check are done and return true/false when finished getting all the data. Something like hFile= open "file" for read wait I have used the basic from the example. MyHTTP = NEW HttpClient AS "MyHTTP" MyHTTP.TimeOut = 10 object.Attach(ME, ME, "MyHTTP") MyHTTP.URL = "forum.stormweb.no/fakturaupdate.txt" MyHTTP.Get() PRINT MyHTTP.Status Have used the examples' read and finnished also. Thaught this could do it but no luck do while MyHTTP.status<>0 loop check the result and return from class Gambas2-1,9,25 -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/WebCheck-t1206090.html#a3184844 Sent from the gambas-user forum at Nabble.com. From giuliano at ...1383... Wed Mar 1 16:17:14 2006 From: giuliano at ...1383... (Giuliano Nascimento) Date: Wed, 01 Mar 2006 12:17:14 -0300 Subject: [Gambas-user] Bug in RENAME 1.9.25 Message-ID: <4405BAFA.2080301@...1383...> Hi all, I think that has a bug in a 1.9.25 version. I explain: After open an old project (compiled ok in 1.0.11), I found a line with RENAME command, then I choose by MOVE, and try to recompile again. But, the compiler insist to alert me that has not a RENAME command! Regards, Giuliano Santana From gambas at ...1... Wed Mar 1 16:44:41 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 1 Mar 2006 16:44:41 +0100 Subject: [Gambas-user] Bug in RENAME 1.9.25 In-Reply-To: <4405BAFA.2080301@...1383...> References: <4405BAFA.2080301@...1383...> Message-ID: <200603011644.41418.gambas@...1...> On Wednesday 01 March 2006 16:17, Giuliano Nascimento wrote: > Hi all, > > I think that has a bug in a 1.9.25 version. I explain: > > After open an old project (compiled ok in 1.0.11), I found a line with > RENAME command, then I choose by MOVE, and try to recompile again. But, > the compiler insist to alert me that has not a RENAME command! > > > Regards, > > Giuliano Santana > Did you replace 'RENAME xxx AS yyy' by 'MOVE xxx TO yyy' everywhere? -- Benoit Minisini From gambas at ...1... Wed Mar 1 23:23:58 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 1 Mar 2006 23:23:58 +0100 Subject: [Gambas-user] Database tables limited to 30 fields in GB2-1.9.21+ In-Reply-To: <44052ED8.2040001@...647...> References: <44052ED8.2040001@...647...> Message-ID: <200603012323.58714.gambas@...1...> On Wednesday 01 March 2006 06:19, Maurice Dumais wrote: > Recently, I moved from Mdv 2005 LE to 2006.0. I also migrated from > GB2-1.9.12 to 1.9.21. I am developping an app. which uses some 8 tables > from sqlite, and which was running rather well up to then. Upon running > the app. in the new environment, I started getting #11 Signals. I > re-installed 2005 LE, changed the Database to sqlite3, then to Mysql, all > to no avail. > After lots of fumbling around, and, with the help of Db Manager, I found > out that the 3 tables that had more than 30 fields were not created > properly, and were generating an error on my attempt to fill them with > data. > To make sure, I set the database Example to read/write, and added 25 > fields to the table "test" and ran it. It crashed. I removed 1 field and it > worked. > Is the 30 field limit a feature or has a 7 legged critter made its way into > the database component? > BTW the stable version is not affected by this. > > Regards > Maurice > > I finally fixed this bug! Note that it is present both in stable and development version actually... Regards, -- Benoit Minisini From maillists at ...1367... Thu Mar 2 01:17:46 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 01 Mar 2006 16:17:46 -0800 Subject: [Gambas-user] Latest RPM Message-ID: <1141258666.24050.1.camel@...1368...> I was curious what the latest stable version of Gambas is? Also are there any plans to make Fedora packages for it? Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Thu Mar 2 01:41:02 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 1 Mar 2006 19:41:02 -0500 Subject: [Gambas-user] Latest RPM In-Reply-To: <1141258666.24050.1.camel@...1368...> References: <1141258666.24050.1.camel@...1368...> Message-ID: <200603011941.02956.sourceforge-raindog2@...94...> On Wed March 1 2006 19:17, GuruLounge - MailLists wrote: > I was curious what the latest stable version of Gambas is? > Also are there any plans to make Fedora packages for it? If someone has been making Fedora packages of Gambas (I assume they have been), they haven't been announcing it here. You could always take my Mandriva src.rpm and try rebuilding it, though enough packages are named differently on Mandriva vs. Fedora that you might have to edit the spec file. Rob From kd4e at ...1384... Thu Mar 2 08:02:36 2006 From: kd4e at ...1384... (doc) Date: Thu, 02 Mar 2006 01:02:36 -0600 Subject: [Gambas-user] Importing Power Basic Apps? Message-ID: <4406988C.9060109@...1384...> Thanks for allowing me on the list! I have a specific interest in porting Amateur Radio apps from the MS version of windows over to Linux, e.g. the digital mode DominoEX http://www.qsl.net/zl1bpu/DOMINO/Index.htm which is written in Power Basic for Windows V7.0 Any chance such an app could be mostly ported over from Power Basic to GAMBAS then tweaked? What about Visual Basic apps? Thanks! doc From girardhenri at ...67... Thu Mar 2 08:45:11 2006 From: girardhenri at ...67... (Henri Girard) Date: Thu, 2 Mar 2006 08:45:11 +0100 Subject: [Gambas-user] Latest RPM References: <1141258666.24050.1.camel@...1368...> <200603011941.02956.sourceforge-raindog2@...94...> Message-ID: good ... i will try... on fc5t3 vmplayer on windows i could compile last version of gambas.. but not on fc5 on my dual boot... i guess i missed some libs... Thanks Henri ----- Original Message ----- From: "Rob Kudla" To: Sent: Thursday, March 02, 2006 1:41 AM Subject: Re: [Gambas-user] Latest RPM > On Wed March 1 2006 19:17, GuruLounge - MailLists wrote: >> I was curious what the latest stable version of Gambas is? >> Also are there any plans to make Fedora packages for it? > > If someone has been making Fedora packages of Gambas (I assume > they have been), they haven't been announcing it here. You > could always take my Mandriva src.rpm and try rebuilding it, > though enough packages are named differently on Mandriva vs. > Fedora that you might have to edit the spec file. > > Rob > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From girardhenri at ...67... Thu Mar 2 08:47:19 2006 From: girardhenri at ...67... (Henri Girard) Date: Thu, 2 Mar 2006 08:47:19 +0100 Subject: [Gambas-user] Latest RPM References: <1141258666.24050.1.camel@...1368...> <200603011941.02956.sourceforge-raindog2@...94...> Message-ID: better i will put my rpms from fc5 somewere and try them on the other pc ----- Original Message ----- From: "Henri Girard" To: Sent: Thursday, March 02, 2006 8:45 AM Subject: Re: [Gambas-user] Latest RPM > good ... i will try... > on fc5t3 vmplayer on windows i could compile last version of gambas.. > but not on fc5 on my dual boot... > i guess i missed some libs... > Thanks > Henri > ----- Original Message ----- > From: "Rob Kudla" > To: > Sent: Thursday, March 02, 2006 1:41 AM > Subject: Re: [Gambas-user] Latest RPM > > >> On Wed March 1 2006 19:17, GuruLounge - MailLists wrote: >>> I was curious what the latest stable version of Gambas is? >>> Also are there any plans to make Fedora packages for it? >> >> If someone has been making Fedora packages of Gambas (I assume >> they have been), they haven't been announcing it here. You >> could always take my Mandriva src.rpm and try rebuilding it, >> though enough packages are named differently on Mandriva vs. >> Fedora that you might have to edit the spec file. >> >> Rob >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> _______________________________________________ >> 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ronstk at ...239... Thu Mar 2 09:31:37 2006 From: ronstk at ...239... (ron) Date: Thu, 2 Mar 2006 09:31:37 +0100 Subject: [Gambas-user] Importing Power Basic Apps? In-Reply-To: <4406988C.9060109@...1384...> References: <4406988C.9060109@...1384...> Message-ID: <200603020931.38212.ronstk@...239...> On Thursday 02 March 2006 08:02, doc wrote: > Thanks for allowing me on the list! > > I have a specific interest in porting Amateur Radio > apps from the MS version of windows over to Linux, > e.g. the digital mode DominoEX > http://www.qsl.net/zl1bpu/DOMINO/Index.htm which is > written in Power Basic for Windows V7.0 > > Any chance such an app could be mostly ported over > from Power Basic to GAMBAS then tweaked? > > What about Visual Basic apps? > > Thanks! doc > I did see a requirement for sound card. If the program is doing analyze of the incomming sound to decode the information it wil not be easy with gambas. Gambas is a interpreting system and cant do realy realtime actions without external libraries. As a frontend for a receiver or with special constructed library for inteface to decode the adio signal it should be no problem. Whay I mean is that I think you are not able to listen to the audio and do measure the frequency and phase changes in the signal if you need a sampletime less than 1ms (1kHz). Second the sound system in linux (with alsa) is by the way works not a very flexibel system like windows. I wil not say it is imposible but it can be a hardtime to do on the lowest level if the only thing is sound comming in the linux box. I think some requirements for C or C++ to create a interface library and/or sounddriver for the audio to digital signal can be in need. Also there are some projects made in the past to do that part, no names know to me anymore. For the screen interface part to handle the rig it could be done. Porting PowerBasic and VisualBasic as basic language can be done. This is the generic construction of the program. Using the ocx componenten in VB, without sourcecode of them to make clones, can not be done. The using of database in VB is also very different and requires a complete rewrite to the syntax of gambas. Also note the difference for file i/o is now very different to VB, but the method used by gambas has some more advances compared to VB Ron (call sign pd0okg, nl) From gambas at ...1... Thu Mar 2 12:03:25 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Mar 2006 12:03:25 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 Message-ID: <200603021203.26149.gambas@...1...> What's new there? * You get a new component again!! gb.net.smtp, that allows to send mails, with attachments, by using the SMTP protocol. Here is a quick example: --8<----------------------------------------------------------------------- DIM hSmtpClient AS NEW SmtpClient WITH hSmtpClient .Host = "smtp.wanadoo.fr" .From = "gambas at ...764..." .Subject = "This was sent by Gambas SMTP component!" .To.Add("s.ballmer at ...1385...") .Cc.Add("my.mother at ...67...") .Add("How are you? :-)", "text/plain;charset=utf-8") .Add(File.Load("~/Documents/rose.jpg"), "image/jpeg", "rose.jpg") .Add(File.Load("~/Documents/photo.jpg"), "image/jpeg", "photo.jpg") .Add(File.Load("~/Documents/gambas-presentation.pdf"), "application/pdf", "Gambas presentation") .Send() END WITH --8<----------------------------------------------------------------------- I wrote this component by taking the source code of libsmtp, whose development has been dropped by its author apparently, and fixing many bugs. I tested it only with KMail, so tell me if you have problems with other mail clients. * The presentation made by Laurent and I for the french meeting 'Solutions Linux 2006' becomes an OpenGL example. This example has its own package at Sourceforge. You can download it at: http://prdownloads.sourceforge.net/gambas/Presentation-1.9.26.tar.gz?download * Now everything is compiled with the gcc flag '-fvisibility=hidden' activated. That means that component exported symbols (GB_INIT, GB_EXIT, GB_CLASSES, GB, and optional component interface symbol) must be explicitely declared with the new EXPORT macro declared in gambas.h. Look in the source to know where to put EXPORT. I tried to put EXPORT everywhere it was needed, but I may forgot some. In this case, you will get an error when loading a component used by your project. You know where crying if you are in that case :-) * The gb.db.form component has been fixed and optimized. It now caches all the table definition, and so behaves far quicker when connecting to a non-local database. * CheckBox control now can be tristate. * The Sqlite version 2 driver returns. I forgot to put it in the last version. Only Nigel detected that :-) * Tables with more than about 30 fields do not crash the interpreter anymore. And other bug fixes of course... Enjoy it! -- Benoit Minisini From gambas at ...1... Thu Mar 2 14:27:58 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Mar 2006 14:27:58 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603021203.26149.gambas@...1...> References: <200603021203.26149.gambas@...1...> Message-ID: <200603021427.58908.gambas@...1...> On Thursday 02 March 2006 12:03, Benoit Minisini wrote: > What's new there? > > * You get a new component again!! gb.net.smtp, that allows to send mails, > with attachments, by using the SMTP protocol. > > Here is a quick example: > > --8<----------------------------------------------------------------------- > > DIM hSmtpClient AS NEW SmtpClient > > WITH hSmtpClient > > .Host = "smtp.wanadoo.fr" > .From = "gambas at ...764..." > .Subject = "This was sent by Gambas SMTP component!" > .To.Add("s.ballmer at ...1385...") > .Cc.Add("my.mother at ...67...") > > .Add("How are you? :-)", "text/plain;charset=utf-8") > .Add(File.Load("~/Documents/rose.jpg"), "image/jpeg", "rose.jpg") > .Add(File.Load("~/Documents/photo.jpg"), "image/jpeg", "photo.jpg") > .Add(File.Load("~/Documents/gambas-presentation.pdf"), > "application/pdf", "Gambas presentation") > > .Send() > > END WITH > > --8<----------------------------------------------------------------------- > > I wrote this component by taking the source code of libsmtp, whose > development has been dropped by its author apparently, and fixing many > bugs. > > I tested it only with KMail, so tell me if you have problems with other > mail clients. > > * The presentation made by Laurent and I for the french meeting 'Solutions > Linux 2006' becomes an OpenGL example. This example has its own package at > Sourceforge. You can download it at: > > http://prdownloads.sourceforge.net/gambas/Presentation-1.9.26.tar.gz?downlo >ad > > * Now everything is compiled with the gcc flag '-fvisibility=hidden' > activated. > > That means that component exported symbols (GB_INIT, GB_EXIT, GB_CLASSES, > GB, and optional component interface symbol) must be explicitely declared > with the new EXPORT macro declared in gambas.h. > > Look in the source to know where to put EXPORT. > > I tried to put EXPORT everywhere it was needed, but I may forgot some. In > this case, you will get an error when loading a component used by your > project. You know where crying if you are in that case :-) > And of course I forgot one EXPORT! Please download the source package again, I just fixed the problem... Sorry for the inconvenience! Regards, -- Benoit Minisini From jfabiani at ...1109... Thu Mar 2 17:27:21 2006 From: jfabiani at ...1109... (johnf) Date: Thu, 2 Mar 2006 08:27:21 -0800 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603021427.58908.gambas@...1...> References: <200603021203.26149.gambas@...1...> <200603021427.58908.gambas@...1...> Message-ID: <200603020827.21212.jfabiani@...1109...> On Thursday 02 March 2006 05:27, Benoit Minisini wrote: > EXPORT macro declared in gambas.h did you forget this too or have I the wrong download? "Cannot load component 'gb.qt.kde':/usr/local/lib/gambas2/gb.qt.kde.so: undefined symbol: GB_INIT" John From gambas at ...1... Thu Mar 2 17:35:02 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 2 Mar 2006 17:35:02 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603020827.21212.jfabiani@...1109...> References: <200603021203.26149.gambas@...1...> <200603021427.58908.gambas@...1...> <200603020827.21212.jfabiani@...1109...> Message-ID: <200603021735.02651.gambas@...1...> On Thursday 02 March 2006 17:27, johnf wrote: > On Thursday 02 March 2006 05:27, Benoit Minisini wrote: > > EXPORT macro declared in gambas.h > > did you forget this too or have I the wrong download? > "Cannot load component 'gb.qt.kde':/usr/local/lib/gambas2/gb.qt.kde.so: > undefined symbol: GB_INIT" > > John > Forgot... Don't strike me... Here is a patch for ./src/gb.qt.kde/src/ -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: main.cpp Type: text/x-c++src Size: 4623 bytes Desc: not available URL: From joe1962 at ...626... Thu Mar 2 17:36:01 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Thu, 2 Mar 2006 11:36:01 -0500 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603021203.26149.gambas@...1...> References: <200603021203.26149.gambas@...1...> Message-ID: <6c208f950603020836v6f56fd0al25ab73525bc7778@...627...> On 3/2/06, Benoit Minisini wrote: > What's new there? > > * You get a new component again!! gb.net.smtp, that allows to send mails, with > attachments, by using the SMTP protocol. Great Benoit! Now we need gb.net.pop3 (hint, hint) ;). Regards, Joe1962 From jfabiani at ...1109... Thu Mar 2 18:12:33 2006 From: jfabiani at ...1109... (johnf) Date: Thu, 2 Mar 2006 09:12:33 -0800 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603021735.02651.gambas@...1...> References: <200603021203.26149.gambas@...1...> <200603020827.21212.jfabiani@...1109...> <200603021735.02651.gambas@...1...> Message-ID: <200603020912.33596.jfabiani@...1109...> On Thursday 02 March 2006 08:35, Benoit Minisini wrote: > On Thursday 02 March 2006 17:27, johnf wrote: > > On Thursday 02 March 2006 05:27, Benoit Minisini wrote: > > > EXPORT macro declared in gambas.h > > > > did you forget this too or have I the wrong download? > > "Cannot load component 'gb.qt.kde':/usr/local/lib/gambas2/gb.qt.kde.so: > > undefined symbol: GB_INIT" > > > > John > > Forgot... Don't strike me... > > Here is a patch for ./src/gb.qt.kde/src/ Works now - thanks John From sourceforge-raindog2 at ...94... Thu Mar 2 19:08:29 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 2 Mar 2006 13:08:29 -0500 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <6c208f950603020836v6f56fd0al25ab73525bc7778@...627...> References: <200603021203.26149.gambas@...1...> <6c208f950603020836v6f56fd0al25ab73525bc7778@...627...> Message-ID: <200603021308.29987.sourceforge-raindog2@...94...> On Thu March 2 2006 11:36, Jose J. Rodriguez wrote: > Great Benoit! Now we need gb.net.pop3 (hint, hint) ;). I think sending mail is far more common in applications that aren't mail clients than receiving mail is.... Rob From mwebb at ...1362... Thu Mar 2 14:54:15 2006 From: mwebb at ...1362... (mike webb) Date: Thu, 02 Mar 2006 13:54:15 +0000 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603021308.29987.sourceforge-raindog2@...94...> References: <200603021203.26149.gambas@...1...> <6c208f950603020836v6f56fd0al25ab73525bc7778@...627...> <200603021308.29987.sourceforge-raindog2@...94...> Message-ID: <4406F907.90900@...1362...> i agree, i'm using a little smtp gambas app now, sends reminder e-mails out to my co-workers once a day. will be cool when gambas 2.0 stable comes out and i can start using this new component. when is 2.0 coming out, i heard during *the Ides of March :) just kidding, no flames please. *Rob Kudla wrote: >On Thu March 2 2006 11:36, Jose J. Rodriguez wrote: > > >>Great Benoit! Now we need gb.net.pop3 (hint, hint) ;). >> >> > >I think sending mail is far more common in applications that >aren't mail clients than receiving mail is.... > >Rob > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From joe1962 at ...626... Thu Mar 2 21:13:32 2006 From: joe1962 at ...626... (Jose J. Rodriguez) Date: Thu, 2 Mar 2006 15:13:32 -0500 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603021308.29987.sourceforge-raindog2@...94...> References: <200603021203.26149.gambas@...1...> <6c208f950603020836v6f56fd0al25ab73525bc7778@...627...> <200603021308.29987.sourceforge-raindog2@...94...> Message-ID: <6c208f950603021213g5332436aqa24b730caa0ece4d@...627...> I guess my request comes from making apps in VB6 that that send and receive info between them by email (or receive data from and send commands to an appliance). There are a lot of examples of receiving commands by email, take mailing list software, for instance, though my use is more related to automation. Regards, Joe1962 On 3/2/06, Rob Kudla wrote: > On Thu March 2 2006 11:36, Jose J. Rodriguez wrote: > > Great Benoit! Now we need gb.net.pop3 (hint, hint) ;). > > I think sending mail is far more common in applications that > aren't mail clients than receiving mail is.... > From francesco.difusco at ...69... Thu Mar 2 22:00:56 2006 From: francesco.difusco at ...69... (difusco_francesco@tiscali.it) Date: Thu, 2 Mar 2006 22:00:56 +0100 Subject: [Gambas-user] Cannot load class 'TimeBox': Unable to load class file Message-ID: ---------- Initial Header ----------- From gambas at ...1... Fri Mar 3 07:28:32 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Mar 2006 07:28:32 +0100 Subject: [Gambas-user] Cannot load class 'TimeBox': Unable to load class file In-Reply-To: References: Message-ID: <200603030728.32345.gambas@...1...> On Thursday 02 March 2006 22:00, difusco_francesco at ...152... wrote: > ---------- Initial Header ----------- > > From : gambas-user-admin at lists.sourceforge.net > To : gambas-user at lists.sourceforge.net > Cc : > Date : Thu, 2 Mar 2006 17:35:02 +0100 > Subject : Re: [Gambas-user] Release of gambas 1.9.26 > > I have downloaded 1.9.26, and I get this error message when I try to run > gambas: Cannot load class 'TimeBox': Unable to load class file Now I am not > able to run Gambas. > > Francesco > Can you download the source package again, and recompile it? It should be OK. Regards, -- Benoit Minisini From gambas at ...1... Fri Mar 3 07:29:02 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 3 Mar 2006 07:29:02 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603020912.33596.jfabiani@...1109...> References: <200603021203.26149.gambas@...1...> <200603021735.02651.gambas@...1...> <200603020912.33596.jfabiani@...1109...> Message-ID: <200603030729.02387.gambas@...1...> On Thursday 02 March 2006 18:12, johnf wrote: > On Thursday 02 March 2006 08:35, Benoit Minisini wrote: > > On Thursday 02 March 2006 17:27, johnf wrote: > > > On Thursday 02 March 2006 05:27, Benoit Minisini wrote: > > > > EXPORT macro declared in gambas.h > > > > > > did you forget this too or have I the wrong download? > > > "Cannot load component 'gb.qt.kde':/usr/local/lib/gambas2/gb.qt.kde.so: > > > undefined symbol: GB_INIT" > > > > > > John > > > > Forgot... Don't strike me... > > > > Here is a patch for ./src/gb.qt.kde/src/ > > Works now - thanks > John > I have just uploaded a fixed 1.9.26 source package. Regards, -- Benoit Minisini From patrick.jacquot at ...1387... Fri Mar 3 09:55:37 2006 From: patrick.jacquot at ...1387... (Patrick JACQUOT) Date: Fri, 03 Mar 2006 09:55:37 +0100 Subject: [Gambas-user] Latest RPM In-Reply-To: References: <1141258666.24050.1.camel@...1368...> <200603011941.02956.sourceforge-raindog2@...94...> Message-ID: <44080489.5030600@...1387...> Henri Girard wrote: > better i will put my rpms from fc5 somewere > and try them on the other pc > > ----- Original Message ----- From: "Henri Girard" > > To: > Sent: Thursday, March 02, 2006 8:45 AM > Subject: Re: [Gambas-user] Latest RPM > > >> good ... i will try... >> on fc5t3 vmplayer on windows i could compile last version of gambas.. >> but not on fc5 on my dual boot... >> i guess i missed some libs... >> Thanks >> Henri >> ----- Original Message ----- From: "Rob Kudla" >> >> To: >> Sent: Thursday, March 02, 2006 1:41 AM >> Subject: Re: [Gambas-user] Latest RPM >> >> >>> On Wed March 1 2006 19:17, GuruLounge - MailLists wrote: >>> >>>> I was curious what the latest stable version of Gambas is? >>>> Also are there any plans to make Fedora packages for it? >>> >>> >>> If someone has been making Fedora packages of Gambas (I assume >>> they have been), they haven't been announcing it here. You >>> could always take my Mandriva src.rpm and try rebuilding it, >>> though enough packages are named differently on Mandriva vs. >>> Fedora that you might have to edit the spec file. >>> >>> Rob >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by xPML, a groundbreaking scripting >>> language >>> that extends applications into web and mobile media. Attend the live >>> webcast >>> and join the prime developer group breaking into this new coding >>> territory! >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>> >>> _______________________________________________ >>> 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 xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> _______________________________________________ >> 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 xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Fedora packages are available on Extras (or is it on Livna) at least for FC4 (FC5 is still in test3) From francesco.difusco at ...69... Fri Mar 3 14:11:39 2006 From: francesco.difusco at ...69... (difusco_francesco@tiscali.it) Date: Fri, 3 Mar 2006 14:11:39 +0100 Subject: [Gambas-user] Cannot load class 'TimeBox': Unable to load class file Message-ID: ---------- Initial Header ----------- > Can you download the source package again, and recompile it? It should be OK. > I did it, but I still get this error message ERROR: #2: Cannot load class 'TimeBox': Unable to load class fi le Francesco From ronstk at ...239... Fri Mar 3 15:41:19 2006 From: ronstk at ...239... (ron) Date: Fri, 3 Mar 2006 15:41:19 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603030729.02387.gambas@...1...> References: <200603021203.26149.gambas@...1...> <200603020912.33596.jfabiani@...1109...> <200603030729.02387.gambas@...1...> Message-ID: <200603031541.20946.ronstk@...239...> On Friday 03 March 2006 07:29, Benoit Minisini wrote: > > I have just uploaded a fixed 1.9.26 source package. > > Regards, > Hello Benoit, I just download the latest, this one. I'm not sure I got the realy latest from the sf mirror. The propagation across the mirrors problem i'm afraid for. Please if you make the little corrections as the to patche s regarding the EXPORT increment the version or add at least a 'a', 'b', or 'c' to the version so we can see the mirror has the correct one. Else what should be the correct url to get the latest you did upload to sf ? ./src/gb.qt.kde/src/main.cpp is mar-2-17:32 ./config ended without errors. config.status: executing depfiles commands ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.db.odbc - gb.db.postgresql - gb.db.sqlite - gb.ldap - gb.pdf ************************************************************ then the first trial _make_ results in next report: terminator:/home/ron/src/gambas2-1.9.26 # make make all-recursive make[1]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26' Making all in main make[2]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main' make all-recursive make[3]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main' Making all in libltdl make[4]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/libltdl' make all-am make[5]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/libltdl' make[5]: Leaving directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/libltdl' make[4]: Leaving directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/libltdl' Making all in gbx make[4]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/gbx' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../sh are -I../libltdl -DGBX_INFO -pipe -Wall -fno-strict-aliasing -Wno-unused-value -f visibility=hidden -g -Os -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF ".deps/gb_la-gbx_c_ class.Tpo" -c -o gb_la-gbx_c_class.lo `test -f 'gbx_c_class.c' || echo './'`gbx_c_clas s.c; \ then mv -f ".deps/gb_la-gbx_c_class.Tpo" ".deps/gb_la-gbx_c_class.Plo"; else rm -f ".d eps/gb_la-gbx_c_class.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../share -I../libltdl -DGBX_INFO -pipe -Wall -fno- strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_class .lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c gbx_c_class.c -fPIC -DPIC -o .libs/gb_ la-gbx_c_class.o cc1: error: unrecognized option `-fvisibility=hidden' make[4]: *** [gb_la-gbx_c_class.lo] Error 1 make[4]: Leaving directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/mnt/hda6/ron/src/gambas2-1.9.26/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/mnt/hda6/ron/src/gambas2-1.9.26/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/hda6/ron/src/gambas2-1.9.26' make: *** [all] Error 2 terminator:/home/ron/src/gambas2-1.9.26 # After re-reading the README terminator:/home/ron/src/gambas2-1.9.26 # ./reconf /usr/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/local/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT terminator:/home/ron/src/gambas2-1.9.26 # make Same error now Any hint to look for beside download again. I wish to understand more what is going wrong cc1: error: unrecognized option `-fvisibility=hidden' Does this mean my compiler is not OK. terminator:/home/ron/src/gambas2-1.9.26 # cc -v Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.4/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux Thread model: posix gcc version 3.3.4 (pre 3.3.5 20040809) Greets Ron From maillists at ...1367... Fri Mar 3 17:49:36 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Fri, 03 Mar 2006 08:49:36 -0800 Subject: [Gambas-user] Latest RPM In-Reply-To: <44080489.5030600@...1387...> References: <1141258666.24050.1.camel@...1368...> <200603011941.02956.sourceforge-raindog2@...94...> <44080489.5030600@...1387...> Message-ID: <1141404576.3155.0.camel@...1368...> I noticed Fedora upgraded their gambas packages from 1.0.13 to 1.0.14. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Fri Mar 3 17:51:36 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Fri, 03 Mar 2006 08:51:36 -0800 Subject: [Gambas-user] Tracking mouse controls Message-ID: <1141404697.3155.3.camel@...1368...> I was wondering if it was possible to track mouse events outside of a form. I tried using a large form with a transparent mask but that didn't work. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Fri Mar 3 18:39:19 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 3 Mar 2006 12:39:19 -0500 Subject: [Gambas-user] Tracking mouse controls In-Reply-To: <1141404697.3155.3.camel@...1368...> References: <1141404697.3155.3.camel@...1368...> Message-ID: <200603031239.19872.sourceforge-raindog2@...94...> On Fri March 3 2006 11:51, GuruLounge - MailLists wrote: > I was wondering if it was possible to track mouse events > outside of a form. Qt makes the global mouse position available as QCursor::pos, but Gambas' gb.qt component doesn't expose this functionality. Qt will also let you grab the mouse pointer to trap all its events anywhere on the screen, but again, gb.qt doesn't have corresponding methods. Maybe a static "Mouse.GlobalX" and "Mouse.GlobalY" set of properties would be good for this, but as far as I know the Mouse class is only available when you're in a Mouse event. Rob From brian at ...1334... Fri Mar 3 20:32:03 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Fri, 03 Mar 2006 11:32:03 -0800 (PST) Subject: [Gambas-user] Tracking mouse controls In-Reply-To: <200603031239.19872.sourceforge-raindog2@...94...> References: <1141404697.3155.3.camel@...1368...> <200603031239.19872.sourceforge-raindog2@...94...> Message-ID: <20060303112505.D56940@...1337...> On Fri, 3 Mar 2006, Rob Kudla wrote: > On Fri March 3 2006 11:51, GuruLounge - MailLists wrote: > > I was wondering if it was possible to track mouse events > > outside of a form. > > Qt makes the global mouse position available as QCursor::pos, but > Gambas' gb.qt component doesn't expose this functionality. Qt > will also let you grab the mouse pointer to trap all its events > anywhere on the screen, but again, gb.qt doesn't have > corresponding methods. Perhaps gambas needs to implmenet a class to represent a shared library object via a gb.ld.so (or gb.dll in an eventual windows environment) component that provides access to the unix (or windows) shared library objects (via dlopen). This may be a useful addition rather than having to add gb.xxx.yyy.zzz for every exotic library that one might want to use within a gambas project. It may also be a way to access obscure library functions not currently supported by gambas, like the ability in the Qt libs to be able to track the mouse anywhere on the screen. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From sourceforge-raindog2 at ...94... Fri Mar 3 21:37:38 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 3 Mar 2006 15:37:38 -0500 Subject: [Gambas-user] Tracking mouse controls In-Reply-To: <20060303112505.D56940@...1337...> References: <1141404697.3155.3.camel@...1368...> <200603031239.19872.sourceforge-raindog2@...94...> <20060303112505.D56940@...1337...> Message-ID: <200603031537.38848.sourceforge-raindog2@...94...> On Fri March 3 2006 14:32, Christopher Brian Jack wrote: > Perhaps gambas needs to implmenet a class to represent a > shared library object via a gb.ld.so (or gb.dll in an eventual > windows environment) component that provides access to the > unix (or windows) shared library objects (via dlopen). This is already working in the development version, though I haven't tried it myself. But I don't know what happens if you try to dlopen Qt when your application is already using Qt. Rob From gambas at ...1... Sat Mar 4 01:26:54 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Mar 2006 01:26:54 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603031541.20946.ronstk@...239...> References: <200603021203.26149.gambas@...1...> <200603030729.02387.gambas@...1...> <200603031541.20946.ronstk@...239...> Message-ID: <200603040126.54466.gambas@...1...> On Friday 03 March 2006 15:41, ron wrote: > On Friday 03 March 2006 07:29, Benoit Minisini wrote: > > I have just uploaded a fixed 1.9.26 source package. > > > > Regards, > > Hello Benoit, > > I just download the latest, this one. > I'm not sure I got the realy latest from the sf mirror. > The propagation across the mirrors problem i'm afraid for. > Please if you make the little corrections as the to patche s > regarding the EXPORT increment the version or add at least a > 'a', 'b', or 'c' to the version so we can see the mirror has > the correct one. > Else what should be the correct url to get the latest you did > upload to sf ? > > ./src/gb.qt.kde/src/main.cpp is mar-2-17:32 > > ./config ended without errors. > config.status: executing depfiles commands > > ************************************************************ > THESE COMPONENTS ARE DISABLED: > - gb.corba > - gb.db.firebird > - gb.db.odbc > - gb.db.postgresql > - gb.db.sqlite > - gb.ldap > - gb.pdf > ************************************************************ > then the first trial _make_ results in next report: > > terminator:/home/ron/src/gambas2-1.9.26 # make > make all-recursive > make[1]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26' > Making all in main > make[2]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main' > make all-recursive > make[3]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main' > Making all in libltdl > make[4]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/libltdl' > make all-am > make[5]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/libltdl' > make[5]: Leaving directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/libltdl' > make[4]: Leaving directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/libltdl' > Making all in gbx > make[4]: Entering directory `/mnt/hda6/ron/src/gambas2-1.9.26/main/gbx' > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I.. -I../sh are -I../libltdl -DGBX_INFO -pipe > -Wall -fno-strict-aliasing -Wno-unused-value -f > visibility=hidden -g -Os -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF > ".deps/gb_la-gbx_c_ class.Tpo" -c -o > gb_la-gbx_c_class.lo `test -f 'gbx_c_class.c' || echo './'`gbx_c_clas > s.c; \ then mv -f ".deps/gb_la-gbx_c_class.Tpo" > ".deps/gb_la-gbx_c_class.Plo"; else rm -f ".d > eps/gb_la-gbx_c_class.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. > -I../share -I../libltdl -DGBX_INFO -pipe -Wall -fno- > strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os -O0 -MT > gb_la-gbx_c_class .lo -MD -MP -MF > .deps/gb_la-gbx_c_class.Tpo -c gbx_c_class.c -fPIC -DPIC -o .libs/gb_ > la-gbx_c_class.o cc1: error: unrecognized option > `-fvisibility=hidden' That means you must use a recent version of gcc (>= 4.0). If you can't, you must remove this option from the acinclude.m4 file, line 194 & 195. I will see if I can check the gcc version so that I use this option only if it is supported. Regards, -- Benoit Minisini From gambas at ...1... Sat Mar 4 01:27:57 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Mar 2006 01:27:57 +0100 Subject: [Gambas-user] Tracking mouse controls In-Reply-To: <200603031239.19872.sourceforge-raindog2@...94...> References: <1141404697.3155.3.camel@...1368...> <200603031239.19872.sourceforge-raindog2@...94...> Message-ID: <200603040127.58004.gambas@...1...> On Friday 03 March 2006 18:39, Rob Kudla wrote: > On Fri March 3 2006 11:51, GuruLounge - MailLists wrote: > > I was wondering if it was possible to track mouse events > > outside of a form. > > Qt makes the global mouse position available as QCursor::pos, but > Gambas' gb.qt component doesn't expose this functionality. Qt > will also let you grab the mouse pointer to trap all its events > anywhere on the screen, but again, gb.qt doesn't have > corresponding methods. > > Maybe a static "Mouse.GlobalX" and "Mouse.GlobalY" set of > properties would be good for this, but as far as I know the > Mouse class is only available when you're in a Mouse event. > > Rob > Try Mouse.ScreenX and Mouse.ScreenY :-) Regards, -- Benoit Minisini From sourceforge-raindog2 at ...94... Sat Mar 4 06:10:39 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sat, 4 Mar 2006 00:10:39 -0500 Subject: [Gambas-user] Tracking mouse controls In-Reply-To: <200603040127.58004.gambas@...1...> References: <1141404697.3155.3.camel@...1368...> <200603031239.19872.sourceforge-raindog2@...94...> <200603040127.58004.gambas@...1...> Message-ID: <200603040010.39540.sourceforge-raindog2@...94...> On Fri March 3 2006 19:27, Benoit Minisini wrote: > Try Mouse.ScreenX and Mouse.ScreenY :-) Aren't those only available in mouse events? Rob From gambas at ...1... Sat Mar 4 11:25:10 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Mar 2006 11:25:10 +0100 Subject: [Gambas-user] Tracking mouse controls In-Reply-To: <200603040010.39540.sourceforge-raindog2@...94...> References: <1141404697.3155.3.camel@...1368...> <200603040127.58004.gambas@...1...> <200603040010.39540.sourceforge-raindog2@...94...> Message-ID: <200603041125.10415.gambas@...1...> On Saturday 04 March 2006 06:10, Rob Kudla wrote: > On Fri March 3 2006 19:27, Benoit Minisini wrote: > > Try Mouse.ScreenX and Mouse.ScreenY :-) > > Aren't those only available in mouse events? > > Rob > No, you can use them everywhere. Regards, -- Benoit Minisini From brian at ...1334... Sat Mar 4 11:44:12 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Sat, 04 Mar 2006 02:44:12 -0800 (PST) Subject: [Gambas-user] Tracking mouse controls In-Reply-To: <200603031537.38848.sourceforge-raindog2@...94...> References: <1141404697.3155.3.camel@...1368...> <200603031239.19872.sourceforge-raindog2@...94...> <20060303112505.D56940@...1337...> <200603031537.38848.sourceforge-raindog2@...94...> Message-ID: <20060304023948.L60162@...1337...> On Fri, 3 Mar 2006, Rob Kudla wrote: > On Fri March 3 2006 14:32, Christopher Brian Jack wrote: > > Perhaps gambas needs to implmenet a class to represent a > > shared library object via a gb.ld.so (or gb.dll in an eventual > > windows environment) component that provides access to the > > unix (or windows) shared library objects (via dlopen). > > This is already working in the development version, though I > haven't tried it myself. But I don't know what happens if you > try to dlopen Qt when your application is already using Qt. How are libraries accesed? I'm using currently using Gambas 1.9.25 under debian (Sarge) linux. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From rohnny at ...1248... Sat Mar 4 13:50:48 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 4 Mar 2006 04:50:48 -0800 (PST) Subject: [Gambas-user] Add field Message-ID: <3237785.post@...1379...> I want to add one more field to a table , on the fly, without using database manager. How is this done? My thinking was. dim r as result dim htable as table try r = $conn.exec("select checkfield from mytable") if error.code <>0 then htable= $conn.tables["mytable"] htable.fields.add("checkfield",gb.integer) htable.update() end if This is not working as it should , I get error "Table already exist" -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Add-field-t1224081.html#a3237785 Sent from the gambas-user forum at Nabble.com. From benoit.minisini at ...2... Sat Mar 4 15:10:34 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Sat, 4 Mar 2006 15:10:34 +0100 Subject: [Gambas-user] Add field In-Reply-To: <3237785.post@...1379...> References: <3237785.post@...1379...> Message-ID: <200603041510.35184.benoit.minisini@...2...> On Saturday 04 March 2006 13:50, R. Stormo wrote: > I want to add one more field to a table , on the fly, without using > database manager. How is this done? > My thinking was. > dim r as result > dim htable as table > > try r = $conn.exec("select checkfield from mytable") > if error.code <>0 then > htable= $conn.tables["mytable"] > htable.fields.add("checkfield",gb.integer) > htable.update() > end if > > This is not working as it should , I get error "Table already exist" The gambas database component does not know how to add a field to an already existing table. You must do the same work as the database manager do: create a table with the new field added, copy the data from the old table to the new one, destroy the old table, and rename the new one. Regards, -- Benoit Minisini From reinhardohm at ...1389... Sat Mar 4 15:34:33 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Sat, 4 Mar 2006 15:34:33 +0100 Subject: [Gambas-user] Signal #6 Message-ID: <200603041534.33864.reinhard@...1390...> Hello, I gets an error message during execution of the following code Isn't that possible? "QPaintDevice: Must construct a QApplication before a QPaintDevice" ' Gambas module file PUBLIC myForm AS NEW Form AS "myForm" PUBLIC SUB Main() myForm.Show END PUBLIC SUB myForm_Open() WITH myForm .Height = 300 .Width = 400 END WITH END Gambas2 1.9.26 Gru? Me From gambas-user at lists.sourceforge.net Sat Mar 4 15:39:24 2006 From: gambas-user at lists.sourceforge.net (Werner Staudacher) Date: Sat, 04 Mar 2006 15:39:24 +0100 Subject: [Gambas-user] Add field In-Reply-To: <3237785.post@...1379...> References: <3237785.post@...1379...> Message-ID: <4409A69C.4060406@lists.sourceforge.net> R. Stormo schrieb: >I want to add one more field to a table , on the fly, without using database >manager. How is this done? >My thinking was. >dim r as result >dim htable as table > >try r = $conn.exec("select checkfield from mytable") >if error.code <>0 then > htable= $conn.tables["mytable"] > htable.fields.add("checkfield",gb.integer) > htable.update() >end if > >This is not working as it should , I get error "Table already exist" > > > > The easy way is DDL (Data Definition Language) I don't know if mySql can do it, i know only oracle and mssql. The Syntax is like "Alter table 'tablename' create 'fieldname' Type not null... etc...." Regards, Staudi From ronstk at ...239... Sat Mar 4 15:39:28 2006 From: ronstk at ...239... (ron) Date: Sat, 4 Mar 2006 15:39:28 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603040126.54466.gambas@...1...> References: <200603021203.26149.gambas@...1...> <200603031541.20946.ronstk@...239...> <200603040126.54466.gambas@...1...> Message-ID: <200603041539.29858.ronstk@...239...> On Saturday 04 March 2006 01:26, Benoit Minisini wrote: > On Friday 03 March 2006 15:41, ron wrote: > > On Friday 03 March 2006 07:29, Benoit Minisini wrote: > > > I have just uploaded a fixed 1.9.26 source package. > > > > > > Regards, > > ------8<--------- > > That means you must use a recent version of gcc (>= 4.0). > > If you can't, you must remove this option from the acinclude.m4 file, line 194 > & 195. > I have read some comments about 4.0 and up versus suse. :( I have with v 8.2 once done a update of the C compiler, it was hard work to get the orginal back, downgrade with yast was/is a bad job. So I decide to change the acinclude.m4 as told. ./reconf did not work out of the box, found the ./reconf-all and after long waiting has worked. > /usr/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT >? run info '(automake)Extending aclocal' >? or see http://sources.redhat.com/automake/automake.html#Extending-aclocal >/usr/local/share/aclocal/lqt.m4:14: warning: underquoted definition of AC_PATH_LQT Still this second message occurs very often. '/usr/share/aclocal/lqt.m4:14:' does that mean in 'lqt.m4' line 14 is a error or is it the place where the error detection is done for one of the gambas .m4 file? AC_PATH_LQT found only in lqt.m4 as: ------------------------------------------------------------- # Added LQT_PLUGIN_* variables for libquicktime dnl AC_PATH_LQT([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [USE-LQT- INCLUDES], [MODULES...]) dnl Test for libquicktime, and define LQT_CFLAGS, LQT_LIBS, LQT_PLUGIN_DIR, LQT_PLUGIN _CFLAGS, and LQT_PLUGIN_LIBS dnl AC_DEFUN(AC_PATH_LQT, [dnl dnl Get the cflags and libraries from the lqt-config script dnl AC_ARG_WITH(lqt-prefix,[ --with-lqt-prefix=PFX Prefix where libquicktime is install ed (optional)], lqt_prefix="$withval", lqt_prefix="") -------------------------------------------------------------- this is output from 'less' AC_DEFUN(AC_PATH_LQT, [dnl In the center of it the above text gives me a feeling there is something missing at [dnl or should it be read as ? AC_DEFUN(AC_PATH_LQT, [ dnl dnl ..... dnl found in libquicktime-devel-0.9.3-2.1 (SuSE9.2) * Tue Aug 17 2004 - kraxel at ...1391... - update to 0.9.3. * Thu Apr 22 2004 - kraxel at ...1391... - fix compiler warnings. * Wed Feb 11 2004 - kraxel at ...1391... - update to version 0.9.2. Any body can check this is correct. The only, quick check, link with gambas is the SDL component. > I will see if I can check the gcc version so that I use this option only if it > is supported. Would be nice, also icm the problems with first release of 4.0 > > Regards, > The compile was now without errors (the direct visible ones) I restart playing again Sam with 'gambas' after a long timeout :) --- Greets Ron From rohnny at ...1248... Sat Mar 4 15:52:21 2006 From: rohnny at ...1248... (R. Stormo) Date: Sat, 4 Mar 2006 06:52:21 -0800 (PST) Subject: [Gambas-user] Add field In-Reply-To: <4409A69C.4060406@lists.sourceforge.net> References: <3237785.post@...1379...> <4409A69C.4060406@lists.sourceforge.net> Message-ID: <3238875.post@...1379...> gambas-user mailing list wrote: > > R. Stormo schrieb: > >>I want to add one more field to a table , on the fly, without using database >>manager. How is this done? >>My thinking was. >>dim r as result >>dim htable as table >> >>try r = $conn.exec("select checkfield from mytable") >>if error.code <>0 then >> htable= $conn.tables["mytable"] >> htable.fields.add("checkfield",gb.integer) >> htable.update() >>end if >> >>This is not working as it should , I get error "Table already exist" >> >> >> >> > The easy way is DDL (Data Definition Language) > I don't know if mySql can do it, i know only oracle and mssql. > The Syntax is like "Alter table 'tablename' create 'fieldname' Type not > null... etc...." > > Regards, Staudi > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Thanks for the info. That did the trick. ALTER TABLE MyTable ADD NewField int4. Checked with database manager and the fields was in place. ;) -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Add-field-t1224081.html#a3238875 Sent from the gambas-user forum at Nabble.com. From benoit.minisini at ...2... Sat Mar 4 15:54:31 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Sat, 4 Mar 2006 15:54:31 +0100 Subject: [Gambas-user] Signal #6 In-Reply-To: <200603041534.33864.reinhard@...1390...> References: <200603041534.33864.reinhard@...1390...> Message-ID: <200603041554.31926.benoit.minisini@...2...> On Saturday 04 March 2006 15:34, Reinhard Ohm wrote: > Hello, > > I gets an error message during execution of the following code Isn't that > possible? > > "QPaintDevice: Must construct a QApplication before a QPaintDevice" > > > ' Gambas module file > > PUBLIC myForm AS NEW Form AS "myForm" > > > PUBLIC SUB Main() > > myForm.Show > > END > > > PUBLIC SUB myForm_Open() > > WITH myForm > .Height = 300 > .Width = 400 > END WITH > > END > > > Gambas2 1.9.26 > > Gru? > Me > Can you try this patch? Put it in the './src/main/gbx' directory. Regards, -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx.c Type: text/x-csrc Size: 6315 bytes Desc: not available URL: From reinhardohm at ...1389... Sat Mar 4 16:15:09 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Sat, 4 Mar 2006 16:15:09 +0100 Subject: [Gambas-user] Signal #6 In-Reply-To: <200603041554.31926.benoit.minisini@...2...> References: <200603041534.33864.reinhard@...1390...> <200603041554.31926.benoit.minisini@...2...> Message-ID: <200603041615.09353.reinhard@...1390...> Am Samstag, 4. M?rz 2006 15:54 schrieb Benoit Minisini: > On Saturday 04 March 2006 15:34, Reinhard Ohm wrote: > > Hello, > > > > I gets an error message during execution of the following code Isn't that > > possible? > > > > "QPaintDevice: Must construct a QApplication before a QPaintDevice" > > > > > > ' Gambas module file > > > > PUBLIC myForm AS NEW Form AS "myForm" > > > > > > PUBLIC SUB Main() > > > > myForm.Show > > > > END > > > > > > PUBLIC SUB myForm_Open() > > > > WITH myForm > > .Height = 300 > > .Width = 400 > > END WITH > > > > END > > > > > > Gambas2 1.9.26 > > > > Gru? > > Me > > Can you try this patch? Put it in the './src/main/gbx' directory. > > Regards, yes , bud :) gbx.c:74: undefined reference to `MATH_init' :( Gru? Reinhard From lordheavy at ...512... Sat Mar 4 16:20:12 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 4 Mar 2006 16:20:12 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603041539.29858.ronstk@...239...> References: <200603021203.26149.gambas@...1...> <200603040126.54466.gambas@...1...> <200603041539.29858.ronstk@...239...> Message-ID: <200603041620.12487.lordheavy@...512...> Le Samedi 4 Mars 2006 15:39, ron a ?crit?: > > > That means you must use a recent version of gcc (>= 4.0). > > > > If you can't, you must remove this option from the acinclude.m4 file, > > line 194 & 195. > > I have read some comments about 4.0 and up versus suse. :( > I have with v 8.2 once done a update of the C compiler, it was hard work > to get the orginal back, downgrade with yast was/is a bad job. > So I decide to change the acinclude.m4 as told. > ./reconf did not work out of the box, found the ./reconf-all and after long > waiting has worked. > It's really better to modify acinclude.m4 instead of trying to update "by hand" your compiler. Or if you have multiple gcc/g++ installed, you can force usage of gcc version with CC and CXX variable before usage of ./configure like : 'CC=gcc-4.0 CXX=g++-4.0 ./configure' Of course your linux distro can provide some utility like gentoo's gcc-config utility. What is the problem with ./reconf ? > > /usr/share/aclocal/lqt.m4:14: warning: underquoted definition of > > AC_PATH_LQT run info '(automake)Extending aclocal' > >? or see > > http://sources.redhat.com/automake/automake.html#Extending-aclocal > > /usr/local/share/aclocal/lqt.m4:14: warning: underquoted definition of > > AC_PATH_LQT > This is only warning, about automake complaining about some deprecated function/... with your current version of automake/autotools. This problem doesn't come from acinclude.m4 gambas file, but with m4 macro provide from "lqt"' lib. > Any body can check this is correct. > The only, quick check, link with gambas is the SDL component. > ??? > > I will see if I can check the gcc version so that I use this option only > > if it is supported. > > Would be nice, also icm the problems with first release of 4.0 > > > Regards, > > The compile was now without errors (the direct visible ones) > I restart playing again Sam with 'gambas' after a long timeout :) > Great ! > --- > Greets Ron > Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From benoit.minisini at ...2... Sat Mar 4 16:55:35 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Sat, 4 Mar 2006 16:55:35 +0100 Subject: [Gambas-user] Signal #6 In-Reply-To: <200603041615.09353.reinhard@...1390...> References: <200603041534.33864.reinhard@...1390...> <200603041554.31926.benoit.minisini@...2...> <200603041615.09353.reinhard@...1390...> Message-ID: <200603041655.36030.benoit.minisini@...2...> On Saturday 04 March 2006 16:15, Reinhard Ohm wrote: > Am Samstag, 4. M?rz 2006 15:54 schrieb Benoit Minisini: > > On Saturday 04 March 2006 15:34, Reinhard Ohm wrote: > > > Hello, > > > > > > I gets an error message during execution of the following code Isn't > > > that possible? > > > > > > "QPaintDevice: Must construct a QApplication before a QPaintDevice" > > > > > > > > > ' Gambas module file > > > > > > PUBLIC myForm AS NEW Form AS "myForm" > > > > > > > > > PUBLIC SUB Main() > > > > > > myForm.Show > > > > > > END > > > > > > > > > PUBLIC SUB myForm_Open() > > > > > > WITH myForm > > > .Height = 300 > > > .Width = 400 > > > END WITH > > > > > > END > > > > > > > > > Gambas2 1.9.26 > > > > > > Gru? > > > Me > > > > Can you try this patch? Put it in the './src/main/gbx' directory. > > > > Regards, > > yes , bud :) > > gbx.c:74: undefined reference to `MATH_init' :( > > Gru? > > Reinhard > oops, sorry. Just remove the offending line. Regards, -- Benoit Minisini From reinhardohm at ...1389... Sat Mar 4 17:18:32 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Sat, 4 Mar 2006 17:18:32 +0100 Subject: [Gambas-user] Signal #6 In-Reply-To: <200603041655.36030.benoit.minisini@...2...> References: <200603041534.33864.reinhard@...1390...> <200603041615.09353.reinhard@...1390...> <200603041655.36030.benoit.minisini@...2...> Message-ID: <200603041718.32392.reinhard@...1390...> Am Samstag, 4. M?rz 2006 16:55 schrieb Benoit Minisini: > On Saturday 04 March 2006 16:15, Reinhard Ohm wrote: > > Am Samstag, 4. M?rz 2006 15:54 schrieb Benoit Minisini: > > > On Saturday 04 March 2006 15:34, Reinhard Ohm wrote: > > > > Hello, > > > > > > > > I gets an error message during execution of the following code Isn't > > > > that possible? > > > > > > > > "QPaintDevice: Must construct a QApplication before a QPaintDevice" > > > > > > > > > > > > ' Gambas module file > > > > > > > > PUBLIC myForm AS NEW Form AS "myForm" > > > > > > > > > > > > PUBLIC SUB Main() > > > > > > > > myForm.Show > > > > > > > > END > > > > > > > > > > > > PUBLIC SUB myForm_Open() > > > > > > > > WITH myForm > > > > .Height = 300 > > > > .Width = 400 > > > > END WITH > > > > > > > > END > > > > > > > > > > > > Gambas2 1.9.26 > > > > > > > > Gru? > > > > Me > > > > > > Can you try this patch? Put it in the './src/main/gbx' directory. > > > > > > Regards, > > > > yes , bud :) > > > > gbx.c:74: undefined reference to `MATH_init' :( > > > > Gru? > > > > Reinhard > > oops, sorry. Just remove the offending line. > > Regards, yeess suppi :) From ronstk at ...239... Sat Mar 4 17:18:20 2006 From: ronstk at ...239... (ron) Date: Sat, 4 Mar 2006 17:18:20 +0100 Subject: [Gambas-user] Release of gambas 1.9.26 In-Reply-To: <200603041620.12487.lordheavy@...512...> References: <200603021203.26149.gambas@...1...> <200603041539.29858.ronstk@...239...> <200603041620.12487.lordheavy@...512...> Message-ID: <200603041718.21307.ronstk@...239...> On Saturday 04 March 2006 16:20, Laurent Carlier wrote: > Le Samedi 4 Mars 2006 15:39, ron a ?crit?: > > > > > That means you must use a recent version of gcc (>= 4.0). > > > > > > If you can't, you must remove this option from the acinclude.m4 file, > > > line 194 & 195. > > > > I have read some comments about 4.0 and up versus suse. :( > > I have with v 8.2 once done a update of the C compiler, it was hard work > > to get the orginal back, downgrade with yast was/is a bad job. > > So I decide to change the acinclude.m4 as told. > > ./reconf did not work out of the box, found the ./reconf-all and after long > > waiting has worked. > > > > It's really better to modify acinclude.m4 instead of trying to update "by > hand" your compiler. Or if you have multiple gcc/g++ installed, you can force > usage of gcc version with CC and CXX variable before usage of ./configure > like : > 'CC=gcc-4.0 CXX=g++-4.0 ./configure' > Of course your linux distro can provide some utility like gentoo's gcc-config > utility. > > What is the problem with ./reconf ? It did not cleanup the already existen makefiles in the subdirs with -fvisibil stuff ./reconf-all did it OK as far I know could follow, and the compile error was gone. > > > > /usr/share/aclocal/lqt.m4:14: warning: underquoted definition of > > > AC_PATH_LQT run info '(automake)Extending aclocal' > > >? or see > > > http://sources.redhat.com/automake/automake.html#Extending-aclocal > > > /usr/local/share/aclocal/lqt.m4:14: warning: underquoted definition of > > > AC_PATH_LQT > > > > This is only warning, about automake complaining about some deprecated > function/... with your current version of automake/autotools. This problem > doesn't come from acinclude.m4 gambas file, but with m4 macro provide from > "lqt"' lib. Yes I found that already, but it looks to me more a syntax error in the file. Maybe I can fix it else the question is will the SDL component get troubles? I think that part of code is not deprecated but add as patch for another problem. For now I wil let it _as is_ > > > Any body can check this is correct. > > The only, quick check, link with gambas is the SDL component. > > > > ??? I found only there in a quick way a reference to libquicktime > > > > I will see if I can check the gcc version so that I use this option only > > > if it is supported. > > > > Would be nice, also icm the problems with first release of 4.0 > > > > > Regards, > > > > The compile was now without errors (the direct visible ones) > > I restart playing again Sam with 'gambas' after a long timeout :) > > > > Great ! > --- Greets happy Ron From maillists at ...1367... Sat Mar 4 18:14:29 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Sat, 04 Mar 2006 09:14:29 -0800 Subject: [Gambas-user] Tracking mouse controls Message-ID: <1141492469.7714.2.camel@...1368...> I did a test using a timer to track mouse movements on the screen -- which works fine -- but I can't seem to track when the mouse button is pressed (regardless of location). I receive the message "no mouse event data". It would seem the mouse button events (left, middle and right) could be tracked as well as the mouse screen locations. Any ideas? Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Sat Mar 4 20:44:10 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sat, 4 Mar 2006 14:44:10 -0500 Subject: [Gambas-user] Tracking mouse controls In-Reply-To: <20060304023948.L60162@...1337...> References: <1141404697.3155.3.camel@...1368...> <200603031537.38848.sourceforge-raindog2@...94...> <20060304023948.L60162@...1337...> Message-ID: <200603041444.11202.sourceforge-raindog2@...94...> On Sat March 4 2006 05:44, Christopher Brian Jack wrote: > How are libraries accesed? I'm using currently using Gambas > 1.9.25 under debian (Sarge) linux. With six recently added commands/functions: alloc, EXTERN, free, LIBRARY, realloc, and strptr. http://www.gambasdoc.org/help/cat/extern Rob From reinhardohm at ...1389... Sat Mar 4 21:37:15 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Sat, 4 Mar 2006 21:37:15 +0100 Subject: [Gambas-user] Array Message-ID: <200603042137.16060.reinhard@...1390...> Hello can it be that the array function does not function or I is too stupid? (bad english, sorry) DIM myBla as String[] myBla= Array("0", "1", "2", "3") Unknown identifier: Array From reinhardohm at ...1389... Sat Mar 4 21:37:15 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Sat, 4 Mar 2006 21:37:15 +0100 Subject: [Gambas-user] Array Message-ID: <200603042137.16060.reinhard@...1390...> Hello can it be that the array function does not function or I is too stupid? (bad english, sorry) DIM myBla as String[] myBla= Array("0", "1", "2", "3") Unknown identifier: Array From na2492 at ...9... Sat Mar 4 22:56:50 2006 From: na2492 at ...9... (Charlie Reinl) Date: Sat, 04 Mar 2006 22:56:50 +0100 Subject: [Gambas-user] Add field In-Reply-To: <200603041510.35184.benoit.minisini@...2...> References: <3237785.post@...1379...> <200603041510.35184.benoit.minisini@...2...> Message-ID: <1141509410.7202.30.camel@...37...> Am Samstag, den 04.03.2006, 15:10 +0100 schrieb Benoit Minisini: > On Saturday 04 March 2006 13:50, R. Stormo wrote: > > I want to add one more field to a table , on the fly, without using > > database manager. How is this done? > > My thinking was. > > dim r as result > > dim htable as table > > > > try r = $conn.exec("select checkfield from mytable") > > if error.code <>0 then > > htable= $conn.tables["mytable"] > > htable.fields.add("checkfield",gb.integer) > > htable.update() > > end if > > > > This is not working as it should , I get error "Table already exist" > > The gambas database component does not know how to add a field to an already > existing table. > > You must do the same work as the database manager do: create a table with the > new field added, copy the data from the old table to the new one, destroy the > old table, and rename the new one. Do others, do it in a different way ? Oh, yes if I remember well DBase could it, but not shure. Charlie > > Regards, > From gambas at ...1229... Sun Mar 5 02:09:12 2006 From: gambas at ...1229... (Fabricio Santos) Date: Sun, 05 Mar 2006 02:09:12 +0100 Subject: [Gambas-user] gambas and vnc In-Reply-To: <200602281652.23790.gambas@...1...> References: <4404153F.1090506@...1362...> <200602281652.23790.gambas@...1...> Message-ID: <1141520952.9213.14.camel@...37...> Viva, Another possibility, which in my opinion is a much cleaner approach, would be to run a X server on the XP box and then use XDMCP to allow the application to be run directly on the XP machine. Further reading reading: http://x.cygwin.com/ http://x.cygwin.com/docs/ug/using-remote-session.html http://en.tldp.org/HOWTO/XDMCP-HOWTO/ Why is it a cleaner approach? Because X was done from the start to just do what you need and any other solution is just a workaround. Now, the configuration of all this is not trivial but once done will work like a charm. Of course this has nothing to do with Gambas anymore and this message is now totaly off topic... :-) -fs Ter, 2006-02-28 ?s 16:52 +0100, Benoit Minisini escreveu: > On Tuesday 28 February 2006 10:17, mike webb wrote: > > wrote a little program in gambas that seems to be working so far. > > i have a question about vnc though. > > the user is running a winxp computer, he logs into my linux machine > > using tightvnc. > > the moment the gnome desktop pops up on his screen i can see the look of > > confusion on his face. > > what i would really like is for my just my program to pop up on his > > screen, it would be easier for him if it looked > > as much as possiable like a reglure windows app running on his pc. > > i didn't think doing that would be possiable but after reading about the > > "gambas as a window manager" mail and finding > > out that you only need an x session to run gambas i got to thinking > > maybe it could be done. > > this is what i have in the xstartup file on my linux machine now. > > unset SESSION_MANAGER > > exec etc/X11/xinit/xinitrc > > > > anyone know how to change this to give the xp user the illison that > > their running an windows program on their own computer and not a linux > > program on another computer. > > > > I don't know how Qt applications behave without a window manager. But if you > are the only one application launched, you should have the keyboard focus. > Then you just need to be maximized. I don't know if Desktop.Width and > Desktop.Height are accurated without a window manager. > > The better I think, would be running a window manager (a light one), and > running the gambas application fullscreen. > > Please try, and describe me your experience. > > Regards, > From benoit.minisini at ...2... Sun Mar 5 23:19:13 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Sun, 5 Mar 2006 23:19:13 +0100 Subject: [Gambas-user] Array In-Reply-To: <200603042137.16060.reinhard@...1390...> References: <200603042137.16060.reinhard@...1390...> Message-ID: <200603052319.13216.benoit.minisini@...2...> On Saturday 04 March 2006 21:37, Reinhard Ohm wrote: > Hello > > can it be that the array function does not function or I is too stupid? > (bad english, sorry) > > DIM myBla as String[] > > myBla= Array("0", "1", "2", "3") > > Unknown identifier: Array > > Array() was removed in the last development version. Use '[' & ']'. Regards, -- Benoit Minisini From fidojones at ...805... Mon Mar 6 00:00:38 2006 From: fidojones at ...805... (Lorenzo Tejera) Date: Mon, 6 Mar 2006 00:00:38 +0100 (CET) Subject: [Gambas-user] unknown identifer: Array ??? bug? Message-ID: <54688.85.155.40.83.1141599638.squirrel@...1316...> Perhaps night confuse me, but I probed the gambasdoc example in version 1.9.25 and 1.9.26 PRINT Object.Type(Array(2.4, 3, 3.2)) With this result as unknown identifer: Array ??? so Array not works in the last version ? is a bug? I need to sleep more lorenzo From fidojones at ...805... Mon Mar 6 00:44:09 2006 From: fidojones at ...805... (Lorenzo Tejera) Date: Mon, 6 Mar 2006 00:44:09 +0100 (CET) Subject: [Gambas-user] Array In-Reply-To: <200603052319.13216.benoit.minisini@...2...> References: <200603042137.16060.reinhard@...1390...> <200603052319.13216.benoit.minisini@...2...> Message-ID: <54599.85.155.40.83.1141602249.squirrel@...1316...> DIM myBla AS String[] myBla = Array["0", "1", "2", "3"] with [] not work , gambas 1.9.26 , unknown identifier array regards lorenzo El Dom, 5 de Marzo de 2006, 23:19, Benoit Minisini escribi?: > On Saturday 04 March 2006 21:37, Reinhard Ohm wrote: > >> Hello >> >> >> can it be that the array function does not function or I is too stupid? >> (bad english, sorry) >> >> >> DIM myBla as String[] >> >> >> myBla= Array("0", "1", "2", "3") >> >> Unknown identifier: Array >> >> >> > > Array() was removed in the last development version. Use '[' & ']'. > > > Regards, > > > -- > Benoit Minisini > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From sourceforge-raindog2 at ...94... Mon Mar 6 01:31:58 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 5 Mar 2006 19:31:58 -0500 Subject: [Gambas-user] gambas and vnc In-Reply-To: <1141520952.9213.14.camel@...37...> References: <4404153F.1090506@...1362...> <200602281652.23790.gambas@...1...> <1141520952.9213.14.camel@...37...> Message-ID: <200603051931.58906.sourceforge-raindog2@...94...> On Sat March 4 2006 20:09, Fabricio Santos wrote: > Another possibility, which in my opinion is a much cleaner > approach, would be to run a X server on the XP box and then > use XDMCP to allow the application to be run directly on the > XP machine. We've done that before. Even on a 100 megabit network, this can get a bit laggy at times compared to VNC; freenx is usually a lot faster than either one. But you're right, that applies to any kind of GUI app, not just Gambas apps. Rob From lordheavy at ...512... Mon Mar 6 01:39:21 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 6 Mar 2006 01:39:21 +0100 Subject: [Gambas-user] Array In-Reply-To: <54599.85.155.40.83.1141602249.squirrel@...1316...> References: <200603042137.16060.reinhard@...1390...> <200603052319.13216.benoit.minisini@...2...> <54599.85.155.40.83.1141602249.squirrel@...1316...> Message-ID: <200603060139.21651.lordheavy@...512...> Le Lundi 6 Mars 2006 00:44, Lorenzo Tejera a ?crit?: > DIM myBla AS String[] > > myBla = Array["0", "1", "2", "3"] > > with [] not work , gambas 1.9.26 , unknown identifier array > > regards > > lorenzo > Perhaps something like that :-) PUBLIC SUB Main() DIM toto AS String[] toto = ["ee", "aa", "bb"] PRINT Object.Type(["ee", "aa", "bb"]) END Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From thierry at ...342... Sun Mar 5 12:10:03 2006 From: thierry at ...342... (Thierry Thomas) Date: Sun, 5 Mar 2006 12:10:03 +0100 Subject: [Gambas-user] RE: FreeBSD 6.0 and Gambas 2 In-Reply-To: References: Message-ID: <20060305111003.GC22652@...343...> Le Dim 15 jan 06 ? 19:35:00 +0100, Niko ?crivait?: > Hello everybody ! Hello, > Somebody have been successful compiled and running Gambas 2 under > FreeBSD 6.0 ??? I have tried to port Gambas 2, and I have patches to make it build successfully. The examples compile and run fine, but I cannot run the IDE gambas2 (nor gambas2-with-editor): when opening a project, it fails with the messages "Not an object" "CComponent.Reset.607" Same error when trying to create a new project. No aborts, no core, no backtrace when running gdb gbx2... Any idea? Regards, -- Th. Thomas. From rohnny at ...1248... Sun Mar 5 12:13:46 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 5 Mar 2006 03:13:46 -0800 (PST) Subject: [Gambas-user] sql query year problem Message-ID: <3247550.post@...1379...> Looking for a solution to select records from a choosen year. Would be perfect if the same sql works for postgres and sqlite3 In MsSql it would be done like this. SELECT id, dato FROM mytable WHERE year(dato)=2006 -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/sql-query-year-problem-t1227953.html#a3247550 Sent from the gambas-user forum at Nabble.com. From rohnny at ...1248... Sun Mar 5 12:13:46 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 5 Mar 2006 03:13:46 -0800 (PST) Subject: [Gambas-user] sql query year problem Message-ID: <3247550.post@...1379...> Looking for a solution to select records from a choosen year. Would be perfect if the same sql works for postgres and sqlite3 In MsSql it would be done like this. SELECT id, dato FROM mytable WHERE year(dato)=2006 -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/sql-query-year-problem-t1227953.html#a3247550 Sent from the gambas-user forum at Nabble.com. From rohnny at ...1248... Sun Mar 5 12:13:46 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 5 Mar 2006 03:13:46 -0800 (PST) Subject: [Gambas-user] sql query year problem Message-ID: <3247550.post@...1379...> Looking for a solution to select records from a choosen year. Would be perfect if the same sql works for postgres and sqlite3 In MsSql it would be done like this. SELECT id, dato FROM mytable WHERE year(dato)=2006 -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/sql-query-year-problem-t1227953.html#a3247550 Sent from the gambas-user forum at Nabble.com. From a.ciric at ...1147... Sun Mar 5 14:57:51 2006 From: a.ciric at ...1147... (Alex Ciric) Date: Sun, 05 Mar 2006 14:57:51 +0100 Subject: [Gambas-user] Using the 1.9.x on Ubuntu /Deb. unstable ?! In-Reply-To: <4404153F.1090506@...1362...> References: <4404153F.1090506@...1362...> Message-ID: <440AEE5F.7050301@...1147...> Hi together. at the moment i am using Gambas 1.9.x on Debian Sarge. On my notebook i am using Debian unstable. Unfortunately, the Apt-repositories from Debian Unstable (also Ubuntu 5.10) contain only the Gambas 1.0.x version. So i added the official Gambas repository from Jose. Now i had the dev-packages available. But if i choose to install these packages, APT tells me that there are version conflicts with 1.0.x. Is there a way to force the installation of the dev-packages witch synaptic? BTW. When will the 1.9.x branch be stable? I built my whole app around it, and i dont want to change the whole app back to the stable branch... BTW2: i built a little CRM with gambas. At the moment i am able to manage customer addresses and a few more details. Also it is possible to save unlimited infos about the customer as for example memos (including time/date and dialogue partner), contact persons and bank accounts for every customer. In the next time i plan to embed OpenOffice2 Sessions for automatic invoices and letter templates. Is there anyone who wants to help? Thanks in advance. Alex From rohnny at ...1248... Sun Mar 5 15:14:29 2006 From: rohnny at ...1248... (Rohnny Stormo) Date: Sun, 05 Mar 2006 15:14:29 +0100 Subject: [Gambas-user] sql query year problem Message-ID: <440AF245.4070507@...1248...> Maybee posted two times, looks like there is problems with listserver at nabble.com and sourceforge.net. So I email my question. The Question: Looking for a solution to select records from a choosen year. Would be perfect if the same sql works for postgres and sqlite3 In MsSql it would be done like this. SELECT id, dato FROM mytable WHERE year(dato)=2006 -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no From reinhardohm at ...1389... Sun Mar 5 19:35:48 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Sun, 5 Mar 2006 19:35:48 +0100 Subject: [Gambas-user] readlink and hex to decimal Message-ID: <200603051935.48534.reinhard@...1390...> Hallo || Hello Benoit is it possible which you sees for appendix or something similar could insert? function the Hex in decimal converts would be also quite beautiful Gambas2 1.9.26 Gru? || Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx_c_file.diff Type: text/x-diff Size: 2164 bytes Desc: not available URL: From ronstk at ...239... Mon Mar 6 02:25:05 2006 From: ronstk at ...239... (ron) Date: Mon, 6 Mar 2006 02:25:05 +0100 Subject: [Gambas-user] unknown identifer: Array ??? bug? In-Reply-To: <54688.85.155.40.83.1141599638.squirrel@...1316...> References: <54688.85.155.40.83.1141599638.squirrel@...1316...> Message-ID: <200603060225.05802.ronstk@...239...> On Monday 06 March 2006 00:00, Lorenzo Tejera wrote: > Perhaps night confuse me, but I probed the gambasdoc example in version > 1.9.25 and 1.9.26 > > PRINT Object.Type(Array(2.4, 3, 3.2)) > > With this result as > > unknown identifer: Array ??? > > so Array not works in the last version ? is a bug? > > I need to sleep more > lorenzo > You got answer from Benoit: Array() was removed in the last development version. Use '[' & ']'. @Benoit: The Array() construction is more basic as the java '[' & ']' version. Now the documentation is, i'm afraid, wrong on many places in the wiki. ----------------------- >DIM myBla AS String[] > >?myBla = Array["0", "1", "2", "3"] > >with [] not work , gambas 1.9.26 , unknown identifier array > >regards > >lorenzo Read carefull after comma ->> _unknown identifier array_ The interpreter does not know array with '(' or '[' ---------------------- >Perhaps something like that :-) > >PUBLIC SUB Main() > >? DIM toto AS String[] >? >? toto = ["ee", "aa", "bb"] >? >? PRINT Object.Type(["ee", "aa", "bb"]) >? >END you have got that message because you answer > Perhaps night confuse me, but I probed the gambasdoc example in version > 1.9.25 and 1.9.26 > >? PRINT Object.Type(Array(2.4, 3, 3.2)) > > With this result as > > unknown identifer: Array ??? > > so Array not works in the last version ? is a bug? > > I need to sleep more > lorenzo Why are you using ->> PRINT Object.Type(Array("ee", "aa", "bb")) as the example told you ->> PRINT Object.Type(["ee", "aa", "bb"]) and still no light ->> > unknown identifer: Array ??? note: you using the (latest) development version. Try exact the example from Laurent Carlier, that should work. Sleep well and tomorrow fresh again :) Ron From sourceforge-raindog2 at ...94... Mon Mar 6 04:35:28 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 5 Mar 2006 22:35:28 -0500 Subject: [Gambas-user] sql query year problem In-Reply-To: <440AF245.4070507@...1248...> References: <440AF245.4070507@...1248...> Message-ID: <200603052235.28546.sourceforge-raindog2@...94...> On Sun March 5 2006 09:14, Rohnny Stormo wrote: > Looking for a solution to select records from a choosen year. > Would be perfect if the same sql works for postgres and > sqlite3 In MsSql it would be done like this. > SELECT id, dato FROM mytable WHERE year(dato)=2006 Date functions aren't part of the SQL specification, as far as I know, and Sqlite has a much more minimal syntax than traditional database servers. Any way you slice it, you're gonna have to do something like SELECT id, dato FROM mytable WHERE strftime('%Y',dato) = '2006' for Sqlite, while SELECT id, dato FROM mytable WHERE year(dato)=2006 should work with MySQL. Rob From rohnny at ...1248... Mon Mar 6 05:22:49 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 5 Mar 2006 20:22:49 -0800 (PST) Subject: [Gambas-user] sql query year problem In-Reply-To: <200603052235.28546.sourceforge-raindog2@...94...> References: <440AF245.4070507@...1248...> <200603052235.28546.sourceforge-raindog2@...94...> Message-ID: <3256834.post@...1379...> I have tried the strftime but it does not work. This is what I get in the database manager SELECT fakturanr, dato FROM mytable WHERE strftime('%Y',dato) = '2006' -- No records -- When I try it like this SELECT fakturanr, dato FROM mytable I get my records .. 1006 - 12/10/2005 1007 - 1/27/2006 .. -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/sql-query-year-problem-t1230734.html#a3256834 Sent from the gambas-user forum at Nabble.com. From sourceforge-raindog2 at ...94... Mon Mar 6 05:26:03 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 5 Mar 2006 23:26:03 -0500 Subject: [Gambas-user] sql query year problem In-Reply-To: <3256834.post@...1379...> References: <440AF245.4070507@...1248...> <200603052235.28546.sourceforge-raindog2@...94...> <3256834.post@...1379...> Message-ID: <200603052326.03980.sourceforge-raindog2@...94...> On Sun March 5 2006 23:22, R. Stormo wrote: > I have tried the strftime but it does not work. This is what I > get in the database manager > SELECT fakturanr, dato FROM mytable WHERE strftime('%Y',dato) > = '2006' -- > No records Are you using Sqlite 3? I don't think that worked in Sqlite 2. Rob From rohnny at ...1248... Mon Mar 6 05:50:59 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 5 Mar 2006 20:50:59 -0800 (PST) Subject: [Gambas-user] sql query year problem In-Reply-To: <200603052326.03980.sourceforge-raindog2@...94...> References: <440AF245.4070507@...1248...> <200603052235.28546.sourceforge-raindog2@...94...> <3256834.post@...1379...> <200603052326.03980.sourceforge-raindog2@...94...> Message-ID: <3256988.post@...1379...> Yes it should be sqlite3. I created it that way. There was a change in a couple og gambas version from sqlite3 to sqlite if I don't remember wrong. This is my init. PUBLIC $Host AS String = "" PUBLIC $Login AS String = "user" PUBLIC $Password AS String = "user1235" PUBLIC $Type AS String = "sqlite" -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/sql-query-year-problem-t1230734.html#a3256988 Sent from the gambas-user forum at Nabble.com. From rohnny at ...1248... Mon Mar 6 05:56:57 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 5 Mar 2006 20:56:57 -0800 (PST) Subject: [Gambas-user] readlink and hex to decimal In-Reply-To: <200603051935.48534.reinhard@...1390...> References: <200603051935.48534.reinhard@...1390...> Message-ID: <3257019.post@...1379...> Hex to decimal is there already. If you try Print &H1200 you will get the answer 4608 And if you try myTemp = &H1200 PRINT myTemp you will get the same answer. So Hex to Decimal should exist. Atleast in Gambas2-1.9.24-> -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/readlink-and-hex-to-decimal-t1230848.html#a3257019 Sent from the gambas-user forum at Nabble.com. From brian at ...1334... Mon Mar 6 06:07:42 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Sun, 05 Mar 2006 21:07:42 -0800 (PST) Subject: [Gambas-user] readlink and hex to decimal In-Reply-To: <3257019.post@...1379...> References: <200603051935.48534.reinhard@...1390...> <3257019.post@...1379...> Message-ID: <20060305210146.O67966@...1337...> On Sun, 5 Mar 2006, R. Stormo wrote: > Hex to decimal is there already. If you try Print &H1200 you will get the > answer 4608 > And if you try > myTemp = &H1200 > PRINT myTemp > you will get the same answer. So Hex to Decimal should exist. Atleast in > Gambas2-1.9.24-> What about accepting input given in hexadecimal from INPUT #, or from a text-entry-capable control in a form (or from a string)? Does VAL("&H2400") do what most would expect it should (ie: evaluate to 9216)? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From rohnny at ...1248... Mon Mar 6 06:14:35 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 5 Mar 2006 21:14:35 -0800 (PST) Subject: [Gambas-user] readlink and hex to decimal In-Reply-To: <20060305210146.O67966@...1337...> References: <200603051935.48534.reinhard@...1390...> <3257019.post@...1379...> <20060305210146.O67966@...1337...> Message-ID: <3257125.post@...1379...> Then you should put it in like a string 40FF . input #hFile, myvar myVar = "&H" & Myvar Print MyVar That should work. Your input does not mix hex or decimal? If it does maybee you hould save your values with a delimiter to sort out if they are decimal or hex Like h40ff input #hFile, myvar if instr(lower(myvar),"h")>0 then myvar = "&" & myvar myVar = "&H" & Myvar Print MyVar -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/readlink-and-hex-to-decimal-t1230848.html#a3257125 Sent from the gambas-user forum at Nabble.com. From fidojones at ...805... Mon Mar 6 09:41:57 2006 From: fidojones at ...805... (Lorenzo Tejera) Date: Mon, 6 Mar 2006 09:41:57 +0100 (CET) Subject: [Gambas-user] unknown identifer: Array ??? bug? In-Reply-To: <200603060225.05802.ronstk@...239...> References: <54688.85.155.40.83.1141599638.squirrel@...1316...> <200603060225.05802.ronstk@...239...> Message-ID: <34165.85.155.40.83.1141634517.squirrel@...1316...> Hi I'm more fresh again, now it works removing word Array and put [] thanks, gambasdoc must be update. lorenzo El Lun, 6 de Marzo de 2006, 2:25, ron escribi?: > On Monday 06 March 2006 00:00, Lorenzo Tejera wrote: > >> Perhaps night confuse me, but I probed the gambasdoc example in version >> 1.9.25 and 1.9.26 >> >> >> PRINT Object.Type(Array(2.4, 3, 3.2)) >> >> >> With this result as >> >> >> unknown identifer: Array ??? >> >> so Array not works in the last version ? is a bug? >> >> I need to sleep more >> lorenzo >> > > You got answer from Benoit: > > > Array() was removed in the last development version. Use '[' & ']'. > > > @Benoit: > The Array() construction is more basic as the java '[' & ']' version. > Now the documentation is, i'm afraid, wrong on many places in the wiki. > > > ----------------------- > >> DIM myBla AS String[] >> >> >> myBla = Array["0", "1", "2", "3"] >> >> >> with [] not work , gambas 1.9.26 , unknown identifier array >> >> regards >> >> lorenzo > > Read carefull after comma ->> _unknown identifier array_ > The interpreter does not know array with '(' or '[' > > > ---------------------- > >> Perhaps something like that :-) >> >> >> PUBLIC SUB Main() >> >> >> DIM toto AS String[] >> >> toto = ["ee", "aa", "bb"] >> >> PRINT Object.Type(["ee", "aa", "bb"]) >> >> END >> > > you have got that message because you answer > >> Perhaps night confuse me, but I probed the gambasdoc example in version >> 1.9.25 and 1.9.26 >> >> >> PRINT Object.Type(Array(2.4, 3, 3.2)) >> >> >> With this result as >> >> >> unknown identifer: Array ??? >> >> so Array not works in the last version ? is a bug? >> >> I need to sleep more >> lorenzo > > Why are you using ->> PRINT Object.Type(Array("ee", "aa", "bb")) > as the example told you ->> PRINT Object.Type(["ee", "aa", "bb"]) > > and still no light ->> > unknown identifer: Array ??? note: you using the > (latest) development version. > > > Try exact the example from Laurent Carlier, that should work. > > > Sleep well and tomorrow fresh again :) > > > Ron > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From reinhardohm at ...1389... Mon Mar 6 10:45:41 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Mon, 6 Mar 2006 10:45:41 +0100 Subject: [Gambas-user] readlink and hex to decimal In-Reply-To: <3257125.post@...1379...> References: <200603051935.48534.reinhard@...1390...> <20060305210146.O67966@...1337...> <3257125.post@...1379...> Message-ID: <200603061045.41473.reinhard@...1390...> Am Montag, 6. M?rz 2006 06:14 schrieb R. Stormo: > Then you should put it in like a string 40FF . > input #hFile, myvar > myVar = "&H" & Myvar > > Print MyVar > > That should work. > > Your input does not mix hex or decimal? If it does maybee you hould save > your values with a delimiter to sort out if they are decimal or hex > Like h40ff > input #hFile, myvar > if instr(lower(myvar),"h")>0 then myvar = "&" & myvar > myVar = "&H" & Myvar > > Print MyVar hm, the val() function will work but i find it not the right one! str() for Hex n? n?! From ronstk at ...239... Mon Mar 6 11:26:15 2006 From: ronstk at ...239... (ron) Date: Mon, 6 Mar 2006 11:26:15 +0100 Subject: [Gambas-user] unknown identifer: Array ??? bug? In-Reply-To: <34165.85.155.40.83.1141634517.squirrel@...1316...> References: <54688.85.155.40.83.1141599638.squirrel@...1316...> <200603060225.05802.ronstk@...239...> <34165.85.155.40.83.1141634517.squirrel@...1316...> Message-ID: <200603061126.17095.ronstk@...239...> On Monday 06 March 2006 09:41, Lorenzo Tejera wrote: > Hi I'm more fresh again, now it works removing word Array and put [] > thanks, gambasdoc must be update. > > lorenzo > nice :) :) oooohhh :] ;] Ron From admin at ...1080... Mon Mar 6 11:55:45 2006 From: admin at ...1080... (Werener Staudacher) Date: Mon, 6 Mar 2006 11:55:45 +0100 Subject: [Gambas-user] sql query year problem In-Reply-To: <3247550.post@...1379...> Message-ID: <002101c6410c$8566aef0$0a3011ac@...1392...> Hi Rohnny Every (or most) SQL Server uses another Syntax for Date. If you want SQL Cross-Syntax forget Server-specific statments and go back to basics supportet by all (or most), like substring, left, right, charindex. But! not shure if there is any statement supportet by all SQL servers, and then an other difficulty is how dates are stored in the DB. The other way is to create the SQL string programaticaly in Gambas, select case dbType case "mysql" whereDate="year(xxxx)" case "sqllight" whereDate="dontknow()" end select query="Select * From Table where " & whereDate Or the easy-way, you can store the year from the date in a separate field and ask for this "where fieldYear='2006'" You see there are some workarounds. Regards, Staudi > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of > R. Stormo > Sent: Sunday, March 05, 2006 12:14 PM > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] sql query year problem > > > Looking for a solution to select records from a choosen year. > Would be perfect if the same sql works for postgres and > sqlite3 In MsSql it would be done like this. > SELECT id, dato FROM mytable WHERE year(dato)=2006 > -- > Regards > Rohnny Stormo > > > ----------------------------------------- > Gambas brings Basic to Linux. > My Gambas Community http://forum.stormweb.no > > -- > View this message in context: > http://www.nabble.com/sql-query-year-problem-t1227953.html#a3247550 > Sent from the gambas-user forum at Nabble.com. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking > scripting language > that extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720& > dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From benoit.minisini at ...2... Mon Mar 6 14:44:46 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Mon, 6 Mar 2006 14:44:46 +0100 Subject: [Gambas-user] unknown identifer: Array ??? bug? In-Reply-To: <34165.85.155.40.83.1141634517.squirrel@...1316...> References: <54688.85.155.40.83.1141599638.squirrel@...1316...> <200603060225.05802.ronstk@...239...> <34165.85.155.40.83.1141634517.squirrel@...1316...> Message-ID: <200603061444.47038.benoit.minisini@...2...> On Monday 06 March 2006 09:41, Lorenzo Tejera wrote: > Hi I'm more fresh again, now it works removing word Array and put [] > thanks, gambasdoc must be update. > > lorenzo > Updated... -- Benoit Minisini From kdogordinho at ...494... Mon Mar 6 15:48:53 2006 From: kdogordinho at ...494... (Clayton) Date: Mon, 6 Mar 2006 11:48:53 -0300 Subject: [Gambas-user] Unsubscribe kdogordinho@...494... falcon9002 References: <20060306040314.4A67188BC4@...763...> Message-ID: <000801c6412d$254ee8e0$230aa2c6@...659...> ----- Original Message ----- From: To: Sent: Monday, March 06, 2006 1:02 AM Subject: Gambas-user digest, Vol 1 #1738 - 2 msgs > 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: unknown identifer: Array ??? bug? (ron) > 2. Re: sql query year problem (Rob Kudla) > > --__--__-- > > Message: 1 > From: ron > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] unknown identifer: Array ??? bug? > Date: Mon, 6 Mar 2006 02:25:05 +0100 > Reply-To: gambas-user at lists.sourceforge.net > > On Monday 06 March 2006 00:00, Lorenzo Tejera wrote: > > Perhaps night confuse me, but I probed the gambasdoc example in version > > 1.9.25 and 1.9.26 > >=20 > > PRINT Object.Type(Array(2.4, 3, 3.2)) > >=20 > > With this result as > >=20 > > unknown identifer: Array ??? > >=20 > > so Array not works in the last version ? is a bug? > >=20 > > I need to sleep more > > lorenzo > >=20 > > You got answer from Benoit: > > Array() was removed in the last development version. Use '[' & ']'. > > @Benoit:=20 > The Array() construction is more basic as the java '[' & ']' version. > Now the documentation is, i'm afraid, wrong on many places in the wiki. > > =2D---------------------- > >DIM myBla AS String[] > > > >=A0myBla =3D Array["0", "1", "2", "3"] > > > >with [] not work , gambas 1.9.26 , unknown identifier array > > > >regards > > > >lorenzo > > Read carefull after comma ->> _unknown identifier array_ > The interpreter does not know array with '(' or '[' > > =2D--------------------- > >Perhaps something like that :-) > > > >PUBLIC SUB Main() > > > >=A0 DIM toto AS String[] > >=A0=20 > >=A0 toto =3D ["ee", "aa", "bb"] > >=A0=20 > >=A0 PRINT Object.Type(["ee", "aa", "bb"]) > >=A0=20 > >END > > you have got that message because you answer > > > Perhaps night confuse me, but I probed the gambasdoc example in version > > 1.9.25 and 1.9.26 > > > >=A0 PRINT Object.Type(Array(2.4, 3, 3.2)) > > > > With this result as > > > > unknown identifer: Array ??? > > > > so Array not works in the last version ? is a bug? > > > > I need to sleep more > > lorenzo > > Why are you using ->> PRINT Object.Type(Array("ee", "aa", "bb")) > as the example told you ->> PRINT Object.Type(["ee", "aa", "bb"]) > > and still no light ->> > unknown identifer: Array ??? > note: you using the (latest) development version. > > Try exact the example from Laurent Carlier, that should work. > > Sleep well and tomorrow fresh again :) > > Ron > > > --__--__-- > > Message: 2 > From: Rob Kudla > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] sql query year problem > Date: Sun, 5 Mar 2006 22:35:28 -0500 > Reply-To: gambas-user at lists.sourceforge.net > > On Sun March 5 2006 09:14, Rohnny Stormo wrote: > > Looking for a solution to select records from a choosen year. > > Would be perfect if the same sql works for postgres and > > sqlite3 In MsSql it would be done like this. > > SELECT id, dato FROM mytable WHERE year(dato)=2006 > > Date functions aren't part of the SQL specification, as far as I > know, and Sqlite has a much more minimal syntax than traditional > database servers. Any way you slice it, you're gonna have to do > something like > > SELECT id, dato FROM mytable WHERE strftime('%Y',dato) = '2006' > > for Sqlite, while > > SELECT id, dato FROM mytable WHERE year(dato)=2006 > > should work with MySQL. > > Rob > > > > --__--__-- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest _______________________________________________________ Yahoo! Acesso Gr?tis - Internet r?pida e gr?tis. Instale o discador agora! http://br.acesso.yahoo.com From katsancat at ...11... Mon Mar 6 16:57:48 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Mon, 6 Mar 2006 16:57:48 +0100 Subject: [Gambas-user] unknown identifer: Array ??? bug? In-Reply-To: <34165.85.155.40.83.1141634517.squirrel@...1316...> References: <54688.85.155.40.83.1141599638.squirrel@...1316...> <200603060225.05802.ronstk@...239...> <34165.85.155.40.83.1141634517.squirrel@...1316...> Message-ID: <200603061657.49220.katsancat@...11...> On Monday 06 March 2006 09:41, Lorenzo Tejera wrote: > Hi I'm more fresh again, now it works removing word Array and put [] > thanks, gambasdoc must be update. Funny how everybody wants it, but only a few are willing to do it. From rohnny at ...1248... Mon Mar 6 16:55:13 2006 From: rohnny at ...1248... (R. Stormo) Date: Mon, 6 Mar 2006 07:55:13 -0800 (PST) Subject: [Gambas-user] RE: sql query year problem In-Reply-To: <002101c6410c$8566aef0$0a3011ac@...1392...> References: <3247550.post@...1379...> <002101c6410c$8566aef0$0a3011ac@...1392...> Message-ID: <3264122.post@...1379...> admin-27 wrote: > > Hi Rohnny > > Every (or most) SQL Server uses another Syntax for Date. > If you want SQL Cross-Syntax forget Server-specific statments and go back > to > basics supportet by all (or most), like substring, left, right, charindex. > But! not shure if there is any statement supportet by all SQL servers, and > then an other difficulty is how dates are stored in the DB. > The other way is to create the SQL string programaticaly in Gambas, select > case dbType case "mysql" whereDate="year(xxxx)" case "sqllight" > whereDate="dontknow()" end select query="Select * From Table where " & > whereDate > Or the easy-way, you can store the year from the date in a separate field > and ask for this "where fieldYear='2006'" > You see there are some workarounds. > > Regards, Staudi > > > Thanks for clearing things for me. Looks like I need to go to square 1 and put things in eatch field. For best compatibility -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/sql-query-year-problem-t1227953.html#a3264122 Sent from the gambas-user forum at Nabble.com. From victorxt at ...43... Mon Mar 6 23:55:12 2006 From: victorxt at ...43... (victort) Date: Mon, 6 Mar 2006 14:55:12 -0800 (PST) Subject: [Gambas-user] libro gambas Message-ID: <3271677.post@...1379...> buenas quisiera saber si hay alguna informaci?n respecto a la distribuci?n en PDF del libro de Daniel Campos, ya que he enviado varios mail a la gente de EditLin sobre el envio a Chile del libro o si lo venden a trav?s de alguna libreria de mi pa?s sin obtener respuesta. -- View this message in context: http://www.nabble.com/libro-gambas-t1236565.html#a3271677 Sent from the gambas-user forum at Nabble.com. From maillists at ...1367... Tue Mar 7 03:45:40 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Mon, 06 Mar 2006 18:45:40 -0800 Subject: [Gambas-user] Image overlays Message-ID: <1141699540.16115.2.camel@...1368...> Hi, Does anyone have an idea how I might be able to overlay one image on top of another in a picture object? I have a lot of icons in my project and I need to be able to mark an icon as locked or not in a treeview control. Creating a "locked" icon for every item wouldn't work for this particular project. Thanx, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From benoit.minisini at ...2... Tue Mar 7 07:35:52 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Tue, 7 Mar 2006 07:35:52 +0100 Subject: [Gambas-user] libro gambas In-Reply-To: <3271677.post@...1379...> References: <3271677.post@...1379...> Message-ID: <200603070735.52841.benoit.minisini@...2...> On Monday 06 March 2006 23:55, victort wrote: > buenas > quisiera saber si hay alguna informaci?n respecto a la distribuci?n en PDF > del libro de Daniel Campos, ya que he enviado varios mail a la gente de > EditLin sobre el envio a Chile del libro o si lo venden a trav?s de alguna > libreria de mi pa?s sin obtener respuesta. > > > -- > View this message in context: > http://www.nabble.com/libro-gambas-t1236565.html#a3271677 Sent from the > gambas-user forum at Nabble.com. > > nabble.com... Now I understand why sometimes we get spanish messages on the english mailing-list :-) -- Benoit Minisini From rohnny at ...1248... Tue Mar 7 09:32:15 2006 From: rohnny at ...1248... (R. Stormo) Date: Tue, 7 Mar 2006 00:32:15 -0800 (PST) Subject: [Gambas-user] IsVal() Message-ID: <3277141.post@...1379...> How to check a textbox for value? Have tried if val(TextBox1.text)< 2000 then return but if the user for some reason insert numbers and a char it do crash with the "error wanted string got null instead." I have not found a function like isVal(). Is there someway doing that check.? -- View this message in context: http://www.nabble.com/IsVal%28%29-t1238510.html#a3277141 Sent from the gambas-user forum at Nabble.com. From eilert-sprachen at ...221... Tue Mar 7 09:34:09 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 07 Mar 2006 09:34:09 +0100 Subject: [Gambas-user] Problem with .Remove (1.0.14) Message-ID: <440D4581.2030505@...221...> Hi folks, This is part of my current project. It's supposed to find a line in a file and kill it (by removing the line from the array and saving the file again). PRIVATE SUB DateiTerminLoeschen(monat AS String, jahr AS String, position AS Integer) DIM pfad AS String DIM datei AS String DIM dtnr AS File DIM t$ AS String DIM i AS Integer DIM termine AS NEW String[] IF String.Len(monat) = 1 THEN monat = "0" & monat pfad = system.Home &/ ".kalender/termine" &/ jahr datei = monat & "-" & jahr & ".termine" IF NOT Exist(pfad &/ datei) THEN message.Error(pfad &/ datei & " existiert nicht!", "Abbruch") RETURN END IF OPEN pfad &/ datei FOR READ AS #dtnr WHILE NOT Eof(dtnr) LINE INPUT #dtnr, t$ termine.Add(t$) WEND CLOSE #dtnr IF termine.Count > 1 THEN termine.Remove(position) OPEN pfad &/ datei FOR WRITE AS #dtnr FOR i = 0 TO termine.Count - 1 PRINT #dtnr, termine[i] NEXT CLOSE #dtnr ELSE KILL pfad &/ datei END IF END If it works, it leaves a line of garbage at the end of the file, i. e. the last line is doubled but not completely. This is an example: 01 1615 45 1 Fr. Nguyen, Werlte, T06 (kf) (t.best.) (gek. + angem.) 06 1530 45 1 Fr. Kurzeja, Salzbergen, T06+?bs (p+z-t04 +frd+t-t) (w.k.) (gek. + angem.) 06 1615 45 0 Fr. Hildebrandt, Ochtrup, T06 (m) (n.gek.) 07 1530 45 0 Fr. Bensmann, Hagen, T06+?bs (z) 07 1615 45 0 H. Herden, Steinhagen, T06+?bs (kf) 07 1700 45 1 Fr. Gassmann, H?llhorst, T06"+?bs" (kf/t) (t.best.) 09 1530 45 0 Fr. Claas, Bissendorf, T06(+?bs) (z) 09 1615 45 0 Fr. Sattelmaier, OS, T06 (kf) 09 1700 45 0 Fr. Faseli, Oldenburg, T06(+?bs) (z) 13 1530 45 0 Fr. M?ller, OS, T06(+?bs) (z) 13 1615 45 0 Fr. Bumbic, Marl, T06(+?bs) (z) 13 1700 45 1 Fr. Maier, Uplengen, T06(z) (t.v.v.6.) 14 1615 45 0 H. Genzel, Marl, T06(+?bs) (z) 14 1700 45 1 Fr. Sposito, H?velhof, T06 (z-t) (w.k.) 15 1615 45 0 Fr. Szymczak, Rothenfelde, T06 (kf) 15 1700 45 0 H. Taskin, Emsdetten, T06(+?bs) (m) 16 1615 45 0 Fr. Kalkmann, Langen, T06+?bs (kf) 16 1700 45 1 Fr. Aulfes, Bramsche, T06+?bs (gs-t) (w.k.) (t.v.v.27.2.) 20 1700 45 1 Fr. Karle, Oelde, T06+?bs (z-t) (w.k.) (t.v.v.1.) 21 1530 45 1 Fr. Tewes, OS, T06 (frd-t) (w.k.) 21 1700 45 1 Fr. Behrla, Rheine, T06(+?bs) (lz-t) (w.k.) 22 1700 45 1 Fr. Schulte, Lemgo, T06+?bs (t) (w.k.) 23 1700 45 1 Fr. Valchizan, Bohmte, T06 (frd-t) (w.k.) 27 1700 45 1 Fr. Oldiges, Esterwegen, T06(+?bs) (z) (t.v.v.8.) diges, Esterwegen, T06(+?bs) (z) (t.v.v.8.) Do you have any explanation for this behaviour? Thanks for your help! Rolf From eilert-sprachen at ...221... Tue Mar 7 10:10:58 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 07 Mar 2006 10:10:58 +0100 Subject: [Gambas-user] Problem with .Remove (1.0.14) In-Reply-To: <440D4581.2030505@...221...> References: <440D4581.2030505@...221...> Message-ID: <440D4E22.8050502@...221...> Sorry guys for bothering you, just happened to find the bug: > IF termine.Count > 1 THEN > termine.Remove(position) > OPEN pfad &/ datei FOR WRITE AS #dtnr > FOR i = 0 TO termine.Count - 1 > PRINT #dtnr, termine[i] > NEXT > CLOSE #dtnr This should read FOR WRITE CREATE instead, otherwise the old file is simply overwritten up to the point it is used for the new data, the rest simply remains. To me, this is kinda unusual behaviour for BASIC - we should at least place a warning for Gambas newbies at the wiki side, shouldn't we? Rolf From maillists at ...1367... Tue Mar 7 10:41:19 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 07 Mar 2006 01:41:19 -0800 Subject: [Gambas-user] Panel Autoresize and alignment properties Message-ID: <1141724479.26932.2.camel@...1368...> I've been attempting to get the panel object to automatically resize to fit around the objects within it. It seems to just get smaller, not bigger on startup. I'm deliberately making the panel smaller than the objects in it to test this. I also notice the arrangement property doesn't seem to have any effect. Is there something I'm missing here? Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From k4p0w3r at ...370... Tue Mar 7 15:20:54 2006 From: k4p0w3r at ...370... (Johan Wistrom) Date: Tue, 7 Mar 2006 14:20:54 +0000 (GMT) Subject: [Gambas-user] Image overlays In-Reply-To: <1141699540.16115.2.camel@...1368...> Message-ID: <20060307142054.85469.qmail@...1393...> Hello, Unless you .Clear the Picture/Image before drawing, all drawing operations will be overlayed. draw.begin(originalpicture) draw.picture(lockpicture,x,y) draw.end or you might want to perform the drawing operations on a temp picture: temppicture.clear draw.begin(temppicture) draw.picture(originaliconpicture,0,0) draw.picture(lockpicture,x,y) draw.end You might need to .Refresh the picture/picture.image to see the changes but shouldn't be necessary. Johan --- GuruLounge - MailLists wrote: > Hi, > > Does anyone have an idea how I might be able to > overlay one image on top > of another in a picture object? > > I have a lot of icons in my project and I need to be > able to mark an > icon as locked or not in a treeview control. > Creating a "locked" icon > for every item wouldn't work for this particular > project. > > Thanx, > Jeff > > -- > > .^. > /V\ > /( )\ > ^^-^^ > Linux Advocate > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a > groundbreaking scripting language > that extends applications into web and mobile media. > Attend the live webcast > and join the prime developer group breaking into > this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ___________________________________________________________ NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/ From rohnny at ...1248... Tue Mar 7 16:09:17 2006 From: rohnny at ...1248... (R. Stormo) Date: Tue, 7 Mar 2006 07:09:17 -0800 (PST) Subject: [Gambas-user] IsVal() In-Reply-To: <3277141.post@...1379...> References: <3277141.post@...1379...> Message-ID: <3282251.post@...1379...> Found a solution. The Command IsNumber() If NOT IsNumber(Textbox1.text) then return Now I can check for the number I want If val(TextBox1.Text)<2000 then return -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/IsVal%28%29-t1238510.html#a3282251 Sent from the gambas-user forum at Nabble.com. From sourceforge-raindog2 at ...94... Tue Mar 7 17:07:33 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 7 Mar 2006 11:07:33 -0500 Subject: [Gambas-user] libro gambas In-Reply-To: <200603070735.52841.benoit.minisini@...2...> References: <3271677.post@...1379...> <200603070735.52841.benoit.minisini@...2...> Message-ID: <200603071107.33547.sourceforge-raindog2@...94...> On Tue March 7 2006 01:35, Benoit Minisini wrote: > > View this message in context: > > http://www.nabble.com/libro-gambas-t1236565.html#a3271677 > > Sent from the gambas-user forum at Nabble.com. > nabble.com... Now I understand why sometimes we get spanish > messages on the english mailing-list :-) Well, Nabble is an English site (at least I can't find a way to change the language) and the users do have to register for the gambas-user list like anyone else, so I don't know if that really explains it.... Rob From benoit.minisini at ...2... Tue Mar 7 17:49:55 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Tue, 7 Mar 2006 17:49:55 +0100 Subject: [Gambas-user] IsVal() In-Reply-To: <3282251.post@...1379...> References: <3277141.post@...1379...> <3282251.post@...1379...> Message-ID: <200603071749.55505.benoit.minisini@...2...> On Tuesday 07 March 2006 16:09, R. Stormo wrote: > Found a solution. The Command IsNumber() > > If NOT IsNumber(Textbox1.text) then return > Now I can check for the number I want > If val(TextBox1.Text)<2000 then return Alas this is not a solution. Val() and IsNumber() in Gambas behave completely differently than in VB. To do what you want, i.e. to know if a text is a number, do that: DIM iVal AS Integer TRY iVal = Val(MyText) IF ERROR THEN PRINT "Not a Number" ELSE PRINT "The number is "; iVal ENDIF I think it's the better way, because if you have a function that tests if a text is a number, he will do the conversion anyway just for the test, and then you will have to do it again for getting the number. So the better is doing the conversion explicitely with a TRY. Regards, -- Benoit Minisini From benoit.minisini at ...2... Tue Mar 7 17:54:11 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Tue, 7 Mar 2006 17:54:11 +0100 Subject: [Gambas-user] Problem with .Remove (1.0.14) In-Reply-To: <440D4E22.8050502@...221...> References: <440D4581.2030505@...221...> <440D4E22.8050502@...221...> Message-ID: <200603071754.11172.benoit.minisini@...2...> On Tuesday 07 March 2006 10:10, Eilert wrote: > Sorry guys for bothering you, just happened to find the bug: > > IF termine.Count > 1 THEN > > termine.Remove(position) > > OPEN pfad &/ datei FOR WRITE AS #dtnr > > FOR i = 0 TO termine.Count - 1 > > PRINT #dtnr, termine[i] > > NEXT > > CLOSE #dtnr > > This should read FOR WRITE CREATE instead, otherwise the old file is > simply overwritten up to the point it is used for the new data, the rest > simply remains. To me, this is kinda unusual behaviour for BASIC - we > should at least place a warning for Gambas newbies at the wiki side, > shouldn't we? > > Rolf > It is not unusual, in the sense that the semantic of opening a file for writing in Unix does not overwrite the file. And I don't know if it is unusual in a BASIC language, as there is no standard syntax, nor behaviour. But it should be more explicit on the wiki for sure. Regards, -- Benoit Minisini From benoit.minisini at ...2... Tue Mar 7 17:56:45 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Tue, 7 Mar 2006 17:56:45 +0100 Subject: [Gambas-user] Panel Autoresize and alignment properties In-Reply-To: <1141724479.26932.2.camel@...1368...> References: <1141724479.26932.2.camel@...1368...> Message-ID: <200603071756.45559.benoit.minisini@...2...> On Tuesday 07 March 2006 10:41, GuruLounge - MailLists wrote: > I've been attempting to get the panel object to automatically resize to > fit around the objects within it. It seems to just get smaller, not > bigger on startup. I'm deliberately making the panel smaller than the > objects in it to test this. > > I also notice the arrangement property doesn't seem to have any effect. > > Is there something I'm missing here? > > Jeff Please send a project, (and tell the gambas version you use) so that I can see exactly what happens. Regards, -- Benoit Minisini From maillists at ...1367... Tue Mar 7 20:27:07 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 07 Mar 2006 11:27:07 -0800 Subject: [Gambas-user] Panel Autoresize and alignment properties In-Reply-To: <200603071756.45559.benoit.minisini@...2...> References: <1141724479.26932.2.camel@...1368...> <200603071756.45559.benoit.minisini@...2...> Message-ID: <1141759627.8663.2.camel@...1368...> Here's a test I'm doing: Essentially I was attempting to create an icon (image and label) using a panel object. This isn't working as well as I hoped. I've opted to use the iconview object. Unfortunately it doesn't allow me to put an image in the background. Jeff On Tue, 2006-03-07 at 17:56 +0100, Benoit Minisini wrote: > Please send a project, (and tell the gambas version you use) so that I can see > exactly what happens. > > Regards, > -- .^. /V\ /( )\ ^^-^^ Linux Advocate -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tgz Type: application/x-compressed-tar Size: 3898 bytes Desc: not available URL: From maillists at ...1367... Tue Mar 7 20:47:36 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 07 Mar 2006 11:47:36 -0800 Subject: [Gambas-user] Panel Autoresize and alignment properties In-Reply-To: <200603071756.45559.benoit.minisini@...2...> References: <1141724479.26932.2.camel@...1368...> <200603071756.45559.benoit.minisini@...2...> Message-ID: <1141760856.9634.0.camel@...1368...> I forgot to mention I'm using version 1.0.14 Jeff On Tue, 2006-03-07 at 17:56 +0100, Benoit Minisini wrote: > Please send a project, (and tell the gambas version you use) so that I can see > exactly what happens. > > Regards, > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From benoit.minisini at ...2... Tue Mar 7 21:24:17 2006 From: benoit.minisini at ...2... (Benoit Minisini) Date: Tue, 7 Mar 2006 21:24:17 +0100 Subject: [Gambas-user] Panel Autoresize and alignment properties In-Reply-To: <1141724479.26932.2.camel@...1368...> References: <1141724479.26932.2.camel@...1368...> Message-ID: <200603072124.17163.benoit.minisini@...2...> On Tuesday 07 March 2006 10:41, GuruLounge - MailLists wrote: > I've been attempting to get the panel object to automatically resize to > fit around the objects within it. It seems to just get smaller, not > bigger on startup. I'm deliberately making the panel smaller than the > objects in it to test this. > > I also notice the arrangement property doesn't seem to have any effect. > > Is there something I'm missing here? > > Jeff The Arrangement property will just arrange the panel contents, but will never change the size of the panel. When the AutoResize property is set, the panel will change its width (for an Horizontal or TopLeft arrangement) or its height (for a Vertical or LeftRight arrangement) to fit the larger or higher child controls. The panel will never change both its width and height to fit the contents. To make something like a icon, the better is: * Setting panel Arrangement to Vertical. * Setting panel AutoResize to TRUE. * Make the PictureBox with Strechable set to FALSE and Alignment to Center. Then you have to manually decide the width of the panel. Regards, -- Benoit Minisini From gambas at ...1... Tue Mar 7 22:09:33 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 7 Mar 2006 22:09:33 +0100 Subject: [Gambas-user] Wiki manual Message-ID: <200603072209.34009.gambas@...1...> Hi every wiki writer, I have updating the wiki syntax page, by adding a few 'how to': how to create, edit, remove and translate a page, and a few explanation about the organization of this wiki. I did that in the hope there is no page crashing anymore :-) Tell me if you have questions of course! Regards, -- Benoit Minisini From brian at ...1334... Wed Mar 8 07:12:55 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Tue, 07 Mar 2006 22:12:55 -0800 (PST) Subject: [Gambas-user] External Library Interface In-Reply-To: <200603041444.11202.sourceforge-raindog2@...94...> References: <1141404697.3155.3.camel@...1368...> <200603031537.38848.sourceforge-raindog2@...94...> <20060304023948.L60162@...1337...> <200603041444.11202.sourceforge-raindog2@...94...> Message-ID: <20060307220749.J81522@...1337...> On Sat, 4 Mar 2006, Rob Kudla wrote: > With six recently added commands/functions: alloc, EXTERN, free, > LIBRARY, realloc, and strptr. > > http://www.gambasdoc.org/help/cat/extern Would it be possible to make LIBRARY a class with one static method to replicate the behavior of LIBRARY="libxxx:yyy" but also have a static function to return an enumeration of the symbols available in the currently "cursored" shared library. PS: I looked up the docs and dlopen is capable of refcounting so reopening a shared library that is already loaded is not a problem and it merely returns the same library handle internally (at least not with debian linux Sarge edition dlopen) the library will be deallocated from the system when dlopen detects all dependencies are detached and dlclose has returns the refcounter to 0 (one refcount/dependency tracker per uniquie library opened). .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From gambas at ...1... Wed Mar 8 09:04:27 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Mar 2006 09:04:27 +0100 Subject: [Gambas-user] External Library Interface In-Reply-To: <20060307220749.J81522@...1337...> References: <1141404697.3155.3.camel@...1368...> <200603041444.11202.sourceforge-raindog2@...94...> <20060307220749.J81522@...1337...> Message-ID: <200603080904.27439.gambas@...1...> On Wednesday 08 March 2006 07:12, Christopher Brian Jack wrote: > On Sat, 4 Mar 2006, Rob Kudla wrote: > > With six recently added commands/functions: alloc, EXTERN, free, > > LIBRARY, realloc, and strptr. > > > > http://www.gambasdoc.org/help/cat/extern > > Would it be possible to make LIBRARY a class with one static method to > replicate the behavior of LIBRARY="libxxx:yyy" but also have a static > function to return an enumeration of the symbols available in the > currently "cursored" shared library. > I don't know how to do that... -- Benoit Minisini From rohnny at ...1248... Wed Mar 8 17:01:52 2006 From: rohnny at ...1248... (R. Stormo) Date: Wed, 8 Mar 2006 08:01:52 -0800 (PST) Subject: [Gambas-user] Checkbox value Message-ID: <3303027.post@...1379...> In the help file it says the value can be true/false but what value to check for then tristate is set? Is there values checked, unchecked, partchecked or similar? -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Checkbox-value-t1247236.html#a3303027 Sent from the gambas-user forum at Nabble.com. From lordheavy at ...512... Wed Mar 8 17:03:37 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 8 Mar 2006 17:03:37 +0100 Subject: [Gambas-user] Checkbox value In-Reply-To: <3303027.post@...1379...> References: <3303027.post@...1379...> Message-ID: <200603081703.38170.lordheavy@...512...> Le Mercredi 8 Mars 2006 17:01, R. Stormo a ?crit?: > In the help file it says the value can be true/false but what value to > check for > then tristate is set? > > Is there values checked, unchecked, partchecked or similar? True, false and perhaps :) -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From gambas at ...1... Wed Mar 8 17:10:09 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Mar 2006 17:10:09 +0100 Subject: [Gambas-user] Checkbox value In-Reply-To: <3303027.post@...1379...> References: <3303027.post@...1379...> Message-ID: <200603081710.09824.gambas@...1...> On Wednesday 08 March 2006 17:01, R. Stormo wrote: > In the help file it says the value can be true/false but what value to > check for > then tristate is set? > > Is there values checked, unchecked, partchecked or similar? The values are: - CheckBox.True - CheckBox.False - CheckBox.None Regards, -- Benoit Minisini From sourceforge-raindog2 at ...94... Wed Mar 8 17:11:12 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 8 Mar 2006 11:11:12 -0500 Subject: [Gambas-user] Checkbox value In-Reply-To: <3303027.post@...1379...> References: <3303027.post@...1379...> Message-ID: <200603081111.13282.sourceforge-raindog2@...94...> On Wed March 8 2006 11:01, R. Stormo wrote: > In the help file it says the value can be true/false but what > value to check for > then tristate is set? How do you set a checkbox as tristate in the first place? There's nothing in the documentation about that either. Rob From lordheavy at ...512... Wed Mar 8 17:12:43 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 8 Mar 2006 17:12:43 +0100 Subject: [Gambas-user] Checkbox value In-Reply-To: <3303027.post@...1379...> References: <3303027.post@...1379...> Message-ID: <200603081712.43969.lordheavy@...512...> Le Mercredi 8 Mars 2006 17:01, R. Stormo a ?crit?: > In the help file it says the value can be true/false but what value to > check for > then tristate is set? > > Is there values checked, unchecked, partchecked or similar? from qt documentation : "In addition to the usual checked and unchecked states, QCheckBox optionally provides a third state to indicate "no change". This is useful whenever you need to give the user the option of neither checking nor unchecking a checkbox. If you need this third state, enable it with setTristate() and use state() to query the current toggle state. When a tristate checkbox changes state, it emits the stateChanged() signal." Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From lordheavy at ...512... Wed Mar 8 17:15:51 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 8 Mar 2006 17:15:51 +0100 Subject: [Gambas-user] Checkbox value In-Reply-To: <200603081111.13282.sourceforge-raindog2@...94...> References: <3303027.post@...1379...> <200603081111.13282.sourceforge-raindog2@...94...> Message-ID: <200603081715.51799.lordheavy@...512...> Le Mercredi 8 Mars 2006 17:11, Rob Kudla a ?crit?: > On Wed March 8 2006 11:01, R. Stormo wrote: > > In the help file it says the value can be true/false but what > > value to check for > > then tristate is set? > > How do you set a checkbox as tristate in the first place? > There's nothing in the documentation about that either. > > Rob There is a "tristate" property (boolean) Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From gambas at ...1... Wed Mar 8 17:23:28 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Mar 2006 17:23:28 +0100 Subject: [Gambas-user] Checkbox value In-Reply-To: <200603081111.13282.sourceforge-raindog2@...94...> References: <3303027.post@...1379...> <200603081111.13282.sourceforge-raindog2@...94...> Message-ID: <200603081723.28152.gambas@...1...> On Wednesday 08 March 2006 17:11, Rob Kudla wrote: > On Wed March 8 2006 11:01, R. Stormo wrote: > > In the help file it says the value can be true/false but what > > value to check for > > then tristate is set? > > How do you set a checkbox as tristate in the first place? > There's nothing in the documentation about that either. > > Rob > The information is in the ChangeLog. Please read it :-) -- Benoit Minisini From sourceforge-raindog2 at ...94... Wed Mar 8 17:37:14 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 8 Mar 2006 11:37:14 -0500 Subject: [Gambas-user] Checkbox value In-Reply-To: <200603081723.28152.gambas@...1...> References: <3303027.post@...1379...> <200603081111.13282.sourceforge-raindog2@...94...> <200603081723.28152.gambas@...1...> Message-ID: <200603081137.15182.sourceforge-raindog2@...94...> On Wed March 8 2006 11:23, Benoit Minisini wrote: > > How do you set a checkbox as tristate in the first place? > > There's nothing in the documentation about that either. > The information is in the ChangeLog. Please read it :-) Never mind, I was trying it on a machine that only had 1.9.20 installed :) Rob From maillists at ...1367... Thu Mar 9 01:47:00 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 08 Mar 2006 16:47:00 -0800 Subject: [Gambas-user] Iconview arrangment Message-ID: <1141865220.18891.1.camel@...1368...> Does the iconview arrangement property work correctly in 1.0.14? I can't seem to move the icons around via MOVE, X & Y or Left & Top. I've set the arrangement property to "free" or -1. TIA, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From staudacher at ...1394... Thu Mar 9 09:59:20 2006 From: staudacher at ...1394... (Werner Staudacher) Date: Thu, 9 Mar 2006 09:59:20 +0100 Subject: [Gambas-user] Pictures are not accessible when App is installed Message-ID: <000901c64357$c139e350$0a3011ac@...1392...> Hi all I use for a TreeView some pictures and placed them in the project folder under "data/img". When i load them with picture["/data/img/picture.png"] in the development environment it is fine, but when i load them from a installed instance there appear no picture in the TreeView. I was believing that the project folders and content are also installed with the App. What i am doing wrong? Regards, Staudi From maillists at ...1367... Thu Mar 9 10:27:55 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 09 Mar 2006 01:27:55 -0800 Subject: [Gambas-user] Pictures are not accessible when App is installed In-Reply-To: <000901c64357$c139e350$0a3011ac@...1392...> References: <000901c64357$c139e350$0a3011ac@...1392...> Message-ID: <1141896475.31352.0.camel@...1368...> Try removing the first slash, e.g. "data/img/picture.png" Jeff On Thu, 2006-03-09 at 09:59 +0100, Werner Staudacher wrote: > Hi all > > I use for a TreeView some pictures and placed them in the project folder > under "data/img". > When i load them with picture["/data/img/picture.png"] in the development > environment it is fine, but when i load them from a installed instance there > appear no picture in the TreeView. > I was believing that the project folders and content are also installed with > the App. > What i am doing wrong? > > Regards, Staudi > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Thu Mar 9 10:44:40 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 09 Mar 2006 01:44:40 -0800 Subject: [Gambas-user] Problem closing app. Message-ID: <1141897480.31866.2.camel@...1368...> Anyone have any idea why my application won't quit when I close it? I have a main module that loads then shows the form. When I close the form the program is still running. I assume it has something to do with using the main module as a startup-class. But I never had this problem before. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From gambas at ...1... Thu Mar 9 12:19:49 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Mar 2006 12:19:49 +0100 Subject: [Gambas-user] Iconview arrangment In-Reply-To: <1141865220.18891.1.camel@...1368...> References: <1141865220.18891.1.camel@...1368...> Message-ID: <200603091219.49949.gambas@...1...> On Thursday 09 March 2006 01:47, GuruLounge - MailLists wrote: > Does the iconview arrangement property work correctly in 1.0.14? > > I can't seem to move the icons around via MOVE, X & Y or Left & Top. > > I've set the arrangement property to "free" or -1. > > TIA, > Jeff I didn't modify the IconView control... Please send your project! Regards, -- Benoit Minisini From gambas at ...1... Thu Mar 9 12:20:35 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Mar 2006 12:20:35 +0100 Subject: [Gambas-user] Problem closing app. In-Reply-To: <1141897480.31866.2.camel@...1368...> References: <1141897480.31866.2.camel@...1368...> Message-ID: <200603091220.36098.gambas@...1...> On Thursday 09 March 2006 10:44, GuruLounge - MailLists wrote: > Anyone have any idea why my application won't quit when I close it? > > I have a main module that loads then shows the form. When I close the > form the program is still running. I assume it has something to do with > using the main module as a startup-class. But I never had this problem > before. > > Jeff The program didn't close because you have an opened form, maybe not visible. Please send your project... Regards, -- Benoit Minisini From gambas at ...1... Thu Mar 9 14:28:54 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Mar 2006 14:28:54 +0100 Subject: [Gambas-user] Problem with sending a mail In-Reply-To: <1141908987.441025fb98887@...1396...> References: <1140653388.43fcfd4ccdb84@...1396...> <200602231001.03115.gambas@...1...> <1141908987.441025fb98887@...1396...> Message-ID: <200603091428.55454.gambas@...1...> Hi, A guy wrote me: > Hi, i'm waiting a response about how i can do a print preview in Gambas > 1.0.14 Thanks Javier Romero > All my previous answers returned back with a transmission error. I don't know where the problem comes from... Can someone be kind and try to tell him that I can't send mails to its address, and he should subscribe to the mailing-list, or use another e-mail address? His e-mail is: 'Carlos Javier Romero OHara ' Thanks in advance, -- Benoit Minisini From maillists at ...1367... Thu Mar 9 19:36:12 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 09 Mar 2006 10:36:12 -0800 Subject: [Gambas-user] Problem closing app.] Message-ID: <1141929372.12318.3.camel@...1368...> Okay, I believe I fixed it. At least it's closing now. The problem seems to be I load FormData and FormStatus prior to loading FormMain (notice this in the MAIN module). Which makes the interpreter think these AREN'T children of FormMain. I changed it so they load AFTER FormMain, so when I close the main form they close as well and the program ends. Thanx for your time. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From gambas at ...1... Thu Mar 9 23:18:12 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Mar 2006 23:18:12 +0100 Subject: [Gambas-user] readlink and hex to decimal In-Reply-To: <200603051935.48534.reinhard@...1390...> References: <200603051935.48534.reinhard@...1390...> Message-ID: <200603092318.12768.gambas@...1...> On Sunday 05 March 2006 19:35, Reinhard Ohm wrote: > Hallo || Hello Benoit > > is it possible which you sees for appendix or something similar could > insert? function the Hex in decimal converts would be also quite beautiful > > > Gambas2 1.9.26 > > Gru? || Regards I prefered to add the function to the object returned by Stat(). So, to know where a symbolic link points at, you will do: PRINT Stat("/path/to/a/symbolic/link").Link Regards, -- Benoit Minisini From a.ciric at ...1147... Thu Mar 9 23:33:36 2006 From: a.ciric at ...1147... (Alex Ciric) Date: Thu, 09 Mar 2006 23:33:36 +0100 Subject: [Gambas-user] Columnview. Change behaviour of sorting-feature In-Reply-To: <200603092318.12768.gambas@...1...> References: <200603051935.48534.reinhard@...1390...> <200603092318.12768.gambas@...1...> Message-ID: <4410AD40.8060106@...1147...> Hi together. I have a columnview with sorted=true. If the user clicks on the rows name, it sorts only alphabetical. Of course, often its more useful to sort for numbers and other values. Is there a way to change this behaviour? Thx. alex From reinhardohm at ...1389... Thu Mar 9 23:36:27 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Thu, 9 Mar 2006 23:36:27 +0100 Subject: [Gambas-user] readlink and hex to decimal In-Reply-To: <200603092318.12768.gambas@...1...> References: <200603051935.48534.reinhard@...1390...> <200603092318.12768.gambas@...1...> Message-ID: <200603092336.27285.reinhard@...1390...> Am Donnerstag, 9. M?rz 2006 23:18 schrieb Benoit Minisini: > I prefered to add the function to the object returned by Stat(). > > So, to know where a symbolic link points at, you will do: Super! Gru? Reinhard Ohm From gambas at ...1... Thu Mar 9 23:45:02 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 9 Mar 2006 23:45:02 +0100 Subject: [Gambas-user] Columnview. Change behaviour of sorting-feature In-Reply-To: <4410AD40.8060106@...1147...> References: <200603051935.48534.reinhard@...1390...> <200603092318.12768.gambas@...1...> <4410AD40.8060106@...1147...> Message-ID: <200603092345.02658.gambas@...1...> On Thursday 09 March 2006 23:33, Alex Ciric wrote: > Hi together. > > I have a columnview with sorted=true. > If the user clicks on the rows name, it sorts only alphabetical. > Of course, often its more useful to sort for numbers and other values. > > Is there a way to change this behaviour? > > Thx. > > alex > You can't in the stable version. But in the development version, you have a 'Compare' event that is raised each time two items must be compared. You just have to handle this event to override the default alphabetical sort. You have an example in the implementation of the FileView control in the gb.form component. Regards, -- Benoit Minisini From rohnny at ...1248... Fri Mar 10 06:04:21 2006 From: rohnny at ...1248... (R. Stormo) Date: Thu, 9 Mar 2006 21:04:21 -0800 (PST) Subject: [Gambas-user] checkbox alignment Message-ID: <3333559.post@...1379...> Wonder if it's possible to have the checkbox and text swapped from property? ex textalignment = left [ ]sometext Textaligment = right sometext [ ] -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/checkbox-alignment-t1257108.html#a3333559 Sent from the gambas-user forum at Nabble.com. From kvaibhav at ...1398... Fri Mar 10 07:02:50 2006 From: kvaibhav at ...1398... (kvaibhav at ...1398...) Date: Fri, 10 Mar 2006 11:32:50 +0530 (IST) Subject: [Gambas-user] gambas is not running on 64bit machine Message-ID: <1141970570.4411168a40086@...1399...> Hello all, I have a Intel EM64T machine with 64 bit linux operating system. I compiled gambas and there is no problem but when I try to run the gambas. i got the following errror. sizeof(CLASS) = 256 ! ERROR: #51: Bad archive: Invalid argument If someone of you have found the solution to this problem please give the solution to me also. Because I didn't find one on the internet. Thank You ------------------------------------------------- From brian at ...1334... Fri Mar 10 08:20:00 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Thu, 09 Mar 2006 23:20:00 -0800 (PST) Subject: [Gambas-user] gambas is not running on 64bit machine In-Reply-To: <1141970570.4411168a40086@...1399...> References: <1141970570.4411168a40086@...1399...> Message-ID: <20060309231308.T91510@...1337...> On Fri, 10 Mar 2006 kvaibhav at ...1398... wrote: > Hello all, > > I have a Intel EM64T machine with 64 bit linux operating system. > I compiled gambas and there is no problem but when I try to run the gambas. > i got the following errror. > > sizeof(CLASS) = 256 ! > ERROR: #51: Bad archive: Invalid argument > > If someone of you have found the solution to this problem please give the > solution to me also. Because I didn't find one on the internet. Several parts of the Gambas internal code depend on the assumption that a pointer to memory will only be 32 bits. Because the class is internally handled by structures containing pointers the change in pointer size is changing the size (in bytes) of the structures as a whole, causing the sizes expected by the gambas executive to be inconsistent with expected sizes. This can happen despite a clean compiler output! Put in English, the Gambas core code currently does not cope with 64-bit systems. I think the problem is being looked into but that not enough people involved with development of Gambas own 64-bit systems to adapt the code so it will work in a 64-bit environment. Solution: If your system has a 32-bit application backward compatibility layer then compile and run gambas within it. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From gambas at ...1... Fri Mar 10 12:13:12 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Mar 2006 12:13:12 +0100 Subject: [Gambas-user] checkbox alignment In-Reply-To: <3333559.post@...1379...> References: <3333559.post@...1379...> Message-ID: <200603101213.13037.gambas@...1...> On Friday 10 March 2006 06:04, R. Stormo wrote: > Wonder if it's possible to have the checkbox and text swapped from > property? ex textalignment = left > [ ]sometext > Textaligment = right > sometext [ ] Alas this is not supported by the QT style engine, even in QT 4. :-( -- Benoit Minisini From maillists at ...1367... Fri Mar 10 19:16:55 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Fri, 10 Mar 2006 10:16:55 -0800 Subject: [Gambas-user] Application windows Message-ID: <1142014616.14905.1.camel@...1368...> Is there a way to retrieve the application handles of other open windows (not related to your gambas project). What I'm trying to do is force the focus to return to the previous application prior to opening my gambas window. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Fri Mar 10 19:40:16 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 10 Mar 2006 13:40:16 -0500 Subject: [Gambas-user] gambas is not running on 64bit machine In-Reply-To: <20060309231308.T91510@...1337...> References: <1141970570.4411168a40086@...1399...> <20060309231308.T91510@...1337...> Message-ID: <200603101340.18373.sourceforge-raindog2@...94...> On Fri March 10 2006 02:20, Christopher Brian Jack wrote: > Several parts of the Gambas internal code depend on the > assumption that a pointer to memory will only be 32 bits. It's not only pointers.... in the case of the code that loads the class files (if I understand it...) it's assuming all datatypes are going to be 32 bits. To fix the problem, the compiler will have to be changed to write architecture-independent datatypes (int32_t, etc...) and the interpreter will have to be changed to read them. I don't think that'll be easy, but I hope we see that happen before 2.0. I know Benoit is thinking about it because he already fixed the endian problem. Rob From gambas at ...1... Fri Mar 10 20:20:42 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 10 Mar 2006 20:20:42 +0100 Subject: [Gambas-user] gambas is not running on 64bit machine In-Reply-To: <200603101340.18373.sourceforge-raindog2@...94...> References: <1141970570.4411168a40086@...1399...> <20060309231308.T91510@...1337...> <200603101340.18373.sourceforge-raindog2@...94...> Message-ID: <200603102020.42650.gambas@...1...> On Friday 10 March 2006 19:40, Rob Kudla wrote: > On Fri March 10 2006 02:20, Christopher Brian Jack wrote: > > Several parts of the Gambas internal code depend on the > > assumption that a pointer to memory will only be 32 bits. > > It's not only pointers.... in the case of the code that loads the > class files (if I understand it...) it's assuming all datatypes > are going to be 32 bits. To fix the problem, the compiler will > have to be changed to write architecture-independent datatypes > (int32_t, etc...) and the interpreter will have to be changed to > read them. > > I don't think that'll be easy, but I hope we see > that happen before 2.0. I know Benoit is thinking about it > because he already fixed the endian problem. > > Rob > Actually I didn't think about that at all. Having compiled projects that can run on a 32-bits Gambas interpreter and on a 64-bits one will need an almost total rewrite of the interpreter! If only gcc had something like "short pointer", i.e. support for 32-bits pointer on a 64-bits architecture, it would be a temporary solution. So Gambas 2.0 will be 32 bits only I think, unless a miracle happens. Regards, -- Benoit Minisini From m.galm at ...31... Sat Mar 11 19:00:13 2006 From: m.galm at ...31... (m.galm) Date: Sat, 11 Mar 2006 19:00:13 +0100 Subject: [Gambas-user] Resizable Forms Message-ID: <200603111900.13755.m.galm@...31...> Hello. Is there a proper way to set the min. width & height of a resizable Form ? (stable 1.0.14) Thx, Michael Galm From reinhardohm at ...1389... Sun Mar 12 18:51:06 2006 From: reinhardohm at ...1389... (Reinhard Ohm) Date: Sun, 12 Mar 2006 18:51:06 +0100 Subject: [Gambas-user] Singnal #6 is back! Message-ID: <200603121851.06084.reinhard@...1390...> Hello, set a breakpoint and you will see Singnal #6 "QPaintDevice: Must construct a QApplication before a QPaintDevice" ' Gambas module file PUBLIC myForm AS NEW Form AS "myForm" PUBLIC SUB Main() ? ? myForm.Show END PUBLIC SUB myForm_Open() ? WITH myForm ? .Height = 300 ? .Width = 400 END WITH END Gambas2 1.9.26 Gru? Reinhard From isy21 at ...1082... Mon Mar 13 03:57:39 2006 From: isy21 at ...1082... (Ignatius Syofian) Date: Mon, 13 Mar 2006 09:57:39 +0700 Subject: [Gambas-user] Illegal Instruction Message-ID: <200603130957.39584.isy21@...1082...> Hi, I using gambas 1.0.13 with Suse 10 and Mysql 4.1.13 The problem is Message " Illegal instruction", what this means ? I try add some additional tableview, then if i run then i got that message. Before that, nothings happens. -- Thanks in advance Regards, Ignatius Syofian From eilert-sprachen at ...221... Tue Mar 14 08:32:09 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Mar 2006 08:32:09 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable Message-ID: <44167179.4080400@...221...> Good morning everybody Sipping my coffee, I just tried to make my current project an executable file and found that it just doesn't do anything at all. I choose Project - make executable (or the German pendant to it), then confirm the name it proposes, click Save, the dialogue closes, and nothing happens. Is it a bug or a feature? :-) Thanks for you help... Rolf From maillists at ...1367... Tue Mar 14 09:20:50 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 14 Mar 2006 00:20:50 -0800 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <44167179.4080400@...221...> References: <44167179.4080400@...221...> Message-ID: <1142324450.22836.1.camel@...1368...> How did you run the executable? Did it even create a file where you specified? Did you use the "./programname" command instead of just "programname"? I use 1.0.14 as well. All works fine. Jeff On Tue, 2006-03-14 at 08:32 +0100, Eilert wrote: > Good morning everybody > > Sipping my coffee, I just tried to make my current project an executable > file and found that it just doesn't do anything at all. > > I choose Project - make executable (or the German pendant to it), then > confirm the name it proposes, click Save, the dialogue closes, and > nothing happens. > > Is it a bug or a feature? :-) > > Thanks for you help... > > Rolf > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- .^. /V\ /( )\ ^^-^^ Linux Advocate From eilert-sprachen at ...221... Tue Mar 14 09:24:05 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Mar 2006 09:24:05 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <1142324450.22836.1.camel@...1368...> References: <44167179.4080400@...221...> <1142324450.22836.1.camel@...1368...> Message-ID: <44167DA5.9000501@...221...> Hi Jeff, >How did you run the executable? > >Did it even create a file where you specified? > > No, it didn't, that's precisely the point. >Did you use the "./programname" command instead of just "programname"? > >I use 1.0.14 as well. All works fine. > > Sure, it did so for me with other projects (although it may have been 1.0.12 or something, because I haven't used that for a longer time now) Rolf >Jeff > > >On Tue, 2006-03-14 at 08:32 +0100, Eilert wrote: > > >>Good morning everybody >> >>Sipping my coffee, I just tried to make my current project an executable >>file and found that it just doesn't do anything at all. >> >>I choose Project - make executable (or the German pendant to it), then >>confirm the name it proposes, click Save, the dialogue closes, and >>nothing happens. >> >>Is it a bug or a feature? :-) >> >>Thanks for you help... >> >>Rolf >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>that extends applications into web and mobile media. Attend the live webcast >>and join the prime developer group breaking into this new coding territory! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> From eilert-sprachen at ...221... Tue Mar 14 09:25:56 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Mar 2006 09:25:56 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <1142324450.22836.1.camel@...1368...> References: <44167179.4080400@...221...> <1142324450.22836.1.camel@...1368...> Message-ID: <44167E14.5090905@...221...> After I sent the first answer, I tried it with another project. It did create an executable there, but the resulting file is not loadable for KDEinit. ??????? Rolf GuruLounge - MailLists schrieb: >How did you run the executable? > >Did it even create a file where you specified? > >Did you use the "./programname" command instead of just "programname"? > >I use 1.0.14 as well. All works fine. > >Jeff > > >On Tue, 2006-03-14 at 08:32 +0100, Eilert wrote: > > >>Good morning everybody >> >>Sipping my coffee, I just tried to make my current project an executable >>file and found that it just doesn't do anything at all. >> >>I choose Project - make executable (or the German pendant to it), then >>confirm the name it proposes, click Save, the dialogue closes, and >>nothing happens. >> >>Is it a bug or a feature? :-) >> >>Thanks for you help... >> >>Rolf >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>that extends applications into web and mobile media. Attend the live webcast >>and join the prime developer group breaking into this new coding territory! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> From eilert-sprachen at ...221... Tue Mar 14 09:28:26 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Mar 2006 09:28:26 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <1142324450.22836.1.camel@...1368...> References: <44167179.4080400@...221...> <1142324450.22836.1.camel@...1368...> Message-ID: <44167EAA.5020705@...221...> Sorry for writing again: I just found that it killed the old executable file and didn't create a new one. That's why KDEinit couldn't start it - it isn't there anymore. Rolf GuruLounge - MailLists schrieb: >How did you run the executable? > >Did it even create a file where you specified? > >Did you use the "./programname" command instead of just "programname"? > >I use 1.0.14 as well. All works fine. > >Jeff > > >On Tue, 2006-03-14 at 08:32 +0100, Eilert wrote: > > >>Good morning everybody >> >>Sipping my coffee, I just tried to make my current project an executable >>file and found that it just doesn't do anything at all. >> >>I choose Project - make executable (or the German pendant to it), then >>confirm the name it proposes, click Save, the dialogue closes, and >>nothing happens. >> >>Is it a bug or a feature? :-) >> >>Thanks for you help... >> >>Rolf >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by xPML, a groundbreaking scripting language >>that extends applications into web and mobile media. Attend the live webcast >>and join the prime developer group breaking into this new coding territory! >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> From gambas at ...1... Tue Mar 14 11:23:56 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Mar 2006 11:23:56 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <44167EAA.5020705@...221...> References: <44167179.4080400@...221...> <1142324450.22836.1.camel@...1368...> <44167EAA.5020705@...221...> Message-ID: <200603141123.56540.gambas@...1...> On Tuesday 14 March 2006 09:28, Eilert wrote: > Sorry for writing again: > > I just found that it killed the old executable file and didn't create a > new one. That's why KDEinit couldn't start it - it isn't there anymore. > > Rolf > Please send your project. Maybe there is a bug somewhere :-) -- Benoit Minisini From eilert-sprachen at ...221... Tue Mar 14 12:17:33 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Mar 2006 12:17:33 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <200603141123.56540.gambas@...1...> References: <44167179.4080400@...221...> <1142324450.22836.1.camel@...1368...> <44167EAA.5020705@...221...> <200603141123.56540.gambas@...1...> Message-ID: <4416A64D.2060207@...221...> Benoit Minisini schrieb: >On Tuesday 14 March 2006 09:28, Eilert wrote: > > >>Sorry for writing again: >> >>I just found that it killed the old executable file and didn't create a >>new one. That's why KDEinit couldn't start it - it isn't there anymore. >> >>Rolf >> >> >> > >Please send your project. Maybe there is a bug somewhere :-) > > > As I told Jeff, this behaviour isn't confined to a single project, but it seems every kind of project is involved. I tried it with another project where an executable already existed made by an earlier Gambas version, and Gambas killed the old file but didn't create a new one. Although - it felt like it did create something because it took some 2 or 3 seconds of work apparently. But if it did create a file, it didn't save it to the directory I asked it for. And where should I look for it? At least, nothing went into my /home nor /home/Gambas. Rolf From gambas at ...1... Tue Mar 14 12:25:35 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 14 Mar 2006 12:25:35 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <4416A64D.2060207@...221...> References: <44167179.4080400@...221...> <200603141123.56540.gambas@...1...> <4416A64D.2060207@...221...> Message-ID: <200603141225.35202.gambas@...1...> On Tuesday 14 March 2006 12:17, Eilert wrote: > Benoit Minisini schrieb: > >On Tuesday 14 March 2006 09:28, Eilert wrote: > >>Sorry for writing again: > >> > >>I just found that it killed the old executable file and didn't create a > >>new one. That's why KDEinit couldn't start it - it isn't there anymore. > >> > >>Rolf > > > >Please send your project. Maybe there is a bug somewhere :-) > > As I told Jeff, this behaviour isn't confined to a single project, but > it seems every kind of project is involved. I tried it with another > project where an executable already existed made by an earlier Gambas > version, and Gambas killed the old file but didn't create a new one. > > Although - it felt like it did create something because it took some 2 > or 3 seconds of work apparently. But if it did create a file, it didn't > save it to the directory I asked it for. And where should I look for it? > At least, nothing went into my /home nor /home/Gambas. > > Rolf > It works there. So maybe there is something in your project... -- Benoit Minisini From eilert-sprachen at ...221... Tue Mar 14 13:16:09 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 14 Mar 2006 13:16:09 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <200603141225.35202.gambas@...1...> References: <44167179.4080400@...221...> <200603141123.56540.gambas@...1...> <4416A64D.2060207@...221...> <200603141225.35202.gambas@...1...> Message-ID: <4416B409.8000104@...221...> Benoit Minisini schrieb: >On Tuesday 14 March 2006 12:17, Eilert wrote: > > >>Benoit Minisini schrieb: >> >> >>>On Tuesday 14 March 2006 09:28, Eilert wrote: >>> >>> >>>>Sorry for writing again: >>>> >>>>I just found that it killed the old executable file and didn't create a >>>>new one. That's why KDEinit couldn't start it - it isn't there anymore. >>>> >>>>Rolf >>>> >>>> >>>Please send your project. Maybe there is a bug somewhere :-) >>> >>> >>As I told Jeff, this behaviour isn't confined to a single project, but >>it seems every kind of project is involved. I tried it with another >>project where an executable already existed made by an earlier Gambas >>version, and Gambas killed the old file but didn't create a new one. >> >>Although - it felt like it did create something because it took some 2 >>or 3 seconds of work apparently. But if it did create a file, it didn't >>save it to the directory I asked it for. And where should I look for it? >>At least, nothing went into my /home nor /home/Gambas. >> >>Rolf >> >> >> > >It works there. So maybe there is something in your project... > > > Ok, here you are :-) -------------- next part -------------- A non-text attachment was scrubbed... Name: kalender.tgz Type: application/x-compressed-tar Size: 36560 bytes Desc: not available URL: From maillists at ...1367... Tue Mar 14 19:27:45 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 14 Mar 2006 10:27:45 -0800 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <4416B409.8000104@...221...> References: <44167179.4080400@...221...> <200603141123.56540.gambas@...1...> <4416A64D.2060207@...221...> <200603141225.35202.gambas@...1...> <4416B409.8000104@...221...> Message-ID: <1142360865.4283.1.camel@...1368...> I'm using 1.0.14. I downloaded and ran your project (Kalender). Then created an executable and ran it. Works fine. Nice looking project by the way. Too bad I don't understand German. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From mike_keehan at ...679... Tue Mar 14 19:53:38 2006 From: mike_keehan at ...679... (Mike Keehan) Date: Tue, 14 Mar 2006 18:53:38 +0000 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <1142360865.4283.1.camel@...1368...> References: <44167179.4080400@...221...> <200603141123.56540.gambas@...1...> <4416A64D.2060207@...221...> <200603141225.35202.gambas@...1...> <4416B409.8000104@...221...> <1142360865.4283.1.camel@...1368...> Message-ID: <44171132.6000705@...679...> GuruLounge - MailLists wrote: > I'm using 1.0.14. I downloaded and ran your project (Kalender). Then > created an executable and ran it. Works fine. > > Nice looking project by the way. Too bad I don't understand German. > > Jeff > It sounds like it could be a permissions problem somewhere - I've been using 1.0.14 to compile projects without any troubles at all. Try copying your project files to another directory and running Gambas with the project in the new directory. Mike From eilert-sprachen at ...221... Wed Mar 15 08:40:37 2006 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 15 Mar 2006 08:40:37 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <44171132.6000705@...679...> References: <44167179.4080400@...221...> <200603141123.56540.gambas@...1...> <4416A64D.2060207@...221...> <200603141225.35202.gambas@...1...> <4416B409.8000104@...221...> <1142360865.4283.1.camel@...1368...> <44171132.6000705@...679...> Message-ID: <4417C4F5.8040706@...221...> Mike Keehan schrieb: > GuruLounge - MailLists wrote: > >> I'm using 1.0.14. I downloaded and ran your project (Kalender). Then >> created an executable and ran it. Works fine. >> >> Nice looking project by the way. Too bad I don't understand German. >> >> Jeff >> > > It sounds like it could be a permissions problem somewhere - I've been > using 1.0.14 to compile projects without any troubles at all. > > Try copying your project files to another directory and running Gambas > with the project in the new directory. > > Mike > The directories are 755, I don't think it's too few rights. Playing around I found kinda workaround: either save into my home, or save with another name than proposed. When I choose "kal" instead of "kalender", it works fine :-) Strange things... Rolf From eilert-sprachen at ...221... Wed Mar 15 08:46:57 2006 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 15 Mar 2006 08:46:57 +0100 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <1142360865.4283.1.camel@...1368...> References: <44167179.4080400@...221...> <200603141123.56540.gambas@...1...> <4416A64D.2060207@...221...> <200603141225.35202.gambas@...1...> <4416B409.8000104@...221...> <1142360865.4283.1.camel@...1368...> Message-ID: <4417C671.4080301@...221...> GuruLounge - MailLists schrieb: >I'm using 1.0.14. I downloaded and ran your project (Kalender). Then >created an executable and ran it. Works fine. > > > I just found a "way in": either saving the executable into my home or renaming it to something else, like "kal" instead of "kalender" will do the job. >Nice looking project by the way. Too bad I don't understand German. > > Thanks! :-) But I wonder how it runs anyway, for you won't have a $HOME/.kalender sub-directory with the necessary file structure in it. Interesting it even runs without that! Well, I made it to combine the advantages of the two calendar programs I'm using currently in the office. But I didn't try to implement something flexible like usual calendar programs do. My app is specialised to my specific needs, and I think there's a lot of things other folks would do in a different way. Rolf From markku.maattanen at ...1400... Wed Mar 15 18:25:33 2006 From: markku.maattanen at ...1400... (Markku =?ISO-8859-1?Q?M=E4=E4tt=E4nen?=) Date: Wed, 15 Mar 2006 19:25:33 +0200 Subject: [Gambas-user] Reading nordic characters from file Message-ID: <1142443533.6096.4.camel@...1401...> I have Mandriva Linux 2006.0 cooker and my Gambas version is 1.0.14 I try to run this example: PUBLIC SUB Button1_Click() myLine AS String myFile AS File OPEN "/home/mm/Gambas/test.txt" FOR READ AS myFile WHILE NOT Eof(myFile) LINE INPUT #myFile, myLine TextLabel1.Text= TextLabel1.Text & "
" & myLine WEND CLOSE myFile END Test.txt file are two lines: abcdefghijklmnopqrstuvxyz??? ABCDEFGHIJKLMNOPQRSTUVXYZ??? TextLabel1 result: abcdefghijklmnopqrstuvxyz ABCDEFGHIJKLMNOPQRSTUVXYZ Why does LINE INPUT not read nordic characters ????? ? Ubuntu 5.10 / Gambas 1.0.3 this example works well! From maillists at ...1367... Wed Mar 15 19:02:20 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 15 Mar 2006 10:02:20 -0800 Subject: [Gambas-user] 1.0.14 doesn't make executable In-Reply-To: <4417C671.4080301@...221...> References: <44167179.4080400@...221...> <200603141123.56540.gambas@...1...> <4416A64D.2060207@...221...> <200603141225.35202.gambas@...1...> <4416B409.8000104@...221...> <1142360865.4283.1.camel@...1368...> <4417C671.4080301@...221...> Message-ID: <1142445740.6037.1.camel@...1368...> I did notice an error "file or directory no found" or something like that when I close the program. But it runs all the same. Jeff > But I wonder how it runs anyway, for you won't have a $HOME/.kalender > sub-directory with the necessary file structure in it. Interesting it > even runs without that! > > Well, I made it to combine the advantages of the two calendar programs > I'm using currently in the office. But I didn't try to implement > something flexible like usual calendar programs do. My app is > specialised to my specific needs, and I think there's a lot of things > other folks would do in a different way. > > Rolf > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Wed Mar 15 19:35:21 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 15 Mar 2006 10:35:21 -0800 Subject: [Gambas-user] picture flush causes error. Message-ID: <1142447721.6425.6.camel@...1368...> I attempted to use "picture.flush" to help clean up the memory in my project because I noticed after viewing a large number of images the memory usage is very high. Using this function causes the program to crash with "signal #11" at some point. Not always the same point but very soon after using the function. I've attached the ImageViewer Form. The "picture.flush" function is in the "Init" sub and commented out. If you enable the function the IDE will crash when either closing the form or choosing another image. There aren't any button images because this is pasted from my project. Button tooltips will tell you what each button does (not all buttons are implemented yet). version 1.0.14 - FC4 Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Wed Mar 15 19:37:54 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 15 Mar 2006 10:37:54 -0800 Subject: [Gambas-user] Picture flush error Message-ID: <1142447874.6425.8.camel@...1368...> Oops, I forgot to attach the form... Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate -------------- next part -------------- A non-text attachment was scrubbed... Name: imageviewer.tgz Type: application/x-compressed-tar Size: 1574 bytes Desc: not available URL: From gambas at ...1... Wed Mar 15 20:17:02 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Mar 2006 20:17:02 +0100 Subject: [Gambas-user] Reading nordic characters from file In-Reply-To: <1142443533.6096.4.camel@...1401...> References: <1142443533.6096.4.camel@...1401...> Message-ID: <200603152017.03058.gambas@...1...> On Wednesday 15 March 2006 18:25, Markku M??tt?nen wrote: > I have Mandriva Linux 2006.0 cooker and my Gambas version is 1.0.14 > > I try to run this example: > > PUBLIC SUB Button1_Click() > > myLine AS String > myFile AS File > > OPEN "/home/mm/Gambas/test.txt" FOR READ AS myFile > WHILE NOT Eof(myFile) > LINE INPUT #myFile, myLine > TextLabel1.Text= TextLabel1.Text & "
" & myLine > WEND > CLOSE myFile > END > > Test.txt file are two lines: > abcdefghijklmnopqrstuvxyz??? > ABCDEFGHIJKLMNOPQRSTUVXYZ??? > > TextLabel1 result: > abcdefghijklmnopqrstuvxyz > ABCDEFGHIJKLMNOPQRSTUVXYZ > > Why does LINE INPUT not read nordic characters ????? ? > > Ubuntu 5.10 / Gambas 1.0.3 this example works well! > Can you send me your text file? -- Benoit Minisini From gambas at ...1... Wed Mar 15 20:39:43 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Mar 2006 20:39:43 +0100 Subject: [Gambas-user] Picture flush error In-Reply-To: <1142447874.6425.8.camel@...1368...> References: <1142447874.6425.8.camel@...1368...> Message-ID: <200603152039.43314.gambas@...1...> On Wednesday 15 March 2006 19:37, GuruLounge - MailLists wrote: > Oops, I forgot to attach the form... > > Jeff Here is a patch. I think it fixes the bug... -- Benoit Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: CPicture.cpp Type: text/x-c++src Size: 7443 bytes Desc: not available URL: From gambas at ...1... Wed Mar 15 20:41:19 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Mar 2006 20:41:19 +0100 Subject: [Gambas-user] Illegal Instruction In-Reply-To: <200603130957.39584.isy21@...1082...> References: <200603130957.39584.isy21@...1082...> Message-ID: <200603152041.19843.gambas@...1...> On Monday 13 March 2006 03:57, Ignatius Syofian wrote: > Hi, > > I using gambas 1.0.13 with Suse 10 and Mysql 4.1.13 > > The problem is > Message " Illegal instruction", what this means ? It is a bug in the interpreter! > > I try add some additional tableview, then if i run then i got that message. > Before that, nothings happens. Please try with gambas 1.0.14 if possible. If it does not fix your problem, send me your project, and explain me how to reproduce the error with it. Regards, -- Benoit Minisini From maillists at ...1367... Wed Mar 15 20:47:08 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 15 Mar 2006 11:47:08 -0800 Subject: [Gambas-user] Program Version conventions Message-ID: <1142452028.9350.3.camel@...1368...> I was just wondering if someone could explain how the program version numbers work (major, minor, release, etc.) and is there a difference in alpha releases and beta releases regarding these numbers? I'm assuming my project is in it's "alpha" stage at the moment but when I get to a stable point and all the functions "seem" to work I assume it will move to a "beta" stage. Then when everything is stable and known to work correctly I assume it will move to it's first major release (as verion 1.xxx)? TIA, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From gordon.findlay at ...626... Wed Mar 15 21:24:45 2006 From: gordon.findlay at ...626... (Gordon Findlay) Date: Thu, 16 Mar 2006 09:24:45 +1300 Subject: [Gambas-user] Program Version conventions In-Reply-To: <1142452028.9350.3.camel@...1368...> References: <1142452028.9350.3.camel@...1368...> Message-ID: Now if only we could all agree on that matter! But everyone has slightly varying conventions, although for some projects the conventions are only followed loosely. The most carefully thought through set of "standards" I know of is ESRs "Software Release Practice HOWTO", to be found at http://en.tldp.org/HOWTO/Software-Release-Practice-HOWTO/ Like everything else, it's controversial. Slainte Gordon On 3/16/06, GuruLounge - MailLists wrote: > > I was just wondering if someone could explain how the program version > numbers work (major, minor, release, etc.) and is there a difference in > alpha releases and beta releases regarding these numbers? > > I'm assuming my project is in it's "alpha" stage at the moment but when > I get to a stable point and all the functions "seem" to work I assume it > will move to a "beta" stage. Then when everything is stable and known > to work correctly I assume it will move to it's first major release (as > verion 1.xxx)? > > TIA, > Jeff > > -- > > .^. > /V\ > /( )\ > ^^-^^ > Linux Advocate > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Gordon Findlay gordon.findlay at ...626... "I love the way Microsoft follows standards. In much the same manner that fish follow migrating caribou." (Paul Tomblin) -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Wed Mar 15 21:28:10 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Mar 2006 21:28:10 +0100 Subject: [Gambas-user] Singnal #6 is back! In-Reply-To: <200603121851.06084.reinhard@...1390...> References: <200603121851.06084.reinhard@...1390...> Message-ID: <200603152128.11133.gambas@...1...> On Sunday 12 March 2006 18:51, Reinhard Ohm wrote: > Hello, > > set a breakpoint and you will see Singnal #6 > > "QPaintDevice: Must construct a QApplication before a QPaintDevice" > > > ' Gambas module file > > PUBLIC myForm AS NEW Form AS "myForm" > > > PUBLIC SUB Main() > > ? ? myForm.Show > > END > > > PUBLIC SUB myForm_Open() > > ? WITH myForm > ? .Height = 300 > ? .Width = 400 > END WITH > > END > > > Gambas2 1.9.26 > > Gru? > > Reinhard > This will be fixed in the next version. Regards, -- Benoit Minisini From gambas at ...1... Wed Mar 15 21:29:30 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Mar 2006 21:29:30 +0100 Subject: [Gambas-user] Resizable Forms In-Reply-To: <200603111900.13755.m.galm@...31...> References: <200603111900.13755.m.galm@...31...> Message-ID: <200603152129.30422.gambas@...1...> On Saturday 11 March 2006 19:00, m.galm wrote: > Hello. > > Is there a proper way to set the min. width & height > of a resizable Form ? > > (stable 1.0.14) > > Thx, Michael Galm > Not yet. Do you think I should manage that? -- Benoit Minisini From gambas at ...1... Wed Mar 15 21:31:30 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Mar 2006 21:31:30 +0100 Subject: [Gambas-user] Application windows In-Reply-To: <1142014616.14905.1.camel@...1368...> References: <1142014616.14905.1.camel@...1368...> Message-ID: <200603152131.30341.gambas@...1...> On Friday 10 March 2006 19:16, GuruLounge - MailLists wrote: > Is there a way to retrieve the application handles of other open windows > (not related to your gambas project). Desktop.Find() in the development version. > > What I'm trying to do is force the focus to return to the previous > application prior to opening my gambas window. You can use Desktop.Find() to do that. I think what you want to do is a bad idea. The good way to do that is having a way to send a message to the last application, and then this application can decide to raise and get focus itself. Regards, -- Benoit Minisini From maillists at ...1367... Wed Mar 15 21:45:17 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 15 Mar 2006 12:45:17 -0800 Subject: [Gambas-user] Picture FLIP and MIRROR Message-ID: <1142455517.10818.2.camel@...1368...> Do these functions work in 1.0.14? I've tried a number of ways to implement them: DIM imgTmp AS Image imgTmp = picPreview.Picture.Image imgTmp.Flip picPreview.Picture = imgTmp.Picture and picPreview.Picture.Image.Flip But it doesn't seem to do anything. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Wed Mar 15 21:44:33 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 15 Mar 2006 15:44:33 -0500 Subject: [Gambas-user] Resizable Forms In-Reply-To: <200603152129.30422.gambas@...1...> References: <200603111900.13755.m.galm@...31...> <200603152129.30422.gambas@...1...> Message-ID: <200603151544.34114.sourceforge-raindog2@...94...> On Wed March 15 2006 15:29, Benoit Minisini wrote: > > Is there a proper way to set the min. width & height > > of a resizable Form ? > Not yet. Do you think I should manage that? Qt will let you set the minimum size hint for a window, won't it? I don't know if any management is needed other than making properties called MinHeight and MinWidth or something.... Rob From maillists at ...1367... Wed Mar 15 23:07:04 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 15 Mar 2006 14:07:04 -0800 Subject: [Gambas-user] Form.Width verses Maximized Message-ID: <1142460424.12907.1.camel@...1368...> I noticed when I maximize a form the width and height properties don't reflect the new size. Is there a way to retrieve this information? "Desktop" won't do it because my screen is dual-head and maximize only maximizes on one screen. Gambas 1.0.14 Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From gambas at ...1... Wed Mar 15 23:38:22 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 15 Mar 2006 23:38:22 +0100 Subject: [Gambas-user] Form.Width verses Maximized In-Reply-To: <1142460424.12907.1.camel@...1368...> References: <1142460424.12907.1.camel@...1368...> Message-ID: <200603152338.22591.gambas@...1...> On Wednesday 15 March 2006 23:07, GuruLounge - MailLists wrote: > I noticed when I maximize a form the width and height properties don't > reflect the new size. Do you mean in the code or in the IDE property sheet? -- Benoit Minisini From lordheavy at ...512... Wed Mar 15 23:50:19 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 15 Mar 2006 23:50:19 +0100 Subject: [Gambas-user] Resizable Forms In-Reply-To: <200603152129.30422.gambas@...1...> References: <200603111900.13755.m.galm@...31...> <200603152129.30422.gambas@...1...> Message-ID: <200603152350.19877.lordheavy@...512...> Le Mercredi 15 Mars 2006 21:29, Benoit Minisini a ?crit?: > On Saturday 11 March 2006 19:00, m.galm wrote: > > Hello. > > > > Is there a proper way to set the min. width & height > > of a resizable Form ? > > > > (stable 1.0.14) > > > > Thx, Michael Galm > > Not yet. Do you think I should manage that? I 've see that gambas doesn't let the WM manage the position of the windows too .... regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From isy21 at ...1082... Thu Mar 16 03:20:43 2006 From: isy21 at ...1082... (Ignatius Syofian) Date: Thu, 16 Mar 2006 09:20:43 +0700 Subject: [Gambas-user] Gambas 1.0.14 for Suse 10 Message-ID: <200603160920.43903.isy21@...1082...> Hi, i can't find gambas 1.0.14 for suse 10 in ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/ created by Guillermo Ballester Valor. how can i compile gambas.1.0.14 for Suse 10 ? Can anyone send me detail instruction for do that ? It is safe to use Gambas Development version to production software ? It' seem gambas development include many feature that not include in gambas stable version. -- Thanks in advance Regards, Ignatius Syofian From isy21 at ...1082... Thu Mar 16 04:07:28 2006 From: isy21 at ...1082... (Ignatius Syofian) Date: Thu, 16 Mar 2006 10:07:28 +0700 Subject: [Gambas-user] Illegal Instruction In-Reply-To: <200603152041.19843.gambas@...1...> References: <200603130957.39584.isy21@...1082...> <200603152041.19843.gambas@...1...> Message-ID: <200603161007.28474.isy21@...1082...> Hi Benoit, I found the error is. i use like this dim myresult as result dim db as connection PUBLIC FUNCTION conn(myhost AS String, mylogon AS String, mypass AS String,myport AS String) AS Boolean db.close db.Type = "mysql" db.Name="dolphin" db.Host = myhost db.Login = mylogon db.Password = mypass db.Port=myport db.Open RETURN TRUE CATCH Message.error(Error.text) RETURN FALSE END after suscess openning mysql database then i use in my invoice modul like this: myresult=db.exec("select * from tinvoice") and i use it myresult again with another select like myresult=db.exec("select * from bank") after about ariund 28 use myresult=db.exec ("select ....") then if i add one then if raise error illegal instruction. i found it yesterday, when i delete two of using myresult=db.exec ("select ...") , then i add one , then the error not raise. It there a limitation of using myresult=db.exec("select ...") ? or this because of using compiler gcc ? i use gambas rpm for SUSE 10 created by Guillermo Ballester Valor from gambas.sourceforge.net i hope i can compile myself from source you publish, but until now i wait email from Guillermo Ballester Valor or anyone how to do it and i will continue to search from internet. On Thursday 16 March 2006 02:41, Benoit Minisini wrote: > On Monday 13 March 2006 03:57, Ignatius Syofian wrote: > > Hi, > > > > I using gambas 1.0.13 with Suse 10 and Mysql 4.1.13 > > > > The problem is > > Message " Illegal instruction", what this means ? > > It is a bug in the interpreter! > > > I try add some additional tableview, then if i run then i got that > > message. Before that, nothings happens. > > Please try with gambas 1.0.14 if possible. If it does not fix your problem, > send me your project, and explain me how to reproduce the error with it. > > Regards, -- Thanks in advance Regards, Ignatius Syofian From eilert-sprachen at ...221... Thu Mar 16 08:09:31 2006 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 16 Mar 2006 08:09:31 +0100 Subject: [Gambas-user] Reading nordic characters from file In-Reply-To: <1142443533.6096.4.camel@...1401...> References: <1142443533.6096.4.camel@...1401...> Message-ID: <44190F2B.2040502@...221...> Hi Markku, maybe your file isn't UTF8? Rolf Markku M??tt?nen schrieb: >Test.txt file are two lines: >abcdefghijklmnopqrstuvxyz??? >ABCDEFGHIJKLMNOPQRSTUVXYZ??? > >TextLabel1 result: >abcdefghijklmnopqrstuvxyz >ABCDEFGHIJKLMNOPQRSTUVXYZ > > > From gambas at ...1... Thu Mar 16 08:33:40 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 16 Mar 2006 08:33:40 +0100 Subject: [Gambas-user] Reading nordic characters from file In-Reply-To: <44190F2B.2040502@...221...> References: <1142443533.6096.4.camel@...1401...> <44190F2B.2040502@...221...> Message-ID: <200603160833.40646.gambas@...1...> On Thursday 16 March 2006 08:09, Eilert wrote: > Hi Markku, > > maybe your file isn't UTF8? > > Rolf > That's that! TextLabel displays UTF-8 encoded HTML. Maybe this has changed since older qt versions... Regards, -- Benoit Minisini From maillists at ...1367... Thu Mar 16 11:53:56 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 16 Mar 2006 02:53:56 -0800 Subject: [Gambas-user] Form.Width verses Maximized In-Reply-To: <200603152338.22591.gambas@...1...> References: <1142460424.12907.1.camel@...1368...> <200603152338.22591.gambas@...1...> Message-ID: <1142506436.30295.0.camel@...1368...> In the code... On Wed, 2006-03-15 at 23:38 +0100, Benoit Minisini wrote: > On Wednesday 15 March 2006 23:07, GuruLounge - MailLists wrote: > > I noticed when I maximize a form the width and height properties don't > > reflect the new size. > > Do you mean in the code or in the IDE property sheet? > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From gbv at ...1076... Thu Mar 16 18:54:12 2006 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Thu, 16 Mar 2006 18:54:12 +0100 Subject: [Gambas-user] Gambas 1.0.14 for Suse 10 In-Reply-To: <200603160920.43903.isy21@...1082...> References: <200603160920.43903.isy21@...1082...> Message-ID: <200603161854.12434.gbv@...1076...> Hello all, I'll try to build rpms for gambas2-1.9.26 and gambas-1.0.14 this weekend. Sorry by the delay in updating, I've been overloaded lastly ;) Guillermo El Jueves, 16 de Marzo de 2006 03:20, Ignatius Syofian escribi?: > Hi, > > > i can't find gambas 1.0.14 for suse 10 in > ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/ created by Guillermo > Ballester Valor. > > how can i compile gambas.1.0.14 for Suse 10 ? > Can anyone send me detail instruction for do that ? > > It is safe to use Gambas Development version to production software ? > It' seem gambas development include many feature that not include in gambas > stable version. -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html #################################################### See World Weather Navigator at http://www.ogimet.com #################################################### From frankberg at ...390... Thu Mar 16 20:26:52 2006 From: frankberg at ...390... (Frank Berg) Date: Thu, 16 Mar 2006 20:26:52 +0100 Subject: [Gambas-user] compile error Message-ID: <000701c6492f$94928a40$0200a8c0@...391...> i was install my computer new with suse 9.3 and with all suse updates.. gambas 1.0.14 compiles fine and work ok but gambas2-1.19.26 can?t compile, it come an error : cc1: error: unrecognized option `-fvisibility=hidden' the attachment is the complete screen... whats wrong? frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Textdatei.txt URL: From gbv at ...1076... Thu Mar 16 20:40:50 2006 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Thu, 16 Mar 2006 20:40:50 +0100 Subject: [Gambas-user] compile error In-Reply-To: <000701c6492f$94928a40$0200a8c0@...391...> References: <000701c6492f$94928a40$0200a8c0@...391...> Message-ID: <200603162040.50870.gbv@...1076...> Hello, El Jueves, 16 de Marzo de 2006 20:26, Frank Berg escribi?: > i was install my computer new with suse 9.3 and with all suse updates.. > > gambas 1.0.14 compiles fine and work ok > > but > > gambas2-1.19.26 can?t compile, it come an error : cc1: error: unrecognized > option `-fvisibility=hidden' > > the attachment is the complete screen... > > whats wrong? > frank I think you need gcc-4.x compiler. Just a while ago I've tried to compile it too. It compiles in SuSE 9.3 with the aid of gcc_41 packages (a suplementary compiler) with the configure 'CC=gcc_41 CXX=g++_41 ./ configure ....' instead of './configure' You can download the needed gcc_41 packages from ftp://ftp4.gwdg.de/pub/linux/misc/suser-gbv/rpms/SuSE_9.3 remember you need to add the suffix '_41' to all the usual commands: gcc_41 g++_41 gfortran_41 ..... Anyway, I've also got problems with GTK version in 9.3 and some components gave me errors. I'm afraid I cannot release 1.9.26 packages for SuSE 9.3 :( Guillermo -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html #################################################### See World Weather Navigator at http://www.ogimet.com #################################################### From mwebb at ...1362... Thu Mar 16 15:31:38 2006 From: mwebb at ...1362... (mike webb) Date: Thu, 16 Mar 2006 14:31:38 +0000 Subject: [Gambas-user] windows and gambas Message-ID: <441976CA.10502@...1362...> since it doesn't look like gambas for windows is going to be coming out anytime soon. anyone have any expericense with a "basic" programming laugage that runs under windows. it needs to be as much like gambas as possible and open source. From maillists at ...1367... Thu Mar 16 22:00:07 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 16 Mar 2006 13:00:07 -0800 Subject: [Gambas-user] windows and gambas In-Reply-To: <441976CA.10502@...1362...> References: <441976CA.10502@...1362...> Message-ID: <1142542807.12473.5.camel@...1368...> I recall seeing a number of free BASIC compilers out there for windows I just don't remember any being like VB. You might also consider Borlands C++ compiler. It's free now and perhaps there's an IDE that uses it that will allow you to create forms. Another freebie to check out is Bloodshed Dev-C++ at: http://www.bloodshed.net/devcpp.html Best I can do for you. Anything else you'll need to Google for. Jeff On Thu, 2006-03-16 at 14:31 +0000, mike webb wrote: > since it doesn't look like gambas for windows is going to be coming out > anytime soon. > anyone have any expericense with a "basic" programming laugage that runs > under windows. > it needs to be as much like gambas as possible and open source. > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Thu Mar 16 22:01:46 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 16 Mar 2006 13:01:46 -0800 Subject: [Gambas-user] Form.Width verses Maximized In-Reply-To: <200603152338.22591.gambas@...1...> References: <1142460424.12907.1.camel@...1368...> <200603152338.22591.gambas@...1...> Message-ID: <1142542906.12473.8.camel@...1368...> I found a bit if a work-around for this problem. It seems I need to pause for about a second before the Form size values will read correctly. So I do something like this: Form.state = 3 wait 1.0 x = Form.width Y = Form.height Jeff On Wed, 2006-03-15 at 23:38 +0100, Benoit Minisini wrote: > On Wednesday 15 March 2006 23:07, GuruLounge - MailLists wrote: > > I noticed when I maximize a form the width and height properties don't > > reflect the new size. > > Do you mean in the code or in the IDE property sheet? > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Thu Mar 16 22:04:19 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 16 Mar 2006 13:04:19 -0800 Subject: [Gambas-user] Form.Width verses Maximized In-Reply-To: <1142460424.12907.1.camel@...1368...> References: <1142460424.12907.1.camel@...1368...> Message-ID: <1142543059.12473.12.camel@...1368...> It seems I've been implementing the function wrong here: I've been doing: myimage = mypicture.picture.image mypicture.picture = myimage.flip.picture when what needs to be done is: myimage = mypicture.picture.image mypicture.picture = myimage.flip().picture Just needed the parens in there. Jeff On Wed, 2006-03-15 at 14:07 -0800, GuruLounge - MailLists wrote: > I noticed when I maximize a form the width and height properties don't > reflect the new size. > > Is there a way to retrieve this information? "Desktop" won't do it > because my screen is dual-head and maximize only maximizes on one > screen. > > Gambas 1.0.14 > > Jeff > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Thu Mar 16 23:09:51 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 16 Mar 2006 17:09:51 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <441976CA.10502@...1362...> References: <441976CA.10502@...1362...> Message-ID: <200603161709.51518.sourceforge-raindog2@...94...> On Thu March 16 2006 09:31, mike webb wrote: > anyone have any expericense with a "basic" programming laugage > that runs under windows. > it needs to be as much like gambas as possible and open > source. It's funny, but while there are dozens and dozens of BASIC dialects out there, I don't think any fit your bill yet. There are a number of "cheapware" BASIC RAD environments for Windows, like RapidQ (free but discontinued and not open source), KBasic (25 bucks a copy, cross-platform, looks a lot like Gambas, but I've only heard poor reviews) and a ton of others listed below: http://www.thefreecountry.com/compilers/basic.shtml But to my knowledge, you have your choice between "open source" and "as much like Gambas as possible".... the only open source Windows BASIC compilers I know of (and listed there) are command line only, except XBASIC which feels like something from 1985. It may be that mbas (BASIC for Mono) will get there eventually, but it wouldn't surprise me if the occasional efforts to port Gambas made it there first. We've been using the same approach as you for deploying Gambas apps under Windows.... run it through a vnc server with a minimal window manager. We may eventually switch to freenx, which I think would provide a more native-like experience, if the version incompatibilities between it and nxclient ever go away. I personally don't use Windows at all or I'd be working on the port myself. I just found another site that seems to be a more current and comprehensive list of BASICs, though its author doesn't seem to care about price or whether they're open source or not: http://basic.mindteq.com/List.asp They give Gambas 3.5 stars out of 5. ;) Rob From gambas at ...1... Thu Mar 16 23:51:29 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 16 Mar 2006 23:51:29 +0100 Subject: [Gambas-user] compile error In-Reply-To: <200603162040.50870.gbv@...1076...> References: <000701c6492f$94928a40$0200a8c0@...391...> <200603162040.50870.gbv@...1076...> Message-ID: <200603162351.29468.gambas@...1...> On Thursday 16 March 2006 20:40, Guillermo Ballester Valor wrote: > Hello, > > El Jueves, 16 de Marzo de 2006 20:26, Frank Berg escribi?: > > i was install my computer new with suse 9.3 and with all suse updates.. > > > > gambas 1.0.14 compiles fine and work ok > > > > but > > > > gambas2-1.19.26 can?t compile, it come an error : cc1: error: > > unrecognized option `-fvisibility=hidden' > > > > the attachment is the complete screen... > > > > whats wrong? > > frank > > I think you need gcc-4.x compiler. Just a while ago I've tried to compile > it too. It compiles in SuSE 9.3 with the aid of gcc_41 packages (a > suplementary compiler) with the configure > > 'CC=gcc_41 CXX=g++_41 ./ configure ....' > > instead of './configure' > > You can download the needed gcc_41 packages from > > ftp://ftp4.gwdg.de/pub/linux/misc/suser-gbv/rpms/SuSE_9.3 > > remember you need to add the suffix '_41' to all the usual commands: > gcc_41 g++_41 gfortran_41 ..... > > Anyway, I've also got problems with GTK version in 9.3 and some components > gave me errors. I'm afraid I cannot release 1.9.26 packages for SuSE 9.3 :( > > Guillermo The used gcc 4 flag will be automatically disabled in the next version if you use gcc 3. As for the GTK+ problem, please tell. Daniel will tell us if the version of GTK+ is too young in SuSE 9.3 or not. Regards, -- Benoit Minisini From gbv at ...1076... Fri Mar 17 00:13:33 2006 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Fri, 17 Mar 2006 00:13:33 +0100 Subject: [Gambas-user] compile error In-Reply-To: <200603162351.29468.gambas@...1...> References: <000701c6492f$94928a40$0200a8c0@...391...> <200603162040.50870.gbv@...1076...> <200603162351.29468.gambas@...1...> Message-ID: <200603170013.33774.gbv@...1076...> Hello, El Jueves, 16 de Marzo de 2006 23:51, Benoit Minisini escribi?: > The used gcc 4 flag will be automatically disabled in the next version if > you use gcc 3. As for the GTK+ problem, please tell. Daniel will tell us if > the version of GTK+ is too young in SuSE 9.3 or not. > This is the error I got on SuSE 9.3 (using gcc_41 compiler) . I'm not sure where it came from. g++_41 -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT gtree.lo -MD -MP -MF .deps/gtree.Tpo -c gtree.cpp -fPIC -DPIC -o .libs/gtree.o In file included from gtree.cpp:29: ./gtree.h:115:7: warning: no newline at end of file gtree.cpp: In constructor 'gTreeRow::gTreeRow(gTree*, long unsigned int, GtkTreeIter*, char*)': gtree.cpp:80: warning: comparison between signed and unsigned integer expressions gtree.cpp: In member function 'gTreeCell* gTreeRow::get(long unsigned int)': gtree.cpp:176: warning: unused variable 'ct' gtree.cpp: In constructor 'gTree::gTree()': gtree.cpp:198: warning: unused variable 'column' gtree.cpp: In member function 'gTreeRow* gTree::addRow(char*, char*, char*)': gtree.cpp:429: warning: unused variable 'model' gtree.cpp: In member function 'bool gTree::columnVisible(long unsigned int)': gtree.cpp:640: warning: converting to non-pointer type 'bool' from NULL gtree.cpp: In member function 'bool gTree::columnResizable(long unsigned int)': gtree.cpp:657: warning: converting to non-pointer type 'bool' from NULL if /bin/sh ../libtool --tag=CXX --mode=compile g++_41 -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT gtools.lo -MD -MP -MF ".deps/gtools.Tpo" -c -o gtools.lo gtools.cpp; \ then mv -f ".deps/gtools.Tpo" ".deps/gtools.Plo"; else rm -f ".deps/gtools.Tpo"; exit 1; fi g++_41 -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -Os -fno-omit-frame-pointer -MT gtools.lo -MD -MP -MF .deps/gtools.Tpo -c gtools.cpp -fPIC -DPIC -o .libs/gtools.o gtools.cpp:309:2: warning: no newline at end of file widgets.h:456: error: extra qualification 'gPicture::' on member 'getPixbuf' make[4]: *** [gtools.lo] Error 1 make[4]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.26/gb.gtk/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.26/gb.gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.26/gb.gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/gambas2-1.9.26' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.89684 (%build) > Regards, -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html #################################################### See World Weather Navigator at http://www.ogimet.com #################################################### From henrigirard at ...67... Fri Mar 17 08:01:37 2006 From: henrigirard at ...67... (Henri Girard) Date: Fri, 17 Mar 2006 08:01:37 +0100 Subject: [Gambas-user] windows and gambas References: <441976CA.10502@...1362...> <1142542807.12473.5.camel@...1368...> Message-ID: use gambas in vmplayer... it's really good ! and free... HG ----- Original Message ----- From: "GuruLounge - MailLists" To: Sent: Thursday, March 16, 2006 10:00 PM Subject: Re: [Gambas-user] windows and gambas >I recall seeing a number of free BASIC compilers out there for windows I > just don't remember any being like VB. > > You might also consider Borlands C++ compiler. It's free now and > perhaps there's an IDE that uses it that will allow you to create forms. > > Another freebie to check out is Bloodshed Dev-C++ at: > http://www.bloodshed.net/devcpp.html > > Best I can do for you. Anything else you'll need to Google for. > > Jeff > > On Thu, 2006-03-16 at 14:31 +0000, mike webb wrote: >> since it doesn't look like gambas for windows is going to be coming out >> anytime soon. >> anyone have any expericense with a "basic" programming laugage that runs >> under windows. >> it needs to be as much like gambas as possible and open source. >> > > -- > > .^. > /V\ > /( )\ > ^^-^^ > Linux Advocate > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From maillists at ...1367... Fri Mar 17 11:02:15 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Fri, 17 Mar 2006 02:02:15 -0800 Subject: [Gambas-user] Image overlays In-Reply-To: <1141699540.16115.2.camel@...1368...> References: <1141699540.16115.2.camel@...1368...> Message-ID: <1142589735.31257.1.camel@...1368...> Well, I finally answered my own question on this one. Here's the solution I found: PUBLIC FUNCTION CreateLockedFileIcon(myIcon AS Picture) AS Picture DIM drawIcon AS picture DIM imgLocked AS image DIM wX AS Integer DIM wY AS Integer wX = myIcon.Width wY = myIcon.Height drawIcon = picture[Main.strImagePath & "locked-corner.png"] imgLocked = NEW Image(wX,wY) imgLocked = drawIcon.Image.Stretch(wX,wY) drawIcon = NEW picture(wX,wY,TRUE) Draw.Begin(drawIcon) Draw.picture(myIcon,0,0) Draw.picture(imgLocked.Picture,0,0) Draw.End RETURN drawIcon END Take Care! Jeff On Mon, 2006-03-06 at 18:45 -0800, GuruLounge - MailLists wrote: > Hi, > > Does anyone have an idea how I might be able to overlay one image on top > of another in a picture object? > > I have a lot of icons in my project and I need to be able to mark an > icon as locked or not in a treeview control. Creating a "locked" icon > for every item wouldn't work for this particular project. > > Thanx, > Jeff > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Fri Mar 17 11:19:25 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Fri, 17 Mar 2006 02:19:25 -0800 Subject: [Gambas-user] Error in executable Message-ID: <1142590766.31846.1.camel@...1368...> For some reason after I compile an executable I get this error when attempting to run it. "This application has raised an unexpected error and must abort." "[2] Cannot load class 'Main': Unable to load class file." "?.?.0" It runs in the IDE just fine. What happened? Gambas 1.0.14 - FC4 Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Fri Mar 17 11:26:25 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Fri, 17 Mar 2006 02:26:25 -0800 Subject: [Gambas-user] Error in executable In-Reply-To: <1142590766.31846.1.camel@...1368...> References: <1142590766.31846.1.camel@...1368...> Message-ID: <1142591185.32092.0.camel@...1368...> Well, so far I've narrowed it down to removing a few unused images or files from the project. I'm not sure if it's a memory issue a file-count issue. Jeff On Fri, 2006-03-17 at 02:19 -0800, GuruLounge - MailLists wrote: > For some reason after I compile an executable I get this error when > attempting to run it. > > "This application has raised an unexpected error and must abort." > > "[2] Cannot load class 'Main': Unable to load class file." > > "?.?.0" > > It runs in the IDE just fine. What happened? > > Gambas 1.0.14 - FC4 > > Jeff > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From gambas at ...1... Fri Mar 17 12:18:25 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 17 Mar 2006 12:18:25 +0100 Subject: [Gambas-user] Image overlays In-Reply-To: <1142589735.31257.1.camel@...1368...> References: <1141699540.16115.2.camel@...1368...> <1142589735.31257.1.camel@...1368...> Message-ID: <200603171218.25688.gambas@...1...> On Friday 17 March 2006 11:02, GuruLounge - MailLists wrote: > Well, I finally answered my own question on this one. Here's the > solution I found: > > PUBLIC FUNCTION CreateLockedFileIcon(myIcon AS Picture) AS Picture > DIM drawIcon AS picture > DIM imgLocked AS image > DIM wX AS Integer > DIM wY AS Integer > > wX = myIcon.Width > wY = myIcon.Height > > drawIcon = picture[Main.strImagePath & "locked-corner.png"] > imgLocked = NEW Image(wX,wY) That line is useless. Because the Stretch method returns a newly created image - it calls 'NEW Image(wX, wY)' for you. > imgLocked = drawIcon.Image.Stretch(wX,wY) > drawIcon = NEW picture(wX,wY,TRUE) > Draw.Begin(drawIcon) > Draw.picture(myIcon,0,0) > Draw.picture(imgLocked.Picture,0,0) > Draw.End > > RETURN drawIcon > > END > > Take Care! > Jeff > Regards, -- Benoit Minisini From gambas at ...1... Fri Mar 17 12:19:48 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 17 Mar 2006 12:19:48 +0100 Subject: [Gambas-user] Error in executable In-Reply-To: <1142591185.32092.0.camel@...1368...> References: <1142590766.31846.1.camel@...1368...> <1142591185.32092.0.camel@...1368...> Message-ID: <200603171219.48706.gambas@...1...> On Friday 17 March 2006 11:26, GuruLounge - MailLists wrote: > Well, so far I've narrowed it down to removing a few unused images or > files from the project. I'm not sure if it's a memory issue a > file-count issue. > > Jeff > > On Fri, 2006-03-17 at 02:19 -0800, GuruLounge - MailLists wrote: > > For some reason after I compile an executable I get this error when > > attempting to run it. > > > > "This application has raised an unexpected error and must abort." > > > > "[2] Cannot load class 'Main': Unable to load class file." > > > > "?.?.0" > > > > It runs in the IDE just fine. What happened? > > > > Gambas 1.0.14 - FC4 > > > > Jeff Please send your project so that I can fix the bug. And please put your answer after the query in a post, not before. Are you reading from bottom to top? :-) Regards, -- Benoit Minisini From katsancat at ...11... Fri Mar 17 12:40:28 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Fri, 17 Mar 2006 12:40:28 +0100 Subject: [Gambas-user] windows and gambas In-Reply-To: <441976CA.10502@...1362...> References: <441976CA.10502@...1362...> Message-ID: <200603171240.29165.katsancat@...11...> On Thursday 16 March 2006 15:31, mike webb wrote: > since it doesn't look like gambas for windows is going to be coming out > anytime soon. > anyone have any expericense with a "basic" programming laugage that runs > under windows. > it needs to be as much like gambas as possible and open source. > The only one i can think of is Java. But its syntax is not Basic. Furthermore, as long as Gambas doesn't run on Win32, it can't be compared to Java. But the day it will, it will be more popular than Java (with all the advantages .NET has NOT). But this won't happen by magic. We should union our efforts towards this goal, build a binary for windows. From tetsuo at ...756... Fri Mar 17 13:12:10 2006 From: tetsuo at ...756... (tetsuo) Date: Fri, 17 Mar 2006 13:12:10 +0100 Subject: [Gambas-user] scrolling TextView question Message-ID: <441AA79A.2080602@...756...> Is it possible to scroll down automatically a TextView when I insert new lines over the visible limit? With textArea i use .pos=len(.text) ... but in textView i don't know, there is not a .pos property. I must use a scrollable text object with tags support (for bold and italic styles) ... how can i do to view always the last row inserted? Gambas-1.9.23 tetsuo From gbv at ...1076... Fri Mar 17 14:36:14 2006 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Fri, 17 Mar 2006 14:36:14 +0100 Subject: [Gambas-user] Gambas 1.0.14 for Suse 10 In-Reply-To: <200603160920.43903.isy21@...1082...> References: <200603160920.43903.isy21@...1082...> Message-ID: <200603171436.15087.gbv@...1076...> Hello, New 1.0.14 and 1.9.26 RPMs are already in ftp.gwdg.de. This is for SuSE 10.0. For SuSE 9.3 there are only 1.0.14 ones. I have to fix some compile isues for 1.9.26 and SuSE 9.3 ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/ Guillermo El Jueves, 16 de Marzo de 2006 03:20, Ignatius Syofian escribi?: > Hi, > > > i can't find gambas 1.0.14 for suse 10 in > ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/ created by Guillermo > Ballester Valor. > > how can i compile gambas.1.0.14 for Suse 10 ? > Can anyone send me detail instruction for do that ? > > It is safe to use Gambas Development version to production software ? > It' seem gambas development include many feature that not include in gambas > stable version. -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html #################################################### See World Weather Navigator at http://www.ogimet.com #################################################### From rohnny at ...1248... Fri Mar 17 15:13:53 2006 From: rohnny at ...1248... (R. Stormo) Date: Fri, 17 Mar 2006 06:13:53 -0800 (PST) Subject: [Gambas-user] Error in executable In-Reply-To: <200603171219.48706.gambas@...1...> References: <1142590766.31846.1.camel@...1368...> <1142591185.32092.0.camel@...1368...> <200603171219.48706.gambas@...1...> Message-ID: <3456567.post@...1379...> Think I have had the same error. The reason for that is I have manually deleted a form or class from the prosject folder instead of using gambas to delete it. Try to make "main" module or class and check to see if you have the correct starting class. -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Error-in-executable-t1296977.html#a3456567 Sent from the gambas-user forum at Nabble.com. From mwebb at ...1362... Fri Mar 17 10:44:18 2006 From: mwebb at ...1362... (mike webb) Date: Fri, 17 Mar 2006 09:44:18 +0000 Subject: [Gambas-user] windows and gambas In-Reply-To: <441976CA.10502@...1362...> References: <441976CA.10502@...1362...> Message-ID: <441A84F2.7020808@...1362...> vnc and gambas seemed to work well for me in the first place, it wasn't until the user really stated to use it that i saw the problem. the app gives the user the opperutinly to write a message, if he does and say he writes one line, at the end of the line if he presses and holds down the left arrow button so that he could go back to the beginning of the line, vnc can't keep up, when he releases the key the cursor keeps going trying to catch up with him, this confuses and annoys the user. while this is not enough of a problem to scap the program i doubt i'll create another "vnc + gambas" program. spent a few hours yesterday checking out the windows basic field, theirs just nothing there right now at least nothing that compares to gambas, if gambas ever does come out for windows i think their exist a void which it could fill. BTW i have tried compiling gambas with mingw and gcc, its just not my thing, all those makefiles mean absoutly nothing to me. think bloodshed c is dead. haven't tried and don't even know what vmplayer is, will try that next. if that doesn't work, i guess its back to msaccess :( mike webb wrote: > since it doesn't look like gambas for windows is going to be coming > out anytime soon. > anyone have any expericense with a "basic" programming laugage that > runs under windows. > it needs to be as much like gambas as possible and open source. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Fri Mar 17 17:09:29 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 17 Mar 2006 11:09:29 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603171240.29165.katsancat@...11...> References: <441976CA.10502@...1362...> <200603171240.29165.katsancat@...11...> Message-ID: <200603171109.29663.sourceforge-raindog2@...94...> On Fri March 17 2006 06:40, Bertrand-Xavier M. wrote: > The only one i can think of is Java. But its syntax is not > Basic. I've also never used a Java IDE that was as good for rapid development as Gambas. The closest thing I've used was Borland's JBuilder, years ago, and that was a total hog. > Furthermore, as long as Gambas doesn't run on Win32, it > can't be compared to Java. But the day it will, it will be > more popular than Java (with all the advantages .NET has NOT). > But this won't happen by magic. We should union our efforts > towards this goal, build a binary for windows. I agree, and would be working on this myself if I still had any Windows machines. Rob From sourceforge-raindog2 at ...94... Fri Mar 17 17:07:58 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 17 Mar 2006 11:07:58 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <441A84F2.7020808@...1362...> References: <441976CA.10502@...1362...> <441A84F2.7020808@...1362...> Message-ID: <200603171107.58581.sourceforge-raindog2@...94...> On Fri March 17 2006 04:44, mike webb wrote: > haven't tried and don't even know what vmplayer is, will try > that next. if that doesn't work, i guess its back to msaccess > :( "vmplayer" is net slang for "VMware Player". It's free but not open source. It lets you run a virtual Linux machine under Windows (or Windows machine under Linux, etc.) They have preconfigured freely downloadable Linux machines available, and someone posted to the list recently about running Gambas apps in one. http://www.vmware.com/products/player/ There are also several totally open source ways to do this, but I don't know if anyone has used them to run Gambas apps: CoLinux - http://www.colinux.org/ TopologiLinux - http://topologi-linux.sourceforge.net/ (seems to be just a preconfigured version of colinux) QEmu - http://en.wikipedia.org/wiki/QEMU I also think that a Cygwin version of Gambas will probably happen before a fully native port. Rob From tetsuo at ...756... Fri Mar 17 18:06:25 2006 From: tetsuo at ...756... (tetsuo) Date: Fri, 17 Mar 2006 18:06:25 +0100 Subject: [Gambas-user] scrolling TextView question In-Reply-To: <441AA79A.2080602@...756...> References: <441AA79A.2080602@...756...> Message-ID: <441AEC91.1000402@...756...> tetsuo wrote: > Is it possible to scroll down automatically a TextView when I insert new > lines over the visible limit? > > With textArea i use .pos=len(.text) ... but in textView i don't know, > there is not a .pos property. > > I must use a scrollable text object with tags support (for bold and > italic styles) ... how can i do to view always the last row inserted? > ok ok... .ScrollY does it :D From matthias-laur at ...978... Fri Mar 17 18:15:14 2006 From: matthias-laur at ...978... (Matthias Laur) Date: Fri, 17 Mar 2006 18:15:14 +0100 Subject: AW: [Gambas-user] windows and gambas In-Reply-To: <200603171107.58581.sourceforge-raindog2@...94...> Message-ID: <0ML31I-1FKIXm0Foj-0003gN@...979...> Hi, I've also compiled gambas 1.0.14 in vmplayer with debian sarge. It runs well. I think another nice RAD tool for windows and linux is lazarus with freepascal. Looks like Delphi. OK it's not basic, but very easy to use too. http://lazarus.freepascal.org Regards, Matthias From samuel.derous at ...27... Fri Mar 17 19:05:45 2006 From: samuel.derous at ...27... (samuel.derous at ...27...) Date: Fri, 17 Mar 2006 19:05:45 +0100 Subject: [Gambas-user] windows and gambas In-Reply-To: <441976CA.10502@...1362...> References: <441976CA.10502@...1362...> Message-ID: <200603171905.45599.samuel.derous@...27...> Op donderdag 16 maart 2006 15:31, schreef mike webb: > since it doesn't look like gambas for windows is going to be coming out > anytime soon. > anyone have any expericense with a "basic" programming laugage that runs > under windows. > it needs to be as much like gambas as possible and open source. > > Misschhien is sharpdevelop dan iets voor je (http://www.sharpdevelop.com/) het is gebaseerd op het .net platform en maakt daar ook gebruik van, maar het programma zelf is open source. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Fri Mar 17 19:52:43 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 17 Mar 2006 13:52:43 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603171905.45599.samuel.derous@...27...> References: <441976CA.10502@...1362...> <200603171905.45599.samuel.derous@...27...> Message-ID: <200603171352.44059.sourceforge-raindog2@...94...> On Fri March 17 2006 13:05, samuel.derous at ...27... wrote: > Misschhien is sharpdevelop dan iets voor je > (http://www.sharpdevelop.com/) het is gebaseerd op het .net > platform en maakt daar ook gebruik van, maar het programma > zelf is open source. Yeah, SharpDevelop is a nice little IDE if you're stuck on Windows. I'm hoping that it will work with Mono's implementation of BASIC eventually, and that it will itself work under Mono (when Mono implements more of Windows.Forms, I guess.) That would technically fit the bill for a totally open source crossplatform BASIC with RAD IDE, as long as the Mono project's claims that they're safe from patent claims turn out to be true. But it sounds to me like Microsoft is retreating from .NET a little (Vista's desktop will be native code, not .NET code, for example) and at any rate, Gambas seems like it's much lighter-weight despite all the dependencies. I also think it's more fun and just a better language all around than VB.NET ;) Sorry if I totally misconstrued what you said... I don't speak Dutch, if that's what that was, so I just guessed you were saying "There's also SharpDevelop, which is based upon the .NET platform, but the program itself is open source." Rob From ronstk at ...239... Fri Mar 17 21:26:36 2006 From: ronstk at ...239... (ron) Date: Fri, 17 Mar 2006 21:26:36 +0100 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603171352.44059.sourceforge-raindog2@...94...> References: <441976CA.10502@...1362...> <200603171905.45599.samuel.derous@...27...> <200603171352.44059.sourceforge-raindog2@...94...> Message-ID: <200603172126.36462.ronstk@...239...> On Friday 17 March 2006 19:52, Rob Kudla wrote: > On Fri March 17 2006 13:05, samuel.derous at ...27... wrote: > > Misschhien is sharpdevelop dan iets voor je > > (http://www.sharpdevelop.com/) het is gebaseerd op het .net > > platform en maakt daar ook gebruik van, maar het programma > > zelf is open source. > > Yeah, SharpDevelop is a nice little IDE if you're stuck on > Windows. I'm hoping that it will work with Mono's > implementation of BASIC eventually, and that it will itself work > under Mono (when Mono implements more of Windows.Forms, I > guess.) That would technically fit the bill for a totally open > source crossplatform BASIC with RAD IDE, as long as the Mono > project's claims that they're safe from patent claims turn out > to be true. > > But it sounds to me like Microsoft is retreating from .NET a > little (Vista's desktop will be native code, not .NET code, for > example) and at any rate, Gambas seems like it's much > lighter-weight despite all the dependencies. I also think it's > more fun and just a better language all around than VB.NET ;) > > Sorry if I totally misconstrued what you said... I don't speak > Dutch, if that's what that was, so I just guessed you were > saying "There's also SharpDevelop, which is based upon the .NET > platform, but the program itself is open source." > > Rob > Nice you can read Dutch and understand it :) Your quick translation is also OK :) :) Ron BTW: in fact it was Belgium-Dutch ('be_NL') From brian at ...1334... Sat Mar 18 10:01:00 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Sat, 18 Mar 2006 01:01:00 -0800 (PST) Subject: [Gambas-user] windows and gambas In-Reply-To: <200603171240.29165.katsancat@...11...> References: <441976CA.10502@...1362...> <200603171240.29165.katsancat@...11...> Message-ID: <20060318005120.S31269@...1337...> On Fri, 17 Mar 2006, Bertrand-Xavier M. wrote: > But this won't happen by magic. We should union our efforts towards this goal, > build a binary for windows. I wish I had a Windows machine to help with this effort. My thoughts on this subject are that a windows build of Gambas completely scraps Qt as a base and instead uses a gb.form.gdi that uses windows-native controls to provide Gambas's standard form controls (they are there so why make the user install a bunch of extra stuff just to get Gambas going especially when Qt is designed for X and not for Windows GDI) and any additional Windows controls (perhaps including the numerous OCX controls found in Windows 98+/ME/XP) can be handled with a gb.form.gdi.ext just as has been done to handle Qt extras not in Gambas' basic form controls. SDL isn't a bad idea (since it can be built natively in VC++ as a native binary Windows DLL without cygwin's expensive [in terms of memory and performance] emulation layer) so the gb.sdl.xxx components can stay. If really desired the Qt based forms could be set up as an optional form base as has been done for Gtk. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From sourceforge-raindog2 at ...94... Sat Mar 18 20:55:05 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sat, 18 Mar 2006 14:55:05 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <20060318005120.S31269@...1337...> References: <441976CA.10502@...1362...> <200603171240.29165.katsancat@...11...> <20060318005120.S31269@...1337...> Message-ID: <200603181455.06137.sourceforge-raindog2@...94...> On Sat March 18 2006 04:01, Christopher Brian Jack wrote: > I wish I had a Windows machine to help with this effort. My > thoughts on this subject are that a windows build of Gambas > completely scraps Qt as a base and instead uses a gb.form.gdi I actually think the bigger problems with a Windows port will be in the compiler and native classes rather than the form stuff. The Windows port of Gtk+ is pretty stable, and the recent abstraction of the form stuff into the gb.form component will help a lot. I think if someone got it working under cygwin it would be a good first step to eventually getting it running with mingw. But it's probably beyond my skill level, as my Windows programming has been limited to VB and a bit of Delphi and C++. Rob From girardhenri at ...67... Sat Mar 18 21:35:49 2006 From: girardhenri at ...67... (Henri Girard) Date: Sat, 18 Mar 2006 21:35:49 +0100 Subject: [Gambas-user] windows and gambas References: <441976CA.10502@...1362...> <200603171240.29165.katsancat@...11...> <20060318005120.S31269@...1337...> <200603181455.06137.sourceforge-raindog2@...94...> Message-ID: QT4 might help... but not in the near future ! ----- Original Message ----- From: "Rob Kudla" To: Sent: Saturday, March 18, 2006 8:55 PM Subject: Re: [Gambas-user] windows and gambas > On Sat March 18 2006 04:01, Christopher Brian Jack wrote: > > I wish I had a Windows machine to help with this effort. My > > thoughts on this subject are that a windows build of Gambas > > completely scraps Qt as a base and instead uses a gb.form.gdi > > I actually think the bigger problems with a Windows port will be > in the compiler and native classes rather than the form stuff. > The Windows port of Gtk+ is pretty stable, and the recent > abstraction of the form stuff into the gb.form component will > help a lot. > > I think if someone got it working under cygwin it would be a good > first step to eventually getting it running with mingw. But > it's probably beyond my skill level, as my Windows programming > has been limited to VB and a bit of Delphi and C++. > > Rob > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From maillists at ...1367... Sat Mar 18 22:59:57 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Sat, 18 Mar 2006 13:59:57 -0800 Subject: [Gambas-user] Catching errors Message-ID: <1142719197.24731.1.camel@...1368...> Is there a way to implement a kind of "Error Catch-all" for a project? I'd like to be able to redirect unexpected errors to a particular module. As it is, it seems I have to put a CATCH statement within every sub and function I create. Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Sat Mar 18 23:28:00 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sat, 18 Mar 2006 17:28:00 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: References: <441976CA.10502@...1362...> <200603181455.06137.sourceforge-raindog2@...94...> Message-ID: <200603181728.00416.sourceforge-raindog2@...94...> On Sat March 18 2006 15:35, Henri Girard wrote: > QT4 might help... but not in the near future ! I don't think Qt4 will help either, because like I said, the tough part isn't going to be displaying windows, it's going to be running a really Unixy compiler and interpreter under a very un-Unixy OS. Rob From leonardo at ...1237... Sun Mar 19 16:25:54 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Sun, 19 Mar 2006 16:25:54 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 Message-ID: <441D7802.3020609@...1237...> I would return on Gambas 1.9.26 and compiling problems. I've read that it could depend on gcc: for gambas 1.9.26 we must use gcc >=4.x but I have Suse 9.3 which has by default gcc v. 3.3 When I launch configure it tells me that it cannot compile module gb.db.firebird and when I launch make it stops after a few seconds: ----------------------------------------- make all-recursive make[1]: Entering directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26' Making all in main make[2]: Entering directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main' make all-recursive make[3]: Entering directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main' Making all in libltdl make[4]: Entering directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/libltdl' make all-am make[5]: Entering directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/libltdl' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo ltdl.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl ar cru .libs/libltdlc.a .libs/ltdl.o ranlib .libs/libltdlc.a creating libltdlc.la (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la) make[5]: Leaving directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/libltdl' make[4]: Leaving directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/libltdl' Making all in gbx make[4]: Entering directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/gbx' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../share -I/usr/local/include/ -I../libltdl -DGBX_INFO -pipe -Wall -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF ".deps/gb_la-gbx_c_class.Tpo" -c -o gb_la-gbx_c_class.lo `test -f 'gbx_c_class.c' || echo './'`gbx_c_class.c; \ then mv -f ".deps/gb_la-gbx_c_class.Tpo" ".deps/gb_la-gbx_c_class.Plo"; else rm -f ".deps/gb_la-gbx_c_class.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../share -I/usr/local/include/ -I../libltdl -DGBX_INFO -pipe -Wall -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os -O0 -MT gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c gbx_c_class.c -fPIC -DPIC -o .libs/gb_la-gbx_c_class.o cc1: error: unrecognized option `-fvisibility=hidden' make[4]: *** [gb_la-gbx_c_class.lo] Error 1 make[4]: Leaving directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/gbx' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26' make: *** [all] Error 2 ------------------------- So, I tried the "escamotage" that I read in this mailing list: delete lines 194&195 of file acinclude.m4 but I didn't solve: I got same problems listed abowe... Could someone help me? :-( -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From samuel.derous at ...27... Sun Mar 19 17:49:31 2006 From: samuel.derous at ...27... (samuel.derous at ...27...) Date: Sun, 19 Mar 2006 17:49:31 +0100 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603171352.44059.sourceforge-raindog2@...94...> References: <441976CA.10502@...1362...> <200603171905.45599.samuel.derous@...27...> <200603171352.44059.sourceforge-raindog2@...94...> Message-ID: <200603191749.31416.samuel.derous@...27...> Op vrijdag 17 maart 2006 19:52, schreef Rob Kudla: > On Fri March 17 2006 13:05, samuel.derous at ...27... wrote: > > Misschhien is sharpdevelop dan iets voor je > > (http://www.sharpdevelop.com/) het is gebaseerd op het .net > > platform en maakt daar ook gebruik van, maar het programma > > zelf is open source. > > Yeah, SharpDevelop is a nice little IDE if you're stuck on > Windows. I'm hoping that it will work with Mono's > implementation of BASIC eventually, and that it will itself work > under Mono (when Mono implements more of Windows.Forms, I > guess.) That would technically fit the bill for a totally open > source crossplatform BASIC with RAD IDE, as long as the Mono > project's claims that they're safe from patent claims turn out > to be true. > > But it sounds to me like Microsoft is retreating from .NET a > little (Vista's desktop will be native code, not .NET code, for > example) and at any rate, Gambas seems like it's much > lighter-weight despite all the dependencies. I also think it's > more fun and just a better language all around than VB.NET ;) > > Sorry if I totally misconstrued what you said... I don't speak > Dutch, if that's what that was, so I just guessed you were > saying "There's also SharpDevelop, which is based upon the .NET > platform, but the program itself is open source." > > Rob Sorry Rob, And yes you recapitulated it fine, what I said... I was a little confused, because some of the newsgroups I'm listening in, are Dutch and other on English, so I just forgot this was a English mailing list. I like programming under vb.net when I'm on Windows, and I love to create little things in gambas, but I still know to less from the gambas language to fully take advantage of, and i'm very lousy in learning from code, so I can't really learn from the example programs... I'm certainly looking forward to the first book written for the gambas language. So when you know about the date one comes out, let us know ;-) Samuel > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From katsancat at ...11... Sun Mar 19 18:23:47 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Sun, 19 Mar 2006 18:23:47 +0100 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603191749.31416.samuel.derous@...27...> References: <441976CA.10502@...1362...> <200603171352.44059.sourceforge-raindog2@...94...> <200603191749.31416.samuel.derous@...27...> Message-ID: <200603191823.47442.katsancat@...11...> Hi Samuel, Here is a book which can be considered like a reference: http://www.linspire.com/download_package_source.php?filename=gambas-beginner-guide_1.0-0.0.0.50.linspire0.1.tar.gz&url=http://10.0.0.84:80/cnrPackageServer.php?fileLocation=/linspire/pkgsrv/pool-src%2Fg%2Fgambas-beginner-guide/gambas-beginner-guide_1.0-0.0.0.50.linspire0.1.tar.gz But I think it's best to learn by example, starting off Gambas examples. Plus the Gambas IDE itself is full of features demonstrating how everything goes along. On Sunday 19 March 2006 17:49, samuel.derous at ...27... wrote: > I like programming under vb.net when I'm on Windows, and I love to create > little things in gambas, but I still know to less from the gambas language > to fully take advantage of, and i'm very lousy in learning from code, so I > can't really learn from the example programs... > I'm certainly looking forward to the first book written for the gambas > language. > So when you know about the date one comes out, let us know ;-) > > Samuel From ronstk at ...239... Sun Mar 19 18:29:52 2006 From: ronstk at ...239... (ron) Date: Sun, 19 Mar 2006 18:29:52 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <441D7802.3020609@...1237...> References: <441D7802.3020609@...1237...> Message-ID: <200603191829.52767.ronstk@...239...> On Sunday 19 March 2006 16:25, Leonardo Miliani wrote: > So, I tried the "escamotage" that I read in this mailing list: delete > lines 194&195 of file acinclude.m4 but I didn't solve: I got same > problems listed abowe... You have to do it also in 27 'configure' files in the sub directories I found them with a find util, search for '-fvisibility'. After changing those files also it did compile with gcc 3.3/3.4 on suse 9.2 suse 9.3 is not to different for the gambas related things. Be sure you have the -devel files for firebird to( if they exist). Ron From ronstk at ...239... Sun Mar 19 18:32:28 2006 From: ronstk at ...239... (ron) Date: Sun, 19 Mar 2006 18:32:28 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <441D7802.3020609@...1237...> References: <441D7802.3020609@...1237...> Message-ID: <200603191832.28698.ronstk@...239...> On Sunday 19 March 2006 16:25, Leonardo Miliani wrote: > So, I tried the "escamotage" that I read in this mailing list: delete > lines 194&195 of file acinclude.m4 but I didn't solve: I got same > problems listed abowe... Forgot something. You must do it on a fresh unpacked source tarball!!!! This ia called play-safe :) './reconf-all' and again './configure' just seams not to work 100%. Ron From gambas at ...1... Sun Mar 19 18:48:44 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 19 Mar 2006 18:48:44 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <200603191832.28698.ronstk@...239...> References: <441D7802.3020609@...1237...> <200603191832.28698.ronstk@...239...> Message-ID: <200603191848.44630.gambas@...1...> On Sunday 19 March 2006 18:32, ron wrote: > On Sunday 19 March 2006 16:25, Leonardo Miliani wrote: > > So, I tried the "escamotage" that I read in this mailing list: delete > > lines 194&195 of file acinclude.m4 but I didn't solve: I got same > > problems listed abowe... > > Forgot something. > > You must do it on a fresh unpacked source tarball!!!! > This ia called play-safe :) > > './reconf-all' and again './configure' just seams not to work 100%. > > Ron > You have to modify the 'acinclude.m4' file located in the root source directory, and then do a './reconf-all; ./configure -C'. 'autmake' must be installed. This should work, or there is a bug in the configuration scripts! Regards, -- Benoit Minisini From leonardo at ...1237... Sun Mar 19 19:48:49 2006 From: leonardo at ...1237... (Leonardo Miliani) Date: Sun, 19 Mar 2006 19:48:49 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <200603191848.44630.gambas@...1...> References: <441D7802.3020609@...1237...> <200603191832.28698.ronstk@...239...> <200603191848.44630.gambas@...1...> Message-ID: <441DA791.6090907@...1237...> Benoit Minisini ha scritto: > On Sunday 19 March 2006 18:32, ron wrote: >> On Sunday 19 March 2006 16:25, Leonardo Miliani wrote: >>> So, I tried the "escamotage" that I read in this mailing list: delete >>> lines 194&195 of file acinclude.m4 but I didn't solve: I got same >>> problems listed abowe... >> Forgot something. >> >> You must do it on a fresh unpacked source tarball!!!! >> This ia called play-safe :) >> >> './reconf-all' and again './configure' just seams not to work 100%. >> >> Ron >> > > You have to modify the 'acinclude.m4' file located in the root source > directory, and then do a './reconf-all; ./configure -C'. > > 'autmake' must be installed. > > This should work, or there is a bug in the configuration scripts! > > Regards, > Thanks a lot. I was able to compile gambas 1.9.26 following your suggestions but I also would like to know how I can compile firebird module. I downloaded and installed FirebirdCS-1.5.3.4870-0, got from firebird.sourceforge.net, but gambas compiler still continues to don't see the firebird driver. -- Ciao. Leo Visita il mio sito personale: www.leonardomiliani.com e-mail: leonardo at ...1237... From gambas at ...1... Sun Mar 19 20:02:34 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 19 Mar 2006 20:02:34 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <441DA791.6090907@...1237...> References: <441D7802.3020609@...1237...> <200603191848.44630.gambas@...1...> <441DA791.6090907@...1237...> Message-ID: <200603192002.34553.gambas@...1...> On Sunday 19 March 2006 19:48, Leonardo Miliani wrote: > Benoit Minisini ha scritto: > > On Sunday 19 March 2006 18:32, ron wrote: > >> On Sunday 19 March 2006 16:25, Leonardo Miliani wrote: > >>> So, I tried the "escamotage" that I read in this mailing list: delete > >>> lines 194&195 of file acinclude.m4 but I didn't solve: I got same > >>> problems listed abowe... > >> > >> Forgot something. > >> > >> You must do it on a fresh unpacked source tarball!!!! > >> This ia called play-safe :) > >> > >> './reconf-all' and again './configure' just seams not to work 100%. > >> > >> Ron > > > > You have to modify the 'acinclude.m4' file located in the root source > > directory, and then do a './reconf-all; ./configure -C'. > > > > 'autmake' must be installed. > > > > This should work, or there is a bug in the configuration scripts! > > > > Regards, > > Thanks a lot. > I was able to compile gambas 1.9.26 following your suggestions but I > also would like to know how I can compile firebird module. > I downloaded and installed FirebirdCS-1.5.3.4870-0, got from > firebird.sourceforge.net, but gambas compiler still continues to don't > see the firebird driver. Please read the README file in the 'gb.db.firebird' directory. You have to compile and install libibpp on your system. Regards, -- Benoit Minisini From joe at ...1403... Sun Mar 19 20:08:33 2006 From: joe at ...1403... (Joe Barr) Date: Sun, 19 Mar 2006 13:08:33 -0600 Subject: [Gambas-user] Sample code for SQLite application Message-ID: <1142795313.4960.145.camel@...1404...> Can someone please point me towards a sample SQLite Gambas application? Thanks, Joe From rohnny at ...1248... Sun Mar 19 20:21:16 2006 From: rohnny at ...1248... (R. Stormo) Date: Sun, 19 Mar 2006 11:21:16 -0800 (PST) Subject: [Gambas-user] Sample code for SQLite application In-Reply-To: <1142795313.4960.145.camel@...1404...> References: <1142795313.4960.145.camel@...1404...> Message-ID: <3483672.post@...1379...> There is a short example here http://forum.stormweb.no/index.php/topic,13.0.html -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Sample-code-for-SQLite-application-t1307471.html#a3483672 Sent from the gambas-user forum at Nabble.com. From sourceforge-raindog2 at ...94... Sun Mar 19 21:28:09 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 19 Mar 2006 15:28:09 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603191749.31416.samuel.derous@...27...> References: <441976CA.10502@...1362...> <200603171352.44059.sourceforge-raindog2@...94...> <200603191749.31416.samuel.derous@...27...> Message-ID: <200603191528.10153.sourceforge-raindog2@...94...> On Sun March 19 2006 11:49, samuel.derous at ...27... wrote: > I'm certainly looking forward to the first book written for > the gambas language. > So when you know about the date one comes out, let us know ;-) Actually, one already did ;) http://www.amazon.com/gp/product/0741429489/qid=1138237654/sr=1-7/ref=sr_1_7/102-3463375-5974530?s=books&v=glance&n=283155 or http://xrl.us/jqgb (short version of above) or http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?r=1&isbn=0741429489 Rob From sourceforge-raindog2 at ...94... Sun Mar 19 21:35:37 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 19 Mar 2006 15:35:37 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603191528.10153.sourceforge-raindog2@...94...> References: <441976CA.10502@...1362...> <200603191749.31416.samuel.derous@...27...> <200603191528.10153.sourceforge-raindog2@...94...> Message-ID: <200603191535.37405.sourceforge-raindog2@...94...> On Sun March 19 2006 15:28, Rob Kudla wrote: > Actually, one already did ;) > http://www.amazon.com/gp/product/0741429489/qid=1138237654/sr= >1-7/ref=sr_1_7/102-3463375-5974530?s=books&v=glance&n=283155 I should mention the caveat that after logging into my Amazon account, I discovered that I had preordered this book back in January but it never shipped. It shows up as being in stock now, though, so I guess we'll see. Rob From mwebb at ...1362... Sun Mar 19 16:30:44 2006 From: mwebb at ...1362... (mike webb) Date: Sun, 19 Mar 2006 15:30:44 +0000 Subject: [Gambas-user] gambas and the update method Message-ID: <441D7924.1080200@...1362...> please excuse my poor coding, i'm still coming to grips with gambas. also i'm really hoping i didn't forget to tell you about an inportant part that you'll need to know just to get the program to run. consider button2_click the code goes as follows: PUBLIC SUB Button2_Click() currow = tableview1.Row mglobal.rs1["id"] = Val(textbox1.Text) mglobal.rs1["name"] = textbox2.Text mglobal.rs1.update mglobal.rs1 = mglobal.db.edit("user","","") tableview1.Refresh END it seems to me that the mglobal.rs1.update should have taken care of the database and the result set. but to make the program work i have to include mglobal.rs1 = mglobal.db.edit("user","","") try commenting out the line mglobal.rs1 = mglobal.db.edit("user","","") and run the program again, see what i mean, nothing got updated. note that i have to do this anytime the result set is changed. is their a way to make the "update" method more powerful so that we don't have to include the "edit" method ??? looks to me like the result set and the database aren't staying inline. i realize that their are other ways of acheiveing this desired results that don't require the "update" method at all, but i would like to use this method. the following little ditty was written to highlight my point about the "update" method. it will one day be used in my top secert project "gambas on rails" you may use it anyway you might want. if you improve on it though could you send me the improvments ?? email address is mwebb at ...1362... to run this program you need the following: the gbstest database with some names in the user table. you'll need to create a form and a module create a blank form and add the following, 3 buttons called button1,button2,button3 change the following properties for the buttons button1.text = delete button2.text = edit button3.text = add 1 tableview called tableview1 2 textboxes called textbox1,textbox2 save the form as form1 copy the following into form1 class ' Gambas class file PUBLIC currow AS Integer PUBLIC oldbackground AS Integer PUBLIC SUB Form_Open() DIM i AS Float IF mglobal.OpenDB("gbstest") = TRUE THEN tableview1.columns.count=2 tableview1.columns[0].text="ID" tableview1.columns[1].text="name" tableview1.Columns[0].Width = 75 tableview1.Columns[1].Width = 360 mglobal.rs1 = mglobal.db.edit("user","","") tableview1.rows.count=mglobal.rs1.count currow = tableview1.Row ELSE message.Info("unable to open db") ENDIF END PUBLIC SUB TableView1_Data(Row AS Integer, Column AS Integer) mglobal.rs1.MoveTo(Row) IF row = currow THEN oldbackground = tableview1.Data.Background TableView1.Data.Background = &HF0EEFF& textbox1.Text = Str(mglobal.rs1["id"]) textbox2.Text = Str(mglobal.rs1["name"]) ELSE TableView1.Data.Background = oldbackground ENDIF tableview1.data.Text = Str(mglobal.rs1[tableview1.columns[column].text]) mglobal.rs1.Moveto(currow) END PUBLIC SUB TableView1_Click() tableview1_rowclick(tableview1.Row) END PUBLIC SUB TableView1_RowClick(Row AS Integer) tableview1.Row = row currow = row tableview1.Refresh END PUBLIC SUB Button2_Click() currow = tableview1.Row mglobal.rs1["id"] = Val(textbox1.Text) mglobal.rs1["name"] = textbox2.Text mglobal.rs1.update mglobal.rs1 = mglobal.db.edit("user","","") tableview1.Refresh END PUBLIC SUB Button1_Click() currow = tableview1.Row mglobal.rs1.delete mglobal.rs1.update mglobal.rs1 = mglobal.db.edit("user","","") tableview1.rows.count=mglobal.rs1.count tableview1.Refresh END PUBLIC SUB Button3_Click() currow = tableview1.Row mglobal.rs1 = mglobal.db.create("user") mglobal.rs1["id"] = Val(textbox1.Text) mglobal.rs1["name"] = textbox2.Text mglobal.rs1.update mglobal.rs1 = mglobal.db.edit("user","","") tableview1.rows.count=mglobal.rs1.count tableview1.Refresh END '**************************************** create a module and save it as mglobal then copy this into the module '**************************************** ' Gambas module file PUBLIC db AS NEW Connection PUBLIC rs1 AS Result PUBLIC FUNCTION OpenDB(dbname AS String) AS Boolean IF mglobal.conn("localhost","root","",dbname) = TRUE THEN RETURN TRUE ELSE RETURN FALSE ENDIF END PUBLIC FUNCTION conn(localhost AS String, mylogin AS String,mypassword AS String, mydbname AS String) AS Boolean db.close db.Type = "mysql" db.Host = localhost db.Login = mylogin db.Password = mypassword db.name = mydbname TRY db.Open IF ERROR THEN PRINT "cannot open database. error = "; error.Text RETURN FALSE ENDIF RETURN TRUE CATCH Message.error(Error.text) RETURN FALSE END in a function in mglobal called openDB you may have to change your sql login name or password. gezz i hope i didn't forget anything From kztyrvlq at ...966... Mon Mar 20 01:15:51 2006 From: kztyrvlq at ...966... (A Person) Date: Sun, 19 Mar 2006 20:45:51 -0330 Subject: [Gambas-user] Text Search - string/textarea Issue - 1.0.14 Message-ID: <441DF437.6070801@...966...> Good Day All . . . I am having an issue searching for text in a string/textarea. The following code does not do as expected. It just keeps looping through the string to be searched. Public iStartAt as Integer PUBLIC SUB btnFind_Click() DIM sTemp AS String DIM iTemp AS Integer sTemp = textareaHelp.Text iTemp = Instr(sTemp, "change", iStartAt) - 1 PRINT ERROR, ERROR.CODE, ERROR.CLASS iStartAt = iTemp + Len("change") PRINT iStartAt END The above code is an overly simplified version of my original. Repeated pressing of the Find button causes the code to loop over and over again incrementing the variable iStartAt each time. The console printout for multiple Find presses is as follows: True 45 (Class 0x80e46b8) 170 True 45 (Class 0x80e46b8) 13865 True 45 (Class 0x80e46b8) <<<< End file loop [added] 6 True 45 (Class 0x80e46b8) 170 True 45 (Class 0x80e46b8) 13865 True 45 (Class 0x80e46b8) <<<< End file loop [added] 6 The found text is at 170 and 13865. In this instance the 6 probably represents the length of the search text ("change"). No matching text is found at position 6. I think that the search should end at the end of the string or at the end of the text in the textarea with a return error such as 1 - Found and 0 - Not Found. I originally tried this using a direct INSTR search of textareaHelp.Text from text in a textbox but the looping caused a "QTextCursor::gotoParagraph Index: -1 out of range" console error. I substituted a string hoping that I could get around the problem but it showed up here also. Can anyone point me in the right direction or redirect my efforts. As always, I ask. What am I doing wrong? Thanks Paul From ronstk at ...239... Mon Mar 20 02:50:59 2006 From: ronstk at ...239... (ron) Date: Mon, 20 Mar 2006 02:50:59 +0100 Subject: [Gambas-user] Text Search - string/textarea Issue - 1.0.14 In-Reply-To: <441DF437.6070801@...966...> References: <441DF437.6070801@...966...> Message-ID: <200603200251.00178.ronstk@...239...> On Monday 20 March 2006 01:15, A Person wrote: > Good Day All . . . > > I am having an issue searching for text in a string/textarea. > > The following code does not do as expected. It just keeps looping > through the string to be searched. > > Public iStartAt as Integer > > PUBLIC SUB btnFind_Click() > > DIM sTemp AS String > DIM iTemp AS Integer > > sTemp = textareaHelp.Text > iTemp = Instr(sTemp, "change", iStartAt) - 1 after the second found you press again 'find' There are no more so iTemp is set to 0 > PRINT ERROR, ERROR.CODE, ERROR.CLASS > iStartAt = iTemp + Len("change") iStart wil be iTemp+6 at the 3'th press, resulting in your display of 6 and the search point is again at the start of text. > PRINT iStartAt > > END > > The above code is an overly simplified version of my original. Repeated > pressing of the Find button causes the code to loop over and over again > incrementing the variable iStartAt each time. > > The console printout for multiple Find presses is as follows: > > True 45 (Class 0x80e46b8) > 170 > True 45 (Class 0x80e46b8) > 13865 > True 45 (Class 0x80e46b8) <<<< End file loop [added] > 6 > True 45 (Class 0x80e46b8) > 170 > True 45 (Class 0x80e46b8) > 13865 > True 45 (Class 0x80e46b8) <<<< End file loop [added] > 6 > > The found text is at 170 and 13865. In this instance the 6 probably > represents the length of the search text ("change"). No matching text is > found at position 6. > > I think that the search should end at the end of the string or at the > end of the text in the textarea with a return error such as 1 - Found > and 0 - Not Found. > > I originally tried this using a direct INSTR search of textareaHelp.Text > from text in a textbox but the looping caused a > > "QTextCursor::gotoParagraph Index: -1 out of range" > > console error. I substituted a string hoping that I could get around the > problem but it showed up here also. > > Can anyone point me in the right direction or redirect my efforts. > > As always, I ask. What am I doing wrong? > > Thanks > > Paul > So next will do better job ? sTemp = textareaHelp.Text iTemp = Instr(sTemp, "change", iStartAt) - 1 PRINT ERROR, ERROR.CODE, ERROR.CLASS if iTemp=0 then ' keep iTemp at 0 and do not change iStartAt print "no more found" else iStartAt = iTemp + Len("change") endif PRINT iStartAt --- Ron From ronstk at ...239... Mon Mar 20 05:04:21 2006 From: ronstk at ...239... (ron) Date: Mon, 20 Mar 2006 05:04:21 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <200603191848.44630.gambas@...1...> References: <441D7802.3020609@...1237...> <200603191832.28698.ronstk@...239...> <200603191848.44630.gambas@...1...> Message-ID: <200603200504.22764.ronstk@...239...> On Sunday 19 March 2006 18:48, Benoit Minisini wrote: > On Sunday 19 March 2006 18:32, ron wrote: > > On Sunday 19 March 2006 16:25, Leonardo Miliani wrote: > > > So, I tried the "escamotage" that I read in this mailing list: delete > > > lines 194&195 of file acinclude.m4 but I didn't solve: I got same > > > problems listed abowe... > > > > Forgot something. > > > > You must do it on a fresh unpacked source tarball!!!! > > This ia called play-safe :) > > > > './reconf-all' and again './configure' just seams not to work 100%. > > > > Ron > > > > You have to modify the 'acinclude.m4' file located in the root source > directory, and then do a './reconf-all; ./configure -C'. > > 'autmake' must be installed. > > This should work, or there is a bug in the configuration scripts! > > Regards, > Ok just test it. Unpak the source tarbal to /home/ron/src/gambas2-1.9.26 Removed the -fvisibility at line 194 and 195 ./reconf-all got some warnings for lqt.m4, <- I may forget this, not problem of gambas. but it ends with: ./reconf-all: line 8: /home/ron/gambas/2.0/tool/MakeComponentLink/MakeComponentLink.gambas: No such file or directory ron at ...1311...:/home/ron/src/gambas2-1.9.26> now I do ./configure -C Result: config.status: executing depfiles commands ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.db.odbc - gb.db.postgresql - gb.db.sqlite - gb.ldap ************************************************************ ron at ...1311...:/home/ron/src/gambas2-1.9.26> ./gb.corba/ configure 4599 4600 config.log config.status Makefile 81 82 ./gb.corba/src/ Makefile 97 98 Well in most ./gb.* I found in configure and now also in the Makefile the -fvisibility flag AM_CFLAGS = -pipe -Wall -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os AM_CXXFLAGS = -pipe -Wall -fno-exceptions -Wno-unused-value -fvisibility=hidden -g -O s -fno-omit-frame-pointer The previous time I changed it at line 194/195 in aminclude.m4 I found the flag only in the configure files and now also in Makefile files. the option -C for configure was at that time unknown. Now it looks worse with it. In acinclude.m4 AM_CONDITIONAL(OPTIMIZE, test "$gambas_optimization" = yes) AM_CFLAGS="$AM_CFLAGS -pipe -Wall -fno-strict-aliasing -Wno-unused-value" AM_CXXFLAGS="$AM_CXXFLAGS -pipe -Wall -fno-exceptions -Wno-unused-value" if test "$gambas_debug" = "yes"; then I the now working version I do NOT have the -fvisibility=hidden in the configure files and they did not apear in the Makefile. This was just unpak, remove in acinclude and as far I know the where not in the configure or I removed them there also. All new source tarbals I get now do have them in the configure to. For the version Laurent Carlier made: Find for -visibility: In the acinclude and also in the configure files. However he made major addition arround it for checking. I just unpacked the tarbal and after the find type: ./configure It ends with checking for MySQL driver headers... /usr/include/mysql/ checking for MySQL driver libraries... /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: error: cannot find input file: src/Makefile.in configure: error: /bin/sh './configure' failed for gb.db.mysql ron at ...1311...:~/src/gambas2-1.9.26> Check in the tarbal and missing several src directories. This does not work. ron at ...1311...:/usr/bin> aclocal --version aclocal (GNU automake) 1.9.5 ron at ...1311...:/usr/bin> automake --version automake (GNU automake) 1.9.5 ron at ...1311...:/usr/bin> gcc --version gcc (GCC) 3.3.4 (pre 3.3.5 20040809) ron at ...1311...:/usr/bin> uname -a Linux terminator 2.6.8-24.19-default #1 Tue Nov 29 14:32:45 UTC 2005 i686 i686 i386 GNU/Linux Suse 9.2 At this moment the only way is unpack the file from SF and remove in all files the -fvisibility by hand and do only ./configure; make; make install Sorry but I have no better idea --- Ron From brian at ...1334... Mon Mar 20 07:48:55 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Sun, 19 Mar 2006 22:48:55 -0800 (PST) Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <200603191829.52767.ronstk@...239...> References: <441D7802.3020609@...1237...> <200603191829.52767.ronstk@...239...> Message-ID: <20060319224233.G48411@...1337...> On Sun, 19 Mar 2006, ron wrote: > You have to do it also in 27 'configure' files in the sub directories > I found them with a find util, search for '-fvisibility'. This also should identify the problem files (and the offending line in each offending file): tar jxvf gambas-1.9.26.tar.bz2 cd gambas-1.9.26 grep -r -i "[-]fvisibility" * >files_to_change .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From brian at ...1334... Mon Mar 20 08:01:26 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Sun, 19 Mar 2006 23:01:26 -0800 (PST) Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <20060319224233.G48411@...1337...> References: <441D7802.3020609@...1237...> <200603191829.52767.ronstk@...239...> <20060319224233.G48411@...1337...> Message-ID: <20060319225049.N48469@...1337...> On Sun, 19 Mar 2006, Christopher Brian Jack wrote: > tar jxvf gambas-1.9.26.tar.bz2 > cd gambas-1.9.26 > grep -r -i "[-]fvisibility" * >files_to_change Here's another one if you use bash and have sed: for each in `grep -l -r -i "[-]fvisibility"`; do echo ${i}; cat "${i}" | sed -e "s/-fvisibility//g" >.fvisibility; mv "$i" "${i}_bak"; mv .fvisibility "$i"; done .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From brian at ...1334... Mon Mar 20 08:04:16 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Sun, 19 Mar 2006 23:04:16 -0800 (PST) Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <20060319225049.N48469@...1337...> References: <441D7802.3020609@...1237...> <200603191829.52767.ronstk@...239...> <20060319224233.G48411@...1337...> <20060319225049.N48469@...1337...> Message-ID: <20060319230337.J48536@...1337...> On Sun, 19 Mar 2006, Christopher Brian Jack wrote: > for each in `grep -l -r -i "[-]fvisibility"`; do echo ${i}; cat "${i}" | > sed -e "s/-fvisibility//g" >.fvisibility; mv "$i" "${i}_bak"; mv > .fvisibility "$i"; done for i in ... done .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From ronstk at ...239... Mon Mar 20 08:13:21 2006 From: ronstk at ...239... (ron) Date: Mon, 20 Mar 2006 08:13:21 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <20060319225049.N48469@...1337...> References: <441D7802.3020609@...1237...> <20060319224233.G48411@...1337...> <20060319225049.N48469@...1337...> Message-ID: <200603200813.21973.ronstk@...239...> On Monday 20 March 2006 08:01, Christopher Brian Jack wrote: > for each in `grep -l -r -i "[-]fvisibility"`; do echo ${i}; cat "${i}" | > sed -e "s/-fvisibility//g" >.fvisibility; mv "$i" "${i}_bak"; mv > .fvisibility "$i"; done > Thanks, that is just what I wanted, look for every command in the man pages and the try and error cost me more time as using mc -> find files and them the F4 (edit). Now I can do it with a script when needed. --- Ron From ajish.raju at ...626... Mon Mar 20 08:17:13 2006 From: ajish.raju at ...626... (Ajish Raju) Date: Sun, 19 Mar 2006 19:17:13 -1200 Subject: [Gambas-user] Gui builder support Message-ID: <7b6680840603192317k4feeaacat44b0ccd0b3d12a6a@...627...> Hi i would like to build my gui with svg or using xml.I thought of using an application like sodupodi.Is there support for any of these with regards ajish -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Mon Mar 20 08:23:40 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Mar 2006 08:23:40 +0100 Subject: [Gambas-user] Text Search - string/textarea Issue - 1.0.14 In-Reply-To: <441DF437.6070801@...966...> References: <441DF437.6070801@...966...> Message-ID: <200603200823.40397.gambas@...1...> On Monday 20 March 2006 01:15, A Person wrote: > Good Day All . . . > > I am having an issue searching for text in a string/textarea. > > The following code does not do as expected. It just keeps looping > through the string to be searched. > > Public iStartAt as Integer > > PUBLIC SUB btnFind_Click() > > DIM sTemp AS String > DIM iTemp AS Integer > > sTemp = textareaHelp.Text > iTemp = Instr(sTemp, "change", iStartAt) - 1 > PRINT ERROR, ERROR.CODE, ERROR.CLASS > iStartAt = iTemp + Len("change") > PRINT iStartAt > > END > > The above code is an overly simplified version of my original. Repeated > pressing of the Find button causes the code to loop over and over again > incrementing the variable iStartAt each time. > > The console printout for multiple Find presses is as follows: > > True 45 (Class 0x80e46b8) > 170 > True 45 (Class 0x80e46b8) > 13865 > True 45 (Class 0x80e46b8) <<<< End file loop [added] > 6 > True 45 (Class 0x80e46b8) > 170 > True 45 (Class 0x80e46b8) > 13865 > True 45 (Class 0x80e46b8) <<<< End file loop [added] > 6 > > The found text is at 170 and 13865. In this instance the 6 probably > represents the length of the search text ("change"). No matching text is > found at position 6. > > I think that the search should end at the end of the string or at the > end of the text in the textarea with a return error such as 1 - Found > and 0 - Not Found. > > I originally tried this using a direct INSTR search of textareaHelp.Text > from text in a textbox but the looping caused a > > "QTextCursor::gotoParagraph Index: -1 out of range" > > console error. I substituted a string hoping that I could get around the > problem but it showed up here also. > > Can anyone point me in the right direction or redirect my efforts. > > As always, I ask. What am I doing wrong? > > Thanks > > Paul > Don't forget that the text located inside the text box is in UTF-8. The value returned by InStr() is bytes, whereas TextBox.Pos returns characters. Regards, -- Benoit Minisini From ronstk at ...239... Mon Mar 20 08:26:25 2006 From: ronstk at ...239... (ron) Date: Mon, 20 Mar 2006 08:26:25 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <20060319230337.J48536@...1337...> References: <441D7802.3020609@...1237...> <20060319225049.N48469@...1337...> <20060319230337.J48536@...1337...> Message-ID: <200603200826.25678.ronstk@...239...> On Monday 20 March 2006 08:04, Christopher Brian Jack wrote: > for i in ... done Yes, instead 'each' use the 'i', understand. Was a bit courious where the i was set. Or 'for i in (`grep....`) ; do ? wel I do have a good hint now and can get it working :) ---- Ron BTW: How can i get help from the man pages about bash I mean selective for the embedded FOR, DO, WHILE, IF etc , without skipping many lines to find it in the looooong list? Want a simple html based manual i it exists. From sourceforge-raindog2 at ...94... Mon Mar 20 08:33:32 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 20 Mar 2006 02:33:32 -0500 Subject: [Gambas-user] Gui builder support In-Reply-To: <7b6680840603192317k4feeaacat44b0ccd0b3d12a6a@...627...> References: <7b6680840603192317k4feeaacat44b0ccd0b3d12a6a@...627...> Message-ID: <200603200233.33179.sourceforge-raindog2@...94...> On Mon March 20 2006 02:17, Ajish Raju wrote: > i would like to build my gui with svg or using xml.I thought > of using an application like sodupodi.Is there support for > any of these with regards None in the current IDE, but I've written scripts to convert Gambas forms to HTML/CSS and there is (or was) code in the IDE to import VB forms. It shouldn't be tough to write code to take specific objects out of SVG files and write them out as controls on a Gambas form. Rob From katsancat at ...11... Mon Mar 20 09:17:27 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Mon, 20 Mar 2006 09:17:27 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <200603200826.25678.ronstk@...239...> References: <441D7802.3020609@...1237...> <20060319230337.J48536@...1337...> <200603200826.25678.ronstk@...239...> Message-ID: <200603200917.27817.katsancat@...11...> I hope everyone shows raw HTML. Vista img src well tried. Ron: between lines 200 and 380. Page Down is the only way, isn't it? On Monday 20 March 2006 08:26, ron wrote: > Ron > > BTW: How can i get help from the man pages about bash > I mean selective for the embedded FOR, DO, WHILE, IF etc , without > skipping many lines to find it in the looooong list? > Want a simple html based manual i it exists. From brian at ...1334... Mon Mar 20 09:20:47 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 20 Mar 2006 00:20:47 -0800 (PST) Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <200603200917.27817.katsancat@...11...> References: <441D7802.3020609@...1237...> <20060319230337.J48536@...1337...> <200603200826.25678.ronstk@...239...> <200603200917.27817.katsancat@...11...> Message-ID: <20060320001724.T48897@...1337...> On Mon, 20 Mar 2006, Bertrand-Xavier M. wrote: > > BTW: How can i get help from the man pages about bash > > I mean selective for the embedded FOR, DO, WHILE, IF etc , without > > skipping many lines to find it in the looooong list? > > Want a simple html based manual i it exists. If you have less use the / command to enter a search pattern. It's actually a regular expression but works as expected for alphabetic text such as the name of a keyword. The keywords are in uppercase in the man page for bash and the / command is case-sensitive so enter the keyword queries in uppercase. Hit enter after typing the search pattern to do the search. All occurrences will be highlighted. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From ronstk at ...239... Mon Mar 20 09:20:19 2006 From: ronstk at ...239... (ron) Date: Mon, 20 Mar 2006 09:20:19 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <200603200917.27817.katsancat@...11...> References: <441D7802.3020609@...1237...> <200603200826.25678.ronstk@...239...> <200603200917.27817.katsancat@...11...> Message-ID: <200603200920.19861.ronstk@...239...> On Monday 20 March 2006 09:17, Bertrand-Xavier M. wrote: > I hope everyone shows raw HTML. Vista img src well tried. Vista? I have gnu/linux :) Do not understan what you mean here > > Ron: between lines 200 and 380. Page Down is the only way, isn't it? Where are those lines? Do not understan what you mean here to > Ron From brian at ...1334... Mon Mar 20 09:28:51 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 20 Mar 2006 00:28:51 -0800 (PST) Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <200603200813.21973.ronstk@...239...> References: <441D7802.3020609@...1237...> <20060319224233.G48411@...1337...> <20060319225049.N48469@...1337...> <200603200813.21973.ronstk@...239...> Message-ID: <20060320002114.B48897@...1337...> On Mon, 20 Mar 2006, ron wrote: > On Monday 20 March 2006 08:01, Christopher Brian Jack wrote: > > for each in `grep -l -r -i "[-]fvisibility"`; do echo ${i}; cat "${i}" | > > sed -e "s/-fvisibility//g" >.fvisibility; mv "$i" "${i}_bak"; mv > > .fvisibility "$i"; done > > > > Thanks, that is just what I wanted, look for every command > in the man pages and the try and error cost me more time > as using mc -> find files and them the F4 (edit). > Now I can do it with a script when needed. I use grep, sed and shell scripts quite frequently so the hardest part for me was up the switches to grep so it returns only the list of files. And yes i was supposed to be the loop variable in the for rather than each. The correct script is thus: for i in `grep -l -r -i "[-]fvisibility"`; do echo ${i}; cat "${i}" | sed -e "s/-fvisibility//g" >.fvisibility mv "${i}" "${i}_bak" mv .fvisibility "${i}" done .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From ronstk at ...239... Mon Mar 20 09:36:23 2006 From: ronstk at ...239... (ron) Date: Mon, 20 Mar 2006 09:36:23 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <20060320001724.T48897@...1337...> References: <441D7802.3020609@...1237...> <200603200917.27817.katsancat@...11...> <20060320001724.T48897@...1337...> Message-ID: <200603200936.24061.ronstk@...239...> On Monday 20 March 2006 09:20, Christopher Brian Jack wrote: > If you have less use the / command to enter a search pattern. ?It's > actually a regular expression but works as expected for alphabetic text > such as the name of a keyword. ?The keywords are in uppercase in the man > page for bash and the / command is case-sensitive so enter the keyword > queries in uppercase. ?Hit enter after typing the search pattern to do the > search. ?All occurrences will be highlighted. > Thanks, that helps a lot. less is indeed used as pager for man. Just found also the 'h' key gives help. Never to old to learn. It's bit difficult to do 'man less' during a 'man bash' to get it :) Ron From ronstk at ...239... Mon Mar 20 09:42:10 2006 From: ronstk at ...239... (ron) Date: Mon, 20 Mar 2006 09:42:10 +0100 Subject: [Gambas-user] Compiling Gambas 1.9.26 In-Reply-To: <20060320002114.B48897@...1337...> References: <441D7802.3020609@...1237...> <200603200813.21973.ronstk@...239...> <20060320002114.B48897@...1337...> Message-ID: <200603200942.10854.ronstk@...239...> On Monday 20 March 2006 09:28, Christopher Brian Jack wrote: > I use grep, sed and shell scripts quite frequently so the hardest part for > me was up the switches to grep so it returns only the list of files. > That is what I should do also more, however the switches is my problem to. In gnu/linux we get over 200 shell programs and each of them have much more switches as the alien OS. And the best of it those programs are more powerfull as the other redmond OS. :) Ron From ajish.raju at ...626... Mon Mar 20 13:11:44 2006 From: ajish.raju at ...626... (Ajish Raju) Date: Mon, 20 Mar 2006 00:11:44 -1200 Subject: [Gambas-user] Importing Gambas forms to XML Message-ID: <7b6680840603200411y1e8f7850xefd505827db15414@...627...> hi how do we transform the gambas forms to html/css or xml an vice versa.Isthis possible ajish -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at ...1334... Mon Mar 20 15:51:23 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 20 Mar 2006 06:51:23 -0800 (PST) Subject: [Gambas-user] Form enumeration Message-ID: <20060320063903.O50344@...1337...> I'm having difficulty trying to write a sub that will close all open forms except the caller (it's intended that the caller be a Form most likely calling from his myform_Close handler and the all-but-the-caller is there to avoid endless loop condition) so in a module called "Common" I define the function from a Form's myform_Close handler he makes a call like this PUBLIC SUB myform_Close Common.CloseAllForms(ME) ME.Close() END In Common: PUBLIC SUB CloseAllForms(who as Object) DIM which AS String FOR EACH which IN ["Form1","Form2",...,"FormN"] IF NOT (which=Object.Class(who)) THEN 'need to get object-from-string-in-which and use 'Object.Call(resultingObject,"Close") END IF NEXT END The trouble I'm running into is that it does not appear that there is a way to get back an object, given its string name. I've tried the Class "array" --ie: Object.Call(Class(which),"Close")-- but it gives an error. I'm at a stumbling block here, any suggestions? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From gambas at ...1... Mon Mar 20 16:31:28 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Mar 2006 16:31:28 +0100 Subject: [Gambas-user] Form enumeration In-Reply-To: <20060320063903.O50344@...1337...> References: <20060320063903.O50344@...1337...> Message-ID: <200603201631.28683.gambas@...1...> On Monday 20 March 2006 15:51, Christopher Brian Jack wrote: > I'm having difficulty trying to write a sub that will close all open forms > except the caller (it's intended that the caller be a Form most likely > calling from his myform_Close handler and the all-but-the-caller is there > to avoid endless loop condition) > > so in a module called "Common" I define the function > > from a Form's myform_Close handler he makes a call like this > > PUBLIC SUB myform_Close > Common.CloseAllForms(ME) > ME.Close() > END > > In Common: > > PUBLIC SUB CloseAllForms(who as Object) > DIM which AS String > FOR EACH which IN ["Form1","Form2",...,"FormN"] > IF NOT (which=Object.Class(who)) THEN > 'need to get object-from-string-in-which and use > 'Object.Call(resultingObject,"Close") > END IF > NEXT > END > > The trouble I'm running into is that it does not appear that there is a > way to get back an object, given its string name. I've tried the Class > "array" --ie: Object.Call(Class(which),"Close")-- but it gives an error. > > I'm at a stumbling block here, any suggestions? > > .=================================================. > > | Christopher BRIAN Jack aka "Gau of the Veldt" | > > +=================================================' > > | brian _AT_ brians-anime _DOT_ com > > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > Enumerate the Windows class: FOR EACH hWindow IN Windows ... NEXT Regards, -- Benoit Minisini From brian at ...1334... Mon Mar 20 17:21:16 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 20 Mar 2006 08:21:16 -0800 (PST) Subject: [Gambas-user] Form enumeration In-Reply-To: <200603201631.28683.gambas@...1...> References: <20060320063903.O50344@...1337...> <200603201631.28683.gambas@...1...> Message-ID: <20060320081551.N51154@...1337...> On Mon, 20 Mar 2006, Benoit Minisini wrote: > Enumerate the Windows class: > > FOR EACH hWindow IN Windows > ... > NEXT > > Regards, > > -- > Benoit Minisini Thanks for the suggestion and I'll keep it for future reference. I worked out another way using a registration function called in every form's open handler. Then it's just a matter of making a call to the "CloseAllForms" in the module in the Forms' close handlers as well. Next time I write CloseAllForms(who AS Object) in another project I'll use the Window class. I don't like using QUIT becuase sometimes it doesn't work (!!!) and it usally dumps a bunch of whining and complaining to the console when it does work. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From sourceforge-raindog2 at ...94... Mon Mar 20 17:30:47 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 20 Mar 2006 11:30:47 -0500 Subject: [Gambas-user] Visa phishing attempt was Re: Compiling Gambas 1.9.26 In-Reply-To: <200603200920.19861.ronstk@...239...> References: <441D7802.3020609@...1237...> <200603200917.27817.katsancat@...11...> <200603200920.19861.ronstk@...239...> Message-ID: <200603201130.47915.sourceforge-raindog2@...94...> On Mon March 20 2006 03:20, ron wrote: > On Monday 20 March 2006 09:17, Bertrand-Xavier M. wrote: > > I hope everyone shows raw HTML. Vista img src well tried. > > Vista? I have gnu/linux :) > Do not understan what you mean here He meant "Visa". A phisher posted a Visa.com phishing attempt to the gambas-devel list (in Italian) and I guess Bertrand replied to this thread to warn people. The fact that the phishing email got through is worrisome to me. Rob From sourceforge-raindog2 at ...94... Mon Mar 20 17:40:13 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 20 Mar 2006 11:40:13 -0500 Subject: [Gambas-user] Importing Gambas forms to XML In-Reply-To: <7b6680840603200411y1e8f7850xefd505827db15414@...627...> References: <7b6680840603200411y1e8f7850xefd505827db15414@...627...> Message-ID: <200603201140.14086.sourceforge-raindog2@...94...> On Mon March 20 2006 07:11, Ajish Raju wrote: > how do we transform the gambas forms to html/css or xml an > vice versa.Isthis possible Here is a perl script I'm using to convert a bunch of Gambas forms to html/css. It is messy and I think there's some unnecessary stuff in there that's specific to the project I'm using it for (e.g. it converts scrollviews to iframes, and there is some Javascript that won't do you much good.) But it should give you some ideas. Eventually I hope to produce some kind of application framework written entirely in Gambas that would let you write a Gambas form that works on the web, using AJAX on the browser side to pass event notifications back to the Gambas program running on the server as a cgi and get data to display in the browser. But first I need to get this project done ;) I wouldn't know where to begin as far as converting back from html/css to Gambas forms. Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: gambasform2html.pl Type: application/x-perl Size: 12050 bytes Desc: not available URL: From kztyrvlq at ...966... Mon Mar 20 17:46:02 2006 From: kztyrvlq at ...966... (A Person) Date: Mon, 20 Mar 2006 13:16:02 -0330 Subject: [Gambas-user] Re: Text Search - string/textarea Issue - 1.0.14 Message-ID: <441EDC4A.1050603@...966...> Good Day All . . . Thanks for the replies. Ron - Your code does not work here. Normally it should work but I am dealing with bytes and UTF-8 -- apples and oranges. I tried this earlier and it would not work. It does work when I substitute a normal string. I have done for years. See the bottom of this message. Benoit - Apples and oranges explains why the INSTR function passes the end of text and does not raise an alarm. I had a feeling that this was the case. Earlier I added an end of file marker such as: sTemp = textareHelp.Text & CHR$(13) & CHR$(10) but it did not work. This brings me to the point of the exercise how do I: a. Search a string made up of textarea text where a search will fail at the last character(?) ? or b. Convert the textarea text into something where a search will fail at the last character? or c. What function is used to search a textarea and fail at the last character(?) ? or d. Or load the the original help.txt file into a string when the user opens the help screen, search the string with INSTR and convert the return into textarea.selection. The INSTR function will stop at the end of the string with a little coaching. This seems a logical workaround. Any suggestions? Thanks. Paul From maillists at ...1367... Mon Mar 20 18:26:37 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Mon, 20 Mar 2006 09:26:37 -0800 Subject: [Gambas-user] Which button was clicked? Message-ID: <1142875597.2084.8.camel@...1368...> I'm trying to create a form that generates buttons dynamically depending on items in a list. I've been doing some testing before I try to implement this but I'm not having any luck determining which button has raised the event. Here's some sample code: --------------------------- <
> PUBLIC SUB test() DIM btnNew AS toolbutton myForm.Load myForm.Show btnNew = NEW ToolButton(myForm) btnNew.Top = 0 btnNew.Left = 0 btnNew.Caption = "test01" btnNew.Tag = "test01" Object.Attach(btnNew, myForm, "btn") btnNew = NEW ToolButton(myForm) btnNew.Top = 22 btnNew.Left = 0 btnNew.Caption = "test02" btnNew.Tag = "test02" Object.Attach(btnNew, myForm, "btn") END <> PUBLIC SUB btn_Click() PRINT ME.tag & " clicked!" END --------------------------- The click event is raised regardless of the button I click. This is good. But I'm having trouble finding documentation on how to determine which button was clicked. "ME" obviously refers to the form. Which object refers to the current button? TIA, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Mon Mar 20 18:34:00 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 20 Mar 2006 12:34:00 -0500 Subject: [Gambas-user] Which button was clicked? In-Reply-To: <1142875597.2084.8.camel@...1368...> References: <1142875597.2084.8.camel@...1368...> Message-ID: <200603201234.00498.sourceforge-raindog2@...94...> On Mon March 20 2006 12:26, GuruLounge - MailLists wrote: > The click event is raised regardless of the button I click. > This is good. But I'm having trouble finding documentation on > how to determine which button was clicked. "ME" obviously > refers to the form. Which object refers to the current > button? "LAST" Rob From ronstk at ...239... Mon Mar 20 18:40:50 2006 From: ronstk at ...239... (ron) Date: Mon, 20 Mar 2006 18:40:50 +0100 Subject: [Gambas-user] Which button was clicked? In-Reply-To: <1142875597.2084.8.camel@...1368...> References: <1142875597.2084.8.camel@...1368...> Message-ID: <200603201840.50169.ronstk@...239...> On Monday 20 March 2006 18:26, GuruLounge - MailLists wrote: > <
> > > PUBLIC SUB test() > DIM btnNew AS toolbutton > > myForm.Load > myForm.Show > > btnNew = NEW ToolButton(myForm) > btnNew.Top = 0 > btnNew.Left = 0 > btnNew.Caption = "test01" > btnNew.Tag = "test01" > > Object.Attach(btnNew, myForm, "btn") > > btnNew = NEW ToolButton(myForm) When I'm right here you set the _same_ btnNew with a new instance > btnNew.Top = 22 > btnNew.Left = 0 > btnNew.Caption = "test02" > btnNew.Tag = "test02" > > Object.Attach(btnNew, myForm, "btn") > > END > > <> > > PUBLIC SUB btn_Click() > > PRINT ME.tag & " clicked!" > > END > DIM btnNew AS object[] PUBLIC SUB test() DIM btncnt as integer btncnt=0 btnNew[btncnt] =new toolbutton(parent) ' AS "MyDynamicButton" INC btncnt ... btnNew[btncnt] =new toolbutton(parent) ' AS "MyDynamicButton" INC btncnt ... end sub public sub MyDynamicButton_Click() print Last.Tag 'not Me.Tag ! end sub May be this gives a idea and help, untested! Ron From wspinto at ...1405... Mon Mar 20 20:02:13 2006 From: wspinto at ...1405... (wspinto at ...1405...) Date: Mon, 20 Mar 2006 16:02:13 -0300 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #1758 - 16 msgs In-Reply-To: <20060320145302.C4E11130E3@...773...> References: <20060320145302.C4E11130E3@...773...> Message-ID: <1142881333.441efc3595509@...1406...> > Message: 16 > Date: Mon, 20 Mar 2006 06:51:23 -0800 (PST) > From: Christopher Brian Jack > To: Gambas-Users List > Subject: [Gambas-user] Form enumeration > Reply-To: gambas-user at lists.sourceforge.net > > > I'm having difficulty trying to write a sub that will close all open forms > except the caller (it's intended that the caller be a Form most likely > calling from his myform_Close handler and the all-but-the-caller is there > to avoid endless loop condition) > > so in a module called "Common" I define the function > > from a Form's myform_Close handler he makes a call like this > > PUBLIC SUB myform_Close > Common.CloseAllForms(ME) > ME.Close() > END > > In Common: > > PUBLIC SUB CloseAllForms(who as Object) > DIM which AS String > FOR EACH which IN ["Form1","Form2",...,"FormN"] > IF NOT (which=Object.Class(who)) THEN > 'need to get object-from-string-in-which and use > 'Object.Call(resultingObject,"Close") > END IF > NEXT > END > > The trouble I'm running into is that it does not appear that there is a > way to get back an object, given its string name. I've tried the Class > "array" --ie: Object.Call(Class(which),"Close")-- but it gives an error. > > I'm at a stumbling block here, any suggestions? > > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | brian _AT_ brians-anime _DOT_ com > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > > > > --__--__-- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest > > Hi Christopher BRIAN! I'm using this sub to close forms. PUBLIC SUB FimProg() DIM ppp AS Window '* Close All Windows exept TELAPRIN FOR EACH ppp IN Windows IF UCase$(Trim(ppp.Tag)) <> "TELAPRIN" THEN ppp.Close END IF NEXT END ___________________________________________________________________________________ Tarifa ?nica DDI - A melhor op??o para suas liga??es internacionais. Do fixo ou do celular voc? paga a mesma tarifa e ainda tem um desconto especial para ligar para os Estados Unidos. Saiba mais. Acesse www.embratel.com.br From josemar_mariano at ...494... Mon Mar 20 20:13:30 2006 From: josemar_mariano at ...494... (Josemar) Date: Mon, 20 Mar 2006 16:13:30 -0300 Subject: [Gambas-user] report in gambas In-Reply-To: <20060320190401.84DD232577@...763...> References: <20060320190401.84DD232577@...763...> Message-ID: <441EFEDA.5020503@...494...> hi anyone know, generator report from gambas ? tks _______________________________________________________ Novo Yahoo! Messenger com voz: Instale agora e fa?a liga??es de gra?a. http://br.messenger.yahoo.com/ From bertagna at ...152... Mon Mar 20 20:59:30 2006 From: bertagna at ...152... (alfredo) Date: Mon, 20 Mar 2006 20:59:30 +0100 Subject: [Gambas-user] (no subject) Message-ID: <200603202059.30146.bertagna@...152...> unscribe -- =================== www.contradalalanterna.com From brian at ...1334... Mon Mar 20 21:49:47 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 20 Mar 2006 12:49:47 -0800 (PST) Subject: [Gambas-user] Re: [Gambas-devel] Visa phishing attempt was Re: Compiling Gambas 1.9.26 In-Reply-To: <200603201130.47915.sourceforge-raindog2@...94...> References: <441D7802.3020609@...1237...> <200603200917.27817.katsancat@...11...> <200603200920.19861.ronstk@...239...> <200603201130.47915.sourceforge-raindog2@...94...> Message-ID: <20060320124320.F51170@...1337...> On Mon, 20 Mar 2006, Rob Kudla wrote: > The fact that the phishing email got through is worrisome to me. > > Rob I hate these things. Not only are they extreme privacy risks (I don't even want to count how many people have been taken by these kinds of emails--if they weren't these wouldn't be so prevalent in spamboxes) but they are also occasionally spread by worm-infested computer systems. If it wasn't a member's computer system betraying them with unwanted malware and some other unsubscribed indeed placed the spam then that would be of even more concern. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From lucris at ...1366... Mon Mar 20 22:24:02 2006 From: lucris at ...1366... (Llew Ashdown) Date: Tue, 21 Mar 2006 07:24:02 +1000 Subject: [Gambas-user] Re: [Gambas-devel] Visa phishing attempt was Re: Compiling Gambas 1.9.26 In-Reply-To: <20060320124320.F51170@...1337...> References: <441D7802.3020609@...1237...> <200603200917.27817.katsancat@...11...> <200603200920.19861.ronstk@...239...> <200603201130.47915.sourceforge-raindog2@...94...> <20060320124320.F51170@...1337...> Message-ID: <441F1D72.70905@...1366...> we can but pity those foolish enough to use windows-products on the web. Christopher Brian Jack wrote: >On Mon, 20 Mar 2006, Rob Kudla wrote: > > > >>The fact that the phishing email got through is worrisome to me. >> >>Rob >> >> > >I hate these things. Not only are they extreme privacy risks (I don't >even want to count how many people have been taken by these kinds of >emails--if they weren't these wouldn't be so prevalent in spamboxes) but >they are also occasionally spread by worm-infested computer systems. > >If it wasn't a member's computer system betraying them with unwanted >malware and some other unsubscribed indeed placed the spam then that would >be of even more concern. > >.=================================================. >| Christopher BRIAN Jack aka "Gau of the Veldt" | >+=================================================' >| brian _AT_ brians-anime _DOT_ com >`=================================================- >Hi Spambots, my email address is sputnik at ...1334... > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > -- Regards Llew Ashdown -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: lucris.vcf Type: text/x-vcard Size: 179 bytes Desc: not available URL: From kztyrvlq at ...966... Mon Mar 20 22:55:58 2006 From: kztyrvlq at ...966... (A Person) Date: Mon, 20 Mar 2006 18:25:58 -0330 Subject: [Gambas-user] Re: Re: Text Search - string/textarea Issue - 1.0.14 Message-ID: <441F24EE.6020807@...966...> Good Day All . . . Ron - I apologise, your solution worked. In my code I put the <=0 test in the wrong place so I assumed that your suggestion was like mine. I put the test in the right place and now it is 85% acceptable code. Thank You again. Paul From gambas at ...1... Mon Mar 20 23:27:34 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Mar 2006 23:27:34 +0100 Subject: [Gambas-user] Form enumeration In-Reply-To: <20060320081551.N51154@...1337...> References: <20060320063903.O50344@...1337...> <200603201631.28683.gambas@...1...> <20060320081551.N51154@...1337...> Message-ID: <200603202327.34523.gambas@...1...> On Monday 20 March 2006 17:21, Christopher Brian Jack wrote: > On Mon, 20 Mar 2006, Benoit Minisini wrote: > > Enumerate the Windows class: > > > > FOR EACH hWindow IN Windows > > ... > > NEXT > > > > Regards, > > > > -- > > Benoit Minisini > > Thanks for the suggestion and I'll keep it for future reference. I worked > out another way using a registration function called in every form's open > handler. Then it's just a matter of making a call to the "CloseAllForms" > in the module in the Forms' close handlers as well. This is exactly what is done internally :-) > > Next time I write CloseAllForms(who AS Object) in another project I'll use > the Window class. > > I don't like using QUIT becuase sometimes it doesn't work (!!!) and it > usally dumps a bunch of whining and complaining to the console when it > does work. Totally true :-) QUIT sometimes does not work well, even crashing the interpreter (but it should not), and it does not free all memory (it cannot). The complaining messages are left to dissuade people from using it :-) Regards, -- Benoit Minisini From gambas at ...1... Mon Mar 20 23:29:59 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 20 Mar 2006 23:29:59 +0100 Subject: [Gambas-user] Re: Text Search - string/textarea Issue - 1.0.14 In-Reply-To: <441EDC4A.1050603@...966...> References: <441EDC4A.1050603@...966...> Message-ID: <200603202330.00135.gambas@...1...> On Monday 20 March 2006 17:46, A Person wrote: > Good Day All . . . > > Thanks for the replies. > > Ron - Your code does not work here. Normally it should work but I am > dealing with bytes and UTF-8 -- apples and oranges. I tried this earlier > and it would not work. It does work when I substitute a normal string. I > have done for years. See the bottom of this message. > > Benoit - Apples and oranges explains why the INSTR function passes the > end of text and does not raise an alarm. I had a feeling that this was > the case. Earlier I added an end of file marker such as: > > sTemp = textareHelp.Text & CHR$(13) & CHR$(10) > > but it did not work. > > This brings me to the point of the exercise how do I: > > a. Search a string made up of textarea text where a search will fail at > the last character(?) ? > > or > > b. Convert the textarea text into something where a search will fail at > the last character? > > or > > c. What function is used to search a textarea and fail at the last > character(?) ? > > or > > d. Or load the the original help.txt file into a string when the user > opens the help screen, search the string with INSTR and convert the > return into textarea.selection. The INSTR function will stop at the end > of the string with a little coaching. This seems a logical workaround. > > Any suggestions? > > Thanks. > > Paul > First, you must understand what is UTF-8, and how it is coded. The more important feature with UTF-8 is that it is compatible with ASCII, so some ASCII Gambas string functions work with UTF-8 string. For example, Instr() and RInstr() will work, except that they will return a byte position, not a character one. To convert between byte position and UTF-8 character position, use the String static class. In this class, you will find other UTF-8 specific functions. Regards, -- Benoit Minisini From ronstk at ...239... Tue Mar 21 00:09:07 2006 From: ronstk at ...239... (ron) Date: Tue, 21 Mar 2006 00:09:07 +0100 Subject: [Gambas-user] Re: Re: Text Search - string/textarea Issue - 1.0.14 In-Reply-To: <441F24EE.6020807@...966...> References: <441F24EE.6020807@...966...> Message-ID: <200603210009.07957.ronstk@...239...> On Monday 20 March 2006 22:55, A Person wrote: > Good Day All . . . > > Ron - I apologise, your solution worked. In my code I put the <=0 test > in the wrong place so I assumed that your suggestion was like mine. I > put the test in the right place and now it is 85% acceptable code. > > Thank You again. > > Paul > Good :) It was the 3'rd search operation that did not found anything. The next start pointer was set with the invalid instr() value as 0 + len(search). In this case it could be a not UTF-8 case but as mentioned by Benoit the safe way can be the String class if your language/text contains it. We are happy now :) Ron From maillists at ...1367... Tue Mar 21 00:53:46 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Mon, 20 Mar 2006 15:53:46 -0800 Subject: [Gambas-user] Window positions Message-ID: <1142898826.11833.2.camel@...1368...> I was curious to know if there's a way to "shell" or "exec" an application then hook into it's X11 handle somehow as a window object so I can retrieve the app's position on the screen? A simple test with "xterm" perhaps? TIA, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Tue Mar 21 00:54:48 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Mon, 20 Mar 2006 15:54:48 -0800 Subject: [Gambas-user] Which button was clicked? In-Reply-To: <200603201234.00498.sourceforge-raindog2@...94...> References: <1142875597.2084.8.camel@...1368...> <200603201234.00498.sourceforge-raindog2@...94...> Message-ID: <1142898888.11833.4.camel@...1368...> "LAST" -- That did the trick. Thanx much! Jeff On Mon, 2006-03-20 at 12:34 -0500, Rob Kudla wrote: > On Mon March 20 2006 12:26, GuruLounge - MailLists wrote: > > The click event is raised regardless of the button I click. > > This is good. But I'm having trouble finding documentation on > > how to determine which button was clicked. "ME" obviously > > refers to the form. Which object refers to the current > > button? > > "LAST" > > Rob > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From katsancat at ...11... Tue Mar 21 06:56:23 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Tue, 21 Mar 2006 06:56:23 +0100 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603181728.00416.sourceforge-raindog2@...94...> References: <441976CA.10502@...1362...> <200603181728.00416.sourceforge-raindog2@...94...> Message-ID: <200603210656.24092.katsancat@...11...> On Saturday 18 March 2006 23:28, Rob Kudla wrote: > On Sat March 18 2006 15:35, Henri Girard wrote: > > QT4 might help... but not in the near future ! > > I don't think Qt4 will help either, because like I said, the > tough part isn't going to be displaying windows, it's going to > be running a really Unixy compiler and interpreter under a very > un-Unixy OS. > > Rob > Yep. Includes like sys/types.h or sys/mman.h cause some extra work. Not only they don't exist in windose, but they're not in mingw. Thus trying to compile the interpreter is like swimming with a machinegun, or trying to breach a metal wall with a bulldozer. Who was it from the list who managed to run console app on windoes? I can't remember his name. At the moment i am blocked by sys/mman.h after having fixed 65635^16 errors for the interpreter. From brian at ...1334... Tue Mar 21 07:00:49 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Mon, 20 Mar 2006 22:00:49 -0800 (PST) Subject: [Gambas-user] windows and gambas In-Reply-To: <200603210656.24092.katsancat@...11...> References: <441976CA.10502@...1362...> <200603181728.00416.sourceforge-raindog2@...94...> <200603210656.24092.katsancat@...11...> Message-ID: <20060320215638.G53696@...1337...> On Tue, 21 Mar 2006, Bertrand-Xavier M. wrote: > Yep. Includes like sys/types.h or sys/mman.h cause some extra work. Not only > they don't exist in windose, but they're not in mingw. Thus trying to compile > the interpreter is like swimming with a machinegun, or trying to breach a > metal wall with a bulldozer. > Who was it from the list who managed to run console app on windoes? I can't > remember his name. At the moment i am blocked by sys/mman.h after having > fixed 65635^16 errors for the interpreter. Windows has its own flavor of memory management and process creation; however, they are (obviously) not compatible with unix memory management (say, for instance, mmap) and process management. Mucking with Process structures and CreateProcess rather than GNU/Linux's much-easier-to-use fork() and exec() (and its twins like execve, et al.). .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From sourceforge-raindog2 at ...94... Tue Mar 21 07:24:45 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 21 Mar 2006 01:24:45 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603210656.24092.katsancat@...11...> References: <441976CA.10502@...1362...> <200603181728.00416.sourceforge-raindog2@...94...> <200603210656.24092.katsancat@...11...> Message-ID: <200603210124.46569.sourceforge-raindog2@...94...> On Tue March 21 2006 00:56, Bertrand-Xavier M. wrote: > Yep. Includes like sys/types.h or sys/mman.h cause some extra > work. Not only they don't exist in windose, but they're not in > mingw. Thus trying to compile the interpreter is like swimming It's true about mman, but are you sure about types? http://sourceware.org/cygwin/packages/mingw-runtime/mingw-runtime-3.9-2 Maybe that's a cygwin-only port of mingw, but it would be a first step.... it seems to me cygwin itself has mman.h, but it's been a long time since I built anything against cygwin.... I think the brave Windows user who used to post was Brandon Bergren. He posted screenshots of a Gambas app running under cygwin using gb.gtk for the interface, back in February 2005. Rob From ronstk at ...239... Tue Mar 21 18:30:54 2006 From: ronstk at ...239... (ron) Date: Tue, 21 Mar 2006 18:30:54 +0100 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603210124.46569.sourceforge-raindog2@...94...> References: <441976CA.10502@...1362...> <200603210656.24092.katsancat@...11...> <200603210124.46569.sourceforge-raindog2@...94...> Message-ID: <200603211830.54141.ronstk@...239...> On Tuesday 21 March 2006 07:24, Rob Kudla wrote: > I think the brave Windows user who used to post was Brandon > Bergren. ?He posted screenshots of a Gambas app running under > cygwin using gb.gtk for the interface, back in February 2005. > > Rob How is Brandon going? Thats the one I missing on the list. I did like is trial to do it on windows/cygwin. Here with LTSP and bootflop gambas works on all PC. :) Ron From sourceforge-raindog2 at ...94... Tue Mar 21 20:58:39 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 21 Mar 2006 14:58:39 -0500 Subject: [Gambas-user] windows and gambas In-Reply-To: <200603211830.54141.ronstk@...239...> References: <441976CA.10502@...1362...> <200603210124.46569.sourceforge-raindog2@...94...> <200603211830.54141.ronstk@...239...> Message-ID: <200603211458.39408.sourceforge-raindog2@...94...> On Tue March 21 2006 12:30, ron wrote: > How is Brandon going? > Thats the one I missing on the list. > I did like is trial to do it on windows/cygwin. He last posted in early February, and last mentioned the Cygwin port in November. I assume he's still here and reading this. Rob From maillists at ...1367... Tue Mar 21 21:18:32 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 21 Mar 2006 12:18:32 -0800 Subject: [Gambas-user] Re: Window positions In-Reply-To: <1142898826.11833.2.camel@...1368...> References: <1142898826.11833.2.camel@...1368...> Message-ID: <1142972312.5879.0.camel@...1368...> So there's no way to do this? Jeff On Mon, 2006-03-20 at 15:53 -0800, GuruLounge - MailLists wrote: > I was curious to know if there's a way to "shell" or "exec" an > application then hook into it's X11 handle somehow as a window object so > I can retrieve the app's position on the screen? > > A simple test with "xterm" perhaps? > > TIA, > Jeff > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From ronstk at ...239... Tue Mar 21 21:33:45 2006 From: ronstk at ...239... (ron) Date: Tue, 21 Mar 2006 21:33:45 +0100 Subject: [Gambas-user] Re: Window positions In-Reply-To: <1142972312.5879.0.camel@...1368...> References: <1142898826.11833.2.camel@...1368...> <1142972312.5879.0.camel@...1368...> Message-ID: <200603212133.45443.ronstk@...239...> On Tuesday 21 March 2006 21:18, GuruLounge - MailLists wrote: > So there's no way to do this? > > Jeff > > On Mon, 2006-03-20 at 15:53 -0800, GuruLounge - MailLists wrote: > > I was curious to know if there's a way to "shell" or "exec" an > > application then hook into it's X11 handle somehow as a window object so > > I can retrieve the app's position on the screen? > > > > A simple test with "xterm" perhaps? > > > > TIA, > > Jeff > > Using kdcop or dcop with KDE maybe can help Ron From sourceforge-raindog2 at ...94... Tue Mar 21 21:38:46 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 21 Mar 2006 15:38:46 -0500 Subject: [Gambas-user] Re: Window positions In-Reply-To: <1142972312.5879.0.camel@...1368...> References: <1142898826.11833.2.camel@...1368...> <1142972312.5879.0.camel@...1368...> Message-ID: <200603211538.46941.sourceforge-raindog2@...94...> On Tue March 21 2006 15:18, GuruLounge - MailLists wrote: > So there's no way to do this? You would either have to use gb.api with Xlib to iterate through the list of X clients and retrieve the _NET_WM_PID property for each, or shell out to some program that does it for you. I haven't done this myself, just googled for a way to do it. Don't forget, one process can have a lot of X window ID's (do "xwininfo -root -tree -int" to see what I mean.) It's not always safe to assume that the parent window is the main application window. Naturally, all this assumes that your Gambas app and the desired window are on the same X display. Also, not all window managers support _NET_WM_PID.... kwin has had it since KDE 3.1, but I don't know if the more lightweight ones do. This is the price of network transparency.... X servers were never meant to know what process ID a window belonged to because X was designed as a "many hosts, many terminals" protocol. It's possible you could get the source of xtoolwait and modify it to report back the X window ID as well as the process ID of the tool it starts, but even that is kind of chancy. Rob From maillists at ...1367... Tue Mar 21 22:09:35 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 21 Mar 2006 13:09:35 -0800 Subject: [Gambas-user] Re: Window positions In-Reply-To: <200603211538.46941.sourceforge-raindog2@...94...> References: <1142898826.11833.2.camel@...1368...> <1142972312.5879.0.camel@...1368...> <200603211538.46941.sourceforge-raindog2@...94...> Message-ID: <1142975376.7119.3.camel@...1368...> Well, it's just an idea I was poking around with. I ran my app in X without a window manager and after realizing I could do this I then threw in a desktop form just for the fun of it. And I was thinking it would be nice to manage the windows somehow - X without a WM is a bit unusable. But if it's too complicated for the current major release (1.0.14) then I'll forget it and just run my app on top of iceWM or fluxbox. It seems to work okay with those. Jeff On Tue, 2006-03-21 at 15:38 -0500, Rob Kudla wrote: > On Tue March 21 2006 15:18, GuruLounge - MailLists wrote: > > So there's no way to do this? > > You would either have to use gb.api with Xlib to iterate through > the list of X clients and retrieve the _NET_WM_PID property for > each, or shell out to some program that does it for you. I > haven't done this myself, just googled for a way to do it. > > Don't forget, one process can have a lot of X window ID's (do > "xwininfo -root -tree -int" to see what I mean.) It's not > always safe to assume that the parent window is the main > application window. > > Naturally, all this assumes that your Gambas app and the desired > window are on the same X display. Also, not all window managers > support _NET_WM_PID.... kwin has had it since KDE 3.1, but I > don't know if the more lightweight ones do. > > This is the price of network transparency.... X servers were > never meant to know what process ID a window belonged to because > X was designed as a "many hosts, many terminals" protocol. > > It's possible you could get the source of xtoolwait and modify it > to report back the X window ID as well as the process ID of the > tool it starts, but even that is kind of chancy. > > Rob > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- .^. /V\ /( )\ ^^-^^ Linux Advocate From gambas at ...1... Tue Mar 21 23:35:54 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 21 Mar 2006 23:35:54 +0100 Subject: [Gambas-user] Re: Window positions In-Reply-To: <1142975376.7119.3.camel@...1368...> References: <1142898826.11833.2.camel@...1368...> <200603211538.46941.sourceforge-raindog2@...94...> <1142975376.7119.3.camel@...1368...> Message-ID: <200603212335.54336.gambas@...1...> On Tuesday 21 March 2006 22:09, GuruLounge - MailLists wrote: > Well, it's just an idea I was poking around with. > > I ran my app in X without a window manager and after realizing I could > do this I then threw in a desktop form just for the fun of it. And I > was thinking it would be nice to manage the windows somehow - X without > a WM is a bit unusable. > > But if it's too complicated for the current major release (1.0.14) then > I'll forget it and just run my app on top of iceWM or fluxbox. It seems > to work okay with those. > > Jeff > It depends on what you want to do exactly. Managing windows positions and sizes is the role of the window manager on X11. The X11 window manager is a X11 application that must follow some protocol standard. The more modern window manager protocol is the freedesktop one: http://www.freedesktop.org/Standards/wm-spec So you can't manage X11 windows properly with Gambas now. A solution could be taking the KWin, NetRootInfo, NetWinInfo... C++ classes from the KDE libraries ad make a component with it. These classes have everything needed for implementing a freedesktop compliant X11 window manager. Regards, -- Benoit Minisini From jamadagni at ...626... Wed Mar 22 14:22:04 2006 From: jamadagni at ...626... (Shriramana Sharma) Date: Wed, 22 Mar 2006 18:52:04 +0530 Subject: [Gambas-user] InputBox class -- where to download? Message-ID: <200603221852.04368.jamadagni@...626...> http://gambasdoc.org/help/doc/diffvb speaks of the InputBox page where I can download a class to use as replacement for VB InputBox function, but I am not able to locate it in the wiki. Please tell me where the class is available. Merci bien! -- Shriramana Sharma dives into Sanskrit, swims in Linux and astronomy http://samvit.org In India, today is CCE +2006-Mar-22, W12-Wed Sun in: Miina Season: Vasanta Moon in: Muula Tithi: Phaalguna Krishna Ashtamii From brian at ...1334... Wed Mar 22 20:21:22 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Wed, 22 Mar 2006 11:21:22 -0800 (PST) Subject: [Gambas-user] The editor class: need mucho docs Message-ID: <20060322111217.E62954@...1337...> There is supposed to be this wonderful Qt extension called Editor and I'd like to make an editor class that would do what the GambasEditor does but for a different syntax that is used for code on my online game server (ColdC http://www.cold.org); however, there is a lot of blank documentation stubs hence I have no clue even where to start. About the only thing I did discover is that some important looking properties are readonly and it is my guess that this class is intended to be used as a base for a new class and these properties overriden. I can either set it to do Gambas syntax highlighting or Custom but after that I ran out of knowledge on where to go from here. And where and when are those constants like ShowCurrentLine et al. supposed to be used? .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From rohnny at ...1248... Wed Mar 22 22:44:27 2006 From: rohnny at ...1248... (R. Stormo) Date: Wed, 22 Mar 2006 13:44:27 -0800 (PST) Subject: [Gambas-user] InputBox class -- where to download? In-Reply-To: <200603221852.04368.jamadagni@...626...> References: <200603221852.04368.jamadagni@...626...> Message-ID: <3541725.post@...1379...> There is an example here http://forum.stormweb.no it's under code snippet. -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/InputBox-class----where-to-download--t1323858.html#a3541725 Sent from the gambas-user forum at Nabble.com. From na2492 at ...9... Wed Mar 22 23:46:16 2006 From: na2492 at ...9... (Charlie Reinl) Date: Wed, 22 Mar 2006 23:46:16 00100 Subject: [Gambas-user] InputBox class -- where to download? Message-ID: <4421d3b8.54cb.0@...9...> >http://gambasdoc.org/help/doc/diffvb > >speaks of the InputBox page where I can download a class to use as replacement >for VB InputBox function, but I am not able to locate it in the wiki. Please >tell me where the class is available. > >Merci bien! > >-- > >Shriramana Sharma dives into Sanskrit, swims in Linux and astronomy >http://samvit.org In India, today is CCE +2006-Mar-22, W12-Wed >Sun in: Miina Season: Vasanta >Moon in: Muula Tithi: Phaalguna Krishna Ashtamii > Salut, if you use gambas 1.0.x look at help about 'Inputbox' Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From jamadagni at ...626... Thu Mar 23 02:33:22 2006 From: jamadagni at ...626... (Shriramana Sharma) Date: Thu, 23 Mar 2006 07:03:22 +0530 Subject: [Gambas-user] InputBox class -- where to download? In-Reply-To: <3541725.post@...1379...> References: <200603221852.04368.jamadagni@...626...> <3541725.post@...1379...> Message-ID: <200603230703.22346.jamadagni@...626...> Thursday, 23 March 2006 03:14 samaye, R. Stormo alekhiit: > There is an example here http://forum.stormweb.no it's under code snippet. Do I have to register to download the code? I do not see any inlined code nor attachment. -- Shriramana Sharma dives into Sanskrit, swims in Linux and astronomy http://samvit.org In India, today is CCE +2006-Mar-23, W12-Thu Sun in: Miina Season: Vasanta Moon in: Muula Tithi: Phaalguna Krishna Ashtamii From rohnny at ...1248... Thu Mar 23 06:07:28 2006 From: rohnny at ...1248... (R. Stormo) Date: Wed, 22 Mar 2006 21:07:28 -0800 (PST) Subject: [Gambas-user] InputBox class -- where to download? In-Reply-To: <200603230703.22346.jamadagni@...626...> References: <200603221852.04368.jamadagni@...626...> <3541725.post@...1379...> <200603230703.22346.jamadagni@...626...> Message-ID: <3546457.post@...1379...> To download and post you need to registrer. To read, your not. -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/InputBox-class----where-to-download--t1323858.html#a3546457 Sent from the gambas-user forum at Nabble.com. From jamadagni at ...626... Thu Mar 23 06:31:21 2006 From: jamadagni at ...626... (Shriramana Sharma) Date: Thu, 23 Mar 2006 11:01:21 +0530 Subject: [Gambas-user] InputBox class -- where to download? In-Reply-To: <3546457.post@...1379...> References: <200603221852.04368.jamadagni@...626...> <200603230703.22346.jamadagni@...626...> <3546457.post@...1379...> Message-ID: <200603231101.22217.jamadagni@...626...> Thursday, 23 March 2006 10:37 samaye, R. Stormo alekhiit: > To download and post you need to registrer. To read, your not. To get to know that a download is available, (I mean, to see the download icon) do I need to register? -- Shriramana Sharma dives into Sanskrit, swims in Linux and astronomy http://samvit.org In India, today is CCE +2006-Mar-23, W12-Thu Sun in: Miina Season: Vasanta Moon in: Muula Tithi: Phaalguna Krishna Ashtamii From eilert-sprachen at ...221... Thu Mar 23 10:08:49 2006 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 23 Mar 2006 10:08:49 +0100 Subject: [Gambas-user] Questions about Wiki Message-ID: <442265A1.60403@...221...> Hi everyone, I just edited a few things in the Wiki and now have some questions about how to handle this: - Do you want alterations to be made in the English version first and then translated, i. e. is English the main Wiki language? (This would mean, if I added something to a German page only, this wouldn't make sense, would it?) - I edited the Abs() page, adding a few lines of explanation and a tip. In order to be able to make code appear in the code font within the tip, I had to bracket everything with ==. Is there an easier way to do this? - A propos Abs(), this function doesn't only accept a number but an expression ("8 - 12" for instance). Shouldn't the syntax be altered accoringly? In the German page I did, but I wanted to ask first if you agree. - On the page for Access(), there is a note at the end. I don't understand the intention of that note - is it a question to Benoit or is it just meant to be brain sports? :-) Thanks for your answers! Regards Rolf From eilert-sprachen at ...221... Thu Mar 23 10:15:10 2006 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 23 Mar 2006 10:15:10 +0100 Subject: [Gambas-user] One more thing about Wiki Message-ID: <4422671E.8010001@...221...> Forgot one thing: I didn't find this cgi.doc file with the translations. Anyway, for the German pages there are only two expressions to be altered: Example = Beispiel See also = Querverweis So if someone else is able do this, the pages will look much more German :-) Thanks Rolf From brian at ...1334... Thu Mar 23 12:08:48 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Thu, 23 Mar 2006 03:08:48 -0800 (PST) Subject: [Gambas-user] Questions about Wiki In-Reply-To: <442265A1.60403@...221...> References: <442265A1.60403@...221...> Message-ID: <20060323024911.K66318@...1337...> On Thu, 23 Mar 2006, Eilert wrote: > - On the page for Access(), there is a note at the end. I don't > understand the intention of that note - is it a question to Benoit or is > it just meant to be brain sports? :-) It was me that placed that there and would be happy to complete the documentation in that section if I knew the behavior of the command in abscence of the optional argument. At this juncture I do not know how to expect that command to behave in such cases. Does it act is if all the options are requested, executable only, or something else? It's just I don't like hanging ambiguities. PS: Anyone who knows the default behavior may simply fill in the void and remove the question. Wiki documentation is nice that way - it allows for a "living" documentation that can evolve over time in completeness and/or clarity and/or richness of examples. If given this information I will add it as information to the description and drop the question. PSS: I'm having trouble in 1.9.29 creating files. It seems no matter what I set the directory/file permissions to in the project (I went as far as chmod -R 777 projectdir/myDir but hFile=OPEN "data/myDir/myConfig" AS OUTPUT CREATE still yields a 53 permission denied error and myConfig was allowed for writing--note the -R [recursive] option to chmod). I discover after a few "cannot find directory" that data/ just means the project directory (there is no 'data' directory there) and for accessing the file just reading is OK but writes/creates seem to be a problem. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From gambas at ...1... Thu Mar 23 12:41:39 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 23 Mar 2006 12:41:39 +0100 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <20060323024911.K66318@...1337...> References: <442265A1.60403@...221...> <20060323024911.K66318@...1337...> Message-ID: <200603231241.39145.gambas@...1...> On Thursday 23 March 2006 12:08, Christopher Brian Jack wrote: > On Thu, 23 Mar 2006, Eilert wrote: > > - On the page for Access(), there is a note at the end. I don't > > understand the intention of that note - is it a question to Benoit or is > > it just meant to be brain sports? :-) > > It was me that placed that there and would be happy to complete the > documentation in that section if I knew the behavior of the command in > abscence of the optional argument. At this juncture I do not know how to > expect that command to behave in such cases. Does it act is if all the > options are requested, executable only, or something else? > > It's just I don't like hanging ambiguities. > > PS: Anyone who knows the default behavior may simply fill in the void and > remove the question. Wiki documentation is nice that way - it allows for > a "living" documentation that can evolve over time in completeness and/or > clarity and/or richness of examples. If given this information I will add > it as information to the description and drop the question. > > PSS: I'm having trouble in 1.9.29 creating files. It seems no matter what > I set the directory/file permissions to in the project (I went as far as > chmod -R 777 projectdir/myDir but hFile=OPEN "data/myDir/myConfig" AS > OUTPUT CREATE still yields a 53 permission denied error and myConfig was > allowed for writing--note the -R [recursive] option to chmod). > I discover after a few "cannot find directory" that data/ just means the > project directory (there is no 'data' directory there) and for accessing > the file just reading is OK but writes/creates seem to be a problem. > If you open a file from a relative path, then the file can only be read-only. Because everything inside the project directory is read-only. Regards, -- Benoit Minisini From gambas at ...1... Thu Mar 23 12:46:53 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 23 Mar 2006 12:46:53 +0100 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <442265A1.60403@...221...> References: <442265A1.60403@...221...> Message-ID: <200603231246.53317.gambas@...1...> On Thursday 23 March 2006 10:08, Eilert wrote: > Hi everyone, > > I just edited a few things in the Wiki and now have some questions about > how to handle this: > > - Do you want alterations to be made in the English version first and > then translated, i. e. is English the main Wiki language? (This would > mean, if I added something to a German page only, this wouldn't make > sense, would it?) Yes. The english section is the reference, so you must add things there first. > > - I edited the Abs() page, adding a few lines of explanation and a tip. > In order to be able to make code appear in the code font within the tip, > I had to bracket everything with ==. Is there an easier way to do this? Put the code between two '==' lines. I changed the page so that you can see. > > - A propos Abs(), this function doesn't only accept a number but an > expression ("8 - 12" for instance). Shouldn't the syntax be altered > accoringly? In the German page I did, but I wanted to ask first if you > agree. This is implicit, as any function argument can be any expression. You can remove your tip! > > - On the page for Access(), there is a note at the end. I don't > understand the intention of that note - is it a question to Benoit or is > it just meant to be brain sports? :-) > > > Thanks for your answers! > > Regards > Rolf > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Benoit Minisini From gambas at ...1... Thu Mar 23 12:48:07 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 23 Mar 2006 12:48:07 +0100 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <20060323024911.K66318@...1337...> References: <442265A1.60403@...221...> <20060323024911.K66318@...1337...> Message-ID: <200603231248.07198.gambas@...1...> On Thursday 23 March 2006 12:08, Christopher Brian Jack wrote: > On Thu, 23 Mar 2006, Eilert wrote: > > - On the page for Access(), there is a note at the end. I don't > > understand the intention of that note - is it a question to Benoit or is > > it just meant to be brain sports? :-) > > It was me that placed that there and would be happy to complete the > documentation in that section if I knew the behavior of the command in > abscence of the optional argument. gb.Read. This is actually written that gb.read "is the default". Maybe this is not clear? Regards, -- Benoit Minisini From rohnny at ...1248... Thu Mar 23 15:54:34 2006 From: rohnny at ...1248... (R. Stormo) Date: Thu, 23 Mar 2006 06:54:34 -0800 (PST) Subject: [Gambas-user] InputBox class -- where to download? In-Reply-To: <200603231101.22217.jamadagni@...626...> References: <200603221852.04368.jamadagni@...626...> <3541725.post@...1379...> <200603230703.22346.jamadagni@...626...> <3546457.post@...1379...> <200603231101.22217.jamadagni@...626...> Message-ID: <3553297.post@...1379...> Yes, to get the download icon you need tobe logged in. EMail adress are NOT used in anyway. But when you need to register I think you will get more serious/correct postings. -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/InputBox-class----where-to-download--t1323858.html#a3553297 Sent from the gambas-user forum at Nabble.com. From mwebb at ...1362... Thu Mar 23 10:02:00 2006 From: mwebb at ...1362... (mike webb) Date: Thu, 23 Mar 2006 09:02:00 +0000 Subject: [Gambas-user] compiling gambas2-1.9.25 Message-ID: <44226408.8040207@...1362...> running fedora core 4, dual penitum 933 processors. tried compiling gambas gambas2-1.925 last night. no luck, i've followed the instuctions about creating an output.txt file and sending it to you guys. can somebody tell me what i'm doing wrong. would be a lot better for me if someone had an rpm. thanks -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From sourceforge-raindog2 at ...94... Thu Mar 23 16:19:01 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 23 Mar 2006 10:19:01 -0500 Subject: [Gambas-user] InputBox class -- where to download? In-Reply-To: <3553297.post@...1379...> References: <200603221852.04368.jamadagni@...626...> <200603231101.22217.jamadagni@...626...> <3553297.post@...1379...> Message-ID: <200603231019.02043.sourceforge-raindog2@...94...> On Thu March 23 2006 09:54, R. Stormo wrote: > Yes, to get the download icon you need tobe logged in. EMail > adress are NOT used in anyway. But when you need to register I > think you will get more serious/correct postings. You know, the static version of the old wiki is still out there.... no registration required. See here: http://www.binara.com/gambas-wiki/static/Gambas/InputBox.html I guess I need to come up with an index of some kind for the static Wiki since a lot of the examples and stuff didn't get copied into the new Wiki. Rob From katsancat at ...11... Thu Mar 23 20:26:56 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Thu, 23 Mar 2006 20:26:56 +0100 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <200603231246.53317.gambas@...1...> References: <442265A1.60403@...221...> <200603231246.53317.gambas@...1...> Message-ID: <200603232026.56514.katsancat@...11...> On Thursday 23 March 2006 12:46, Benoit Minisini wrote: > On Thursday 23 March 2006 10:08, Eilert wrote: > > - Do you want alterations to be made in the English version first and > > then translated, i. e. is English the main Wiki language? (This would > > mean, if I added something to a German page only, this wouldn't make > > sense, would it?) > > Yes. The english section is the reference, so you must add things there > first. On this topic, a great addition would be to specify the version of gambas the doc applies to. Would really help Newcomers and even experienced gambas'ers. Or is the wiki only refering to the stable version? For example, to the Open instruction (http://64.128.110.55/help/lang/open) Add "Applies to: Gambas stable 1.0.11 and anterior versions" Or "Applies to: Gambas Development 1.9.24 and above". Just a thought for future versions. From sourceforge-raindog2 at ...94... Thu Mar 23 20:44:54 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 23 Mar 2006 14:44:54 -0500 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <200603232026.56514.katsancat@...11...> References: <442265A1.60403@...221...> <200603231246.53317.gambas@...1...> <200603232026.56514.katsancat@...11...> Message-ID: <200603231444.54920.sourceforge-raindog2@...94...> On Thu March 23 2006 14:26, Bertrand-Xavier M. wrote: > Newcomers and even experienced gambas'ers. Or is the wiki only > refering to the stable version? The wiki actually refers to the development version.... the stable version has a static copy of the wiki in the form of its help files. > For example, to the Open instruction > (http://64.128.110.55/help/lang/open) Add "Applies to: Gambas > stable 1.0.11 and anterior versions" Or "Applies to: Gambas > Development 1.9.24 and above". Just a thought for future > versions. I agree that this would be helpful.... MySQL does this on their documentation site and it's saved me a lot of headaches. But since each of us can update the documentation, I think there'll have to be a note on the wiki editor screen mentioning that people updating the wiki should do this. Rob From maillists at ...1367... Thu Mar 23 20:56:08 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 23 Mar 2006 11:56:08 -0800 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <200603231248.07198.gambas@...1...> References: <442265A1.60403@...221...> <20060323024911.K66318@...1337...> <200603231248.07198.gambas@...1...> Message-ID: <1143143768.7878.0.camel@...1368...> Okay, I hear this word all over the place in Linux but I've never got it fully defined. What is "Wiki"? Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Thu Mar 23 21:00:49 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 23 Mar 2006 15:00:49 -0500 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <1143143768.7878.0.camel@...1368...> References: <442265A1.60403@...221...> <200603231248.07198.gambas@...1...> <1143143768.7878.0.camel@...1368...> Message-ID: <200603231500.49996.sourceforge-raindog2@...94...> On Thu March 23 2006 14:56, GuruLounge - MailLists wrote: > Okay, I hear this word all over the place in Linux but I've > never got it fully defined. > > What is "Wiki"? A Wiki is a type of web-based software that lets all the users of a site edit the pages on that site. It's like a CMS (Content Management System) but usually much less.... um... managed. These properties make it useful for getting a community-based knowledge repository up and running without a lot of thought or work, and that's what we did with the original Gambas wiki, until we outgrew Twiki (the wiki software we were using.) Benoit's new Gambas documentation wiki is actually closer to a full CMS in that he seems to have implemented different kinds of pages, a formalized structure, etc. Rob From ronstk at ...239... Thu Mar 23 21:00:33 2006 From: ronstk at ...239... (ron) Date: Thu, 23 Mar 2006 21:00:33 +0100 Subject: [Gambas-user] compiling gambas2-1.9.25 In-Reply-To: <44226408.8040207@...1362...> References: <44226408.8040207@...1362...> Message-ID: <200603232100.33753.ronstk@...239...> On Thursday 23 March 2006 10:02, mike webb wrote: > Making all in src > make[4]: Entering directory `/root/gambas2-1.9.26/gb.crypt/src' > if /bin/sh ../libtool --tag=CC --mode=compile gcc32 -DHAVE_CONFIG_H -I. -I. -I.. ? ?-pipe -Wall -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os ?-MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.c; \ > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi > ?gcc32 -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c ?-fPIC -DPIC -o .libs/main.o > cc1: unrecognized option `-fvisibility=hidden' This option, -fvisibility=hidden, break the proccess at the first occerence on SuSE9.2 Try: unpack source tarbal remove at line 194/195 the -fvisibility in acinclude.m4 In the sub directories find the 27 files (configure) with same option around line 4600 Special check /root/gambas2-1.9.26/gb.crypt/configure!! Check also the -devel for the crypt component are installed do: ./reconf-all ./configure make Reason: Benoit did starting the GCC 4.x compiler options checking for bzlib2 compression headers... no checking for bzlib2 compression libraries... no configure: WARNING: *** bzlib2 compression is disabled checking for MySQL driver headers... no checking for MySQL driver libraries... no configure: WARNING: *** MySQL driver is disabled checking for ODBC driver headers... no checking for ODBC driver libraries... /usr/lib/ configure: WARNING: *** ODBC driver is disabled checking for SQLite 2 driver headers... no checking for SQLite 2 driver libraries... no configure: WARNING: *** SQLite 2 driver is disabled checking for SQLite 3 driver headers... no checking for SQLite 3 driver libraries... no configure: WARNING: *** SQLite 3 driver is disabled checking for firebird driver headers... no checking for firebird driver libraries... no configure: WARNING: *** firebird driver is disabled checking for XShmAttach in -lXext... yes checking for GTK+ toolkit component with pkg-config... no configure: WARNING: *** GTK+ toolkit is disabled checking for Poppler PDF library component with pkg-config... no configure: WARNING: *** Poppler PDF library is disabled checking for Advanced networking component headers... no checking for Advanced networking component libraries... no configure: WARNING: *** Advanced networking component is disabled checking for STMP client component with pkg-config... no configure: WARNING: *** STMP client is disabled checking for QT meta-object compiler... no configure: error: QT moc compiler not found. Try --with-moc option. configure: error: /bin/sh './configure' failed for gb.qt This one is installed if the qt-devel is done (SuSE) Gambas need QT for the IDE interface, check this After the first ./configure you get a list of disabled components. You have already start the make so this dump helps but that list is not here now. For me the removal of the -fvisibility was the solution to get it work GCC 3.4 Succes Ron From jfabiani at ...1109... Thu Mar 23 21:04:01 2006 From: jfabiani at ...1109... (johnf) Date: Thu, 23 Mar 2006 12:04:01 -0800 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <1143143768.7878.0.camel@...1368...> References: <442265A1.60403@...221...> <200603231248.07198.gambas@...1...> <1143143768.7878.0.camel@...1368...> Message-ID: <200603231204.01524.jfabiani@...1109...> On Thursday 23 March 2006 11:56, GuruLounge - MailLists wrote: > Okay, I hear this word all over the place in Linux but I've never got it > fully defined. > > What is "Wiki"? > > Jeff http://en.wikipedia.org/wiki/Wiki Johnf From ronstk at ...239... Thu Mar 23 21:16:16 2006 From: ronstk at ...239... (ron) Date: Thu, 23 Mar 2006 21:16:16 +0100 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <200603231444.54920.sourceforge-raindog2@...94...> References: <442265A1.60403@...221...> <200603232026.56514.katsancat@...11...> <200603231444.54920.sourceforge-raindog2@...94...> Message-ID: <200603232116.16291.ronstk@...239...> On Thursday 23 March 2006 20:44, Rob Kudla wrote: > On Thu March 23 2006 14:26, Bertrand-Xavier M. wrote: > > Newcomers and even experienced gambas'ers. Or is the wiki only > > refering to the stable version? > > The wiki actually refers to the development version.... the > stable version has a static copy of the wiki in the form of its > help files. > > > For example, to the Open instruction > > (http://64.128.110.55/help/lang/open) Add "Applies to: Gambas > > stable 1.0.11 and anterior versions" Or "Applies to: Gambas > > Development 1.9.24 and above". Just a thought for future > > versions. > > I agree that this would be helpful.... MySQL does this on their > documentation site and it's saved me a lot of headaches. But > since each of us can update the documentation, I think there'll > have to be a note on the wiki editor screen mentioning that > people updating the wiki should do this. > > Rob > > The old statis version is for gambas1.x Any change to get this also as a snapshot for gambas2 (1.9.x) Can it be made several times a week or forced after major big content volume updates? At home I have 8Mbit connection but at the workplace it is limit to 1.5Mbit if the connection is working. The line is in a old part of the industy place and actual download is around 50kByte/sec maximum. :( I prefer a 75% up to date version at full speed (my PC limit) :) against the 100% version at a half page/minute. :( --- Gambasian Ron From gambas at ...1... Thu Mar 23 23:23:43 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 23 Mar 2006 23:23:43 +0100 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <200603232026.56514.katsancat@...11...> References: <442265A1.60403@...221...> <200603231246.53317.gambas@...1...> <200603232026.56514.katsancat@...11...> Message-ID: <200603232323.44480.gambas@...1...> On Thursday 23 March 2006 20:26, Bertrand-Xavier M. wrote: > On Thursday 23 March 2006 12:46, Benoit Minisini wrote: > > On Thursday 23 March 2006 10:08, Eilert wrote: > > > - Do you want alterations to be made in the English version first and > > > then translated, i. e. is English the main Wiki language? (This would > > > mean, if I added something to a German page only, this wouldn't make > > > sense, would it?) > > > > Yes. The english section is the reference, so you must add things there > > first. > > On this topic, a great addition would be to specify the version of gambas > the doc applies to. Would really help Newcomers and even experienced > gambas'ers. Or is the wiki only refering to the stable version? > For example, to the Open instruction (http://64.128.110.55/help/lang/open) > Add "Applies to: Gambas stable 1.0.11 and anterior versions" > Or "Applies to: Gambas Development 1.9.24 and above". > Just a thought for future versions. > The Gambas wiki refers to the last version of the development version, as much as possible, as I sometime forget to update it. Writing that something applied for this or that development version is a waste of time for me, as this is a development version. I know that many people use the development version as if it is a stable one, but I simply don't have the time to do what you want! Regards, -- Benoit Minisini From gambas at ...1... Thu Mar 23 23:24:58 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 23 Mar 2006 23:24:58 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <4422671E.8010001@...221...> References: <4422671E.8010001@...221...> Message-ID: <200603232324.58877.gambas@...1...> On Thursday 23 March 2006 10:15, Eilert wrote: > Forgot one thing: I didn't find this cgi.doc file with the translations. > Anyway, for the German pages there are only two expressions to be altered: > > Example = Beispiel > See also = Querverweis > > So if someone else is able do this, the pages will look much more German > :-) > > Thanks > > Rolf > The wiki is run by a gambas project named doc.cgi, that you can find in the source package, under the ./src/app directory. Just translate it, and send me the translation, like you would have done with the IDE. Regards, -- Benoit Minisini From sourceforge-raindog2 at ...94... Fri Mar 24 04:53:57 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 23 Mar 2006 22:53:57 -0500 Subject: [Gambas-user] Questions about Wiki In-Reply-To: <200603232116.16291.ronstk@...239...> References: <442265A1.60403@...221...> <200603231444.54920.sourceforge-raindog2@...94...> <200603232116.16291.ronstk@...239...> Message-ID: <200603232253.57358.sourceforge-raindog2@...94...> On Thu March 23 2006 15:16, ron wrote: > The old statis version is for gambas1.x > Any change to get this also as a snapshot for gambas2 (1.9.x) > Can it be made several times a week or forced after major big > content volume updates? I haven't tried to make a static version of Benoit's wiki yet, but I guess there's no harm in trying. Rob From brian at ...1334... Fri Mar 24 08:55:44 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Thu, 23 Mar 2006 23:55:44 -0800 (PST) Subject: [Gambas-user] Questions about Wiki In-Reply-To: <200603231248.07198.gambas@...1...> References: <442265A1.60403@...221...> <20060323024911.K66318@...1337...> <200603231248.07198.gambas@...1...> Message-ID: <20060323235348.W71358@...1337...> On Thu, 23 Mar 2006, Benoit Minisini wrote: > gb.Read. This is actually written that gb.read "is the default". Maybe this is > not clear? It's been move to its own sentence to make the default behavior more noticeable and an advisory about project access levels has been added along with an example of when it applies and that chmod 777'ing does not change the outcome for checking gb.write .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From brian at ...1334... Fri Mar 24 09:04:05 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Fri, 24 Mar 2006 00:04:05 -0800 (PST) Subject: [Gambas-user] Questions about Wiki In-Reply-To: <20060323235348.W71358@...1337...> References: <442265A1.60403@...221...> <20060323024911.K66318@...1337...> <200603231248.07198.gambas@...1...> <20060323235348.W71358@...1337...> Message-ID: <20060324000401.C71721@...1337...> On Thu, 23 Mar 2006, Christopher Brian Jack wrote: > Date: Thu, 23 Mar 2006 23:55:44 -0800 (PST) > From: Christopher Brian Jack > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Questions about Wiki > > On Thu, 23 Mar 2006, Benoit Minisini wrote: > > > gb.Read. This is actually written that gb.read "is the default". Maybe this is > > not clear? > > It's been move to its own sentence to make the default behavior more > noticeable and an advisory about project access levels has been added > along with an example of when it applies and that chmod 777'ing does not > change the outcome for checking gb.write > > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | > +=================================================' > | brian _AT_ brians-anime _DOT_ com > `=================================================- > Hi Spambots, my email address is sputnik at ...1334... > .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From brian at ...1334... Fri Mar 24 09:08:46 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Fri, 24 Mar 2006 00:08:46 -0800 (PST) Subject: [Gambas-user] Editor Window Message-ID: <20060324000622.X71771@...1337...> Are there any docs about how to use the gb.qt.ext's Editor control? The wiki comes up with a many empty stubs when I tried to look this control up. I need to make an editor window that supports another language (http://www.cold.org aka ColdC) syntax in the Window (ie: I need to properly make the Custom syntax higlight mode work properly). Any help would be appreciated. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From gambas at ...1... Fri Mar 24 09:22:54 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Mar 2006 09:22:54 +0100 Subject: [Gambas-user] Editor Window In-Reply-To: <20060324000622.X71771@...1337...> References: <20060324000622.X71771@...1337...> Message-ID: <200603240922.55006.gambas@...1...> On Friday 24 March 2006 09:08, Christopher Brian Jack wrote: > Are there any docs about how to use the gb.qt.ext's Editor control? The > wiki comes up with a many empty stubs when I tried to look this control > up. I need to make an editor window that supports another language > (http://www.cold.org aka ColdC) syntax in the Window (ie: I need to > properly make the Custom syntax higlight mode work properly). > > Any help would be appreciated. > Did you look at the HighlightEditor example? This is an HTML editor made with the Editor control. Regards, -- Benoit Minisini From eilert-sprachen at ...221... Fri Mar 24 09:58:24 2006 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 24 Mar 2006 09:58:24 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <200603232324.58877.gambas@...1...> References: <4422671E.8010001@...221...> <200603232324.58877.gambas@...1...> Message-ID: <4423B4B0.4000503@...221...> Benoit Minisini schrieb: > On Thursday 23 March 2006 10:15, Eilert wrote: >> Forgot one thing: I didn't find this cgi.doc file with the translations. >> Anyway, for the German pages there are only two expressions to be altered: >> >> Example = Beispiel >> See also = Querverweis >> >> So if someone else is able do this, the pages will look much more German >> :-) >> >> Thanks >> >> Rolf >> > > The wiki is run by a gambas project named doc.cgi, that you can find in the > source package, under the ./src/app directory. Just translate it, and send me > the translation, like you would have done with the IDE. > > Regards, > Now I got it at last :-) Ok, never done something like that before, here is the result. Is it correct this way? There were some minor problems with German word endings and Grammar, it just doesn't fit fine into English sentences at all times. And I'm still looking for "not creatable" in German - no idea what's usual to say for that. Finally, I took an expression from a C++ book. Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: de.mo Type: application/octet-stream Size: 5568 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: de.po Type: text/x-po Size: 8019 bytes Desc: not available URL: From gambas at ...1... Fri Mar 24 10:12:19 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 24 Mar 2006 10:12:19 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <4423B4B0.4000503@...221...> References: <4422671E.8010001@...221...> <200603232324.58877.gambas@...1...> <4423B4B0.4000503@...221...> Message-ID: <200603241012.19753.gambas@...1...> On Friday 24 March 2006 09:58, Eilert wrote: > Benoit Minisini schrieb: > > On Thursday 23 March 2006 10:15, Eilert wrote: > >> Forgot one thing: I didn't find this cgi.doc file with the translations. > >> Anyway, for the German pages there are only two expressions to be > >> altered: > >> > >> Example = Beispiel > >> See also = Querverweis > >> > >> So if someone else is able do this, the pages will look much more German > >> > >> :-) > >> > >> Thanks > >> > >> Rolf > > > > The wiki is run by a gambas project named doc.cgi, that you can find in > > the source package, under the ./src/app directory. Just translate it, and > > send me the translation, like you would have done with the IDE. > > > > Regards, > > Now I got it at last :-) Ok, never done something like that before, here > is the result. Is it correct this way? > > There were some minor problems with German word endings and Grammar, it > just doesn't fit fine into English sentences at all times. Which sentences? Did you use the IDE translation dialog to do the translation? > > And I'm still looking for "not creatable" in German - no idea what's > usual to say for that. Finally, I took an expression from a C++ book. It means that the class cannot be created (you can use NEW with it). Regards, -- Benoit Minisini From eilert-sprachen at ...221... Fri Mar 24 10:22:16 2006 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 24 Mar 2006 10:22:16 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <200603241012.19753.gambas@...1...> References: <4422671E.8010001@...221...> <200603232324.58877.gambas@...1...> <4423B4B0.4000503@...221...> <200603241012.19753.gambas@...1...> Message-ID: <4423BA48.5080200@...221...> Benoit Minisini schrieb: > On Friday 24 March 2006 09:58, Eilert wrote: >> Benoit Minisini schrieb: >>> On Thursday 23 March 2006 10:15, Eilert wrote: >>>> Forgot one thing: I didn't find this cgi.doc file with the translations. >>>> Anyway, for the German pages there are only two expressions to be >>>> altered: >>>> >>>> Example = Beispiel >>>> See also = Querverweis >>>> >>>> So if someone else is able do this, the pages will look much more German >>>> >>>> :-) >>>> >>>> Thanks >>>> >>>> Rolf >>> The wiki is run by a gambas project named doc.cgi, that you can find in >>> the source package, under the ./src/app directory. Just translate it, and >>> send me the translation, like you would have done with the IDE. >>> >>> Regards, >> Now I got it at last :-) Ok, never done something like that before, here >> is the result. Is it correct this way? >> >> There were some minor problems with German word endings and Grammar, it >> just doesn't fit fine into English sentences at all times. > > Which sentences? Did you use the IDE translation dialog to do the translation? > >> And I'm still looking for "not creatable" in German - no idea what's >> usual to say for that. Finally, I took an expression from a C++ book. > > It means that the class cannot be created (you can use NEW with it). > > Regards, > Yes, this is just what I wrote there - if "erzeugt" is usual for "created" in German. Ok, I think we can leave it like this :-) Rolf From katsancat at ...11... Fri Mar 24 10:43:52 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Fri, 24 Mar 2006 10:43:52 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <4423BA48.5080200@...221...> References: <4422671E.8010001@...221...> <200603241012.19753.gambas@...1...> <4423BA48.5080200@...221...> Message-ID: <200603241043.52875.katsancat@...11...> On Friday 24 March 2006 10:22, Eilert wrote: > >> And I'm still looking for "not creatable" in German - no idea what's > >> usual to say for that. Finally, I took an expression from a C++ book. What about "zu gestalten" or "nicht gestalten kann"? End of suggestion. From admin at ...1080... Fri Mar 24 12:36:57 2006 From: admin at ...1080... (Werener Staudacher) Date: Fri, 24 Mar 2006 12:36:57 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <200603241043.52875.katsancat@...11...> Message-ID: <001001c64f37$4270c480$0a3011ac@...1392...> > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of > Bertrand-Xavier M. > Sent: Friday, March 24, 2006 10:44 AM > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] One more thing about Wiki > > On Friday 24 March 2006 10:22, Eilert wrote: > > >> And I'm still looking for "not creatable" in German - no idea > > >> what's usual to say for that. Finally, I took an > expression from a C++ book. > What about "zu gestalten" or "nicht gestalten kann"? > End of suggestion. > In german i would say "nicht erzeugbar", and is equal to "not generatably" but has also the meaning of "not creatable". From eilert-sprachen at ...221... Fri Mar 24 13:24:21 2006 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 24 Mar 2006 13:24:21 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <200603241043.52875.katsancat@...11...> References: <4422671E.8010001@...221...> <200603241012.19753.gambas@...1...> <4423BA48.5080200@...221...> <200603241043.52875.katsancat@...11...> Message-ID: <4423E4F5.8030003@...221...> Bertrand-Xavier M. schrieb: > On Friday 24 March 2006 10:22, Eilert wrote: >>>> And I'm still looking for "not creatable" in German - no idea what's >>>> usual to say for that. Finally, I took an expression from a C++ book. > What about "zu gestalten" or "nicht gestalten kann"? > End of suggestion. That would mean "designable", more like a piece of art. Rolf From eilert-sprachen at ...221... Fri Mar 24 13:25:02 2006 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 24 Mar 2006 13:25:02 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <001001c64f37$4270c480$0a3011ac@...1392...> References: <001001c64f37$4270c480$0a3011ac@...1392...> Message-ID: <4423E51E.5020506@...221...> Werener Staudacher schrieb: > > >> -----Original Message----- >> From: gambas-user-admin at lists.sourceforge.net >> [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of >> Bertrand-Xavier M. >> Sent: Friday, March 24, 2006 10:44 AM >> To: gambas-user at lists.sourceforge.net >> Subject: Re: [Gambas-user] One more thing about Wiki >> >> On Friday 24 March 2006 10:22, Eilert wrote: >>>>> And I'm still looking for "not creatable" in German - no idea >>>>> what's usual to say for that. Finally, I took an >> expression from a C++ book. >> What about "zu gestalten" or "nicht gestalten kann"? >> End of suggestion. >> > In german i would say "nicht erzeugbar", and is equal to "not generatably" > but has also the meaning of "not creatable". Ok, this is about what I did. :-) Rolf From ronstk at ...239... Fri Mar 24 15:41:35 2006 From: ronstk at ...239... (ron) Date: Fri, 24 Mar 2006 15:41:35 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <4423B4B0.4000503@...221...> References: <4422671E.8010001@...221...> <200603232324.58877.gambas@...1...> <4423B4B0.4000503@...221...> Message-ID: <200603241541.36841.ronstk@...239...> On Friday 24 March 2006 09:58, Eilert wrote: > There were some minor problems with German word endings and Grammar, it > just doesn't fit fine into English sentences at all times. > > And I'm still looking for "not creatable" in German - no idea what's > usual to say for that. Finally, I took an expression from a C++ book. > LOL The same problem for Dutch. msgid "This class is not creatable." msgstr "Diese Klasse kann nicht erzeugt werden." When I look in dict for 'erzeugt' it shows to me it can't not be made as one of the meanings. In Dutch also 'verwekken', in such way as making human children. The Dutch translating gives the same as posibilities and also 'produceren' (producing/manufacturing). Strict it is already made. The meaning however is You can assign a variable with a new instance of that class or declare a variable with that class as type. In short it could be next phrase: This class can not be used for producing a instance of it. Deze klass kan niet gebruikt worden als een nieuw voorkomen. Diese Klasse kann nich gebraucht werden f??r neue Erstellung. (? Erscheinung) In Dutch it can be 'produceren' (producing') Ron PS Got just the answer of Benoit, he tells in fact the same. It means that the class cannot be created (you can use NEW with it). hmmmm It means that the class cannot be created (you can *NOT* use NEW with it). For translating I and other must find out the meaning of it by reformulating. Make a correct grammar represention in native language of it in the shortest way. That is not always easy, it depend on context it is used. Greets Ron From ronstk at ...239... Fri Mar 24 15:46:26 2006 From: ronstk at ...239... (ron) Date: Fri, 24 Mar 2006 15:46:26 +0100 Subject: [Gambas-user] One more thing about Wiki In-Reply-To: <4423B4B0.4000503@...221...> References: <4422671E.8010001@...221...> <200603232324.58877.gambas@...1...> <4423B4B0.4000503@...221...> Message-ID: <200603241546.26908.ronstk@...239...> On Friday 24 March 2006 09:58, Eilert wrote: Ooops Sorry, got a lot more with long delay in delivery ???. :( I stop about it. Have a nice evening/morning/day. Ron From ronstk at ...239... Fri Mar 24 15:56:44 2006 From: ronstk at ...239... (ron) Date: Fri, 24 Mar 2006 15:56:44 +0100 Subject: [Gambas-user] Editor Window In-Reply-To: <200603240922.55006.gambas@...1...> References: <20060324000622.X71771@...1337...> <200603240922.55006.gambas@...1...> Message-ID: <200603241556.45188.ronstk@...239...> On Friday 24 March 2006 09:22, Benoit Minisini wrote: > Did you look at the HighlightEditor example? This is an HTML editor made with > the Editor control. > > Regards, > > -- > Benoit Minisini > Bingo!!! Just as I had in mind. Even you added the line nummers!. As I think many times the new users should look more in the examples, I stay beginner, must do it myself too. BTW The gambas IDE and database-manager source code are also a good place to get ideas how to use gambas. Many times I have a secong IDE running at those and use the Search tool with 'Search list' on and 'Project' selected on the second Desktop. Ron From maillists at ...1367... Fri Mar 24 16:56:51 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Fri, 24 Mar 2006 07:56:51 -0800 Subject: [Gambas-user] A couple of questions Message-ID: <1143215811.3797.2.camel@...1368...> 1) where's the Gambas Wiki? 2) Are there plans for a 1.0.15 stable to come out? Perhaps with the picture.flush function fixed and maybe add background images to the iconview control? I know Benoit is busy but it doesn't hurt to ask... Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Fri Mar 24 17:07:01 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 24 Mar 2006 11:07:01 -0500 Subject: [Gambas-user] A couple of questions In-Reply-To: <1143215811.3797.2.camel@...1368...> References: <1143215811.3797.2.camel@...1368...> Message-ID: <200603241107.02347.sourceforge-raindog2@...94...> On Fri March 24 2006 10:56, GuruLounge - MailLists wrote: > 1) where's the Gambas Wiki? http://www.gambasdoc.org (unfortunately, not the first hit for either gambas wiki or "gambas wiki" on Google.) Rob From brian at ...1334... Fri Mar 24 17:33:37 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Fri, 24 Mar 2006 08:33:37 -0800 (PST) Subject: [Gambas-user] Editor Window In-Reply-To: <200603241556.45188.ronstk@...239...> References: <20060324000622.X71771@...1337...> <200603240922.55006.gambas@...1...> <200603241556.45188.ronstk@...239...> Message-ID: <20060324082300.Q73540@...1337...> On Fri, 24 Mar 2006, ron wrote: > Bingo!!! > > Just as I had in mind. Even you added the line nummers!. but they are always in multiples of ten. is this changable to, say multiples of one, thus showing the line number of each line. on the note of line numbers is there a way for the highlight event to know what line it is on? > As I think many times the new users should look more in the > examples, I stay beginner, must do it myself too. The example does not completely describe how to use the control (for instance it was not immediately clear the the event is called per line then repeatedly as a line is modified) which line you are on as far as I can see from fiddling with looking at the dot menus (ie: type Highlight. then browse the menu and see what's available) for everything I can think of did not give me any answers. .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From ronstk at ...239... Fri Mar 24 18:02:46 2006 From: ronstk at ...239... (ron) Date: Fri, 24 Mar 2006 18:02:46 +0100 Subject: [Gambas-user] Editor Window In-Reply-To: <20060324082300.Q73540@...1337...> References: <20060324000622.X71771@...1337...> <200603241556.45188.ronstk@...239...> <20060324082300.Q73540@...1337...> Message-ID: <200603241802.47102.ronstk@...239...> On Friday 24 March 2006 17:33, Christopher Brian Jack wrote: > On Fri, 24 Mar 2006, ron wrote: > > > Bingo!!! > > > > Just as I had in mind. Even you added the line nummers!. > > but they are always in multiples of ten. is this changable to, say > multiples of one, thus showing the line number of each line. > > on the note of line numbers is there a way for the highlight event to know > what line it is on? > > > As I think many times the new users should look more in the > > examples, I stay beginner, must do it myself too. > > The example does not completely describe how to use the control (for > instance it was not immediately clear the the event is called per line > then repeatedly as a line is modified) which line you are on as far as I > can see from fiddling with looking at the dot menus (ie: type Highlight. > then browse the menu and see what's available) for everything I can > think of did not give me any answers. > > .=================================================. > | Christopher BRIAN Jack aka "Gau of the Veldt" | Wel the highlight is made special for HTML syntax code. For me the interesting one is the dual editor. This was the sitution I had in the past on UltraEdit32 and it helps to have the head with declarations or function you want to use on top and the actual work area on bottom. This editor was the reason for my implementation of the 'Search list' and in 'Project' search currently in Gambas available. In Gambas you can't open a second view of same class code as reference. This could prevent the continues scrolling and losing the work position. Yes bookmark helps but direct view is the best IMO. I can not find how the 2 editors are connected to the same text data. Only Editor1 gets a 'download.html' file but visible in both :ask: Seen in function for VSplit using editor.view but no help local for it. Special interest how the interaction is bind between 2 editors. It dos not matter in wich I type, in both the result. I once put 2 editors in the IDE editor for above purpose but had to use the editor.change to keep them synchroon. So question arise, can I place 2 editors the same way in the IDE with VSplit? The second one as viewer for lookup, copy-2 and past-1 operations. No direct edit needed but handy. I wil try next week but do not want distroy the current working of FEditor for the other parts as i.e. Editor.Analize .Symbols etc. Ron From brian at ...1334... Fri Mar 24 23:31:15 2006 From: brian at ...1334... (Christopher Brian Jack) Date: Fri, 24 Mar 2006 14:31:15 -0800 (PST) Subject: [Gambas-user] Editor Window In-Reply-To: <200603241802.47102.ronstk@...239...> References: <20060324000622.X71771@...1337...> <200603241556.45188.ronstk@...239...> <20060324082300.Q73540@...1337...> <200603241802.47102.ronstk@...239...> Message-ID: <20060324132242.Y75094@...1337...> On Fri, 24 Mar 2006, ron wrote: > Wel the highlight is made special for HTML syntax code. My application needs go a bit beyond markup higlighting so I am trying to find out more about more of the Editor control functionality. > For me the interesting one is the dual editor. My observation of the FEdit example indicates that the editing stack (multiple views) was implemented by using a vertical split control, a second editor control and assigning the View property of the second editor with the first. > I can not find how the 2 editors are connected to the same text data. > Only Editor1 gets a 'download.html' file but visible in both :ask: > Seen in function for VSplit using editor.view but no help local for it. In abscence of a VSplit control you can use: Editor2.View=Editor1 in form_Open(). The two editors can be of different style but the highlighting uses the highlight mode of the first Editor control. All you do is set the View property of additional editors to the first and that effectively links them together. I just tried this in my own form and it works (I'm using 1.9.25) exactly as it should. The VSplit control is optional but using it allows independant resizing of the views. I imagine even three or more editors may be linked the same way. Furthermore you might even get away with linking across forms if you make them visible outside the form either by enabling "Form Controls are Public" for the project or creating them in the forms using something like: Public Editor1 AS New Editor 'in Form1 Public Editor2 AS New Editor 'in Form2 and in form_Open() of Form2: Editor2.View=Form1.Editor1 > Special interest how the interaction is bind between 2 editors. > It dos not matter in wich I type, in both the result. Yes that is a useful feature. Again the View property is the key. > I once put 2 editors in the IDE editor for above purpose but had to use the > editor.change to keep them synchroon. It is possible that GambasEditor does not support the View property like the Editor control does. > So question arise, can I place 2 editors the same way in the IDE with VSplit? > The second one as viewer for lookup, copy-2 and past-1 operations. > No direct edit needed but handy. You could use a workaround -- two Editors with the highlight mode set to the constant Highlight.Gambas then have any "slave" editors just patch into the first using the View property of the slaves. > I wil try next week but do not want distroy the current working of FEditor > for the other parts as i.e. Editor.Analize .Symbols etc. > > Ron .=================================================. | Christopher BRIAN Jack aka "Gau of the Veldt" | +=================================================' | brian _AT_ brians-anime _DOT_ com `=================================================- Hi Spambots, my email address is sputnik at ...1334... From gambas at ...1... Sat Mar 25 00:11:57 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 25 Mar 2006 00:11:57 +0100 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 Message-ID: <200603250011.57931.gambas@...1...> Hi, The 1.0.15 release just fixes the last found bugs in the stable version. The 1.9.27 is more interesting :-) * It should compile better on FreeBSD. * The pseudo-random numbers generator now uses a faster and better algorithm, thanks to an article in the 'GNU/Linux Magazine France' french magazine. * Last, but not least, the Development Environment is now based on a multiple document interface. This MDI interface is highly experimental. It is based on the Workspace control, which is itself based on the very buggy and badly designed QWorkspace QT widget. I tried to workaround these problems as much as possible, but you must use it at your own risk anyway :-) This interface is temporary: the Workspace control will be removed in a future version, and replaced by an equivalent control made in Gambas. This control will be more powerful (I want dockable windows and toolbars...) and will work with gb.qt and gb.gtk indifferently. Regards, -- Benoit Minisini From tetsuo at ...756... Sat Mar 25 02:58:09 2006 From: tetsuo at ...756... (tetsuo) Date: Sat, 25 Mar 2006 02:58:09 +0100 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <200603250011.57931.gambas@...1...> References: <200603250011.57931.gambas@...1...> Message-ID: <4424A3B1.1080807@...756...> Benoit Minisini wrote: > Hi, > > The 1.0.15 release just fixes the last found bugs in the stable version. > > The 1.9.27 is more interesting :-) > when i start gambas it returns ERROR: #27: Cannot load component 'gb.qt': /usr/local/lib/gambas2/gb.qt.so: undefined symbol: GB_INIT but gb.qt component doesn't exist in the disabled gb component list.. *Gambas-1.9.27* on Linux amoeba 2.6.12-gentoo-r10 #5 SMP Sat Mar 18 02:27:38 CET 2006 i686 AMD Athlon(TM) MP 1800+ AuthenticAMD GNU/Linux ...sigh! From gambas at ...1... Sat Mar 25 10:22:55 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 25 Mar 2006 10:22:55 +0100 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <4424A3B1.1080807@...756...> References: <200603250011.57931.gambas@...1...> <4424A3B1.1080807@...756...> Message-ID: <200603251022.55239.gambas@...1...> On Saturday 25 March 2006 02:58, tetsuo wrote: > Benoit Minisini wrote: > > Hi, > > > > The 1.0.15 release just fixes the last found bugs in the stable version. > > > > The 1.9.27 is more interesting :-) > > when i start gambas it returns > > ERROR: #27: Cannot load component 'gb.qt': > /usr/local/lib/gambas2/gb.qt.so: undefined symbol: GB_INIT > > but gb.qt component doesn't exist in the disabled gb component list.. > > *Gambas-1.9.27* on > Linux amoeba 2.6.12-gentoo-r10 #5 SMP Sat Mar 18 02:27:38 CET 2006 i686 > AMD Athlon(TM) MP 1800+ AuthenticAMD GNU/Linux > > ...sigh! > Which version of gcc did you use to compile Gambas? -- Benoit Minisini From Karl.Reinl at ...9... Sat Mar 25 12:26:18 2006 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 25 Mar 2006 12:26:18 +0100 Subject: [Gambas-user] Fwd: About Release of Gambas 1.9.27 Message-ID: <200603251226.18162.Karl.Reinl@...9...> Your mail to 'Gambas-user' with the subject About Release of Gambas 1.9.27 Is being held until the list moderator can review it for approval. The reason it is being held: Message body is too big: 721106 bytes but there's a limit of 256 KB Either the message will get posted to the list, or you will receive notification of the moderator's decision. for the reason below here with an archiv. ---------- Forwarded Message ---------- Subject: About Release of Gambas 1.9.27 Date: Saturday 25 March 2006 12:13 From: Charlie Reinl To: "gambas-user" Salut, just took the new 1.9.27 compiled (with Errors, see Attachments) and got that # /usr/local/bin/gambas2.gambas gbx2: too many project files. Amicalment Charlie ------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: 9127.tar.bz Type: application/x-tbz Size: 29419 bytes Desc: not available URL: From gambas at ...1... Sat Mar 25 14:32:27 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 25 Mar 2006 14:32:27 +0100 Subject: [Gambas-user] Fwd: About Release of Gambas 1.9.27 In-Reply-To: <200603251226.18162.Karl.Reinl@...9...> References: <200603251226.18162.Karl.Reinl@...9...> Message-ID: <200603251432.27332.gambas@...1...> On Saturday 25 March 2006 12:26, Charlie Reinl wrote: > Your mail to 'Gambas-user' with the subject > > About Release of Gambas 1.9.27 > > Is being held until the list moderator can review it for approval. > > The reason it is being held: > > Message body is too big: 721106 bytes but there's a limit of 256 > KB > > Either the message will get posted to the list, or you will receive > notification of the moderator's decision. > > for the reason below here with an archiv. > > ---------- Forwarded Message ---------- > > Subject: About Release of Gambas 1.9.27 > Date: Saturday 25 March 2006 12:13 > From: Charlie Reinl > To: "gambas-user" > > Salut, > > just took the new 1.9.27 > compiled (with Errors, see Attachments) > > and got that > > # /usr/local/bin/gambas2.gambas > gbx2: too many project files. > > Amicalment > Charlie > > ------------------------------------------------------- It could be that your version of libpoppler is too old. Which version do you have on your system ? -- Benoit Minisini From lordheavy at ...512... Sat Mar 25 14:42:28 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 25 Mar 2006 14:42:28 +0100 Subject: [Gambas-user] Fwd: About Release of Gambas 1.9.27 In-Reply-To: <200603251432.27332.gambas@...1...> References: <200603251226.18162.Karl.Reinl@...9...> <200603251432.27332.gambas@...1...> Message-ID: <200603251442.28717.lordheavy@...512...> Le Samedi 25 Mars 2006 14:32, Benoit Minisini a ?crit?: > On Saturday 25 March 2006 12:26, Charlie Reinl wrote: > > Your mail to 'Gambas-user' with the subject > > > > About Release of Gambas 1.9.27 > > > > Is being held until the list moderator can review it for approval. > > > > The reason it is being held: > > > > Message body is too big: 721106 bytes but there's a limit of 256 > > KB > > > > Either the message will get posted to the list, or you will receive > > notification of the moderator's decision. > > > > for the reason below here with an archiv. > > > > ---------- Forwarded Message ---------- > > > > Subject: About Release of Gambas 1.9.27 > > Date: Saturday 25 March 2006 12:13 > > From: Charlie Reinl > > To: "gambas-user" > > > > Salut, > > > > just took the new 1.9.27 > > compiled (with Errors, see Attachments) > > > > and got that > > > > # /usr/local/bin/gambas2.gambas > > gbx2: too many project files. > > > > Amicalment > > Charlie > > > > ------------------------------------------------------- > > It could be that your version of libpoppler is too old. Which version do > you have on your system ? Perhaps pdf componant doesn't build with libpoppler >= 0.5 Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From ronstk at ...239... Sat Mar 25 17:36:24 2006 From: ronstk at ...239... (ron) Date: Sat, 25 Mar 2006 17:36:24 +0100 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <200603250011.57931.gambas@...1...> References: <200603250011.57931.gambas@...1...> Message-ID: <200603251736.24847.ronstk@...239...> On Saturday 25 March 2006 00:11, Benoit Minisini wrote: > Hi, > > The 1.0.15 release just fixes the last found bugs in the stable version. > > The 1.9.27 is more interesting :-) > You did it again :) Compiled at: gambas 1.9.27 SuSE 9.2 gcc (GCC) 3.3.4 (pre 3.3.5 20040809) Just fine and works like the good old times :) Ron From ronstk at ...239... Sat Mar 25 18:16:48 2006 From: ronstk at ...239... (ron) Date: Sat, 25 Mar 2006 18:16:48 +0100 Subject: [Gambas-user] Fwd: About Release of Gambas 1.9.27 In-Reply-To: <200603251442.28717.lordheavy@...512...> References: <200603251226.18162.Karl.Reinl@...9...> <200603251432.27332.gambas@...1...> <200603251442.28717.lordheavy@...512...> Message-ID: <200603251816.48624.ronstk@...239...> On Saturday 25 March 2006 14:42, Laurent Carlier wrote: > Le Samedi 25 Mars 2006 14:32, Benoit Minisini a ?crit?: > > On Saturday 25 March 2006 12:26, Charlie Reinl wrote: > > > Your mail to 'Gambas-user' with the subject > > > > > > About Release of Gambas 1.9.27 > > > > > > Is being held until the list moderator can review it for approval. > > > > > > The reason it is being held: > > > > > > Message body is too big: 721106 bytes but there's a limit of 256 > > > KB > > > > > > Either the message will get posted to the list, or you will receive > > > notification of the moderator's decision. > > > > > > for the reason below here with an archiv. > > > > > > ---------- Forwarded Message ---------- > > > > > > Subject: About Release of Gambas 1.9.27 > > > Date: Saturday 25 March 2006 12:13 > > > From: Charlie Reinl > > > To: "gambas-user" > > > > > > Salut, > > > > > > just took the new 1.9.27 > > > compiled (with Errors, see Attachments) > > > > > > and got that > > > > > > # /usr/local/bin/gambas2.gambas > > > gbx2: too many project files. > > > > > > Amicalment > > > Charlie > > > > > > ------------------------------------------------------- > > > > It could be that your version of libpoppler is too old. Which version do > > you have on your system ? > > Perhaps pdf componant doesn't build with libpoppler >= 0.5 > > Regards, > poppler-devel-0.4.2 (1.88 MB) -- PDF rendering library poppler-glib-0.4.2 (62.32 KB) -- PDF rendering library - a glib wrapper May be Daniel should also check the example. After selecting a file to open I get *type mismatch: wanted Integer, got .PdfPage instead* Break in PdfLiks.class STATIC PUBLIC SUB Init(nPage AS Integer) DIM hPdf AS PdfDocument DIM Bucle AS Integer gCurrPage = nPage hPdf = PdfImage.hPdf XPos = NEW Integer[hPdf[nPage].Count] <------ error Ypos = NEW Integer[Xpos.Count] Wpos = NEW Integer[Xpos.Count] Hpos = NEW Integer[Xpos.Count] Ron From gbv at ...1076... Sat Mar 25 18:26:06 2006 From: gbv at ...1076... (Guillermo Ballester Valor) Date: Sat, 25 Mar 2006 18:26:06 +0100 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <200603250011.57931.gambas@...1...> References: <200603250011.57931.gambas@...1...> Message-ID: <200603251826.06745.gbv@...1076...> Hello, I also compiled 1.9.27 for SuSE 9.3, of course for SuSE 10.0. No problems this time, good job. ;) Tomorrow morning the rpms will be in ftp.gwdg.de mirror: ftp://ftp4.gwdg.de/pub/linux/misc/suser-gbv/rpms Have a nice weekend Guillermo El S?bado, 25 de Marzo de 2006 00:11, Benoit Minisini escribi?: > Hi, > > The 1.0.15 release just fixes the last found bugs in the stable version. > > The 1.9.27 is more interesting :-) > > * It should compile better on FreeBSD. > > * The pseudo-random numbers generator now uses a faster and better > algorithm, thanks to an article in the 'GNU/Linux Magazine France' french > magazine. > > * Last, but not least, the Development Environment is now based on a > multiple document interface. > > This MDI interface is highly experimental. It is based on the Workspace > control, which is itself based on the very buggy and badly designed > QWorkspace QT widget. I tried to workaround these problems as much as > possible, but you must use it at your own risk anyway :-) > > This interface is temporary: the Workspace control will be removed in a > future version, and replaced by an equivalent control made in Gambas. > > This control will be more powerful (I want dockable windows and > toolbars...) and will work with gb.qt and gb.gtk indifferently. > > Regards, -- Guillermo Ballester Valor gbv at ...1076... Ogijares, Granada SPAIN Public GPG KEY http://www.oxixares.com/~gbv/pubgpg.html #################################################### See World Weather Navigator at http://www.ogimet.com #################################################### From gambas at ...1... Sat Mar 25 18:57:50 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 25 Mar 2006 18:57:50 +0100 Subject: [Gambas-user] Fwd: About Release of Gambas 1.9.27 In-Reply-To: <200603251816.48624.ronstk@...239...> References: <200603251226.18162.Karl.Reinl@...9...> <200603251442.28717.lordheavy@...512...> <200603251816.48624.ronstk@...239...> Message-ID: <200603251857.50487.gambas@...1...> On Saturday 25 March 2006 18:16, ron wrote: > On Saturday 25 March 2006 14:42, Laurent Carlier wrote: > > Le Samedi 25 Mars 2006 14:32, Benoit Minisini a ?crit?: > > > On Saturday 25 March 2006 12:26, Charlie Reinl wrote: > > > > Your mail to 'Gambas-user' with the subject > > > > > > > > About Release of Gambas 1.9.27 > > > > > > > > Is being held until the list moderator can review it for approval. > > > > > > > > The reason it is being held: > > > > > > > > Message body is too big: 721106 bytes but there's a limit of 256 > > > > KB > > > > > > > > Either the message will get posted to the list, or you will receive > > > > notification of the moderator's decision. > > > > > > > > for the reason below here with an archiv. > > > > > > > > ---------- Forwarded Message ---------- > > > > > > > > Subject: About Release of Gambas 1.9.27 > > > > Date: Saturday 25 March 2006 12:13 > > > > From: Charlie Reinl > > > > To: "gambas-user" > > > > > > > > Salut, > > > > > > > > just took the new 1.9.27 > > > > compiled (with Errors, see Attachments) > > > > > > > > and got that > > > > > > > > # /usr/local/bin/gambas2.gambas > > > > gbx2: too many project files. > > > > > > > > Amicalment > > > > Charlie > > > > > > > > ------------------------------------------------------- > > > > > > It could be that your version of libpoppler is too old. Which version > > > do you have on your system ? > > > > Perhaps pdf componant doesn't build with libpoppler >= 0.5 > > > > Regards, > > poppler-devel-0.4.2 (1.88 MB) -- PDF rendering library > poppler-glib-0.4.2 (62.32 KB) -- PDF rendering library - a glib wrapper > > May be Daniel should also check the example. > > After selecting a file to open I get > *type mismatch: wanted Integer, got .PdfPage instead* > > Break in PdfLiks.class > > STATIC PUBLIC SUB Init(nPage AS Integer) > > DIM hPdf AS PdfDocument > DIM Bucle AS Integer > > gCurrPage = nPage > hPdf = PdfImage.hPdf > > XPos = NEW Integer[hPdf[nPage].Count] <------ error > Ypos = NEW Integer[Xpos.Count] > Wpos = NEW Integer[Xpos.Count] > Hpos = NEW Integer[Xpos.Count] > > Ron > What example? -- Benoit Minisini From ronstk at ...239... Sat Mar 25 19:14:43 2006 From: ronstk at ...239... (ron) Date: Sat, 25 Mar 2006 19:14:43 +0100 Subject: [Gambas-user] Fwd: About Release of Gambas 1.9.27 In-Reply-To: <200603251857.50487.gambas@...1...> References: <200603251226.18162.Karl.Reinl@...9...> <200603251816.48624.ronstk@...239...> <200603251857.50487.gambas@...1...> Message-ID: <200603251914.43406.ronstk@...239...> On Saturday 25 March 2006 18:57, Benoit Minisini wrote: > What example? > Oops Sorry but it was a sample by Daniel published om the mail list some time ago. After he made the component. It is not in the standard Examples. ;( Ron From mike_keehan at ...679... Sat Mar 25 20:36:08 2006 From: mike_keehan at ...679... (Mike Keehan) Date: Sat, 25 Mar 2006 19:36:08 +0000 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <200603251022.55239.gambas@...1...> References: <200603250011.57931.gambas@...1...> <4424A3B1.1080807@...756...> <200603251022.55239.gambas@...1...> Message-ID: <44259BA8.5070708@...679...> Benoit Minisini wrote: > On Saturday 25 March 2006 02:58, tetsuo wrote: >> Benoit Minisini wrote: >>> Hi, >>> >>> The 1.0.15 release just fixes the last found bugs in the stable version. >>> >>> The 1.9.27 is more interesting :-) >> when i start gambas it returns >> >> ERROR: #27: Cannot load component 'gb.qt': >> /usr/local/lib/gambas2/gb.qt.so: undefined symbol: GB_INIT >> >> but gb.qt component doesn't exist in the disabled gb component list.. >> >> *Gambas-1.9.27* on >> Linux amoeba 2.6.12-gentoo-r10 #5 SMP Sat Mar 18 02:27:38 CET 2006 i686 >> AMD Athlon(TM) MP 1800+ AuthenticAMD GNU/Linux >> >> ...sigh! >> > > Which version of gcc did you use to compile Gambas? > It happens on this version at least:- gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) Mike. From gambas at ...1... Sat Mar 25 21:10:40 2006 From: gambas at ...1... (Benoit Minisini) Date: Sat, 25 Mar 2006 21:10:40 +0100 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <44259BA8.5070708@...679...> References: <200603250011.57931.gambas@...1...> <200603251022.55239.gambas@...1...> <44259BA8.5070708@...679...> Message-ID: <200603252110.41366.gambas@...1...> On Saturday 25 March 2006 20:36, Mike Keehan wrote: > Benoit Minisini wrote: > > On Saturday 25 March 2006 02:58, tetsuo wrote: > >> Benoit Minisini wrote: > >>> Hi, > >>> > >>> The 1.0.15 release just fixes the last found bugs in the stable > >>> version. > >>> > >>> The 1.9.27 is more interesting :-) > >> > >> when i start gambas it returns > >> > >> ERROR: #27: Cannot load component 'gb.qt': > >> /usr/local/lib/gambas2/gb.qt.so: undefined symbol: GB_INIT > >> > >> but gb.qt component doesn't exist in the disabled gb component list.. > >> > >> *Gambas-1.9.27* on > >> Linux amoeba 2.6.12-gentoo-r10 #5 SMP Sat Mar 18 02:27:38 CET 2006 i686 > >> AMD Athlon(TM) MP 1800+ AuthenticAMD GNU/Linux > >> > >> ...sigh! > > > > Which version of gcc did you use to compile Gambas? > > It happens on this version at least:- > > gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) > > Mike. > Are you sure that everything succeeded during compilation and installation? -- Benoit Minisini From na2492 at ...9... Sat Mar 25 21:43:47 2006 From: na2492 at ...9... (Charlie Reinl) Date: Sat, 25 Mar 2006 21:43:47 +0100 Subject: [Gambas-user] Fwd: About Release of Gambas 1.9.27 In-Reply-To: <200603251442.28717.lordheavy@...512...> References: <200603251226.18162.Karl.Reinl@...9...> <200603251432.27332.gambas@...1...> <200603251442.28717.lordheavy@...512...> Message-ID: <1143319427.12470.2.camel@...37...> Am Samstag, den 25.03.2006, 14:42 +0100 schrieb Laurent Carlier: > Le Samedi 25 Mars 2006 14:32, Benoit Minisini a ?crit : > > On Saturday 25 March 2006 12:26, Charlie Reinl wrote: > > > Your mail to 'Gambas-user' with the subject > > > > > > About Release of Gambas 1.9.27 > > > > > > Is being held until the list moderator can review it for approval. > > > > > > The reason it is being held: > > > > > > Message body is too big: 721106 bytes but there's a limit of 256 > > > KB > > > > > > Either the message will get posted to the list, or you will receive > > > notification of the moderator's decision. > > > > > > for the reason below here with an archiv. > > > > > > ---------- Forwarded Message ---------- > > > > > > Subject: About Release of Gambas 1.9.27 > > > Date: Saturday 25 March 2006 12:13 > > > From: Charlie Reinl > > > To: "gambas-user" > > > > > > Salut, > > > > > > just took the new 1.9.27 > > > compiled (with Errors, see Attachments) > > > > > > and got that > > > > > > # /usr/local/bin/gambas2.gambas > > > gbx2: too many project files. > > > > > > Amicalment > > > Charlie > > > > > > ------------------------------------------------------- > > > > It could be that your version of libpoppler is too old. Which version do > > you have on your system ? > > Perhaps pdf componant doesn't build with libpoppler >= 0.5 > > Regards, Salut, I'm not shure, but found poppler-0.5.1 things. And gentoo emerge said poppler-0.5.0-r5 Amicalment Charlie From mike_keehan at ...679... Sat Mar 25 22:37:06 2006 From: mike_keehan at ...679... (Mike Keehan) Date: Sat, 25 Mar 2006 21:37:06 +0000 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <200603252110.41366.gambas@...1...> References: <200603250011.57931.gambas@...1...> <200603251022.55239.gambas@...1...> <44259BA8.5070708@...679...> <200603252110.41366.gambas@...1...> Message-ID: <4425B802.2060009@...679...> Benoit Minisini wrote: > On Saturday 25 March 2006 20:36, Mike Keehan wrote: >> Benoit Minisini wrote: >>> On Saturday 25 March 2006 02:58, tetsuo wrote: >>>> Benoit Minisini wrote: >>>>> Hi, >>>>> >>>>> The 1.0.15 release just fixes the last found bugs in the stable >>>>> version. >>>>> >>>>> The 1.9.27 is more interesting :-) >>>> when i start gambas it returns >>>> >>>> ERROR: #27: Cannot load component 'gb.qt': >>>> /usr/local/lib/gambas2/gb.qt.so: undefined symbol: GB_INIT >>>> >>>> but gb.qt component doesn't exist in the disabled gb component list.. >>>> >>>> *Gambas-1.9.27* on >>>> Linux amoeba 2.6.12-gentoo-r10 #5 SMP Sat Mar 18 02:27:38 CET 2006 i686 >>>> AMD Athlon(TM) MP 1800+ AuthenticAMD GNU/Linux >>>> >>>> ...sigh! >>> Which version of gcc did you use to compile Gambas? >> It happens on this version at least:- >> >> gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) >> >> Mike. >> > > Are you sure that everything succeeded during compilation and installation? > Right. This was the end of the ./configure output:- THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.db.mysql - gb.db.postgresql - gb.opengl - gb.qt <----- - gb.sdl I'm trying to figure out what configure didn't find. It did build a lib/gb.qt.so component, but there must be something it didn't like. Mike. From mike_keehan at ...679... Sat Mar 25 23:19:35 2006 From: mike_keehan at ...679... (Mike Keehan) Date: Sat, 25 Mar 2006 22:19:35 +0000 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <200603252110.41366.gambas@...1...> References: <200603250011.57931.gambas@...1...> <200603251022.55239.gambas@...1...> <44259BA8.5070708@...679...> <200603252110.41366.gambas@...1...> Message-ID: <4425C1F7.4080600@...679...> Benoit Minisini wrote: > On Saturday 25 March 2006 20:36, Mike Keehan wrote: >> Benoit Minisini wrote: >>> On Saturday 25 March 2006 02:58, tetsuo wrote: >>>> Benoit Minisini wrote: >>>>> Hi, >>>>> >>>>> The 1.0.15 release just fixes the last found bugs in the stable >>>>> version. >>>>> >>>>> The 1.9.27 is more interesting :-) >>>> when i start gambas it returns >>>> >>>> ERROR: #27: Cannot load component 'gb.qt': >>>> /usr/local/lib/gambas2/gb.qt.so: undefined symbol: GB_INIT >>>> >>>> but gb.qt component doesn't exist in the disabled gb component list.. >>>> >>>> *Gambas-1.9.27* on >>>> Linux amoeba 2.6.12-gentoo-r10 #5 SMP Sat Mar 18 02:27:38 CET 2006 i686 >>>> AMD Athlon(TM) MP 1800+ AuthenticAMD GNU/Linux >>>> >>>> ...sigh! >>> Which version of gcc did you use to compile Gambas? >> It happens on this version at least:- >> >> gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) >> >> Mike. >> > > Are you sure that everything succeeded during compilation and installation? > I get a lot of these warnings during installation:- warning: cannot find 'GB_CLASSES' symbol in shared library. Mike. From williamlee1982 at ...626... Sun Mar 26 05:53:09 2006 From: williamlee1982 at ...626... (William Lee) Date: Sun, 26 Mar 2006 11:53:09 +0800 Subject: [Gambas-user] how can I provide a DCOP interface in gambas? Message-ID: <9235bcbc0603251953n326b2209g@...627...> Does anyone know how to provide a DCOP interface in gambas codes? I means I want my application accept DCOP call, but not just pilot the other KDE applications. How can this implement? Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: From tetsuo at ...756... Sun Mar 26 15:04:21 2006 From: tetsuo at ...756... (tetsuo) Date: Sun, 26 Mar 2006 15:04:21 +0200 Subject: [Gambas-user] Release of Gambas 1.9.27 and 1.0.15 In-Reply-To: <200603251022.55239.gambas@...1...> References: <200603250011.57931.gambas@...1...> <4424A3B1.1080807@...756...> <200603251022.55239.gambas@...1...> Message-ID: <44269155.6040105@...756...> Benoit Minisini wrote: > On Saturday 25 March 2006 02:58, tetsuo wrote: >>ERROR: #27: Cannot load component 'gb.qt': >>/usr/local/lib/gambas2/gb.qt.so: undefined symbol: GB_INIT >> >>but gb.qt component doesn't exist in the disabled gb component list.. >> >>*Gambas-1.9.27* on >>Linux amoeba 2.6.12-gentoo-r10 #5 SMP Sat Mar 18 02:27:38 CET 2006 i686 >>AMD Athlon(TM) MP 1800+ AuthenticAMD GNU/Linux >> >>...sigh! >> > > > Which version of gcc did you use to compile Gambas? > > On Saturday 25 March 2006 20:36, Mike Keehan wrote: > It happens on this version at least:- > > gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9) > > Mike. Sorry for delayed answer... Yes, mike is right! upgrading my gentoo, i have gcc-3.4.5 now: amoeba # gcc-config -c i686-pc-linux-gnu-3.4.5 this is the end of the configure log: THESE COMPONENTS ARE DISABLED: - gb.corba - gb.db.firebird - gb.db.odbc - gb.qt.kde Regards, Tetsuo. From gambas at ...1... Sun Mar 26 19:24:53 2006 From: gambas at ...1... (Benoit Minisini) Date: Sun, 26 Mar 2006 19:24:53 +0200 Subject: [Gambas-user] Problem with gcc and 1.9.27 Message-ID: <200603261924.53798.gambas@...1...> Hi, There is a problem with the compilation of 1.9.27. It seems that the configure script detects the availability of the '-fvisibility=hidden' flag on the gcc 3.x installed on some systems. According to the documentation, this flag is available only since gcc 4. So on these systems, the component symbols that need to be exported are not exported at all. And so things don't run. To Laurent Carlier: could your detection macro fail? To everyone having this problem: can you check by hand that your gcc accept this option? Do you know if your gcc was patched to accept this flag? Thanks in advance for your answers. Regards, -- Benoit Minisini From mike_keehan at ...679... Sun Mar 26 20:39:15 2006 From: mike_keehan at ...679... (Mike Keehan) Date: Sun, 26 Mar 2006 18:39:15 +0000 Subject: [Gambas-user] Problem with gcc and 1.9.27 In-Reply-To: <200603261924.53798.gambas@...1...> References: <200603261924.53798.gambas@...1...> Message-ID: <4426DFD3.7060301@...679...> Benoit Minisini wrote: > Hi, > > There is a problem with the compilation of 1.9.27. > > It seems that the configure script detects the availability of the > '-fvisibility=hidden' flag on the gcc 3.x installed on some systems. > > According to the documentation, this flag is available only since gcc 4. > > So on these systems, the component symbols that need to be exported are not > exported at all. And so things don't run. > > To Laurent Carlier: could your detection macro fail? > > To everyone having this problem: can you check by hand that your gcc accept > this option? Do you know if your gcc was patched to accept this flag? > > Thanks in advance for your answers. > > Regards, > Benoit, gcc accepts it as an option on my system, gcc 3.4.5 on Gentoo. Mike From maillists at ...1367... Mon Mar 27 00:27:23 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Sun, 26 Mar 2006 14:27:23 -0800 Subject: [Gambas-user] Listview problem. Message-ID: <1143412043.28625.8.camel@...1368...> I'm using a listview control and an iconview control. I notice that the iconview control responds to alpha-numeric keypresses automatically by selecting the next icon in the control that begins with the key you press. The listview control on the other hand doesn't do this unless you are one item above, e.g. I press "g" and the control doesn't automatically select "garden" unless the item just above it is selected. I've tried to programatically handle this issue but ironically when the control DOES automatically select an item it throws my subroutine off, e.g. I press "g" and it should move to "garden" but moves to the one after instead. It would be better to turn OFF this autoselection so my subroutine could work effectively. I've considered maybe using the SELECT event with a keypress flag of sorts to see if I can deal with this. But I'd prefer an easier solution if one is available. I haven't seen a "bugfix" referencing this issue for gambas 1.0.15. Using gambas 1.0.14 on FC4. Any ideas? TIA, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Mon Mar 27 00:30:31 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Sun, 26 Mar 2006 14:30:31 -0800 Subject: [Gambas-user] Tab stops or similar? Message-ID: <1143412231.28625.12.camel@...1368...> I was wondering if there is a way to arrange how the tab stops work for controls on a form. I don't see a reference to this in properties for any controls. As it is when I tab about my form the focus jumps in order of controls placed on the form. I can't seem to modify this order and it's a bit inconvenient to have to recreate the form so tabstops work correctly -- particularly if there are a lot of controls on a form. Any Ideas? TIA, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From ronstk at ...239... Mon Mar 27 00:52:39 2006 From: ronstk at ...239... (ron) Date: Sun, 26 Mar 2006 23:52:39 +0100 Subject: [Gambas-user] Tab stops or similar? In-Reply-To: <1143412231.28625.12.camel@...1368...> References: <1143412231.28625.12.camel@...1368...> Message-ID: <200603270052.40322.ronstk@...239...> On Monday 27 March 2006 00:30, GuruLounge - MailLists wrote: > I was wondering if there is a way to arrange how the tab stops work for > controls on a form. I don't see a reference to this in properties for > any controls. > > As it is when I tab about my form the focus jumps in order of controls > placed on the form. I can't seem to modify this order and it's a bit > inconvenient to have to recreate the form so tabstops work correctly -- > particularly if there are a lot of controls on a form. > > Any Ideas? > > TIA, > Jeff > Two ways. 1) Not tested: for each contol in tab order select control use ctrl-x to cut uce ctrl-v to paste Labels do not get a focus so it must be safe to let them allone. for each control done place them back on correct x/y position You need to do it for all controls in the section panel/container control. Pro: the safe way Against: is only 1 control to reorder a lot of work 2) Done myself several times: Edit the myform.form file with a editor. Make a backup because it is not on first sight clear how all properties belong to each other. Pro: the single control to reorder, Against: easy to mess up. Special the tabstrip is not easy. A few lines just in front of the {} belong to that {} in the same order. There is a count in the main section of a tab strip. The index is itterated in that main section instead as property inside the tab {} index 1 { } index 2 { } index n... { } Keep all the properties at position index 2 as belong to the {} --- Ron From sourceforge-raindog2 at ...94... Mon Mar 27 01:50:36 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 26 Mar 2006 18:50:36 -0500 Subject: [Gambas-user] Tab stops or similar? In-Reply-To: <1143412231.28625.12.camel@...1368...> References: <1143412231.28625.12.camel@...1368...> Message-ID: <200603261850.36855.sourceforge-raindog2@...94...> On Sun March 26 2006 17:30, GuruLounge - MailLists wrote: > As it is when I tab about my form the focus jumps in order of > controls placed on the form. I can't seem to modify this > order and it's a bit inconvenient to have to recreate the form You're right, tab order is the order in which controls are placed on the form, much like in an HTML form. But you don't have to recreate the form to change that.... you can use the "Arrange/Bring to Front" and "Arrange/Send to Back" to change tab order as well. There just isn't any way to find out what the tab order actually is without either compiling and running the form, or reading the form file. Rob From gambas at ...1... Mon Mar 27 08:01:35 2006 From: gambas at ...1... (Benoit Minisini) Date: Mon, 27 Mar 2006 08:01:35 +0200 Subject: [Gambas-user] Tab stops or similar? In-Reply-To: <200603261850.36855.sourceforge-raindog2@...94...> References: <1143412231.28625.12.camel@...1368...> <200603261850.36855.sourceforge-raindog2@...94...> Message-ID: <200603270801.35511.gambas@...1...> On Monday 27 March 2006 01:50, Rob Kudla wrote: > On Sun March 26 2006 17:30, GuruLounge - MailLists wrote: > > As it is when I tab about my form the focus jumps in order of > > controls placed on the form. I can't seem to modify this > > order and it's a bit inconvenient to have to recreate the form > > You're right, tab order is the order in which controls are placed > on the form, much like in an HTML form. But you don't have to > recreate the form to change that.... you can use the > "Arrange/Bring to Front" and "Arrange/Send to Back" to change > tab order as well. There just isn't any way to find out what > the tab order actually is without either compiling and running > the form, or reading the form file. > > Rob > In the development version, you can use the hierarchy window to do that. Regards, -- Benoit Minisini From fidojones at ...805... Mon Mar 27 11:13:50 2006 From: fidojones at ...805... (Lorenzo Tejera) Date: Mon, 27 Mar 2006 11:13:50 +0200 (CEST) Subject: [Gambas-user] Tab stops or similar? In-Reply-To: <200603270801.35511.gambas@...1...> References: <1143412231.28625.12.camel@...1368...> <200603261850.36855.sourceforge-raindog2@...94...> <200603270801.35511.gambas@...1...> Message-ID: <1376.80.26.136.205.1143450830.squirrel@...1316...> should be a good idea if you select and object in the hierarchy window, the object appears selected in the form window, like in the context menu, who is a option to select objects... From lordheavy at ...512... Mon Mar 27 11:33:19 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 27 Mar 2006 10:33:19 +0100 Subject: [Gambas-user] Problem with gcc and 1.9.27 In-Reply-To: <200603261924.53798.gambas@...1...> References: <200603261924.53798.gambas@...1...> Message-ID: <200603271133.19315.lordheavy@...512...> Le Dimanche 26 Mars 2006 19:24, Benoit Minisini a ?crit?: > Hi, > > There is a problem with the compilation of 1.9.27. > > It seems that the configure script detects the availability of the > '-fvisibility=hidden' flag on the gcc 3.x installed on some systems. > > According to the documentation, this flag is available only since gcc 4. > > So on these systems, the component symbols that need to be exported are not > exported at all. And so things don't run. > > To Laurent Carlier: could your detection macro fail? > No, the macro succeed, the problem come from gambas.h file :) ... #if __GNUC__ >= 4 #define EXPORT __attribute__((visibility("default"))) #else #define EXPORT #endif ... You check for gcc version, i guess we must add a HAVE_VISIBILITY_HIDDEN variable to config.h and of course, include it into gambas.h > To everyone having this problem: can you check by hand that your gcc accept > this option? Do you know if your gcc was patched to accept this flag? > > Thanks in advance for your answers. > > Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From mwebb at ...1362... Mon Mar 27 09:03:55 2006 From: mwebb at ...1362... (mike webb) Date: Mon, 27 Mar 2006 07:03:55 +0000 Subject: [Gambas-user] right click Message-ID: <44278E5B.3080900@...1362...> using version 1.10 can someone lead me to an example of right clicking on a tableview or some other control and up pops the "right click menu" i don't know what you call a "right click menu", but hopfully you know what i mean. From maillists at ...1367... Mon Mar 27 16:41:11 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Mon, 27 Mar 2006 06:41:11 -0800 Subject: [Gambas-user] right click In-Reply-To: <44278E5B.3080900@...1362...> References: <44278E5B.3080900@...1362...> Message-ID: <1143470471.20397.7.camel@...1368...> use the "menu" event to capture the mouse right-click. To get to this event, right click the control you wish to add the popup, click "event" then select "menu". This will create the event sub you need. To create a popup, put a hidden menu item someplace (I use a separate form just for popup menus). Create your menu item (like "menuMyPopup") with all the child menu items under it. In your "menu" event for your control just call the menu item with the .popup extension, e.g.: PUBLIC SUB columnview_Menu() FormMenus.menuMyPopup.Popup END This works in Gambas 1.0.13 and 1.0.14... HTH, Jeff On Mon, 2006-03-27 at 07:03 +0000, mike webb wrote: > using version 1.10 > can someone lead me to an example of right clicking on a tableview or > some other control and up pops the "right click menu" i don't know what > you call a "right click menu", but hopfully you know what i mean. > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From gambas at ...1... Tue Mar 28 00:07:11 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Mar 2006 00:07:11 +0200 Subject: [Gambas-user] Release of gambas 1.9.28 Message-ID: <200603280007.12097.gambas@...1...> Hi, This release should compile correctly with gcc 3.x having the '-fvisibility' option, and fixes some bugs in the MDI development environment. I hope everything will be right :-) Enjoy it. -- Benoit Minisini From tetsuo at ...756... Tue Mar 28 01:13:11 2006 From: tetsuo at ...756... (tetsuo) Date: Tue, 28 Mar 2006 01:13:11 +0200 Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <200603280007.12097.gambas@...1...> References: <200603280007.12097.gambas@...1...> Message-ID: <44287187.40706@...756...> Benoit Minisini wrote: > Hi, > > This release should compile correctly with gcc 3.x having the '-fvisibility' > option, and fixes some bugs in the MDI development environment. > > I hope everything will be right :-) > > Enjoy it. > yesss :D, now it work thanks, tetsuo From eilert-sprachen at ...221... Tue Mar 28 11:44:02 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 28 Mar 2006 11:44:02 +0200 Subject: [Gambas-user] String processing in Wiki Message-ID: <44290562.2030102@...221...> Today I've translated the functions starting with C into German. There are some functions where there is a special hint that they only deal with ASCII, but Gambas deals with UTF-8. Now there are two general questions of mine :-) - Why do some of the functions use ASCII and some do not, and are there plans to make it uniform (all using UTF-8), or are there other important reasons for not to do so? - If it has to be as it is, shouldn't we add a little hint into every string function to make clear if it is ASCII or UTF-8? Like a symbol or so... And a special question: - I was wondering why the hint "Be careful! The current localization is not used by this function." is mentioned for functions like CSng(). What do such functions have to do with localisation, and why does CShort() doesn't mention it then? Thanks for your responses. Regards Rolf From rospolosco at ...152... Tue Mar 28 11:57:28 2006 From: rospolosco at ...152... (Stefano Palmeri) Date: Tue, 28 Mar 2006 11:57:28 +0200 Subject: [Gambas-user] little problem here Message-ID: <200603281157.28403.rospolosco@...152...> Hi, all. Hi, Benoit. I upgraded to 1.9.27 and now the little program that I've attached doesn't work. When I run it from the Gambas IDE it exits with error #11. When I run it from console I get segmentation fault. The program worked fine with 1.9.26. It should display the current IP address (ppp0 interface for me) on the desktop. I get the same error with another app that uses transparent images. Also I noticed that in 1.9.27 the Gambas transparent mascot doesn't work. Did I miss something in the changelog about masking and transparent images? Thanks. Regards, Stefano -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx-ip-0.0.4.tar.gz Type: application/x-tgz Size: 1498 bytes Desc: not available URL: From gambas at ...1... Tue Mar 28 12:32:16 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Mar 2006 12:32:16 +0200 Subject: [Gambas-user] little problem here In-Reply-To: <200603281157.28403.rospolosco@...152...> References: <200603281157.28403.rospolosco@...152...> Message-ID: <200603281232.16660.gambas@...1...> On Tuesday 28 March 2006 11:57, Stefano Palmeri wrote: > Hi, all. Hi, Benoit. > > I upgraded to 1.9.27 and now the little > program that I've attached doesn't work. > > When I run it from the Gambas IDE it exits > with error #11. When I run it from console > I get segmentation fault. > > The program worked fine with 1.9.26. It should > display the current IP address (ppp0 interface for me) > on the desktop. > > I get the same error with another app that uses > transparent images. > > Also I noticed that in 1.9.27 the Gambas transparent mascot > doesn't work. > > Did I miss something in the changelog about masking and > transparent images? > > Thanks. > > Regards, > > Stefano Hi, Transparent mascot does not work as MDI child window, so I disabled it. It will come back in the future. Can you try your project with 1.9.28? I think it should fix the crash. Regards, -- Benoit Minisini From gambas at ...1... Tue Mar 28 12:40:04 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Mar 2006 12:40:04 +0200 Subject: [Gambas-user] String processing in Wiki In-Reply-To: <44290562.2030102@...221...> References: <44290562.2030102@...221...> Message-ID: <200603281240.04636.gambas@...1...> On Tuesday 28 March 2006 11:44, Eilert wrote: > Today I've translated the functions starting with C into German. > > There are some functions where there is a special hint that they only > deal with ASCII, but Gambas deals with UTF-8. > > Now there are two general questions of mine :-) > > - Why do some of the functions use ASCII and some do not, and are there > plans to make it uniform (all using UTF-8), No. > or are there other important > reasons for not to do so? Yes. There is a difference between a string to translate (that will be displayed somewhere), and a string that must not be translated, i.e. that is just used by the program logic (a collection key, a english-only syntax...). UTF-8 strings are heavier to process than ASCII strings, as the size of a character is not necessarily one byte. > > - If it has to be as it is, shouldn't we add a little hint into every > string function to make clear if it is ASCII or UTF-8? Like a symbol or > so... All native string functions are ASCII-only, and all UTF-8 string functions were put in the String static class. The String class is not complete at the moment, and some of its methods do not have well-chosen names. > > And a special question: > > - I was wondering why the hint "Be careful! The current localization is > not used by this function." is mentioned for functions like CSng(). What > do such functions have to do with localisation, and why does CShort() > doesn't mention it then? The decimal separator can be different when the language changes. Integer numbers seems to be written the same way in every language. > > Thanks for your responses. > > Regards > Rolf > Regards, -- Benoit Minisini From msumurph at ...626... Tue Mar 28 15:13:18 2006 From: msumurph at ...626... (Allen Murphy) Date: Tue, 28 Mar 2006 08:13:18 -0500 Subject: [Gambas-user] RENAME in 1.9.28 Message-ID: <1143551598.3481.9.camel@...37...> Hello, I have found that with both 1.9.27 and 1.9.28 the RENAME command is not recognized. I tried a new console project with 1.9.28 to test. Here is the code below: ' Gambas class file STATIC PUBLIC SUB Main() DIM f AS String PRINT "Hello World" FOR EACH f IN Dir("/home/user", "*.*") PRINT f NEXT RENAME "file1.txt" AS "file2.txt " FOR EACH f IN Dir("/home/user", "*.*") PRINT f NEXT END When I execute the program, this message is returned: Unknown Identifier: RENAME at line 13 in cMain.class. This code works in earlier versions of Gambas and Gambas2. Thank you, Allen From rohnny at ...1248... Tue Mar 28 17:05:33 2006 From: rohnny at ...1248... (R. Stormo) Date: Tue, 28 Mar 2006 07:05:33 -0800 (PST) Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <200603280007.12097.gambas@...1...> References: <200603280007.12097.gambas@...1...> Message-ID: <3631203.post@...1379...> I have a problem compileing latest version -28. Between 27 and 28 I upgraded my sysem from breezy to dapper. Now I'm not able to compile. I know the system will be release in one week. So thaught it would be ok ;) THESE COMPONENTS ARE DISABLED: - gb.corba - OK - NoNeed - gb.db.firebird - Ok- NoNeed - gb.db.mysql - Ok- NoNeed - gb.opengl - gb.qt - gb.qt.kde -Ok-NoNeed - gb.sdl I have tried to include everything with sdl (dev), qt, opengl but without any luck. Someone that chould advice? -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.28-t1352262.html#a3631203 Sent from the gambas-user forum at Nabble.com. From ronstk at ...239... Tue Mar 28 17:07:13 2006 From: ronstk at ...239... (ron) Date: Tue, 28 Mar 2006 16:07:13 +0100 Subject: [Gambas-user] RENAME in 1.9.28 In-Reply-To: <1143551598.3481.9.camel@...37...> References: <1143551598.3481.9.camel@...37...> Message-ID: <200603281707.13962.ronstk@...239...> On Tuesday 28 March 2006 15:13, Allen Murphy wrote: > Hello, > > I have found that with both 1.9.27 and 1.9.28 the RENAME command is not > recognized. I tried a new console project with 1.9.28 to test. Here is > the code below: > > ' Gambas class file > > STATIC PUBLIC SUB Main() > > DIM f AS String > > PRINT "Hello World" > > FOR EACH f IN Dir("/home/user", "*.*") > PRINT f > NEXT > > RENAME "file1.txt" AS "file2.txt " > > FOR EACH f IN Dir("/home/user", "*.*") > PRINT f > NEXT > > END > > When I execute the program, this message is returned: > > Unknown Identifier: RENAME at line 13 in cMain.class. > > This code works in earlier versions of Gambas and Gambas2. > > Thank you, > Allen > A very few versions back there was a changlog about the change from 'RENAME xx TO yy' to be 'MOVE xx AS yy'. However during translating I found still code after that announcement still existing as RENAME. Also in one of the class files a function with the name 'Rename' exists. I was not able to translate that project by this naming problem. (gambas2-with-editor I belive it was) Also be carefull with 'OPEN xx FOR READ AS #hFile'. New syntax announced as hFile = OPEN xx FOR READ ' (as FILE) Is it for the developer version? Can it be both ways and is planned to stay or will the old way dissapear in future? Greets Ron From lordheavy at ...512... Tue Mar 28 17:22:10 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 28 Mar 2006 17:22:10 +0200 Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <3631203.post@...1379...> References: <200603280007.12097.gambas@...1...> <3631203.post@...1379...> Message-ID: <200603281722.10505.lordheavy@...512...> Le Mardi 28 Mars 2006 17:05, R. Stormo a ?crit?: > I have a problem compileing latest version -28. Between 27 and 28 I > upgraded my sysem from breezy to dapper. Now I'm not able to compile. I > know the system will be release in one week. So thaught it would be ok ;) > Dapper will be out now at 06/06 :) > THESE COMPONENTS ARE DISABLED: > > - gb.corba - OK - NoNeed > - gb.db.firebird - Ok- NoNeed > - gb.db.mysql - Ok- NoNeed > - gb.opengl > - gb.qt > - gb.qt.kde -Ok-NoNeed > - gb.sdl > > I have tried to include everything with sdl (dev), qt, opengl but without > any luck. Someone that chould advice? > sdl and opengl works for me under dapper. Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From eilert-sprachen at ...221... Tue Mar 28 17:57:57 2006 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 28 Mar 2006 17:57:57 +0200 Subject: [Gambas-user] String processing in Wiki In-Reply-To: <200603281240.04636.gambas@...1...> References: <44290562.2030102@...221...> <200603281240.04636.gambas@...1...> Message-ID: <44295D05.7060807@...221...> Benoit Minisini schrieb: > On Tuesday 28 March 2006 11:44, Eilert wrote: >> Today I've translated the functions starting with C into German. >> >> There are some functions where there is a special hint that they only >> deal with ASCII, but Gambas deals with UTF-8. >> >> Now there are two general questions of mine :-) >> >> - Why do some of the functions use ASCII and some do not, and are there >> plans to make it uniform (all using UTF-8), > > No. Ok... > >> or are there other important >> reasons for not to do so? > > Yes. > > There is a difference between a string to translate (that will be displayed > somewhere), and a string that must not be translated, i.e. that is just used > by the program logic (a collection key, a english-only syntax...). I had the case that there was heavy string processing necessary in one of my apps, and converting forth and back to be able to use the functions was a bit tricky. So there are times when the programmer wished that all string processing would be uniform. Sometimes you need to use them with strings that originate from UTF-8. There is one drawback, however. If there is a string with characters that are similar to UTF-8 but do not mean UTF-8, the function will have to know how to handle the string. An additional flag would be necessary to implement this, right? Just like gb.ASCII or gb.UTF-8 with a default set to whatever one thinks is used more often? > > UTF-8 strings are heavier to process than ASCII strings, as the size of a > character is not necessarily one byte. And this would slow down those native functions? > >> - If it has to be as it is, shouldn't we add a little hint into every >> string function to make clear if it is ASCII or UTF-8? Like a symbol or >> so... > > All native string functions are ASCII-only, and all UTF-8 string functions > were put in the String static class. Yes, I know, I use it a lot. But a little hint for the newbies or people like me who tend to forget those tricky things wouldn't be wrong, would it? > > The String class is not complete at the moment, and some of its methods do not > have well-chosen names. But I could use it very well. > >> And a special question: >> >> - I was wondering why the hint "Be careful! The current localization is >> not used by this function." is mentioned for functions like CSng(). What >> do such functions have to do with localisation, and why does CShort() >> doesn't mention it then? > > The decimal separator can be different when the language changes. > > Integer numbers seems to be written the same way in every language. Aaah yes, of course :-) I see. Rolf From gambas at ...1... Tue Mar 28 18:17:22 2006 From: gambas at ...1... (Benoit Minisini) Date: Tue, 28 Mar 2006 18:17:22 +0200 Subject: [Gambas-user] String processing in Wiki In-Reply-To: <44295D05.7060807@...221...> References: <44290562.2030102@...221...> <200603281240.04636.gambas@...1...> <44295D05.7060807@...221...> Message-ID: <200603281817.22197.gambas@...1...> On Tuesday 28 March 2006 17:57, Eilert wrote: > Benoit Minisini schrieb: > > On Tuesday 28 March 2006 11:44, Eilert wrote: > >> Today I've translated the functions starting with C into German. > >> > >> There are some functions where there is a special hint that they only > >> deal with ASCII, but Gambas deals with UTF-8. > >> > >> Now there are two general questions of mine :-) > >> > >> - Why do some of the functions use ASCII and some do not, and are there > >> plans to make it uniform (all using UTF-8), > > > > No. > > Ok... > > >> or are there other important > >> reasons for not to do so? > > > > Yes. > > > > There is a difference between a string to translate (that will be > > displayed somewhere), and a string that must not be translated, i.e. that > > is just used by the program logic (a collection key, a english-only > > syntax...). > > I had the case that there was heavy string processing necessary in one > of my apps, and converting forth and back to be able to use the > functions was a bit tricky. So there are times when the programmer > wished that all string processing would be uniform. Sometimes you need > to use them with strings that originate from UTF-8. An ASCII string is a valid UTF-8 string. And nothing prevents you from using native ASCII string functions with UTF-8 strings, provided that you know what you do. There is no need to "convert" a UTF-8 string to ASCII! > > There is one drawback, however. If there is a string with characters > that are similar to UTF-8 but do not mean UTF-8, the function will have > to know how to handle the string. An additional flag would be necessary > to implement this, right? Just like gb.ASCII or gb.UTF-8 with a default > set to whatever one thinks is used more often? > What are you talking about? Are you sure that you know exactly how UTF-8 works? Please give details about what you want to do exactly... > > UTF-8 strings are heavier to process than ASCII strings, as the size of a > > character is not necessarily one byte. > > And this would slow down those native functions? Of course! > > >> - If it has to be as it is, shouldn't we add a little hint into every > >> string function to make clear if it is ASCII or UTF-8? Like a symbol or > >> so... > > > > All native string functions are ASCII-only, and all UTF-8 string > > functions were put in the String static class. > > Yes, I know, I use it a lot. But a little hint for the newbies or people > like me who tend to forget those tricky things wouldn't be wrong, would it? > Yes. I admit this is not completely clear :-) What is missing in the documentation is a set of overviews. > > The String class is not complete at the moment, and some of its methods > > do not have well-chosen names. > > But I could use it very well. > > >> And a special question: > >> > >> - I was wondering why the hint "Be careful! The current localization is > >> not used by this function." is mentioned for functions like CSng(). What > >> do such functions have to do with localisation, and why does CShort() > >> doesn't mention it then? > > > > The decimal separator can be different when the language changes. > > > > Integer numbers seems to be written the same way in every language. > > Aaah yes, of course :-) I see. > > > Rolf > Regards, -- Benoit Minisini From lordheavy at ...512... Tue Mar 28 18:25:24 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 28 Mar 2006 18:25:24 +0200 Subject: [Gambas-user] String processing in Wiki In-Reply-To: <44295D05.7060807@...221...> References: <44290562.2030102@...221...> <200603281240.04636.gambas@...1...> <44295D05.7060807@...221...> Message-ID: <200603281825.24565.lordheavy@...512...> Le Mardi 28 Mars 2006 17:57, Eilert a ?crit?: > Benoit Minisini schrieb: > > On Tuesday 28 March 2006 11:44, Eilert wrote: > >> Today I've translated the functions starting with C into German. > >> > >> There are some functions where there is a special hint that they only > >> deal with ASCII, but Gambas deals with UTF-8. > >> > >> Now there are two general questions of mine :-) > >> > >> - Why do some of the functions use ASCII and some do not, and are there > >> plans to make it uniform (all using UTF-8), > > > > No. > > Ok... > > >> or are there other important > >> reasons for not to do so? > > > > Yes. > > > > There is a difference between a string to translate (that will be > > displayed somewhere), and a string that must not be translated, i.e. that > > is just used by the program logic (a collection key, a english-only > > syntax...). > > I had the case that there was heavy string processing necessary in one > of my apps, and converting forth and back to be able to use the > functions was a bit tricky. So there are times when the programmer > wished that all string processing would be uniform. Sometimes you need > to use them with strings that originate from UTF-8. > > There is one drawback, however. If there is a string with characters > that are similar to UTF-8 but do not mean UTF-8, the function will have > to know how to handle the string. An additional flag would be necessary > to implement this, right? Just like gb.ASCII or gb.UTF-8 with a default > set to whatever one thinks is used more often? > > > UTF-8 strings are heavier to process than ASCII strings, as the size of a > > character is not necessarily one byte. > > And this would slow down those native functions? > > >> - If it has to be as it is, shouldn't we add a little hint into every > >> string function to make clear if it is ASCII or UTF-8? Like a symbol or > >> so... > > > > All native string functions are ASCII-only, and all UTF-8 string > > functions were put in the String static class. > > Yes, I know, I use it a lot. But a little hint for the newbies or people > like me who tend to forget those tricky things wouldn't be wrong, would it? > > > The String class is not complete at the moment, and some of its methods > > do not have well-chosen names. > > But I could use it very well. > > >> And a special question: > >> > >> - I was wondering why the hint "Be careful! The current localization is > >> not used by this function." is mentioned for functions like CSng(). What > >> do such functions have to do with localisation, and why does CShort() > >> doesn't mention it then? > > > > The decimal separator can be different when the language changes. > > > > Integer numbers seems to be written the same way in every language. > > Aaah yes, of course :-) I see. > > http://de.wikipedia.org/wiki/UTF-8 Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From rohnny at ...1248... Tue Mar 28 19:42:00 2006 From: rohnny at ...1248... (R. Stormo) Date: Tue, 28 Mar 2006 09:42:00 -0800 (PST) Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <200603281722.10505.lordheavy@...512...> References: <200603280007.12097.gambas@...1...> <3631203.post@...1379...> <200603281722.10505.lordheavy@...512...> Message-ID: <3634415.post@...1379...> cold you tell my what packages you have to get qt and sdl working! I'm not able to compile it with those enabled. :( -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.28-t1352262.html#a3634415 Sent from the gambas-user forum at Nabble.com. From tHerden at ...775... Tue Mar 28 21:48:25 2006 From: tHerden at ...775... (Thomas Herden) Date: Tue, 28 Mar 2006 14:48:25 -0500 Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <3634415.post@...1379...> References: <200603280007.12097.gambas@...1...> <200603281722.10505.lordheavy@...512...> <3634415.post@...1379...> Message-ID: <200603281448.26047.tHerden@...775...> On Tuesday 28 March 2006 12:42 pm, R. Stormo wrote: > cold you tell my what packages you have to get qt and sdl working! I'm not > able to compile it with those enabled. :( Might this help? As root, change to the gambas source directory and type "dpkg-buildpackage" This will compile and generate all your own debian packages, or if you don't have the development packages needed installed in your system, it will tell you what packages you must install using apt-get. From rohnny at ...1248... Tue Mar 28 22:21:23 2006 From: rohnny at ...1248... (R. Stormo) Date: Tue, 28 Mar 2006 12:21:23 -0800 (PST) Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <200603281448.26047.tHerden@...775...> References: <200603280007.12097.gambas@...1...> <3631203.post@...1379...> <200603281722.10505.lordheavy@...512...> <3634415.post@...1379...> <200603281448.26047.tHerden@...775...> Message-ID: <3637193.post@...1379...> Thomas Herden wrote: > > On Tuesday 28 March 2006 12:42 pm, R. Stormo wrote: > Might this help? > As root, change to the gambas source directory and type > "dpkg-buildpackage" > No that did not helped either. Got error message doing that -snip gambas2-1.9.28$ dpkg-buildpackage dpkg-parsechangelog: error: cannot open debian/changelog to find format: Ingen slik fil eller filkatalog dpkg-buildpackage: unable to determine source package is --snap -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.28-t1352262.html#a3637193 Sent from the gambas-user forum at Nabble.com. From lordheavy at ...512... Tue Mar 28 22:41:38 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 28 Mar 2006 22:41:38 +0200 Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <3634415.post@...1379...> References: <200603280007.12097.gambas@...1...> <200603281722.10505.lordheavy@...512...> <3634415.post@...1379...> Message-ID: <200603282241.39054.lordheavy@...512...> Le Mardi 28 Mars 2006 19:42, R. Stormo a ?crit?: > cold you tell my what packages you have to get qt and sdl working! I'm not > able to compile it with those enabled. :( For sdl : libsdl1.2 + dev libsdl-image1.2 + dev libsdl-mixer1.2 + dev libsdl-ttf2.0 + dev libsdl-gfx1.2 + dev For qt: libqt3-mt + dev libqt3-headers qt3-dev-tools I guess it will be enough Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From rohnny at ...1248... Tue Mar 28 23:06:19 2006 From: rohnny at ...1248... (R. Stormo) Date: Tue, 28 Mar 2006 13:06:19 -0800 (PST) Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <200603282241.39054.lordheavy@...512...> References: <200603280007.12097.gambas@...1...> <3631203.post@...1379...> <200603281722.10505.lordheavy@...512...> <3634415.post@...1379...> <200603282241.39054.lordheavy@...512...> Message-ID: <3638031.post@...1379...> To take the sdl first. I'm not able to select the gfx, it's in my list but getting error when selecting it. The packages may be not be uploaded. Here is a list of what's installed of sdl dpkg -S libsdl |sort libsdl1.2debian-all: /usr/share/doc/libsdl1.2debian-all libsdl1.2debian-all: /usr/share/doc/libsdl1.2debian-all/BUGS.gz libsdl1.2debian-all: /usr/share/doc/libsdl1.2debian-all/changelog.Debian.gz libsdl1.2debian-all: /usr/share/doc/libsdl1.2debian-all/copyright libsdl1.2debian-all: /usr/share/doc/libsdl1.2debian-all/CREDITS libsdl1.2debian-all: /usr/share/doc/libsdl1.2debian-all/README libsdl1.2debian-all: /usr/share/doc/libsdl1.2debian-all/README-SDL.txt libsdl1.2debian: /usr/share/doc/libsdl1.2debian libsdl1.2debian: /usr/share/doc/libsdl1.2debian/BUGS.gz libsdl1.2debian: /usr/share/doc/libsdl1.2debian/changelog.Debian.gz libsdl1.2debian: /usr/share/doc/libsdl1.2debian/copyright libsdl1.2debian: /usr/share/doc/libsdl1.2debian/CREDITS libsdl1.2debian: /usr/share/doc/libsdl1.2debian/README libsdl1.2debian: /usr/share/doc/libsdl1.2debian/README-SDL.txt libsdl1.2-dev: /usr/share/doc-base/libsdl1.2-dev libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/BUGS.gz libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/changelog.Debian.gz libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/copyright libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/CREDITS libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/audio.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/cdrom.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/eventfunctions.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/event.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/eventstructures.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/general.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guideaboutsdldoc.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guideaudioexamples.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guidebasicsinit.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guidecdromexamples.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guidecredits.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guideeventexamples.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guideexamples.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guide.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guideinput.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guideinputkeyboard.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guidepreface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guidethebasics.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guidetimeexamples.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guidevideo.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/guidevideoopengl.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/index.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/joystick.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/Makefile.am.gz libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/Makefile.in.gz libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/reference.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlactiveevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdladdtimer.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlaudiocvt.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlaudiospec.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlblitsurface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlbuildaudiocvt.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdclose.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdeject.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcd.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdname.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdnumdrives.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdopen.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdpause.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdplay.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdplaytracks.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdresume.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdstatus.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdstop.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcdtrack.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcloseaudio.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcolor.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcondbroadcast.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcondsignal.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcondwait.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcondwaittimeout.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlconvertaudio.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlconvertsurface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcreatecond.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcreatecursor.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcreatemutex.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcreatergbsurfacefrom.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcreatergbsurface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcreatesemaphore.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcreatethread.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlcreateyuvoverlay.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdldelay.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdldestroycond.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdldestroymutex.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdldestroysemaphore.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdldisplayformatalpha.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdldisplayformat.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdldisplayyuvoverlay.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlenablekeyrepeat.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlenableunicode.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlenvvars.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdleventstate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlexposeevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlfillrect.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlflip.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlfreecursor.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlfreesurface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlfreewav.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlfreeyuvoverlay.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetappstate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetaudiostatus.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetcliprect.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetcursor.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgeterror.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgeteventfilter.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetgammaramp.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetkeyname.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetkeystate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetmodstate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetmousestate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetrelativemousestate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetrgba.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetrgb.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetthreadid.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetticks.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetvideoinfo.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlgetvideosurface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlglattr.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlglgetattribute.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlglgetprocaddress.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlglloadlibrary.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlglsetattribute.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlglswapbuffers.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlinit.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlinitsubsystem.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoyaxisevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoyballevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoybuttonevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoyhatevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickclose.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickeventstate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickgetaxis.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickgetball.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickgetbutton.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickgethat.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickindex.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickname.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoysticknumaxes.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoysticknumballs.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoysticknumbuttons.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoysticknumhats.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickopened.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickopen.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdljoystickupdate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlkeyboardevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlkey.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlkeysym.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlkillthread.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdllistmodes.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlloadbmp.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlloadwav.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdllockaudio.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdllocksurface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdllockyuvoverlay.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlmaprgba.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlmaprgb.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlmixaudio.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlmousebuttonevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlmousemotionevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlmutexp.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlmutexv.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlnumjoysticks.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlopenaudio.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdloverlay.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlpalette.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlpauseaudio.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlpeepevents.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlpixelformat.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlpollevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlpumpevents.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlpushevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlquitevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlquit.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlquitsubsystem.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlrect.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlremovetimer.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlresizeevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsavebmp.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsempost.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsemtrywait.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsemvalue.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsemwait.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsemwaittimeout.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetalpha.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetcliprect.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetcolorkey.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetcolors.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetcursor.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlseteventfilter.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetgamma.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetgammaramp.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetmodstate.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetpalette.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsettimer.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsetvideomode.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlshowcursor.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsurface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlsyswmevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlthreadid.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlunlockaudio.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlunlocksurface.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlunlockyuvoverlay.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlupdaterect.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlupdaterects.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdluserevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlvideodrivername.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlvideoinfo.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlvideomodeok.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwaitevent.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwaitthread.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwarpmouse.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwasinit.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwmgetcaption.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwmgrabinput.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwmiconifywindow.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwmsetcaption.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwmseticon.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/sdlwmtogglefullscreen.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/thread.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/time.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/video.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/html/wm.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/index.html libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/Makefile.am libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/docs/Makefile.in.gz libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/examples libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/examples/examples.tar.gz libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/README libsdl1.2-dev: /usr/share/doc/libsdl1.2-dev/README-SDL.txt libsdl-console-dev, libsdl-console: /usr/share/doc/libsdl-console libsdl-console-dev: /usr/share/doc/libsdl-console-dev libsdl-console-dev: /usr/share/doc/libsdl-console/examples libsdl-console-dev: /usr/share/doc/libsdl-console/examples/background.jpg libsdl-console-dev: /usr/share/doc/libsdl-console/examples/ConsoleExample.c.gz libsdl-console-dev: /usr/share/doc/libsdl-console/examples/ConsoleExample.h libsdl-console-dev: /usr/share/doc/libsdl-console/examples/ConsoleFont.png libsdl-console-dev: /usr/share/doc/libsdl-console/examples/LargeFont.png libsdl-console-dev: /usr/share/doc/libsdl-console/examples/Makefile libsdl-console: /usr/share/doc/libsdl-console/changelog.Debian.gz libsdl-console: /usr/share/doc/libsdl-console/copyright libsdl-console: /usr/share/doc/libsdl-console/index.html libsdl-console: /usr/share/doc/libsdl-console/readme libsdl-console: /usr/share/doc/libsdl-console/screen1.jpg libsdl-console: /usr/share/doc/libsdl-console/screen2.jpg libsdl-console: /usr/share/doc/libsdl-console/screen3.jpg libsdl-gfx1.2-4: /usr/share/doc/libsdl-gfx1.2-4/AUTHORS libsdl-gfx1.2-4: /usr/share/doc/libsdl-gfx1.2-4/changelog.Debian.gz libsdl-gfx1.2-4: /usr/share/doc/libsdl-gfx1.2-4/changelog.gz libsdl-gfx1.2-4: /usr/share/doc/libsdl-gfx1.2-4/copyright libsdl-gfx1.2-4: /usr/share/doc/libsdl-gfx1.2-4/README.gz libsdl-gfx1.2-dev, libsdl-gfx1.2-4: /usr/share/doc/libsdl-gfx1.2-4 libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/examples libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/examples/examples.tar.gz libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/blank.gif libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/framerate.fig libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/framerate.png libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/framerate-thumb.png libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/index.html libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/Screenshots libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/Screenshots/SDL_gfxPrimitives.jpg libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/Screenshots/SDL_gfxPrimitives-thumb.jpg libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/Screenshots/SDL_rotozoom.jpg libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/Screenshots/SDL_rotozoom-thumb.jpg libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-4/html/styles.css libsdl-gfx1.2-dev: /usr/share/doc/libsdl-gfx1.2-dev libsdl-image1.2-dev: /usr/share/doc/libsdl-image1.2-dev libsdl-image1.2-dev: /usr/share/doc/libsdl-image1.2-dev/changelog.Debian.gz libsdl-image1.2-dev: /usr/share/doc/libsdl-image1.2-dev/changelog.gz libsdl-image1.2-dev: /usr/share/doc/libsdl-image1.2-dev/copyright libsdl-image1.2-dev: /usr/share/doc/libsdl-image1.2-dev/examples libsdl-image1.2-dev: /usr/share/doc/libsdl-image1.2-dev/examples/Makefile libsdl-image1.2-dev: /usr/share/doc/libsdl-image1.2-dev/examples/showimage.c.gz libsdl-image1.2: /usr/share/doc/libsdl-image1.2 libsdl-image1.2: /usr/share/doc/libsdl-image1.2/changelog.Debian.gz libsdl-image1.2: /usr/share/doc/libsdl-image1.2/changelog.gz libsdl-image1.2: /usr/share/doc/libsdl-image1.2/copyright libsdl-image1.2: /usr/share/doc/libsdl-image1.2/README libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev/changelog.Debian.gz libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev/changelog.gz libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev/copyright libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev/examples libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev/examples/Makefile libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev/examples/playmus.c.gz libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev/examples/playwave.c.gz libsdl-mixer1.2-dev: /usr/share/doc/libsdl-mixer1.2-dev/README libsdl-mixer1.2: /usr/share/doc/libsdl-mixer1.2 libsdl-mixer1.2: /usr/share/doc/libsdl-mixer1.2/changelog.Debian.gz libsdl-mixer1.2: /usr/share/doc/libsdl-mixer1.2/changelog.gz libsdl-mixer1.2: /usr/share/doc/libsdl-mixer1.2/copyright libsdl-mixer1.2: /usr/share/doc/libsdl-mixer1.2/README libsdl-net1.2-dev: /usr/share/doc/libsdl-net1.2-dev libsdl-net1.2-dev: /usr/share/doc/libsdl-net1.2-dev/changelog.Debian.gz libsdl-net1.2-dev: /usr/share/doc/libsdl-net1.2-dev/changelog.gz libsdl-net1.2-dev: /usr/share/doc/libsdl-net1.2-dev/CHANGES libsdl-net1.2-dev: /usr/share/doc/libsdl-net1.2-dev/copyright libsdl-net1.2-dev: /usr/share/doc/libsdl-net1.2-dev/README libsdl-net1.2: /usr/share/doc/libsdl-net1.2 libsdl-net1.2: /usr/share/doc/libsdl-net1.2/changelog.Debian.gz libsdl-net1.2: /usr/share/doc/libsdl-net1.2/changelog.gz libsdl-net1.2: /usr/share/doc/libsdl-net1.2/copyright libsdl-ocaml-dev: /usr/lib/ocaml/3.09.1/sdl/libsdlloaderstub.a libsdl-ocaml-dev: /usr/lib/ocaml/3.09.1/sdl/libsdlmixerstub.a libsdl-ocaml-dev: /usr/lib/ocaml/3.09.1/sdl/libsdlstub.a libsdl-ocaml-dev: /usr/lib/ocaml/3.09.1/sdl/libsdlttfstub.a libsdl-ocaml-dev: /usr/share/doc-base/libsdl-ocaml-dev libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/changelog.Debian.gz libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/changelog.gz libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/copyright libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_attributes.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_classes.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_class_types.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_exceptions.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_methods.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_modules.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_module_types.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_types.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/index_values.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlcdrom.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlevent.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlevent.Old.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlgl.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdl.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdljoystick.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlkey.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlloader.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlmixer.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlmouse.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdltimer.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlttf.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlvideo.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/Sdlwm.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/style.css libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlcdrom.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlevent.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlevent.Old.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlgl.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdl.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdljoystick.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlkey.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlloader.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlmixer.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlmouse.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdltimer.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlttf.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlvideo.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/html/type_Sdlwm.html libsdl-ocaml-dev: /usr/share/doc/libsdl-ocaml-dev/README libsdl-ocaml: /usr/share/doc/libsdl-ocaml libsdl-ocaml: /usr/share/doc/libsdl-ocaml/changelog.Debian.gz libsdl-ocaml: /usr/share/doc/libsdl-ocaml/changelog.gz libsdl-ocaml: /usr/share/doc/libsdl-ocaml/copyright libsdl-ocaml: /usr/share/doc/libsdl-ocaml/README libsdl-sgec2: /usr/share/doc/libsdl-sgec2 libsdl-sgec2: /usr/share/doc/libsdl-sgec2/changelog.Debian.gz libsdl-sgec2: /usr/share/doc/libsdl-sgec2/copyright libsdl-sgec2: /usr/share/doc/libsdl-sgec2/README.gz libsdl-sgec2: /usr/share/doc/libsdl-sgec2/Todo libsdl-sgec2: /usr/share/doc/libsdl-sgec2/WhatsNew.gz libsdl-sge-dev: /usr/share/doc/libsdl-sge libsdl-sge-dev: /usr/share/doc/libsdl-sge-dev libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/alpha.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/basics_c.c libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/basics.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/bitmapfont.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/blib.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/blitting.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/collision.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/fire.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/font.bmp.gz libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/font.ttf.gz libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/input.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/inputdeluxe.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/Makefile libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/README libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/rotate.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/sfont.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/sfont.png libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/smiley.bmp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/speedtest.cpp.gz libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/sprite2.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/sprite.cpp libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/ttf_readme libsdl-sge-dev: /usr/share/doc/libsdl-sge/examples/tux.bmp.gz libsdl-sge-dev: /usr/share/doc/libsdl-sge/html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/blib.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/bmf.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/collision.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/color.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/figures.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/guide.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/index.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/intro.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/macros.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/misc.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/pixels.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/rotate.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/shape.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/surface.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/text_classes.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/thanks.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/toc.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/ttf.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/ttf-input.html libsdl-sge-dev: /usr/share/doc/libsdl-sge/html/ttf-output.html libsdl-sound1.2-dev: /usr/share/doc/libsdl-sound1.2-dev libsdl-sound1.2-dev: /usr/share/doc/libsdl-sound1.2-dev/changelog.Debian.gz libsdl-sound1.2-dev: /usr/share/doc/libsdl-sound1.2-dev/changelog.gz libsdl-sound1.2-dev: /usr/share/doc/libsdl-sound1.2-dev/copyright libsdl-sound1.2-dev: /usr/share/doc/libsdl-sound1.2-dev/README libsdl-sound1.2-dev: /usr/share/doc/libsdl-sound1.2-dev/TODO libsdl-sound1.2: /usr/share/doc/libsdl-sound1.2 libsdl-sound1.2: /usr/share/doc/libsdl-sound1.2/changelog.Debian.gz libsdl-sound1.2: /usr/share/doc/libsdl-sound1.2/changelog.gz libsdl-sound1.2: /usr/share/doc/libsdl-sound1.2/copyright libsdl-stretch-0-2: /usr/share/doc/libsdl-stretch-0-2 libsdl-stretch-0-2: /usr/share/doc/libsdl-stretch-0-2/changelog.Debian.gz libsdl-stretch-0-2: /usr/share/doc/libsdl-stretch-0-2/changelog.gz libsdl-stretch-0-2: /usr/share/doc/libsdl-stretch-0-2/copyright libsdl-stretch-dev: /usr/share/doc-base/libsdl-stretch-dev libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/changelog.Debian.gz libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/changelog.gz libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/copyright libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/html libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/html/index.html libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/html/rn01re01.html libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/html/rn01re02.html libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/html/rn01re03.html libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/html/rn01re04.html libsdl-stretch-dev: /usr/share/doc/libsdl-stretch-dev/html/rn01re05.html libsdl-ttf1.2: /usr/share/doc/libsdl-ttf1.2 libsdl-ttf1.2: /usr/share/doc/libsdl-ttf1.2/changelog.Debian.gz libsdl-ttf1.2: /usr/share/doc/libsdl-ttf1.2/changelog.gz libsdl-ttf1.2: /usr/share/doc/libsdl-ttf1.2/copyright libsdl-ttf1.2: /usr/share/doc/libsdl-ttf1.2/examples libsdl-ttf1.2: /usr/share/doc/libsdl-ttf1.2/examples/showfont.c.gz libsdl-ttf1.2: /usr/share/doc/libsdl-ttf1.2/README libsdl-ttf2.0-0: /usr/share/doc/libsdl-ttf2.0-0 libsdl-ttf2.0-0: /usr/share/doc/libsdl-ttf2.0-0/changelog.Debian.gz libsdl-ttf2.0-0: /usr/share/doc/libsdl-ttf2.0-0/changelog.gz libsdl-ttf2.0-0: /usr/share/doc/libsdl-ttf2.0-0/copyright libsdl-ttf2.0-0: /usr/share/doc/libsdl-ttf2.0-0/README libsdl-ttf2.0-dev: /usr/share/doc/libsdl-ttf2.0-dev libsdl-ttf2.0-dev: /usr/share/doc/libsdl-ttf2.0-dev/changelog.Debian.gz libsdl-ttf2.0-dev: /usr/share/doc/libsdl-ttf2.0-dev/changelog.gz libsdl-ttf2.0-dev: /usr/share/doc/libsdl-ttf2.0-dev/copyright libsdl-ttf2.0-dev: /usr/share/doc/libsdl-ttf2.0-dev/examples libsdl-ttf2.0-dev: /usr/share/doc/libsdl-ttf2.0-dev/examples/glfont.c.gz libsdl-ttf2.0-dev: /usr/share/doc/libsdl-ttf2.0-dev/examples/Makefile libsdl-ttf2.0-dev: /usr/share/doc/libsdl-ttf2.0-dev/examples/showfont.c.gz -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.28-t1352262.html#a3638031 Sent from the gambas-user forum at Nabble.com. From lordheavy at ...512... Tue Mar 28 23:33:35 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 28 Mar 2006 23:33:35 +0200 Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <3638031.post@...1379...> References: <200603280007.12097.gambas@...1...> <200603282241.39054.lordheavy@...512...> <3638031.post@...1379...> Message-ID: <200603282333.36243.lordheavy@...512...> Le Mardi 28 Mars 2006 23:06, R. Stormo a ?crit?: > To take the sdl first. I'm not able to select the gfx, it's in my list but > getting error when selecting it. The packages may be not be uploaded. > Here is a list of what's installed of sdl > dpkg -S libsdl |sort Perhaps you must add some universe/multiverse repositories ? Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From rohnny at ...1248... Tue Mar 28 23:39:11 2006 From: rohnny at ...1248... (R. Stormo) Date: Tue, 28 Mar 2006 13:39:11 -0800 (PST) Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <200603282333.36243.lordheavy@...512...> References: <200603280007.12097.gambas@...1...> <3631203.post@...1379...> <200603281722.10505.lordheavy@...512...> <3634415.post@...1379...> <200603282241.39054.lordheavy@...512...> <3638031.post@...1379...> <200603282333.36243.lordheavy@...512...> Message-ID: <3638623.post@...1379...> I think I have enabled them all! deb http://no.archive.ubuntu.com/ubuntu/ dapper main restricted deb-src http://no.archive.ubuntu.com/ubuntu/ dapper main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://no.archive.ubuntu.com/ubuntu/ dapper-updates main restricted deb-src http://no.archive.ubuntu.com/ubuntu/ dapper-updates main restricted ## Uncomment the following two lines to add software from the 'universe' ## repository. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team. deb http://no.archive.ubuntu.com/ubuntu/ dapper universe deb-src http://no.archive.ubuntu.com/ubuntu/ dapper universe ## Uncomment the following two lines to add software from the 'backports' ## repository. ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://no.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse deb-src http://no.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu dapper-security main restricted deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted deb http://security.ubuntu.com/ubuntu dapper-security universe deb-src http://security.ubuntu.com/ubuntu dapper-security universe -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.28-t1352262.html#a3638623 Sent from the gambas-user forum at Nabble.com. From lordheavy at ...512... Tue Mar 28 23:49:34 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 28 Mar 2006 23:49:34 +0200 Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <3638623.post@...1379...> References: <200603280007.12097.gambas@...1...> <200603282333.36243.lordheavy@...512...> <3638623.post@...1379...> Message-ID: <200603282349.34502.lordheavy@...512...> Le Mardi 28 Mars 2006 23:39, R. Stormo a ?crit?: > I think I have enabled them all! > > deb http://no.archive.ubuntu.com/ubuntu/ dapper main restricted > deb-src http://no.archive.ubuntu.com/ubuntu/ dapper main restricted > > ## Major bug fix updates produced after the final release of the > ## distribution. > deb http://no.archive.ubuntu.com/ubuntu/ dapper-updates main restricted > deb-src http://no.archive.ubuntu.com/ubuntu/ dapper-updates main restricted > > ## Uncomment the following two lines to add software from the 'universe' > ## repository. > ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu > ## team, and may not be under a free licence. Please satisfy yourself as to > ## your rights to use the software. Also, please note that software in > ## universe WILL NOT receive any review or updates from the Ubuntu security > ## team. > deb http://no.archive.ubuntu.com/ubuntu/ dapper universe > deb-src http://no.archive.ubuntu.com/ubuntu/ dapper universe deb http://no.archive.ubuntu.com/ubuntu/ dapper universe multiverse deb-src http://no.archive.ubuntu.com/ubuntu/ dapper universe multiverse > > ## Uncomment the following two lines to add software from the 'backports' > ## repository. > ## N.B. software from this repository may not have been tested as > ## extensively as that contained in the main release, although it includes > ## newer versions of some applications which may provide useful features. > ## Also, please note that software in backports WILL NOT receive any review > ## or updates from the Ubuntu security team. > deb http://no.archive.ubuntu.com/ubuntu/ dapper-backports main restricted > universe multiverse > deb-src http://no.archive.ubuntu.com/ubuntu/ dapper-backports main > restricted universe multiverse > > deb http://security.ubuntu.com/ubuntu dapper-security main restricted > deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted > deb http://security.ubuntu.com/ubuntu dapper-security universe > deb-src http://security.ubuntu.com/ubuntu dapper-security universe deb http://security.ubuntu.com/ubuntu dapper-security universe multiverse deb-src http://security.ubuntu.com/ubuntu dapper-security universe multiverse Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From rohnny at ...1248... Wed Mar 29 00:00:16 2006 From: rohnny at ...1248... (R. Stormo) Date: Tue, 28 Mar 2006 14:00:16 -0800 (PST) Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <200603282349.34502.lordheavy@...512...> References: <200603280007.12097.gambas@...1...> <3631203.post@...1379...> <200603281722.10505.lordheavy@...512...> <3634415.post@...1379...> <200603282241.39054.lordheavy@...512...> <3638031.post@...1379...> <200603282333.36243.lordheavy@...512...> <3638623.post@...1379...> <200603282349.34502.lordheavy@...512...> Message-ID: <3639025.post@...1379...> Thanks for the multiverse, but still not able to get the 1.2 gfx libsdl-gfx1.2: < Pakke libsdl-gfx1.2 har ingen tilgjengelige versjoner, men den eksisterer i databasen. Vanligvis betyr dette at pakken ble nevnt i et avhengighetsforhold og ble aldri lastet opp, den er foreldet eller ikke tilgjengelig i sources.list < Package libsdl-gdx1.2 does not have any aviable version, but exist in the database. Normally this mean that the package is named in a dependcy and never have been uploaded, or it's to old or not aviable in the sources.list -- I do have a libsdl-gfx1.2-4, could it be that the named are not picked up when configure gambas? -- Regards Rohnny Stormo ----------------------------------------- Gambas brings Basic to Linux. My Gambas Community http://forum.stormweb.no -- View this message in context: http://www.nabble.com/Release-of-gambas-1.9.28-t1352262.html#a3639025 Sent from the gambas-user forum at Nabble.com. From msumurph at ...626... Wed Mar 29 00:52:13 2006 From: msumurph at ...626... (Allen Murphy) Date: Tue, 28 Mar 2006 17:52:13 -0500 Subject: [Gambas-user] Re: RENAME - thanks!! Message-ID: <1143586333.3206.7.camel@...37...> Thanks Ron! You are correct, I found the announcement in the ChangeLog for version 1.9.25. I actually do remember reading that too. I guess I forgot. Rename still worked up to 1.9.26, but not after. "NEW: The RENAME/AS instruction was replaced by the MOVE/TO instruction." The documentation on www.gambasdoc.org and the Help still include RENAME but not MOVE. That will need to be updated. Take care, Allen P.S. Thanks to all who have made Gambas a great development platform! On Tuesday 28 March 2006 15:13, Allen Murphy wrote: > Hello, > > I have found that with both 1.9.27 and 1.9.28 the RENAME command is not > recognized. I tried a new console project with 1.9.28 to test. Here is > the code below: > > ' Gambas class file > > STATIC PUBLIC SUB Main() > > DIM f AS String > > PRINT "Hello World" > > FOR EACH f IN Dir("/home/user", "*.*") > PRINT f > NEXT > > RENAME "file1.txt" AS "file2.txt " > > FOR EACH f IN Dir("/home/user", "*.*") > PRINT f > NEXT > > END > > When I execute the program, this message is returned: > > Unknown Identifier: RENAME at line 13 in cMain.class. > > This code works in earlier versions of Gambas and Gambas2. > > Thank you, > Allen > >A very few versions back there was a changlog about >the change from 'RENAME xx TO yy' to be 'MOVE xx AS yy'. >However during translating I found still code after that >announcement still existing as RENAME. > >Also in one of the class files a function with the name >'Rename' exists. >I was not able to translate that project by this naming problem. >(gambas2-with-editor I belive it was) > >Also be carefull with 'OPEN xx FOR READ AS #hFile'. >New syntax announced as hFile = OPEN xx FOR READ ' (as FILE) >Is it for the developer version? >Can it be both ways and is planned to stay or will the old way >dissapear in future? >Greets Ron From maillists at ...1367... Wed Mar 29 01:51:44 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 28 Mar 2006 15:51:44 -0800 Subject: [Gambas-user] Help component. Message-ID: <1143589904.5535.1.camel@...1368...> What component is used by the Gambas IDE (1.0.14 in particular) to display the help files (I'm assuming the gambas HTML files in /usr/share/gambas/help). And.. can this component be used in my projects? TIA, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From rospolosco at ...152... Wed Mar 29 02:28:55 2006 From: rospolosco at ...152... (Stefano Palmeri) Date: Wed, 29 Mar 2006 02:28:55 +0200 Subject: [Gambas-user] little problem here In-Reply-To: <200603281232.16660.gambas@...1...> References: <200603281157.28403.rospolosco@...152...> <200603281232.16660.gambas@...1...> Message-ID: <200603290228.55256.rospolosco@...152...> Alle 12:32, marted? 28 marzo 2006, Benoit Minisini ha scritto: > On Tuesday 28 March 2006 11:57, Stefano Palmeri wrote: > > Hi, all. Hi, Benoit. > > > > I upgraded to 1.9.27 and now the little > > program that I've attached doesn't work. > > > > When I run it from the Gambas IDE it exits > > with error #11. When I run it from console > > I get segmentation fault. > > > > The program worked fine with 1.9.26. It should > > display the current IP address (ppp0 interface for me) > > on the desktop. > > > > I get the same error with another app that uses > > transparent images. > > > > Also I noticed that in 1.9.27 the Gambas transparent mascot > > doesn't work. > > > > Did I miss something in the changelog about masking and > > transparent images? > > > > Thanks. > > > > Regards, > > > > Stefano > > Hi, > > Transparent mascot does not work as MDI child window, so I disabled it. It > will come back in the future. > > Can you try your project with 1.9.28? I think it should fix the crash. > > Regards, > > -- > Benoit Minisini > Hi. Yes! 1.9.28 fixed the crash. Saluti, Stefano Palmeri From ronstk at ...239... Wed Mar 29 03:05:29 2006 From: ronstk at ...239... (ron) Date: Wed, 29 Mar 2006 02:05:29 +0100 Subject: [Gambas-user] Help component. In-Reply-To: <1143589904.5535.1.camel@...1368...> References: <1143589904.5535.1.camel@...1368...> Message-ID: <200603290305.29749.ronstk@...239...> On Wednesday 29 March 2006 01:51, GuruLounge - MailLists wrote: > What component is used by the Gambas IDE (1.0.14 in particular) to > display the help files (I'm assuming the gambas HTML files > in /usr/share/gambas/help). > > And.. can this component be used in my projects? > > TIA, > Jeff > It is coded in the gambas IDE source, not a component. It depends on other code in the IDE so it is not direct usable without rewriting for own projects. /home/ron/src/gambas2-1.9.28/app/src/gambas2/FExplorer.class + FExplorer.form /home/ron/src/gambas-1.0.14/app/src/gambas/FExplorer.class + FExplorer.form and the help files runtime in /opt/gb28/share/gambas(2)/help/ or /user/share/gambas(2)/help/ or /user/local/share/gambas(2)/help/ Ron From gambas at ...1... Wed Mar 29 08:14:37 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Mar 2006 08:14:37 +0200 Subject: [Gambas-user] Help component. In-Reply-To: <1143589904.5535.1.camel@...1368...> References: <1143589904.5535.1.camel@...1368...> Message-ID: <200603290814.37232.gambas@...1...> On Wednesday 29 March 2006 01:51, GuruLounge - MailLists wrote: > What component is used by the Gambas IDE (1.0.14 in particular) to > display the help files (I'm assuming the gambas HTML files > in /usr/share/gambas/help). > > And.. can this component be used in my projects? > > TIA, > Jeff The TextView control is used. It can understand a subset of HTML. I think I will use an external browser in the future. Regards, -- Benoit Minisini From eilert-sprachen at ...221... Wed Mar 29 08:24:36 2006 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 29 Mar 2006 08:24:36 +0200 Subject: [Gambas-user] String processing in Wiki In-Reply-To: <200603281825.24565.lordheavy@...512...> References: <44290562.2030102@...221...> <200603281240.04636.gambas@...1...> <44295D05.7060807@...221...> <200603281825.24565.lordheavy@...512...> Message-ID: <442A2824.4090409@...221...> Laurent Carlier schrieb: > http://de.wikipedia.org/wiki/UTF-8 > > Regards, > Thanks a lot, good link! Rolf From eilert-sprachen at ...221... Wed Mar 29 08:46:58 2006 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 29 Mar 2006 08:46:58 +0200 Subject: [Gambas-user] String processing in Wiki In-Reply-To: <200603281817.22197.gambas@...1...> References: <44290562.2030102@...221...> <200603281240.04636.gambas@...1...> <44295D05.7060807@...221...> <200603281817.22197.gambas@...1...> Message-ID: <442A2D62.5070909@...221...> > An ASCII string is a valid UTF-8 string. And nothing prevents you from using > native ASCII string functions with UTF-8 strings, provided that you know what > you do. There is no need to "convert" a UTF-8 string to ASCII! When you have German umlauts (or French accentuated letters) in the string, and... ok :-) I don't remember what the reason was, but I missed one function in the string class, and so had to convert the strings forth and back to do the job with native string functions. This happened in one of my apps, and as far as I remember, I missed an InStr and RInStr function for UTF-8. > >> There is one drawback, however. If there is a string with characters >> that are similar to UTF-8 but do not mean UTF-8, the function will have >> to know how to handle the string. An additional flag would be necessary >> to implement this, right? Just like gb.ASCII or gb.UTF-8 with a default >> set to whatever one thinks is used more often? >> > > What are you talking about? Are you sure that you know exactly how UTF-8 > works? Please give details about what you want to do exactly... Was a bit tired last evening, sorry ;-) I meant bytes. Characters above 128 have two bytes, so the function has to recognize where characters above 128 are. But there are cases when you do not need "characters" but pure "bytes" to be found in a string, and a universal function for this would have to be told how to interpret the string: as a text string, or as a string of bytes. Do you agree? Rolf From lordheavy at ...512... Wed Mar 29 08:52:49 2006 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 29 Mar 2006 08:52:49 +0200 Subject: [Gambas-user] Release of gambas 1.9.28 In-Reply-To: <3639025.post@...1379...> References: <200603280007.12097.gambas@...1...> <200603282349.34502.lordheavy@...512...> <3639025.post@...1379...> Message-ID: <200603290852.49801.lordheavy@...512...> Le Mercredi 29 Mars 2006 00:00, R. Stormo a ?crit?: > Thanks for the multiverse, but still not able to get the 1.2 gfx > libsdl-gfx1.2: > > < > Pakke libsdl-gfx1.2 har ingen tilgjengelige versjoner, men den eksisterer i > databasen. > Vanligvis betyr dette at pakken ble nevnt i et avhengighetsforhold og ble > aldri lastet opp, den er foreldet eller ikke tilgjengelig i sources.list > < > Package libsdl-gdx1.2 does not have any aviable version, but exist in the > database. > Normally this mean that the package is named in a dependcy and never have > been uploaded, or it's to old or not aviable in the sources.list > -- > > I do have a libsdl-gfx1.2-4, could it be that the named are not picked up > when configure gambas? Yes, you need libsdl-gfx installed. Try to not install libsdl1.2-debian-all, install "specialized" parts I've got libsdl1.2debian and libsdl1.2debian-arts installed (because i run kde) Regards, -- jabber : lordheavy at ...943... mail : lordheavymREMOVEME at ...626... From maillists at ...1367... Wed Mar 29 09:06:46 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 28 Mar 2006 23:06:46 -0800 Subject: [Gambas-user] Capturing or redirecting print output Message-ID: <1143616006.15774.1.camel@...1368...> Thanx for the "help" help on my previous email. Is there a way to redirect or capture the "print" standard output so I can display it in a textarea? TIA, Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Wed Mar 29 09:20:45 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Tue, 28 Mar 2006 23:20:45 -0800 Subject: [Gambas-user] Help component. In-Reply-To: <200603290814.37232.gambas@...1...> References: <1143589904.5535.1.camel@...1368...> <200603290814.37232.gambas@...1...> Message-ID: <1143616846.15774.3.camel@...1368...> How does it understand HTML? Is there a property that needs to be set? Jeff On Wed, 2006-03-29 at 08:14 +0200, Benoit Minisini wrote: > > The TextView control is used. It can understand a subset of HTML. > > I think I will use an external browser in the future. > > Regards, > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From eilert-sprachen at ...221... Wed Mar 29 11:07:30 2006 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 29 Mar 2006 11:07:30 +0200 Subject: [Gambas-user] 1.9.28 IDE doesn't come up Message-ID: <442A4E52.4080907@...221...> The re says it all: I compiled 1.9.28, no problem, but after choosing a project from the first window, the IDE doesn't appear. When I start gambas2 from a terminal, the prompt won't come back until I press Ctrl+C. My system is a Suse 9.1 and runs on a server, I have an X server connected to it. The previous version ran flawlessly here. Rolf From eilert-sprachen at ...221... Wed Mar 29 12:39:50 2006 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 29 Mar 2006 12:39:50 +0200 Subject: [Gambas-user] Wiki: DO doesn't answer Message-ID: <442A63F6.7000107@...221...> I wanted to translate "DO" into German, but the page doesn't come, neither in English nor in German. Anything wrong with that page? Rolf From gambas at ...1... Wed Mar 29 12:57:19 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Mar 2006 12:57:19 +0200 Subject: [Gambas-user] Wiki: DO doesn't answer In-Reply-To: <442A63F6.7000107@...221...> References: <442A63F6.7000107@...221...> Message-ID: <200603291257.19656.gambas@...1...> On Wednesday 29 March 2006 12:39, Eilert wrote: > I wanted to translate "DO" into German, but the page doesn't come, > neither in English nor in German. > > Anything wrong with that page? > > Rolf > I fixed it. The problem comes from a '<=' in the example that should be quoted, otherwise the wiki interprets the '<' as a markup that is not closed... A sort of bug :-) Regards, -- Benoit Minisini From williamlee1982 at ...626... Wed Mar 29 12:50:55 2006 From: williamlee1982 at ...626... (William Lee) Date: Wed, 29 Mar 2006 18:50:55 +0800 Subject: [Gambas-user] Any idea to response to DCOP call in gambas programe? Message-ID: <9235bcbc0603290250q6d8098c2oa50543b064c8f524@...627...> Hi, Does anyone have an idea to response to DCOP call in gambas? Or it's not supported in gambas? It's exciting to me. Thanks. William From sourceforge-raindog2 at ...94... Wed Mar 29 17:15:13 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 10:15:13 -0500 Subject: [Gambas-user] Help component. In-Reply-To: <1143616846.15774.3.camel@...1368...> References: <1143589904.5535.1.camel@...1368...> <200603290814.37232.gambas@...1...> <1143616846.15774.3.camel@...1368...> Message-ID: <200603291015.13245.sourceforge-raindog2@...94...> On Wed March 29 2006 02:20, GuruLounge - MailLists wrote: > How does it understand HTML? Is there a property that needs > to be set? No, if you just put HTML in it, it should render the HTML. Nothing too complicated though. I don't even know if it handles CSS. Rob From sourceforge-raindog2 at ...94... Wed Mar 29 17:14:03 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 10:14:03 -0500 Subject: [Gambas-user] Capturing or redirecting print output In-Reply-To: <1143616006.15774.1.camel@...1368...> References: <1143616006.15774.1.camel@...1368...> Message-ID: <200603291014.04030.sourceforge-raindog2@...94...> On Wed March 29 2006 02:06, GuruLounge - MailLists wrote: > Is there a way to redirect or capture the "print" standard > output so I can display it in a textarea? It's definitely possible, but you would probably have to do something complicated like create a named pipe and redirect the output of your program to that pipe, then open that pipe in Gambas and read from it to populate the text area. Instead, I'd recommend writing a MyPrint method that handles writing to the text area, so that it's a quick job to redirect the output wherever you want rather than having to edit every Print statement in your project. You could just do one search and replace and that would be the end of it (well, assuming there are no Print # statements in your project.) Rob From sourceforge-raindog2 at ...94... Wed Mar 29 17:18:30 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 10:18:30 -0500 Subject: [Gambas-user] Re: Release of gambas 1.9.28 In-Reply-To: <200603280007.12097.gambas@...1...> References: <200603280007.12097.gambas@...1...> Message-ID: <200603291018.30772.sourceforge-raindog2@...94...> On Mon March 27 2006 17:07, Benoit Minisini wrote: > This release should compile correctly with gcc 3.x having the > '-fvisibility' option, and fixes some bugs in the MDI > development environment. Thanks for the MDI.... making updated packages now. My last MDI version had a bunch of window management stuff (a Window menu, a little tab bar across the bottom) that this doesn't, making this version harder to use than either my MDI version or the old "bunch of little windows" version. Would you take a patch or are you already focusing on making your own gb.form Workspace control? Rob From grosem at ...31... Wed Mar 29 17:53:48 2006 From: grosem at ...31... (Adrian Debbeler) Date: Wed, 29 Mar 2006 17:53:48 +0200 Subject: [Gambas-user] Passing programs In-Reply-To: <200603291014.04030.sourceforge-raindog2@...94...> References: <1143616006.15774.1.camel@...1368...> <200603291014.04030.sourceforge-raindog2@...94...> Message-ID: <442AAD8C.9060404@...31...> Hi, one aspect which bars me from deciding for Gambas is that it seems to be really difficult to pass my programs to others. Is there any alternative to pass gambas programs more easily (so the receiver has not to install the whole gambas program?). Of course it would be the best if the interpreter would be compiled with my own program which has the advantage that the user does not have to bother about the interpreter etc. grosem From sourceforge-raindog2 at ...94... Wed Mar 29 18:17:37 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 11:17:37 -0500 Subject: [Gambas-user] Passing programs In-Reply-To: <442AAD8C.9060404@...31...> References: <1143616006.15774.1.camel@...1368...> <200603291014.04030.sourceforge-raindog2@...94...> <442AAD8C.9060404@...31...> Message-ID: <200603291117.37283.sourceforge-raindog2@...94...> On Wed March 29 2006 10:53, Adrian Debbeler wrote: > one aspect which bars me from deciding for Gambas is that it > seems to be really difficult to pass my programs to others. Is > there any alternative to pass gambas programs more easily (so > the receiver has not to install the whole gambas program?). Of > course it would be the best if the interpreter would be > compiled with my own program which has the advantage that the > user does not have to bother about the interpreter etc. The ability to create stand-alone programs is probably the single most requested Gambas feature. In theory, here is what is required to make this happen: 1. The Gambas intepreter needs to be converted into a library. The current executable "gbx2" would become a stub which does nothing but load that library and use it to execute a project. 2. Gambas executables need to be converted into stubs as well, just like gbx2. This will have no effect on distributability but will allow people to run Gambas programs from Konqueror, for example, or use them as script interpreters, because they will no longer be weird hybrid script/binaries. 3. The interpreter library and all the components need to be made statically linkable, which would allow the creation of a huge monolithic executable like people are always asking for. At this point, you would be able to send your Gambas program to someone with the same version of the libraries used on your development system, and they'd be able to run them. I have no idea what would be involved in doing this, because I've never been successful in trying to convert shared objects into statically linked modules. 4. Because the resulting executable will be enormous, use UPX or some other executable compressor to make it smaller, as used by MAME and many other packages. Doing all of the above would enable what you and others are asking for, but I don't think it will be an easy task. Even when it's done, a Gambas program won't run across any Linux system you put it on.... if they're running a too-old or too-new version of Qt, for example (or Gtk when the gb.gtk component is totally equivalent), it will barf. An alternative to this approach would be the one used by Freewrap to package Tcl/Tk programs.... create a single compressed self-extracting executable with all the components in them, extract them at runtime to /tmp, and run from that directory. That would be comparably easy, but you'd still run into potential library version problems. Naturally, Gambas programs compiled using these methods will also not work under Windows, at such time as a usable Windows version of Gambas exists, or on other platforms that support Gambas. So, it should be possible, but it won't be here for a while. In the meantime, I encourage people to look into "klik", a single-file software distribution method that requires only a small client to be installed on the target machines. No one has been able to package Gambas for klik yet, but there's no reason it should be impossible. Rob From maillists at ...1367... Wed Mar 29 18:23:50 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 29 Mar 2006 08:23:50 -0800 Subject: [Gambas-user] Passing programs In-Reply-To: <442AAD8C.9060404@...31...> References: <1143616006.15774.1.camel@...1368...> <200603291014.04030.sourceforge-raindog2@...94...> <442AAD8C.9060404@...31...> Message-ID: <1143649430.29840.1.camel@...1368...> That's the only thing that gets me as well. That's why I've only been using the stable releases in the Fedora Core repository. I wish they'd hurry up with 1.0.15! I need that picture.flush function! Jeff On Wed, 2006-03-29 at 17:53 +0200, Adrian Debbeler wrote: > Hi, > one aspect which bars me from deciding for Gambas is that it seems to be > really difficult to pass my programs to others. Is there any alternative > to pass gambas programs more easily (so the receiver has not to install > the whole gambas program?). Of course it would be the best if the > interpreter would be compiled with my own program which has the > advantage that the user does not have to bother about the interpreter etc. > > grosem > > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Wed Mar 29 18:27:57 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 29 Mar 2006 08:27:57 -0800 Subject: [Gambas-user] Help component. In-Reply-To: <200603291015.13245.sourceforge-raindog2@...94...> References: <1143589904.5535.1.camel@...1368...> <200603290814.37232.gambas@...1...> <1143616846.15774.3.camel@...1368...> <200603291015.13245.sourceforge-raindog2@...94...> Message-ID: <1143649677.29840.6.camel@...1368...> I tried that, but it DIDN'T work, by using: textarea1.text = file.load("myfile.html") It just displayed the text. Is there a special way to apply the text to the control so it renders HTML? What DID display HTML was the textlabel control. This would be workable if I could click links and scroll about the page using this control. Any other ideas? TIA, Jeff On Wed, 2006-03-29 at 10:15 -0500, Rob Kudla wrote: > On Wed March 29 2006 02:20, GuruLounge - MailLists wrote: > > How does it understand HTML? Is there a property that needs > > to be set? > > No, if you just put HTML in it, it should render the HTML. > Nothing too complicated though. I don't even know if it handles > CSS. > > Rob > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From maillists at ...1367... Wed Mar 29 18:30:39 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 29 Mar 2006 08:30:39 -0800 Subject: [Gambas-user] Capturing or redirecting print output In-Reply-To: <200603291014.04030.sourceforge-raindog2@...94...> References: <1143616006.15774.1.camel@...1368...> <200603291014.04030.sourceforge-raindog2@...94...> Message-ID: <1143649839.29840.9.camel@...1368...> Well, I want to capture the standard output from my project directly. Mainly because I shell out to other apps without using the "process" object, also my project generates print messages on it's own. Jeff On Wed, 2006-03-29 at 10:14 -0500, Rob Kudla wrote: > On Wed March 29 2006 02:06, GuruLounge - MailLists wrote: > > Is there a way to redirect or capture the "print" standard > > output so I can display it in a textarea? > > It's definitely possible, but you would probably have to do > something complicated like create a named pipe and redirect the > output of your program to that pipe, then open that pipe in > Gambas and read from it to populate the text area. > > Instead, I'd recommend writing a MyPrint method that handles > writing to the text area, so that it's a quick job to redirect > the output wherever you want rather than having to edit every > Print statement in your project. You could just do one search > and replace and that would be the end of it (well, assuming > there are no Print # statements in your project.) > > Rob > > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Wed Mar 29 18:34:40 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 11:34:40 -0500 Subject: [Gambas-user] Help component. In-Reply-To: <1143649677.29840.6.camel@...1368...> References: <1143589904.5535.1.camel@...1368...> <200603291015.13245.sourceforge-raindog2@...94...> <1143649677.29840.6.camel@...1368...> Message-ID: <200603291134.40213.sourceforge-raindog2@...94...> On Wed March 29 2006 11:27, GuruLounge - MailLists wrote: > I tried that, but it DIDN'T work, by using: > textarea1.text = file.load("myfile.html") Well, we were talking about TextView, from gb.qt.ext, not TextArea. Rob From sourceforge-raindog2 at ...94... Wed Mar 29 18:36:11 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 11:36:11 -0500 Subject: [Gambas-user] Capturing or redirecting print output In-Reply-To: <1143649839.29840.9.camel@...1368...> References: <1143616006.15774.1.camel@...1368...> <200603291014.04030.sourceforge-raindog2@...94...> <1143649839.29840.9.camel@...1368...> Message-ID: <200603291136.11546.sourceforge-raindog2@...94...> On Wed March 29 2006 11:30, GuruLounge - MailLists wrote: > Well, I want to capture the standard output from my project > directly. Mainly because I shell out to other apps without > using the "process" object, also my project generates print > messages on it's own. I think the named pipe thing might be the best you can do, then (and I'm not sure it'll catch your child processes' output.) I'm not even sure it would work, it just is the first thing I thought of doing. Rob From gambas at ...1... Wed Mar 29 18:41:04 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Mar 2006 18:41:04 +0200 Subject: [Gambas-user] Help component. In-Reply-To: <1143649677.29840.6.camel@...1368...> References: <1143589904.5535.1.camel@...1368...> <200603291015.13245.sourceforge-raindog2@...94...> <1143649677.29840.6.camel@...1368...> Message-ID: <200603291841.04690.gambas@...1...> On Wednesday 29 March 2006 18:27, GuruLounge - MailLists wrote: > I tried that, but it DIDN'T work, by using: > > textarea1.text = file.load("myfile.html") > > It just displayed the text. Is there a special way to apply the text to > the control so it renders HTML? > > What DID display HTML was the textlabel control. This would be workable > if I could click links and scroll about the page using this control. > > Any other ideas? > > TIA, > Jeff > Is your HTML strictly valid? Does it begin with the "" markup? Otherwise, you can try to set the Path property to the path of your html file. Regards, -- Benoit Minisini From gambas at ...1... Wed Mar 29 18:42:07 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Mar 2006 18:42:07 +0200 Subject: [Gambas-user] Re: Release of gambas 1.9.28 In-Reply-To: <200603291018.30772.sourceforge-raindog2@...94...> References: <200603280007.12097.gambas@...1...> <200603291018.30772.sourceforge-raindog2@...94...> Message-ID: <200603291842.07772.gambas@...1...> On Wednesday 29 March 2006 17:18, Rob Kudla wrote: > On Mon March 27 2006 17:07, Benoit Minisini wrote: > > This release should compile correctly with gcc 3.x having the > > '-fvisibility' option, and fixes some bugs in the MDI > > development environment. > > Thanks for the MDI.... making updated packages now. > > My last MDI version had a bunch of window management stuff (a > Window menu, a little tab bar across the bottom) that this > doesn't, making this version harder to use than either my MDI > version or the old "bunch of little windows" version. Would you > take a patch or are you already focusing on making your own > gb.form Workspace control? > > Rob > I take, I take :-) My own Workspace control will take some time to be done... -- Benoit Minisini From gambas at ...1... Wed Mar 29 18:51:46 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Mar 2006 18:51:46 +0200 Subject: [Gambas-user] Passing programs In-Reply-To: <442AAD8C.9060404@...31...> References: <1143616006.15774.1.camel@...1368...> <200603291014.04030.sourceforge-raindog2@...94...> <442AAD8C.9060404@...31...> Message-ID: <200603291851.46977.gambas@...1...> On Wednesday 29 March 2006 17:53, Adrian Debbeler wrote: > Hi, > one aspect which bars me from deciding for Gambas is that it seems to be > really difficult to pass my programs to others. Is there any alternative > to pass gambas programs more easily (so the receiver has not to install > the whole gambas program?). Of course it would be the best if the > interpreter would be compiled with my own program which has the > advantage that the user does not have to bother about the interpreter etc. > > grosem > There is no reason for a Gambas program to be easier to install than any other program under Linux. The installation process must be centralized in a package manager, for security and administration reasons. Programs too "easy" to install are a bad idea... In ten years, I don't want to have to run an anti-virus on my Linux box that takes 50% of my CPU power like on another OS. :-) When Gambas is correctly packaged on your distribution, installing a program made with the stable version is finally very easy too. The less bad solution IMHO is the klik one, i.e. make an archive of all libraries needed by the gambas program. But this archive won't necessarily run on a system different from the one it was made... So that is far from being my priority today :-) -- Benoit Minisini From gambas at ...1... Wed Mar 29 18:55:38 2006 From: gambas at ...1... (Benoit Minisini) Date: Wed, 29 Mar 2006 18:55:38 +0200 Subject: [Gambas-user] Capturing or redirecting print output In-Reply-To: <200603291136.11546.sourceforge-raindog2@...94...> References: <1143616006.15774.1.camel@...1368...> <1143649839.29840.9.camel@...1368...> <200603291136.11546.sourceforge-raindog2@...94...> Message-ID: <200603291855.38563.gambas@...1...> On Wednesday 29 March 2006 18:36, Rob Kudla wrote: > On Wed March 29 2006 11:30, GuruLounge - MailLists wrote: > > Well, I want to capture the standard output from my project > > directly. Mainly because I shell out to other apps without > > using the "process" object, also my project generates print > > messages on it's own. > > I think the named pipe thing might be the best you can do, then > (and I'm not sure it'll catch your child processes' output.) > I'm not even sure it would work, it just is the first thing I > thought of doing. > > Rob > Maybe something like: hPipe = PIPE Temp$() FOR READ WRITE WATCH OUTPUT TO hPipe ... OUTPUT TO DEFAULT ... PUBLIC SUB File_Read() DIM sStr AS String READ #LAST, sStr, -256 ' Put sStr where you want... END -- Benoit Minisini From dcamposf at ...626... Wed Mar 29 14:54:41 2006 From: dcamposf at ...626... (Daniel Campos) Date: Wed, 29 Mar 2006 14:54:41 +0200 Subject: [Gambas-user] gb.gtk CVS Message-ID: <7259b5ae0603290454u1074f37eqa41cb037e3fe76e1@...627...> Hi: Now the gb.gtk component is available in the gnuLinex CVS, so you can always download the more recent version to test it. To get the more recent gb.gtk sources: cvs -d :pserver:anonymous at ...1409...:/cvsroot/gb-gtk login cvs -d :pserver:anonymous at ...1409...:/cvsroot/gb-gtk checkout gb.gtk * Current CVS version should compile and work with gambas2-1.9.27 and gambas2-1.9.28 You can also browse the CVS sources: http://forjamari.linex.org/plugins/scmcvs/cvsweb.php/?cvsroot=gb-gtk Regards, Daniel Campos * -------------- next part -------------- An HTML attachment was scrubbed... URL: From maillists at ...1367... Wed Mar 29 19:02:59 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 29 Mar 2006 09:02:59 -0800 Subject: [Gambas-user] Help component. In-Reply-To: <200603291841.04690.gambas@...1...> References: <1143589904.5535.1.camel@...1368...> <200603291015.13245.sourceforge-raindog2@...94...> <1143649677.29840.6.camel@...1368...> <200603291841.04690.gambas@...1...> Message-ID: <1143651779.31039.0.camel@...1368...> Okay. I needed to add the component "qt.ext" to use the textview control. This works like it should. All is fine. Thanx for the help. Jeff On Wed, 2006-03-29 at 18:41 +0200, Benoit Minisini wrote: > Is your HTML strictly valid? Does it begin with the "" markup? > Otherwise, you can try to set the Path property to the path of your html > file. > > Regards, > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From mwebb at ...1362... Wed Mar 29 14:06:56 2006 From: mwebb at ...1362... (mike webb) Date: Wed, 29 Mar 2006 12:06:56 +0000 Subject: [Gambas-user] right click menu Message-ID: <442A7860.9050401@...1362...> in a form i call form1 i have a tableview which i call tableview1, when i right click on tableview1 this function fires: PUBLIC SUB TableView1_Menu() mydataview.menu END this calls a class i have created which has the following functions: PUBLIC SUB menu() DIM rightmenu AS Menu DIM addmenuitem AS Menu DIM deletemenuitem AS Menu DIM editmenuitem AS Menu rightmenu = NEW Menu(application.ActiveWindow,FALSE) editmenuitem = NEW Menu(rightmenu,FALSE) addmenuitem = NEW Menu(rightmenu,FALSE) deletemenuitem = NEW Menu(rightmenu,FALSE) deletemenuitem.Text = "delete a row" editmenuitem.Text = "edit a row" addmenuitem.Text = "add a row" rightmenu.Popup END the menu pops up and has "delete a row","edit a row"," add a row" but when i select "edit a row" from the menu the sub editmenuitem_click is never called. PUBLIC SUB editmenuitem_click() message.Info("add") END anyone see what i'm doing wrong ??? From sourceforge-raindog2 at ...94... Wed Mar 29 20:32:30 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 13:32:30 -0500 Subject: [Gambas-user] Re: [Gambas-devel] Gambas Question In-Reply-To: References: Message-ID: <200603291332.31140.sourceforge-raindog2@...94...> On Wed March 29 2006 13:02, Scott, Vince wrote: > In Gambas is there away to cycle through a group of controls?? You pretty much need to make an array of Object in the initialization part of your program and add all the desired controls to it. A good way to do this is to use the Tag property of each control at design time to assign some value to each control so you can pick it up when iterating through the controls. (That is, if you're not using the tag property for something else....) Rob From arcalis.prod at ...11... Wed Mar 29 21:46:04 2006 From: arcalis.prod at ...11... (fabien Bodard) Date: Wed, 29 Mar 2006 21:46:04 +0200 Subject: [Gambas-user] right click menu In-Reply-To: <442A7860.9050401@...1362...> References: <442A7860.9050401@...1362...> Message-ID: <200603292146.04357.arcalis.prod@...11...> Le Mercredi 29 Mars 2006 14:06, mike webb a ?crit?: > in a form i call form1 i have a tableview which i call tableview1, when > i right click on tableview1 this function fires: > > PUBLIC SUB TableView1_Menu() > mydataview.menu > END > > this calls a class i have created which has the following functions: > > > PUBLIC SUB menu() > DIM rightmenu AS Menu > DIM addmenuitem AS Menu > DIM deletemenuitem AS Menu > DIM editmenuitem AS Menu > > rightmenu = NEW Menu(application.ActiveWindow,FALSE) > editmenuitem = NEW Menu(rightmenu,FALSE) > addmenuitem = NEW Menu(rightmenu,FALSE) > deletemenuitem = NEW Menu(rightmenu,FALSE) > > deletemenuitem.Text = "delete a row" > editmenuitem.Text = "edit a row" > addmenuitem.Text = "add a row" > > rightmenu.Popup > END > > the menu pops up and has "delete a row","edit a row"," add a row" but > when i select "edit a row" from the menu the sub editmenuitem_click is > never called. > > PUBLIC SUB editmenuitem_click() > message.Info("add") > END > > anyone see what i'm doing wrong ??? > Yes me :) rightmenu = NEW Menu(application.ActiveWindow,FALSE) editmenuitem = NEW Menu(rightmenu,FALSE) AS "EditMenuItem" addmenuitem = NEW Menu(rightmenu,FALSE) AS "AddMenuItem" deletemenuitem = NEW Menu(rightmenu,FALSE) AS "DeleteMenuItem" it will work. You need to define the events handler by hand when a control is dynamiquely created Regards, Fabien Bodard From mwebb at ...1362... Wed Mar 29 16:31:30 2006 From: mwebb at ...1362... (mike webb) Date: Wed, 29 Mar 2006 14:31:30 +0000 Subject: [Gambas-user] right click menu In-Reply-To: <200603292146.04357.arcalis.prod@...11...> References: <442A7860.9050401@...1362...> <200603292146.04357.arcalis.prod@...11...> Message-ID: <442A9A42.1090307@...1362...> fabien Bodard wrote: >Le Mercredi 29 Mars 2006 14:06, mike webb a ?crit : > > >>in a form i call form1 i have a tableview which i call tableview1, when >>i right click on tableview1 this function fires: >> >>PUBLIC SUB TableView1_Menu() >> mydataview.menu >>END >> >>this calls a class i have created which has the following functions: >> >> >>PUBLIC SUB menu() >> DIM rightmenu AS Menu >> DIM addmenuitem AS Menu >> DIM deletemenuitem AS Menu >> DIM editmenuitem AS Menu >> >> rightmenu = NEW Menu(application.ActiveWindow,FALSE) >> editmenuitem = NEW Menu(rightmenu,FALSE) >> addmenuitem = NEW Menu(rightmenu,FALSE) >> deletemenuitem = NEW Menu(rightmenu,FALSE) >> >> deletemenuitem.Text = "delete a row" >> editmenuitem.Text = "edit a row" >> addmenuitem.Text = "add a row" >> >> rightmenu.Popup >>END >> >>the menu pops up and has "delete a row","edit a row"," add a row" but >>when i select "edit a row" from the menu the sub editmenuitem_click is >>never called. >> >>PUBLIC SUB editmenuitem_click() >> message.Info("add") >>END >> >>anyone see what i'm doing wrong ??? >> >> >> >Yes me :) > rightmenu = NEW Menu(application.ActiveWindow,FALSE) > editmenuitem = NEW Menu(rightmenu,FALSE) AS "EditMenuItem" > addmenuitem = NEW Menu(rightmenu,FALSE) AS "AddMenuItem" > deletemenuitem = NEW Menu(rightmenu,FALSE) AS "DeleteMenuItem" > >it will work. > >You need to define the events handler by hand when a control is dynamiquely >created > >Regards, >Fabien Bodard > >i thought i did when i created the sub: > >PUBLIC SUB editmenuitem_click() > message.Info("add") >END > > isn't that how you create a event handler ?? >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From ronstk at ...239... Wed Mar 29 23:07:30 2006 From: ronstk at ...239... (ron) Date: Wed, 29 Mar 2006 23:07:30 +0200 Subject: [Gambas-user] Re: Release of gambas 1.9.28 In-Reply-To: <200603291842.07772.gambas@...1...> References: <200603280007.12097.gambas@...1...> <200603291018.30772.sourceforge-raindog2@...94...> <200603291842.07772.gambas@...1...> Message-ID: <200603292307.30947.ronstk@...239...> On Wednesday 29 March 2006 18:42, Benoit Minisini wrote: > I take, I take :-) > > My own Workspace control will take some time to be done... > > -- > Benoit Minisini > LOL, There was a time about the 'workspace' and the MDI as VB has. Changed your mind ? :) For the current version the only thing I dislike is the Help browser is in the workspace where the edit windows are. It would be nice to be able to shift it around the whole main container. I mean moving over the project tree. The best would be seperate and hidding if the main window minimize or hides. BTW, The gambas-new with sidebars is a beauty to see, is that still in mind? :):) Greets Ron From ronstk at ...239... Wed Mar 29 23:14:20 2006 From: ronstk at ...239... (ron) Date: Wed, 29 Mar 2006 23:14:20 +0200 Subject: [Gambas-user] Help component. In-Reply-To: <1143651779.31039.0.camel@...1368...> References: <1143589904.5535.1.camel@...1368...> <200603291841.04690.gambas@...1...> <1143651779.31039.0.camel@...1368...> Message-ID: <200603292314.20380.ronstk@...239...> On Wednesday 29 March 2006 19:02, GuruLounge - MailLists wrote: > Okay. I needed to add the component "qt.ext" to use the textview > control. This works like it should. All is fine. Thanx for the help. > > Jeff > > On Wed, 2006-03-29 at 18:41 +0200, Benoit Minisini wrote: > > > Is your HTML strictly valid? Does it begin with the "" markup? > > Otherwise, you can try to set the Path property to the path of your html > > file. > > > > Regards, > > Do I understand it right the *TextView* is a html-browser-part with links clickable working ? Ron From ronstk at ...239... Wed Mar 29 23:29:47 2006 From: ronstk at ...239... (ron) Date: Wed, 29 Mar 2006 23:29:47 +0200 Subject: [Gambas-user] Passing programs In-Reply-To: <200603291117.37283.sourceforge-raindog2@...94...> References: <1143616006.15774.1.camel@...1368...> <442AAD8C.9060404@...31...> <200603291117.37283.sourceforge-raindog2@...94...> Message-ID: <200603292329.47167.ronstk@...239...> On Wednesday 29 March 2006 18:17, Rob Kudla wrote: > small client to be installed on the target machines. ?No one has > been able to package Gambas for klik yet, but there's no reason > it should be impossible. > Correction Rob The klik://gambas2 dit exist and was made by Kurt Pfeife. He dropped a mail to a list of developers Benoit, you, Nigel, Daniel and many others including me. (date 2005-11-01) The version he used for recipe was gambas2-1.9.20-0.gvb Suse9.3 I did respond to Kurt about it. You was also with comments here. Also I have used it, I had no developer packages installed to create the binairies at that time, and it did work. This could be for distribution of end-user programs as source or in compiled form. ---- Ron From ronstk at ...239... Wed Mar 29 23:44:26 2006 From: ronstk at ...239... (ron) Date: Wed, 29 Mar 2006 23:44:26 +0200 Subject: [Gambas-user] Passing programs In-Reply-To: <200603291851.46977.gambas@...1...> References: <1143616006.15774.1.camel@...1368...> <442AAD8C.9060404@...31...> <200603291851.46977.gambas@...1...> Message-ID: <200603292344.26248.ronstk@...239...> On Wednesday 29 March 2006 18:51, Benoit Minisini wrote: > The less bad solution IMHO is the klik one, i.e. make an archive of all > libraries needed by the gambas program. But this archive won't necessarily > run on a system different from the one it was made... > I agree, if that make sence. The version I did try was made on SuSE 9.3 I'm using SuSE 9.2, i know not to different. The installed extra libraries where from Debian if I understood Kurt correct. And id did work. :) > So that is far from being my priority today :-) > I do understand it. :) Ron From maillists at ...1367... Thu Mar 30 02:50:50 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Wed, 29 Mar 2006 16:50:50 -0800 Subject: [Gambas-user] Help component. In-Reply-To: <200603292314.20380.ronstk@...239...> References: <1143589904.5535.1.camel@...1368...> <200603291841.04690.gambas@...1...> <1143651779.31039.0.camel@...1368...> <200603292314.20380.ronstk@...239...> Message-ID: <1143679850.9525.1.camel@...1368...> >From what I can see the TextView is just that -- an html browser with clickable links. The idea behind the links is they get passed to the "link" event for the textview control. I suppose you handle them manually at that point... not too sure though. I'll know more when I get into actually using the control. Jeff On Wed, 2006-03-29 at 23:14 +0200, ron wrote: > Do I understand it right the *TextView* is a html-browser-part with > links clickable working ? > > Ron -- .^. /V\ /( )\ ^^-^^ Linux Advocate From capelz at ...626... Thu Mar 30 02:47:41 2006 From: capelz at ...626... (Clarke Pelz) Date: Wed, 29 Mar 2006 15:47:41 -0900 Subject: [Gambas-user] Database connection problem in 1.How to correct an error in a non-existent line? Message-ID: <1f6b78520603291647o1fabc766j87c7d082c114229a@...627...> I have a form which appears to be 709 lines long in Gambas' editor (in kate too.) When I try to run it I get an error saying I have a previously declared control in line 751. Any ideas what might be causing the problem, or how I might troubleshoot? Thanks a lot. -- -Clarke. From sourceforge-raindog2 at ...94... Thu Mar 30 05:10:27 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 22:10:27 -0500 Subject: [Gambas-user] Database connection problem in 1.How to correct an error in a non-existent line? In-Reply-To: <1f6b78520603291647o1fabc766j87c7d082c114229a@...627...> References: <1f6b78520603291647o1fabc766j87c7d082c114229a@...627...> Message-ID: <200603292210.27946.sourceforge-raindog2@...94...> On Wed March 29 2006 19:47, Clarke Pelz wrote: > I have a form which appears to be 709 lines long in Gambas' > editor (in kate too.) When I try to run it I get an error > saying I have a previously declared control in line 751. Any > ideas what might be causing the problem, or how I might > troubleshoot? Thanks a lot. -- I'm going to guess that you used the Gambas language feature where you end a line with "&" and continue the string on the next line. That always screwed up my line number counts. If you didn't, could you post the offending source file? Thanks Rob From sourceforge-raindog2 at ...94... Thu Mar 30 05:18:47 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 29 Mar 2006 22:18:47 -0500 Subject: [Gambas-user] Passing programs In-Reply-To: <200603292329.47167.ronstk@...239...> References: <1143616006.15774.1.camel@...1368...> <200603291117.37283.sourceforge-raindog2@...94...> <200603292329.47167.ronstk@...239...> Message-ID: <200603292218.48156.sourceforge-raindog2@...94...> On Wed March 29 2006 16:29, ron wrote: > The klik://gambas2 dit exist and was made by Kurt Pfeife. > > He dropped a mail to a list of developers Benoit, you, Nigel, > Daniel and many others including me. (date 2005-11-01) > The version he used for recipe was gambas2-1.9.20-0.gvb > Suse9.3 > > I did respond to Kurt about it. You was also with comments > here. Also I have used it, I had no developer packages I misunderstood, then.... I thought he was posting to us because he had a problem with his klik package and wanted someone involved with Gambas to take it over. This is good news. > This could be for distribution of end-user programs as source > or in compiled form. Yeah, the next step would be to figure out a way to make a klik package of a Gambas program without including the IDE and everything else. Rob From jscops at ...11... Thu Mar 30 05:41:02 2006 From: jscops at ...11... (Jacky) Date: Thu, 30 Mar 2006 05:41:02 +0200 Subject: [Gambas-user] Laurus In-Reply-To: <200603291855.38563.gambas@...1...> References: <1143616006.15774.1.camel@...1368...> <200603291136.11546.sourceforge-raindog2@...94...> <200603291855.38563.gambas@...1...> Message-ID: <200603300541.02670.jscops@...11...> Hello everybody, Now Laurus works with Gambas 2. You can test it at 'http://www.laurux.fr'. Thank's to tell me errors you can found and all you think about my research. Of course, you can translate it if you want. ~? Jscops ?~ From ronstk at ...239... Thu Mar 30 06:36:14 2006 From: ronstk at ...239... (ron) Date: Thu, 30 Mar 2006 06:36:14 +0200 Subject: [Gambas-user] Passing programs In-Reply-To: <200603292218.48156.sourceforge-raindog2@...94...> References: <1143616006.15774.1.camel@...1368...> <200603292329.47167.ronstk@...239...> <200603292218.48156.sourceforge-raindog2@...94...> Message-ID: <200603300636.15646.ronstk@...239...> On Thursday 30 March 2006 05:18, Rob Kudla wrote: > On Wed March 29 2006 16:29, ron wrote: > > The klik://gambas2 dit exist and was made by Kurt Pfeife. > > > > He dropped a mail to a list of developers Benoit, you, Nigel, > > Daniel and many others including me. (date 2005-11-01) > > The version he used for recipe was gambas2-1.9.20-0.gvb > > Suse9.3 > > > > I did respond to Kurt about it. You was also with comments > > here. Also I have used it, I had no developer packages > > I misunderstood, then.... I thought he was posting to us because > he had a problem with his klik package and wanted someone > involved with Gambas to take it over. This is good news. Not with the klik package, he is one of the project members of it. His problem was he does not know how to work with Gambas to be able to check it was correct for a working system. He wanted a *profesional* checks his work was done OK. And yes, may be a person to take over was also welkom. He made a start receipt to go on with it. The big start was done. > > > This could be for distribution of end-user programs as source > > or in compiled form. > > Yeah, the next step would be to figure out a way to make a klik > package of a Gambas program without including the IDE and > everything else. > > Rob > In fact a end user should only need the runtime gbx and supporting gb.lib.xxxx of the components used. Together with the gb precompiled source or the gb?'s he need to compile the apps source to pseudo binary. No need for IDE. I see here the version conflicts of gb.qt against the installed one by enduser. I have 3.3 , xxx has 3.4 and zzz has 4.0 all on suse9.2 other use the same 3 qt versions but on gentoo. So it wil not easy. For klik I understood: A programmer makes the program with the IDE. Then he makes a receipt containing his application. Adds the needed component libraries names to the receipt. This receipt goes to the website including package of his product. The client get the receipt he wish. The clients installer get the package with the application and the needed, the gb and external, libraries all named in receipt from the klik distribution website. This all put together in a .cmg file by the installer. Kurt did it with suse9.3, compiling gambas. the receipt/package sendout was suse for gb, the libries en external libs all together build as one .cmg file. That should run on suse, mandrake and others as a whole mounted suse system. And yes you do have in example two times the curl libs ( or mysql client) The programmer can also make the cmg file himself. Then i get your mandrake curl and gambas on my suse system extra at seperate place. Need only big Harddisk extra :) With this file mounted as disk by the same installer in the /temp directory the client can run the application. As far I understood the binairies for i.e. curl are from debian the gb.lib.xxxx binaries he made are in the websites pool to. The application could be posible in source and can be compiled with gbx from the runtime package or the programmer must do it on the same (stable)(debian) version in the pool. It is a bit simple told but for simple applications it could work. Simple apps are those that do not need many external libraries where version conflicts can happen. He did it with SuSE9.3 for test and that worked for me with 9.2 May be the binaries for gambas must be premade for other distro's That way no need to put the whole mysql in the cmg file but the local can be used. But the most bad thing is for mysql 3, 4 and 5 on suse, debian, gentoo etc. that are already 9 gb.lib.mysql modules. So it depends havely on what the programmer made/used. Thats the reason Benoit likes more the enduser install gambas fully and do it himself, and only one source tarbal. :) I understand why. Ron From wghdir at ...1413... Thu Mar 30 07:20:45 2006 From: wghdir at ...1413... (=?gb2312?B?zuK527qj?=) Date: Thu, 30 Mar 2006 13:20:45 +0800 (CST) Subject: [Gambas-user] =?gb2312?B?dHJ5IGVycm9y?= Message-ID: <442B6AAD.000016.13582@...1414...> I use slackware10.0, i can not install gambas2-1.6.28 ./configure --not error make --error ,i send pic to you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: error.JPG Type: image/pjpeg Size: 107720 bytes Desc: not available URL: From atlantis at ...1415... Thu Mar 30 07:31:54 2006 From: atlantis at ...1415... (=?UTF-8?B?T251ciDDllpERU3EsFI=?=) Date: Thu, 30 Mar 2006 08:31:54 +0300 Subject: [Gambas-user] try error In-Reply-To: <442B6AAD.000016.13582@...1414...> References: <442B6AAD.000016.13582@...1414...> Message-ID: <442B6D4A.2050703@...1415...> use this command ./configure --disable-v4l ??? yazm??: > I use slackware10.0, i can not install gambas2-1.6.28 > ./configure --not error > make --error ,i send pic to you > > > > > =============================================== > ????????TOM??????????1.5G?????? > > > ???? ???? > ????? ???? > > > ?????(http://sr.tom.com)? ??? > ??? > ??? > ?? > ???????? > > ???????(http://mm.tom.com/ivr/) ? ????? > > ???? > > ?????? > > ???????? > > > ???????(http://mm.tom.com/cailing/)? ??????? > > ??????? > > ???? > > ????? > > =============================================== > > > ------------------------------------------------------------------------ > From ronstk at ...239... Thu Mar 30 07:37:21 2006 From: ronstk at ...239... (ron) Date: Thu, 30 Mar 2006 07:37:21 +0200 Subject: [Gambas-user] try error In-Reply-To: <442B6AAD.000016.13582@...1414...> References: <442B6AAD.000016.13582@...1414...> Message-ID: <200603300737.21168.ronstk@...239...> On Thursday 30 March 2006 07:20, ??? wrote: > I use slackware10.0, i can not install gambas2-1.6.28 > ./configure --not error > make --error ,i send pic to you > > Or install v4l-devel for slackware From eilert-sprachen at ...221... Thu Mar 30 08:53:12 2006 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 30 Mar 2006 08:53:12 +0200 Subject: [Gambas-user] 1.9.28 IDE doesn't come up In-Reply-To: <442A4E52.4080907@...221...> References: <442A4E52.4080907@...221...> Message-ID: <442B8058.8040406@...221...> Good morning, bonjour tout le monde, this morning when I started my KDE, Gambas2 came up 4 times. These were the 4 Gambas copies I started yesterday. Obviously, the IDE runs somewhere, but it is not visible. What can I do? Maybe this has to do with the new MDI surface? Rolf Eilert schrieb: > > > I compiled 1.9.28, no problem, but after choosing a project from the > first window, the IDE doesn't appear. When I start gambas2 from a > terminal, the prompt won't come back until I press Ctrl+C. > > My system is a Suse 9.1 and runs on a server, I have an X server > connected to it. > > The previous version ran flawlessly here. > > Rolf > From gambas at ...1... Thu Mar 30 09:23:42 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Mar 2006 09:23:42 +0200 Subject: [Gambas-user] 1.9.28 IDE doesn't come up In-Reply-To: <442B8058.8040406@...221...> References: <442A4E52.4080907@...221...> <442B8058.8040406@...221...> Message-ID: <200603300923.42365.gambas@...1...> On Thursday 30 March 2006 08:53, Eilert wrote: > Good morning, bonjour tout le monde, > > this morning when I started my KDE, Gambas2 came up 4 times. These were > the 4 Gambas copies I started yesterday. > > Obviously, the IDE runs somewhere, but it is not visible. > > What can I do? Maybe this has to do with the new MDI surface? > > Rolf > Try to remove (or rename) the ~/.config/gambas/gambas2.conf file to see if it helps. Regards, -- Benoit Minisini From eilert-sprachen at ...221... Thu Mar 30 09:41:57 2006 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 30 Mar 2006 09:41:57 +0200 Subject: [Gambas-user] 1.9.28 IDE doesn't come up In-Reply-To: <200603300923.42365.gambas@...1...> References: <442A4E52.4080907@...221...> <442B8058.8040406@...221...> <200603300923.42365.gambas@...1...> Message-ID: <442B8BC5.2000203@...221...> Benoit Minisini schrieb: > On Thursday 30 March 2006 08:53, Eilert wrote: >> Good morning, bonjour tout le monde, >> >> this morning when I started my KDE, Gambas2 came up 4 times. These were >> the 4 Gambas copies I started yesterday. >> >> Obviously, the IDE runs somewhere, but it is not visible. >> >> What can I do? Maybe this has to do with the new MDI surface? >> >> Rolf >> > > Try to remove (or rename) the ~/.config/gambas/gambas2.conf file to see if it > helps. > > Regards, > Yes and no ;-) Now I can see the tip of the day, but nothing else. When I close the tip, nothing remains. Regards, Rolf From grosem at ...31... Thu Mar 30 14:37:54 2006 From: grosem at ...31... (Adrian Debbeler) Date: Thu, 30 Mar 2006 14:37:54 +0200 Subject: [Gambas-user] Textarea In-Reply-To: <200603291855.38563.gambas@...1...> References: <1143616006.15774.1.camel@...1368...> <1143649839.29840.9.camel@...1368...> <200603291136.11546.sourceforge-raindog2@...94...> <200603291855.38563.gambas@...1...> Message-ID: <442BD122.8030605@...31...> Hi, how can I read/delete a line in a textarea (not the whole text but only one line). Thanks for your help Adrian From mwebb at ...1362... Thu Mar 30 08:54:33 2006 From: mwebb at ...1362... (mike webb) Date: Thu, 30 Mar 2006 06:54:33 +0000 Subject: [Gambas-user] dynamic popup menu, right click Message-ID: <442B80A9.5080308@...1362...> still havn't figured out this problem, tried reducing the problem by simplifing some stuff but it still doesnt work: what i'm trying to do is catch the "click" event from a dynamicly created "right click" popup menu. in form1 i have these public variables: PUBLIC rightmenu AS Menu PUBLIC addmenuitem AS Menu PUBLIC deletemenuitem AS Menu PUBLIC editmenuitem AS Menu in form1 i have created a tableview called tableview1, and this sub: PUBLIC SUB TableView1_Menu() rightmenu = NEW Menu(form1,FALSE) editmenuitem = NEW Menu(rightmenu,FALSE) addmenuitem = NEW Menu(rightmenu,FALSE) deletemenuitem = NEW Menu(rightmenu,FALSE) deletemenuitem.Text = "delete a row" editmenuitem.Text = "edit a row" addmenuitem.Text = "add a row" rightmenu.Popup END to catch the click event for editmenuitem i have created this sub: PUBLIC SUB editmenuitem_click() message.Info("edit was selected") END doesn't work, when i right click on tableview1 the menu comes up. when i select "edit a row" the menu disappears but i can't catch the "click" event. anyone know why ?? has anyone made the right click popup menu work with a dynamicly created menu ?? From eilert-sprachen at ...221... Thu Mar 30 17:47:42 2006 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 30 Mar 2006 17:47:42 +0200 Subject: [Gambas-user] Wiki: DO doesn't answer In-Reply-To: <200603291257.19656.gambas@...1...> References: <442A63F6.7000107@...221...> <200603291257.19656.gambas@...1...> Message-ID: <442BFD9E.9010609@...221...> Benoit Minisini schrieb: > On Wednesday 29 March 2006 12:39, Eilert wrote: >> I wanted to translate "DO" into German, but the page doesn't come, >> neither in English nor in German. >> >> Anything wrong with that page? >> >> Rolf >> > > I fixed it. The problem comes from a '<=' in the example that should be > quoted, otherwise the wiki interprets the '<' as a markup that is not > closed... A sort of bug :-) > > Regards, > Ok, thank you. I translated DO. Then I found WHILE has a loading error, too. And now there is a question of mine: In the BASIC manuals I've got here (PowerBasic or VB for example), the syntax of block commands like loops or IF etc. is written somewhat more in detail. VB does it this way: DO [{While|Until}condition] [statementblock] [Exit Do] [statementblock] Loop Do [statementblock] [Exit Do] [statementblock] Loop [{While|Until}condition] Then they add a "Remarks" table listing the parts of the structure: Part Description Do Must be the first... etc. While does this... Until does that... bla... PB does it this way (better in my eyes): Function DO/LOOP defines a group of commands repeated until a certain condition is true Syntax DO [{WHILE|UNTIL}expression] . . . commands [EXIT LOOP] [ITERATE LOOP] . . . {LOOP|WEND}|{{WHILE|UNTIL}expression} Explanation ... now there is a bit lengthy explanation with a lot of examples trying to show every and each possible way of using it. Anyway, what would you say if in the Wiki we would try to make the explanation for the loops and IF and SELECT things a bit more like that. What I mean is, not only 1 line of syntax but several lines including the end of the structure and the optional BREAK or CONTINUE? Maybe more examples etc. Bonsoir Rolf From gambas at ...1... Thu Mar 30 18:21:50 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Mar 2006 18:21:50 +0200 Subject: [Gambas-user] Wiki: DO doesn't answer In-Reply-To: <442BFD9E.9010609@...221...> References: <442A63F6.7000107@...221...> <200603291257.19656.gambas@...1...> <442BFD9E.9010609@...221...> Message-ID: <200603301821.51120.gambas@...1...> On Thursday 30 March 2006 17:47, Eilert wrote: > Benoit Minisini schrieb: > > On Wednesday 29 March 2006 12:39, Eilert wrote: > >> I wanted to translate "DO" into German, but the page doesn't come, > >> neither in English nor in German. > >> > >> Anything wrong with that page? > >> > >> Rolf > > > > I fixed it. The problem comes from a '<=' in the example that should be > > quoted, otherwise the wiki interprets the '<' as a markup that is not > > closed... A sort of bug :-) > > > > Regards, > > Ok, thank you. I translated DO. > > Then I found WHILE has a loading error, too. OK. Fixed... > > And now there is a question of mine: > > In the BASIC manuals I've got here (PowerBasic or VB for example), the > syntax of block commands like loops or IF etc. is written somewhat more > in detail. > > VB does it this way: > > DO [{While|Until}condition] > [statementblock] > [Exit Do] > [statementblock] > Loop > > Do > [statementblock] > [Exit Do] > [statementblock] > Loop [{While|Until}condition] > > Then they add a "Remarks" table listing the parts of the structure: > > Part Description > > Do Must be the first... etc. > While does this... > Until does that... > bla... > > > PB does it this way (better in my eyes): > > Function > > DO/LOOP defines a group of commands repeated until a certain condition > is true > > Syntax > > DO [{WHILE|UNTIL}expression] > . > . > . > commands > [EXIT LOOP] > [ITERATE LOOP] > . > . > . > {LOOP|WEND}|{{WHILE|UNTIL}expression} > > Explanation > ... > now there is a bit lengthy explanation with a lot of examples trying to > show every and each possible way of using it. > > > Anyway, what would you say if in the Wiki we would try to make the > explanation for the loops and IF and SELECT things a bit more like that. > What I mean is, not only 1 line of syntax but several lines including > the end of the structure and the optional BREAK or CONTINUE? Maybe more > examples etc. > > Bonsoir > Rolf > Do it for one structure, and I will tell you if I find it good :-) and if you can do the same for the other structures. Regards, -- Benoit Minisini From gambas at ...1... Thu Mar 30 18:23:25 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Mar 2006 18:23:25 +0200 Subject: [Gambas-user] dynamic popup menu, right click In-Reply-To: <442B80A9.5080308@...1362...> References: <442B80A9.5080308@...1362...> Message-ID: <200603301823.25156.gambas@...1...> On Thursday 30 March 2006 08:54, mike webb wrote: > still havn't figured out this problem, tried reducing the problem by > simplifing some stuff but it still doesnt work: > what i'm trying to do is catch the "click" event from a dynamicly > created "right click" popup menu. > in form1 i have these public variables: > PUBLIC rightmenu AS Menu > PUBLIC addmenuitem AS Menu > PUBLIC deletemenuitem AS Menu > PUBLIC editmenuitem AS Menu > > in form1 i have created a tableview called tableview1, and this sub: > PUBLIC SUB TableView1_Menu() > rightmenu = NEW Menu(form1,FALSE) > editmenuitem = NEW Menu(rightmenu,FALSE) > addmenuitem = NEW Menu(rightmenu,FALSE) > deletemenuitem = NEW Menu(rightmenu,FALSE) > deletemenuitem.Text = "delete a row" > editmenuitem.Text = "edit a row" > addmenuitem.Text = "add a row" > rightmenu.Popup > END You must assign an event name to your newly created controls, as Fabien told you. Otherwise your menu won't raise any event! Regards, -- Benoit Minisini From gambas at ...1... Thu Mar 30 18:25:16 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Mar 2006 18:25:16 +0200 Subject: [Gambas-user] Any idea to response to DCOP call in gambas programe? In-Reply-To: <9235bcbc0603290250q6d8098c2oa50543b064c8f524@...627...> References: <9235bcbc0603290250q6d8098c2oa50543b064c8f524@...627...> Message-ID: <200603301825.17025.gambas@...1...> On Wednesday 29 March 2006 12:50, William Lee wrote: > Hi, > Does anyone have an idea to response to DCOP call in gambas? Or > it's not supported in gambas? It's exciting to me. Thanks. > > William > This is not supported by the KDE component at the moment. There is a plan for supporting DBUS in the future. Maybe there will be a DCOP server component too, or maybe KDE 4 will be out, and DCOP dropped? I don't know... Regards, -- Benoit Minisini From gambas at ...1... Thu Mar 30 18:26:24 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Mar 2006 18:26:24 +0200 Subject: [Gambas-user] 1.9.28 IDE doesn't come up In-Reply-To: <442B8BC5.2000203@...221...> References: <442A4E52.4080907@...221...> <200603300923.42365.gambas@...1...> <442B8BC5.2000203@...221...> Message-ID: <200603301826.24437.gambas@...1...> On Thursday 30 March 2006 09:41, Eilert wrote: > Benoit Minisini schrieb: > > On Thursday 30 March 2006 08:53, Eilert wrote: > >> Good morning, bonjour tout le monde, > >> > >> this morning when I started my KDE, Gambas2 came up 4 times. These were > >> the 4 Gambas copies I started yesterday. > >> > >> Obviously, the IDE runs somewhere, but it is not visible. > >> > >> What can I do? Maybe this has to do with the new MDI surface? > >> > >> Rolf > > > > Try to remove (or rename) the ~/.config/gambas/gambas2.conf file to see > > if it helps. > > > > Regards, > > Yes and no ;-) Now I can see the tip of the day, but nothing else. When > I close the tip, nothing remains. > > Regards, > > Rolf > Strange... YOu will find the non-MDI IDE in the sources if you need. The project name is 'gambas2-old'. Regards, -- Benoit Minisini From sourceforge-raindog2 at ...94... Thu Mar 30 19:02:50 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 30 Mar 2006 12:02:50 -0500 Subject: [Gambas-user] Textarea In-Reply-To: <442BD122.8030605@...31...> References: <1143616006.15774.1.camel@...1368...> <200603291855.38563.gambas@...1...> <442BD122.8030605@...31...> Message-ID: <200603301202.50491.sourceforge-raindog2@...94...> On Thu March 30 2006 07:37, Adrian Debbeler wrote: > how can I read/delete a line in a textarea (not the whole text > but only one line). Something like this: dim ar as new String[] ar = split(textarea1.text, "\n") if ar[4] = "Please delete me, let me go" then ar.remove(4) endif textarea1.text = ar.join("\n"); I don't know if all that syntax is good, but it should be pretty close. Rob From maillists at ...1367... Thu Mar 30 19:49:32 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 30 Mar 2006 09:49:32 -0800 Subject: [Gambas-user] To store or not to store... Message-ID: <1143740972.1440.5.camel@...1368...> I've an interesting dilema: In my project I want to be able to mount and unmount file systems, I also will need to be able to access password protected shares. MOUNT requires the root password in most cases. What do you think is the best idea... 1) ask for passwords once per session, keeping them in memory until the session ends. 2) store the password in an encrypted file and use them as needed. 3) ask for the password everytime the resource is accessed. After considering this I could just make an option panel with the above three selections and let the user choose... I'm only asking because I know root passwords are a pretty touch subject given certain security issues. What's your take on this? Jeff -- .^. /V\ /( )\ ^^-^^ Linux Advocate From sourceforge-raindog2 at ...94... Thu Mar 30 19:54:34 2006 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 30 Mar 2006 12:54:34 -0500 Subject: [Gambas-user] To store or not to store... In-Reply-To: <1143740972.1440.5.camel@...1368...> References: <1143740972.1440.5.camel@...1368...> Message-ID: <200603301254.35160.sourceforge-raindog2@...94...> On Thu March 30 2006 12:49, GuruLounge - MailLists wrote: > MOUNT requires the root password in most cases. What do you > think is the best idea... > 1) ask for passwords once per session, keeping them in memory > 2) store the password in an encrypted file and use them as > 3) ask for the password everytime the resource is accessed. 4) sudo. Learn it, use it, love it. That's how I handled exactly what you're describing in a Gambas application of my own. You should never, ever keep a root password on disk anywhere, even encrypted, if it's accessible programmatically. If for some reason you can't use sudo, I think the "prompt once, keep it in memory" approach is the most reasonable. Rob From katsancat at ...11... Thu Mar 30 20:40:21 2006 From: katsancat at ...11... (Bertrand-Xavier M.) Date: Thu, 30 Mar 2006 20:40:21 +0200 Subject: [Gambas-user] To store or not to store... In-Reply-To: <1143740972.1440.5.camel@...1368...> References: <1143740972.1440.5.camel@...1368...> Message-ID: <200603302040.22113.katsancat@...11...> On Thursday 30 March 2006 19:49, GuruLounge - MailLists wrote: > I've an interesting dilema: > > In my project I want to be able to mount and unmount file systems, I > also will need to be able to access password protected shares. > > MOUNT requires the root password in most cases. What do you think is > the best idea... > > 1) ask for passwords once per session, keeping them in memory until the > session ends. > > 2) store the password in an encrypted file and use them as needed. > > 3) ask for the password everytime the resource is accessed. > > After considering this I could just make an option panel with the above > three selections and let the user choose... > > I'm only asking because I know root passwords are a pretty touch subject > given certain security issues. > > What's your take on this? > > Jeff I'd go for #1 unless client has sudo installed as Rob pointed out. From mwebb at ...1362... Thu Mar 30 14:35:15 2006 From: mwebb at ...1362... (mike webb) Date: Thu, 30 Mar 2006 12:35:15 +0000 Subject: [Gambas-user] dynamic popup menu, right click In-Reply-To: <200603301823.25156.gambas@...1...> References: <442B80A9.5080308@...1362...> <200603301823.25156.gambas@...1...> Message-ID: <442BD083.3080401@...1362...> boy i sure understand that i must assign an event name to your newly created controls i'm trying that with the sub PUBLIC SUB editmenuitem_click() message.Info("edit was selected") END this sub is for the newly created control PUBLIC editmenuitem AS Menu notice how i've placed the _click after the control name. is that not correct ?? the email that you replied with does not have this sub in it, look a the original that i sent, it should be their. Benoit Minisini wrote: >On Thursday 30 March 2006 08:54, mike webb wrote: > > >>still havn't figured out this problem, tried reducing the problem by >>simplifing some stuff but it still doesnt work: >>what i'm trying to do is catch the "click" event from a dynamicly >>created "right click" popup menu. >>in form1 i have these public variables: >>PUBLIC rightmenu AS Menu >>PUBLIC addmenuitem AS Menu >>PUBLIC deletemenuitem AS Menu >>PUBLIC editmenuitem AS Menu >> >>in form1 i have created a tableview called tableview1, and this sub: >>PUBLIC SUB TableView1_Menu() >> rightmenu = NEW Menu(form1,FALSE) >> editmenuitem = NEW Menu(rightmenu,FALSE) >> addmenuitem = NEW Menu(rightmenu,FALSE) >> deletemenuitem = NEW Menu(rightmenu,FALSE) >> deletemenuitem.Text = "delete a row" >> editmenuitem.Text = "edit a row" >> addmenuitem.Text = "add a row" >> rightmenu.Popup >>END >> >> > >You must assign an event name to your newly created controls, as Fabien told >you. Otherwise your menu won't raise any event! > >Regards, > > > From maillists at ...1367... Thu Mar 30 21:27:25 2006 From: maillists at ...1367... (GuruLounge - MailLists) Date: Thu, 30 Mar 2006 11:27:25 -0800 Subject: [Gambas-user] To store or not to store... In-Reply-To: <200603302040.22113.katsancat@...11...> References: <1143740972.1440.5.camel@...1368...> <200603302040.22113.katsancat@...11...> Message-ID: <1143746845.4232.0.camel@...1368...> with that in mind, how do I properly overwrite or erase a string so the contents are gone from memory. Jeff > I'd go for #1 unless client has sudo installed as Rob pointed out. > > > -- .^. /V\ /( )\ ^^-^^ Linux Advocate From jfabiani at ...1109... Thu Mar 30 20:45:23 2006 From: jfabiani at ...1109... (johnf) Date: Thu, 30 Mar 2006 10:45:23 -0800 Subject: [Gambas-user] Re: [Gambas-devel] Gambas Question In-Reply-To: <200603291332.31140.sourceforge-raindog2@...94...> References: <200603291332.31140.sourceforge-raindog2@...94...> Message-ID: <200603301045.23591.jfabiani@...1109...> On Wednesday 29 March 2006 10:32, Rob Kudla wrote: > On Wed March 29 2006 13:02, Scott, Vince wrote: > > In Gambas is there away to cycle through a group of controls?? > > You pretty much need to make an array of Object in the > initialization part of your program and add all the desired > controls to it. > > A good way to do this is to use the Tag property of each control > at design time to assign some value to each control so you can > pick it up when iterating through the controls. (That is, if > you're not using the tag property for something else....) > > Rob I think this went to the wrong person. But as a side note I use the tag for identifying the table,field, do not update (#) and if is it a primary key (P). Some thing like 'arcust,custno,P' in the tag. John From ronstk at ...239... Thu Mar 30 21:59:24 2006 From: ronstk at ...239... (ron) Date: Thu, 30 Mar 2006 21:59:24 +0200 Subject: [Gambas-user] Wiki: DO doesn't answer In-Reply-To: <200603301821.51120.gambas@...1...> References: <442A63F6.7000107@...221...> <442BFD9E.9010609@...221...> <200603301821.51120.gambas@...1...> Message-ID: <200603302159.25121.ronstk@...239...> On Thursday 30 March 2006 18:21, Benoit Minisini wrote: > Do it for one structure, and I will tell you if I find it good :-) and if you > can do the same for the other structures. > First the VB/PB examples They tell you clear the while|until can be used only once, after DO or after LOOP. This is better then PB. The VB 'Remarks' explaining the parts in detail is not so bad. PB is misleading you can use the expresion at two places. About condition and expresion. In fact VB is correct with condition. From ronstk at ...239... Thu Mar 30 22:15:10 2006 From: ronstk at ...239... (ron) Date: Thu, 30 Mar 2006 22:15:10 +0200 Subject: [Gambas-user] dynamic popup menu, right click In-Reply-To: <442B80A9.5080308@...1362...> References: <442B80A9.5080308@...1362...> Message-ID: <200603302215.10910.ronstk@...239...> On Thursday 30 March 2006 08:54, mike webb wrote: > has anyone made the right click popup menu work with a dynamicly created > menu ?? > You can find an very excelent dynamic example in FEditor.class of the IDE source code as "Function CreateMenu()" (c) Benoit Minisini :) around line 369. Not easy at first view but a lttle study and you see how wel it is made. The master parent for the Menu is in the main menu bar, set as hidden. Look with "menu edit"or someting like that on the popup menu when click on the form :) One did make a seperate form for his menu(s). The idea is not so bad as you can easy use the same menu on different forms/projects. In brief it look as follow PRIVATE SUB CreateMenu() 'line 369 DIM xxx as yyy .... INC Application.Busy mnuGoto.Children.Clear 'get data cSymbol = CComponent.GetClassSymbols(Name, TRUE) ' filter wanted data FOR EACH hSymbol IN cSymbol IF LCase(hSymbol.Kind) <> "m" THEN CONTINUE IF hSymbol.LineNumber = 0 THEN CONTINUE cFunc.Add(hSymbol.Name) NEXT ' arrange is cFunc.Sort(gb.Text) hParent = mnuGoto FOR EACH sName IN cFunc ... hSymbol = cSymbol[sName] sFullName = sName ... hParent = NEW Menu(mnuGoto) hParent.Text = sNewParent ... hMenu = NEW Menu(hParent) AS "mnuGoto" hMenu.Text = sName hMenu.Tag = hSymbol.LineNumber - 1 ... NEXT ... mnuGoto.Visible = cFunc.count > 0 mnuSepGoto.Visible = cFunc.count > 0 UpdateMenu DEC Application.Busy END ---- Ron From gambas at ...1... Thu Mar 30 23:36:10 2006 From: gambas at ...1... (Benoit Minisini) Date: Thu, 30 Mar 2006 23:36:10 +0200 Subject: [Gambas-user] dynamic popup menu, right click In-Reply-To: <442BD083.3080401@...1362...> References: <442B80A9.5080308@...1362...> <200603301823.25156.gambas@...1...> <442BD083.3080401@...1362...> Message-ID: <200603302336.10747.gambas@...1...> On Thursday 30 March 2006 14:35, mike webb wrote: > boy i sure understand that i > > must assign an event name to your newly created controls > i'm trying that with the sub > > PUBLIC SUB editmenuitem_click() > message.Info("edit was selected") > END > > > this sub is for the newly created control > > PUBLIC editmenuitem AS Menu > > notice how i've placed the _click after the control name. > is that not correct ?? > > the email that you replied with does not have this sub in it, look a the > original that i sent, it should be their. > > Benoit Minisini wrote: > >On Thursday 30 March 2006 08:54, mike webb wrote: > >>still havn't figured out this problem, tried reducing the problem by > >>simplifing some stuff but it still doesnt work: > >>what i'm trying to do is catch the "click" event from a dynamicly > >>created "right click" popup menu. > >>in form1 i have these public variables: > >>PUBLIC rightmenu AS Menu > >>PUBLIC addmenuitem AS Menu > >>PUBLIC deletemenuitem AS Menu > >>PUBLIC editmenuitem AS Menu > >> > >>in form1 i have created a tableview called tableview1, and this sub: > >>PUBLIC SUB TableView1_Menu() > >> rightmenu = NEW Menu(form1,FALSE) > >> editmenuitem = NEW Menu(rightmenu,FALSE) > >> addmenuitem = NEW Menu(rightmenu,FALSE) > >> deletemenuitem = NEW Menu(rightmenu,FALSE) > >> deletemenuitem.Text = "delete a row" > >> editmenuitem.Text = "edit a row" > >> addmenuitem.Text = "add a row" > >> rightmenu.Popup > >>END > > > >You must assign an event name to your newly created controls, as Fabien > > told you. Otherwise your menu won't raise any event! > > > >Regards, Read the mail of Fabien Bodard carefully again: ?editmenuitem = NEW Menu(rightmenu,FALSE) AS "EditMenuItem" ?addmenuitem = NEW Menu(rightmenu,FALSE) AS "AddMenuItem" ?deletemenuitem = NEW Menu(rightmenu,FALSE) AS "DeleteMenuItem" Do you notice the AS "xxx" after the NEW? That defines the event name of the object, and allows it to raise events. Regards, -- Benoit Minisini From williamlee1982 at ...626... Fri Mar 31 01:47:47 2006 From: williamlee1982 at ...626... (William Lee) Date: Fri, 31 Mar 2006 07:47:47 +0800 Subject: [Gambas-user] Any idea to response to DCOP call in gambas programe? In-Reply-To: <200603301825.17025.gambas@...1...> References: <9235bcbc0603290250q6d8098c2oa50543b064c8f524@...627...> <200603301825.17025.gambas@...1...> Message-ID: <9235bcbc0603301547t13f91e3er4b718dde2b32ee46@...627...> Yes, that's a problem. However, a similar component will greatly help, and people can implement more complex function in their programs. DBUS supporting plan is a good news! Thanks Benoit. Wishes William 2006/3/31, Benoit Minisini : > On Wednesday 29 March 2006 12:50, William Lee wrote: > > Hi, > > Does anyone have an idea to response to DCOP call in gambas? Or > > it's not supported in gambas? It's exciting to me. Thanks. > > > > William > > > > This is not supported by the KDE component at the moment. > > There is a plan for supporting DBUS in the future. Maybe there will be a DCOP > server component too, or maybe KDE 4 will be out, and DCOP dropped? I don't > know... > > Regards, > > -- > Benoit Minisini > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Fri Mar 31 09:49:22 2006 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 31 Mar 2006 09:49:22 +0200 Subject: [Gambas-user] 1.9.28 IDE doesn't come up In-Reply-To: <200603301826.24437.gambas@...1...> References: <442A4E52.4080907@...221...> <200603300923.42365.gambas@...1...> <442B8BC5.2000203@...221...> <200603301826.24437.gambas@...1...> Message-ID: <442CDF02.1010800@...221...> Benoit Minisini schrieb: > On Thursday 30 March 2006 09:41, Eilert wrote: >> Benoit Minisini schrieb: >>> On Thursday 30 March 2006 08:53, Eilert wrote: >>>> Good morning, bonjour tout le monde, >>>> >>>> this morning when I started my KDE, Gambas2 came up 4 times. These were >>>> the 4 Gambas copies I started yesterday. >>>> >>>> Obviously, the IDE runs somewhere, but it is not visible. >>>> >>>> What can I do? Maybe this has to do with the new MDI surface? >>>> >>>> Rolf >>> Try to remove (or rename) the ~/.config/gambas/gambas2.conf file to see >>> if it helps. >>> >>> Regards, >> Yes and no ;-) Now I can see the tip of the day, but nothing else. When >> I close the tip, nothing remains. >> >> Regards, >> >> Rolf >> > > Strange... YOu will find the non-MDI IDE in the sources if you need. The > project name is 'gambas2-old'. > > Regards, > I've been searching, but I don't find it. Maybe I just don't know how to handle your information... :-) When I was in the server room, I tried to start it directly there, but the same happens: The tip of the day comes up, when you close it you see nothing. But I understand that MDI is supposed to be the standard interface now? Wouldn't it be fair to let the user decide which kind of interface to prefer? Personally, I dislike MDI for programming because the editor window is squeezed between the palettes and menues, and often I enlarge the editor to full size to get a maximum overview. I would really miss that feature... Regards, Rolf From eilert-sprachen at ...221... Fri Mar 31 09:54:27 2006 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 31 Mar 2006 09:54:27 +0200 Subject: [Gambas-user] Wiki: DO doesn't answer In-Reply-To: <200603302159.25121.ronstk@...239...> References: <442A63F6.7000107@...221...> <442BFD9E.9010609@...221...> <200603301821.51120.gambas@...1...> <200603302159.25121.ronstk@...239...> Message-ID: <442CE033.7090602@...221...> ron schrieb: > On Thursday 30 March 2006 18:21, Benoit Minisini wrote: >> Do it for one structure, and I will tell you if I find it good :-) and if you >> can do the same for the other structures. >> > > First the VB/PB examples > They tell you clear the while|until can be used only once, after DO or after LOOP. > This is better then PB. As far as I remember, PB allowed usage at two places at a time - but it's not very sensible... > The VB 'Remarks' explaining the parts in detail is not so bad. Yes, it's true. In many cases, this table was enough to browse through and get an overview of the functionality. > PB is misleading you can use the expresion at two places. See above. > > About condition and expresion. > In fact VB is correct with condition. Ok, I agree one should use the correct word, I'll use it in my example. We can discuss it then. > The suggestion made by Eilert about layout is IMHO a good one. Thank you, but now I've got a lot of work to do :-) Rolf From eilert-sprachen at ...221... Fri Mar 31 11:32:49 2006 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 31 Mar 2006 11:32:49 +0200 Subject: [Gambas-user] Wiki: DO doesn't answer In-Reply-To: <200603301821.51120.gambas@...1...> References: <442A63F6.7000107@...221...> <200603291257.19656.gambas@...1...> <442BFD9E.9010609@...221...> <200603301821.51120.gambas@...1...> Message-ID: <442CF741.8020201@...221...> >> Then I found WHILE has a loading error, too. > > OK. Fixed... Tanks. > >> > > Do it for one structure, and I will tell you if I find it good :-) and if you > can do the same for the other structures. > > Regards, > Ok, I've done something with the DO page. Take a look at it and tell me if you like it. One question just came up: CONTINUE - does it jump directly to the beginning, or does it jump to the end of the loop to check for UNTIL? Does it evaluate the Condition (WHILE or UNTIL) or does it just repeat the loop? Rolf From gambas at ...1... Fri Mar 31 13:26:14 2006 From: gambas at ...1... (Benoit Minisini) Date: Fri, 31 Mar 2006 13:26:14 +0200 Subject: [Gambas-user] Wiki: DO doesn't answer In-Reply-To: <442CF741.8020201@...221...> References: <442A63F6.7000107@...221...> <200603301821.51120.gambas@...1...> <442CF741.8020201@...221...> Message-ID: <200603311326.14634.gambas@...1...> On Friday 31 March 2006 11:32, Eilert wrote: > >> Then I found WHILE has a loading error, too. > > > > OK. Fixed... > > Tanks. > > > Do it for one structure, and I will tell you if I find it good :-) and if > > you can do the same for the other structures. > > > > Regards, > > Ok, I've done something with the DO page. Take a look at it and tell me > if you like it. > I modified the page: there is no two syntax of DO...LOOP. You can write DO WHILE...REPEAT UNTIL! > One question just came up: > > CONTINUE - does it jump directly to the beginning, or does it jump to > the end of the loop to check for UNTIL? Does it evaluate the Condition > (WHILE or UNTIL) or does it just repeat the loop? > > Rolf > CONTINUE jumps to the end of the loop, and evaluates the end condition if it exists. Regards, -- Benoit Minisini From mwebb at ...1362... Fri Mar 31 08:57:19 2006 From: mwebb at ...1362... (mike webb) Date: Fri, 31 Mar 2006 06:57:19 +0000 Subject: [Gambas-user] dynamic popup menu, right click In-Reply-To: <200603302336.10747.gambas@...1...> References: <442B80A9.5080308@...1362...> <200603301823.25156.gambas@...1...> <442BD083.3080401@...1362...> <200603302336.10747.gambas@...1...> Message-ID: <442CD2CF.4040604@...1362...> Benoit Minisini wrote: >On Thursday 30 March 2006 14:35, mike webb wrote: > > >>boy i sure understand that i >> >>must assign an event name to your newly created controls >>i'm trying that with the sub >> >>PUBLIC SUB editmenuitem_click() >> message.Info("edit was selected") >>END >> >> >>this sub is for the newly created control >> >>PUBLIC editmenuitem AS Menu >> >>notice how i've placed the _click after the control name. >>is that not correct ?? >> >>the email that you replied with does not have this sub in it, look a the >>original that i sent, it should be their. >> >>Benoit Minisini wrote: >> >> >>>On Thursday 30 March 2006 08:54, mike webb wrote: >>> >>> >>>>still havn't figured out this problem, tried reducing the problem by >>>>simplifing some stuff but it still doesnt work: >>>>what i'm trying to do is catch the "click" event from a dynamicly >>>>created "right click" popup menu. >>>>in form1 i have these public variables: >>>>PUBLIC rightmenu AS Menu >>>>PUBLIC addmenuitem AS Menu >>>>PUBLIC deletemenuitem AS Menu >>>>PUBLIC editmenuitem AS Menu >>>> >>>>in form1 i have created a tableview called tableview1, and this sub: >>>>PUBLIC SUB TableView1_Menu() >>>> rightmenu = NEW Menu(form1,FALSE) >>>> editmenuitem = NEW Menu(rightmenu,FALSE) >>>> addmenuitem = NEW Menu(rightmenu,FALSE) >>>> deletemenuitem = NEW Menu(rightmenu,FALSE) >>>> deletemenuitem.Text = "delete a row" >>>> editmenuitem.Text = "edit a row" >>>> addmenuitem.Text = "add a row" >>>> rightmenu.Popup >>>>END >>>> >>>> >>>You must assign an event name to your newly created controls, as Fabien >>>told you. Otherwise your menu won't raise any event! >>> >>>Regards, >>> >>> > >Read the mail of Fabien Bodard carefully again: > > editmenuitem = NEW Menu(rightmenu,FALSE) AS "EditMenuItem" > addmenuitem = NEW Menu(rightmenu,FALSE) AS "AddMenuItem" > deletemenuitem = NEW Menu(rightmenu,FALSE) AS "DeleteMenuItem" > >Do you notice the AS "xxx" after the NEW? That defines the event name of the >object, and allows it to raise events. > >Regards, > > > Read the mail of Fabien Bodard carefully again: editmenuitem = NEW Menu(rightmenu,FALSE) AS "EditMenuItem" yes you are correct, i looked right at it and still didn't see it. discovered this for myself last night while i was going over the IDE source code. theirs A LOT of things that can be learned by reading that source code. i believe i'm going to be doing a lot of source code reading over the next few weeks. btw thanks everyone for helping. upgrading to fedora core 5 today, afterwards i hope to be able to compile the lastest dev. version of gambas. (then i'll be able to give you guys reallllly big headaches) From rohnny at ...1248... Fri Mar 31 15:20:22 2006 From: rohnny at ...1248... (R. Stormo) Date: Fri, 31 Mar 2006 05:20:22 -0800 (PST) Subject: [Gambas-user] dynamic popup menu, right click In-Reply-To: <442CD2CF.4040604@...1362...> References: <442B80A9.5080308@...1362...> <200603301823.25156.gambas@...1...> <442BD083.3080401@...1362...> <200603302336.10747.gambas@...1...> <442CD2CF.4040604@...1362...> Message-ID: <3689176.post@...1379...> There is an popup menu example under codesnippets here http://forum.stormweb.no Think you should see what it done. Regards R. Stormo -- View this message in context: http://www.nabble.com/dynamic-popup-menu%2C-right-click-t1368287.html#a3689176 Sent from the gambas-user forum at Nabble.com. From ronstk at ...239... Fri Mar 31 15:25:47 2006 From: ronstk at ...239... (ron) Date: Fri, 31 Mar 2006 15:25:47 +0200 Subject: [Gambas-user] 1.9.28 IDE doesn't come up In-Reply-To: <442CDF02.1010800@...221...> References: <442A4E52.4080907@...221...> <200603301826.24437.gambas@...1...> <442CDF02.1010800@...221...> Message-ID: <200603311525.48291.ronstk@...239...> On Friday 31 March 2006 09:49, Eilert wrote: > Benoit Minisini schrieb: > > On Thursday 30 March 2006 09:41, Eilert wrote: > >> Benoit Minisini schrieb: > >>> On Thursday 30 March 2006 08:53, Eilert wrote: > >>>> Good morning, bonjour tout le monde, > >>>> > >>>> this morning when I started my KDE, Gambas2 came up 4 times. These were > >>>> the 4 Gambas copies I started yesterday. > >>>> > >>>> Obviously, the IDE runs somewhere, but it is not visible. > >>>> > >>>> What can I do? Maybe this has to do with the new MDI surface? > >>>> > >>>> Rolf > >>> Try to remove (or rename) the ~/.config/gambas/gambas2.conf file to see > >>> if it helps. > >>> > >>> Regards, > >> Yes and no ;-) Now I can see the tip of the day, but nothing else. When > >> I close the tip, nothing remains. > >> > >> Regards, > >> > >> Rolf > >> > > > > Strange... YOu will find the non-MDI IDE in the sources if you need. The > > project name is 'gambas2-old'. > > > > Regards, > > > > I've been searching, but I don't find it. Maybe I just don't know how to > handle your information... :-) > At the place you unpack gambas app <--- spec src <--- doc.cgi gambas2 <-- renme to 'gambas2-sdi' gambas2-old <-- rename to 'gambas2-mdi' gambas2-with-editor comp examples ... do in direcrtory src a shortlink as: ln -s gambas2-mdi gambas2 go back to do 'make install' Just did try myself for verify and it worked! (Maybe a 'make install' in the 'app' directory works too, more quick) > When I was in the server room, I tried to start it directly there, but > the same happens: The tip of the day comes up, when you close it you see > nothing. > > But I understand that MDI is supposed to be the standard interface now? > Wouldn't it be fair to let the user decide which kind of interface to > prefer? Personally, I dislike MDI for programming because the editor > window is squeezed between the palettes and menues, and often I enlarge > the editor to full size to get a maximum overview. I would really miss > that feature... > > Regards, > > Rolf >