From gambasfr at ...11... Sat Jan 1 00:09:15 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 1 Jan 2005 00:09:15 +0100 Subject: [Gambas-user] Happy new year 2005 Message-ID: <200501010009.15445.gambasfr@...11...> Happy new year.... to all Thank to Benoit for his beautyfull tool Fabien Bodard From lordheavy at ...512... Sat Jan 1 00:16:31 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 1 Jan 2005 00:16:31 +0100 Subject: [Gambas-user] Happy New Year Message-ID: <200501010016.31879.lordheavy@...512...> Happy New Year From France, To all Coders, Users, Newbies, Rookies ! -- Laurent Carlier From leo.barnhoorn at ...246... Sat Jan 1 00:52:51 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sat, 1 Jan 2005 00:52:51 +0100 Subject: [Gambas-user] Happy New Year In-Reply-To: <200501010016.31879.lordheavy@...512...> References: <200501010016.31879.lordheavy@...512...> Message-ID: <200501010052.52038.leo.barnhoorn@...246...> Hello All. Happy New Year From The Netherlands, Leo. From na2492 at ...9... Sat Jan 1 02:31:21 2005 From: na2492 at ...9... (Charlie Reinl) Date: Sat, 1 Jan 2005 02:31:21 00100 Subject: [Gambas-user] germany 2:40 am Message-ID: <41d5fd69.1ac6.0@...9...> Salut, just comming home from a party with friends. I found it. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From w7aac at ...758... Sat Jan 1 04:39:58 2005 From: w7aac at ...758... (W7AAC) Date: Fri, 31 Dec 2004 19:39:58 -0800 Subject: [Gambas-user] Happy New Year Message-ID: <200412311939.58220.w7aac@...758...> Happy New Year To All And Congratulations On Gambas 1.0 Release Bruce Perrine -- 100% Microsoft Free Slackware Linux v10.0 From bundeshund at ...467... Sat Jan 1 09:52:14 2005 From: bundeshund at ...467... (HMB) Date: Sat, 1 Jan 2005 09:52:14 +0100 Subject: [Gambas-user] GAMBAS 1.0 IS RELEASED - HAPPY NEW YEAR! In-Reply-To: <200412311917.46331.gambas@...1...> References: <200412311917.46331.gambas@...1...> Message-ID: <200501010952.14434.bundeshund@...467...> Am Freitag, 31. Dezember 2004 19:17 schrieb Benoit Minisini: > Here is GAMBAS 1.0 :-) :7D Time to go to my local fish-dealer and get some realy ones. jummy... And http://www.fosdem.org/2005/index/speakers/speakers_minisini is a gift, too (Thanks Laurent). I work with that guy's tools, but he looks trustily enough that i can store my data based on his work ;7) > HAPPY NEW YEAR TO EVERYBODY! Happy New Year all gambanasian! Hans-Martin > > I can hear some people says: at least! > > BUT DO NOT USE THE PACKAGE BEFORE MIDNIGHT! It is a present. (thanks to > MPlayer for the idea) > > There are very few changes between this release and the RC6. See the > ChangeLog for more information. > > I will create a 1.1 tree on my hard disk, and then I will be able to start > to merge some pending contributions, and start to add new features again. > > Try to not find too many bugs in this version so that I don't have to > release a 1.0.1 too early :-) > > HAPPY NEW YEAR TO EVERYBODY! From sourceforge-raindog2 at ...94... Sat Jan 1 19:18:46 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 1 Jan 2005 13:18:46 -0500 Subject: [Gambas-user] No slashdotting this time... Message-ID: <200501011318.46608.sourceforge-raindog2@...94...> The editors rejected my submission about 1.0 (probably whoever was looking at submissions early this morning wasn't a BASIC fan :) ) so unless one of you guys wants to submit a story, we won't be getting slashdotted this time. Rob From karl.reinl at ...9... Sat Jan 1 23:20:02 2005 From: karl.reinl at ...9... (Charlie) Date: Sat, 01 Jan 2005 23:20:02 +0100 Subject: [Gambas-user] Progressbar References: <41d569f0.1e0e.0@...9...> <200412311644.14044.scatman_@...17...> Message-ID: <41D72212.2000703@...9...> scatman schrieb: >Am Freitag, 31. Dezember 2004 17:02 schrieb Charlie Reinl: > >Hi, > > > >>Salut, >> >>without seeing the code , I would say >> >>try a WAIT in the loop >> >> >> > >Here the Code (Wait don't Helps) > >PUBLIC hNew AS FStatus >FStatus.Visible = TRUE >____________________ > > > > >(Main) > >########################################################## > >PUBLIC SUB ProgressBar_Timer(OPTIONAL Result$ AS String ) > >DIM ckSize AS File >DIM x AS Integer >DIM z AS Integer >DIM PTimer AS Float >'DIM result AS String >DIM VobSize[21] AS Float > >'nach vorhandenen VOBs gucken. Zur Berechnung von PTimer > >FOR x = 20 TO 0 STEP - 1 > FOR z = 20 TO 0 STEP - 1 > IF Exist(sPath &/lsDVD&/"VIDEO_TS/VTS_0" & x & "_" & z & ".VOB") THEN >OPEN sPath&/lsDVD&/"VIDEO_TS/VTS_0" & x & "_" & z & ".VOB" FOR READ AS #ckSize > VobSize[x] = Lof(ckSize) > SummeGesammt = SummeGesammt + VobSize[x] / 1024 * 1000 > END IF > NEXT >NEXT > > PTimer = Round(SummeGesammt * 100 / FilmLaengeKb) > > Result$ = Str(PTimer) > >'This one works in the Main > >ProgressBar1.Value = Mid$(Result$, 1,1) & "." & Mid$(Result$, 3.1) & >Mid$(Result$,4,1) > >SummeGesammt = 0 >hNew = NEW FStatus (Result$) > >END > >################################################################ > >'Gambas Class file >'Form2 (FStatus) > >PUBLIC SUB _New (OPTIONAL result$ AS String ) > >' and this one dont work > >ProgressBar1.Value = Mid$(Result$, 1,1) & "." & Mid$(Result$, 3.1) & >Mid$(Result$,4,1) > >'but i can Print the Values out in the DirektWindow > >PRINT "Value in FORM 2 = ", Mid$(Result$, 1,1) & "." & Mid$(Result$, 3.1) & >Mid$(Result$,4,1) > >END > > Salut, to see it just add a ME.show before END of the _New in FStatus. Your FStatus.Visible = TRUE does nothing, and replace not the Show, only says FStatus is visible. BUT why the hell do you make that in _new ? You create every time a new Form to show the result (hope you close then correctly after). Better would be to open the Form once, then you use a Public Sub to update the Progressbar. public sub updPrgBar(result$ AS String ) -------- here your code from FStatus _new end and then you call it by FStatus.updPrgBar(Result$ ) from the first Form. Amicalment Charlie From paul.renhard at ...759... Sun Jan 2 12:17:41 2005 From: paul.renhard at ...759... (Paul Renhard) Date: Sun, 02 Jan 2005 11:17:41 +0000 Subject: [Gambas-user] Hi and case-insensitive text searches? Message-ID: <41D7D855.4090100@...759...> Hi, Firstly, this is my first post so: Hi, I'm Paul form UK and I've just started using Gambas because I'm a Linux newb and I haven't got the time or inclination to learn python or C or whatever! I really like Gambas because it lets me create GUI apps quickly in code I (mostly!) understand. Many thanks to Benoit and contributers for Gambas! Now, my first problem is that I'm doing a simple text search using Instr(). This works fine but is case sensitive, I would like to do a case-insensitve search! Is there an easy way of doing this or am I going to have to code a little loop that takes each character of the search string and converts its case for searching? Thanks, Paul From leo.barnhoorn at ...246... Sun Jan 2 12:29:07 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 2 Jan 2005 12:29:07 +0100 Subject: [Gambas-user] Hi and case-insensitive text searches? In-Reply-To: <41D7D855.4090100@...759...> References: <41D7D855.4090100@...759...> Message-ID: <200501021229.07716.leo.barnhoorn@...246...> Hello Paul, Welcome and a happy new year. Just use Lower$, LCase$ or Upper$, UCase$. Look in the help browser, Gambas. Regards, Leo. On Sunday 02 January 2005 12:17, Paul Renhard wrote: > Hi, > > Firstly, this is my first post so: Hi, I'm Paul form UK and I've just > started using Gambas because I'm > a Linux newb and I haven't got the time or inclination to learn python > or C or whatever! I really like > Gambas because it lets me create GUI apps quickly in code I (mostly!) > understand. Many thanks to Benoit > and contributers for Gambas! > > Now, my first problem is that I'm doing a simple text search using > Instr(). This works fine but is case > sensitive, I would like to do a case-insensitve search! Is there an easy > way of doing this or am I going to have to code a little loop that takes > each character of the search string and converts its case for searching? > > Thanks, Paul > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ew at ...753... Sun Jan 2 12:34:39 2005 From: ew at ...753... (Eckhart =?iso-8859-1?q?W=F6rner?=) Date: Sun, 2 Jan 2005 12:34:39 +0100 Subject: [Gambas-user] Hi and case-insensitive text searches? In-Reply-To: <41D7D855.4090100@...759...> References: <41D7D855.4090100@...759...> Message-ID: <200501021234.39961.ew@...753...> Hi, Am Sonntag, 2. Januar 2005 12:17 schrieb Paul Renhard: > Now, my first problem is that I'm doing a simple text search using > Instr(). This works fine but is case > sensitive, I would like to do a case-insensitve search! Is there an easy > way of doing this or am I going to have to code a little loop that takes > each character of the search string and converts its case for searching? the easiest way is to convert both strings to lower case and then compare them: PRINT Instr(Lower("This is the string you are searching in"), Lower("String")) ' Returns 13 Eckhart -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From fagonzalez at ...760... Sun Jan 2 14:12:00 2005 From: fagonzalez at ...760... (Fernando Gonzalez) Date: Sun, 2 Jan 2005 10:12:00 -0300 Subject: [Gambas-user] Grid Message-ID: Hello I'm new in gambas (in Linux too), I'm good and experiencie programer in Vb, Gambas Like me. Now question, Can I change colours in grid by row?, How? a great hug from Rosario-Argentina Fernando A. Gonzalez From mike_keehan at ...679... Sun Jan 2 15:01:26 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Sun, 02 Jan 2005 14:01:26 +0000 Subject: [Gambas-user] ComboBox.Clear ??? In-Reply-To: <41D594DE.6020702@...755...> References: <41D594DE.6020702@...755...> Message-ID: <41D7FEB6.5000103@...679...> Hi Jay, Jay Loos wrote: > This is labeled ComboBox.Clear because I was testing out the widgets on > Gambas and I wanted to just clear the information in the ComboBox but > for some reason the combobox is transformed to a text input box with no > access to the list of the combobox. > > In other words I create a ComboBox with like 10 names to choose from. > Running the program the ComboBox shows in the window with the abilty to > choose one of the 10 names. That all works fine. Now I add a button to > the application ; lets call it a Clear button and put the code in it > like so : " ComboBox1.Clear ". We run the application again and I am > able to choose a name from the combobox as usual but now I get lazy and > hit the Clear button just because I want to do it that way. The > ComboBox1 clears and I want to choose another name from ComboBox1 but I > cannot access the list. I left click the mouse button on the arrow and > no list appears. I can type in the ComboBox but again no list. Hmmmmm. > > To correct this problem I have put a band aid on it but redoing the code > like so : " ComboBox1.Text = " "" " If I do that I still get > access the the ComboBox list and the ComboBox is then cleared of > whatever is in it. > As you have found out, ComboBox.Clear will clear all the list. If you just want to clear the displayed name, try ComboBox.Text = "". You may need to include a blank entry in your list of names for this to work. Setting the ComboBox.Text to one of the names in the list will highlight that name when you click the arrow button on the combo box. Mike. From gambas at ...1... Sun Jan 2 15:51:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 2 Jan 2005 15:51:35 +0100 Subject: [Gambas-user] Hi and case-insensitive text searches? In-Reply-To: <200501021234.39961.ew@...753...> References: <41D7D855.4090100@...759...> <200501021234.39961.ew@...753...> Message-ID: <200501021551.35544.gambas@...1...> On Sunday 02 January 2005 12:34, Eckhart W?rner wrote: > Hi, > > Am Sonntag, 2. Januar 2005 12:17 schrieb Paul Renhard: > > Now, my first problem is that I'm doing a simple text search using > > Instr(). This works fine but is case > > sensitive, I would like to do a case-insensitve search! Is there an easy > > way of doing this or am I going to have to code a little loop that takes > > each character of the search string and converts its case for searching? > > the easiest way is to convert both strings to lower case and then compare > them: > > PRINT Instr(Lower("This is the string you are searching in"), > Lower("String")) ' Returns 13 > > Eckhart I just want to warn that these functions only works in ASCII. If you need international comparison, look at the String class. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Jan 2 15:58:22 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 2 Jan 2005 15:58:22 +0100 Subject: [Gambas-user] No slashdotting this time... In-Reply-To: <200501011318.46608.sourceforge-raindog2@...94...> References: <200501011318.46608.sourceforge-raindog2@...94...> Message-ID: <200501021558.22779.gambas@...1...> On Saturday 01 January 2005 19:18, Rob wrote: > The editors rejected my submission about 1.0 (probably whoever > was looking at submissions early this morning wasn't a BASIC fan > > :) ) so unless one of you guys wants to submit a story, we won't > > be getting slashdotted this time. > > Rob > Hi, Rob. I have problems with Mandrake packaging, and I need help! 1) The packages you make work. This is not the problem :-) 2) The packages made by Mandrake employees don't work. Their dependencies are false, they raise an error when you urpmi them. What .spec files do they use ??? How to replace their packages by yours ? 3) There are still deprecated Gambas packages in Cooker. How can they be removed ? Do you have an idea about how to solve these problems ? Regards, -- Benoit Minisini mailto:gambas at ...1... From ew at ...753... Sun Jan 2 16:57:04 2005 From: ew at ...753... (Eckhart =?iso-8859-15?q?W=F6rner?=) Date: Sun, 2 Jan 2005 16:57:04 +0100 Subject: [Gambas-user] Hi and case-insensitive text searches? In-Reply-To: <200501021551.35544.gambas@...1...> References: <41D7D855.4090100@...759...> <200501021234.39961.ew@...753...> <200501021551.35544.gambas@...1...> Message-ID: <200501021657.09813.ew@...753...> Hi Benoit, Am Sonntag, 2. Januar 2005 15:51 schrieb Benoit Minisini: > > PRINT Instr(Lower("This is the string you are searching in"), > > Lower("String")) ' Returns 13 > > I just want to warn that these functions only works in ASCII. If you need > international comparison, look at the String class. Hm, yes, you're right. I added it to the wiki. Eckhart -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From jayloos at ...755... Sun Jan 2 16:47:07 2005 From: jayloos at ...755... (Jay Loos) Date: Sun, 02 Jan 2005 09:47:07 -0600 Subject: [Gambas-user] RE:ComboBox Clear ??? Message-ID: <41D8177B.5040102@...755...> Thank you for the reply. I was under the impression the ComboBox1.Clear just cleared the Text entry itself and not the whole list. I will go back to reading more of the manual now. ;) Thank you once again for your time. From leo.barnhoorn at ...246... Sun Jan 2 18:16:16 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 2 Jan 2005 18:16:16 +0100 Subject: [Gambas-user] Error! In-Reply-To: <200412252107.19796.bundeshund@...467...> References: <200412240140.28471.leo.barnhoorn@...246...> <200412240218.45493.leo.barnhoorn@...246...> <200412252107.19796.bundeshund@...467...> Message-ID: <200501021816.16821.leo.barnhoorn@...246...> Hello Stefan, I have update the systems to SuSE 9.2 and they are running well, only in SuSE 9.2 all the develop packages are gone. So i have to download them from the internet, after done that it was possible to compile Gambas. Now all is working well, not all but that is a question for Benoit. Thanks. Regards, Leo. On Saturday 25 December 2004 21:07, HMB wrote: > Am Freitag, 24. Dezember 2004 02:18 schrieb Leo Barnhoorn: > > Hello Stefan, > > > > Thanks for the information, yes here it is also running on a 9.0 and 9.1 > > system. So the best thing i can do is to update this system to 9.1 or > > maybe to 9.2 now it is realy goodby for SuSE 8.2 > > 8.1 or 8.2? For 8.2 i found this: > ftp://ftp.suse.com/pub/suse/i386/supplementary/KDE/update_for_8.2/yast-sour >ce what you have to enter as an installation-source in/with yast and after > that go to 'install/delete software' using yast and update all blue-written > entries by selecting the filter to 'selections'-->zzzzz(all) [at the > bottom] to see all availably packages... (be sure to select all > blue-written entries!) > > But i don't know if this solves your problem. if not, well, then you have > updatet your KDE to a higher version... But this can get your system much > slower as i recogniced on my laptop :( it was ok with 8.2 and not usable > with 9.1 out-of-the-box... now i run blackbox on it :) > > HTH > > HM > > > Thanks Stefan. > > > > Regards, > > Leo. > > > > On Friday 24 December 2004 02:07, Stefan Lamprecht wrote: > > > dear leo, > > > > > > your installed version of qtlib on suse 8.1 is probably to old. > > > i had compile problems on my laptop running an older 8.2 suse, (not > > > only) therefor i updated. > > > i compiled and run RC5 successfull on suse 9.1 and 9.2 > > > you may find some KDE update for suse 8.1 on their ftp, which can be > > > installed with yast via system update. > > > its likly that this includes the most recent qt lib availiable for suse > > > 8.1, but i can t say if this is qt pack is new enough to support > > > recent gambas. > > > > > > you may consider to compile qt from recent source to get gambas working > > > but this is a delicate operation which requires more than basic skills, > > > especially when you are running KDE > > > > > > > > > > > > m. > > > > > > Am Freitag, 24. Dezember 2004 01:40 schrieb Leo Barnhoorn: > > > > Hello Benoit, > > > > > > > > On my system running with SuSE 8.1 i get a error when i do make > > > > install on gambas-0.99.RC5. > > > > > > > > This error comes when the make install comes at the point : > > > > Creating the library info files...... > > > > > > > > The error it give is : /opt/gambas/lib/gambas/lib.gb.qt.so: > > > > /opt/gambas/lib/gambas/lib.gb.qt.so: undefined symbol: > > > > _ZN110MessageBox10closeEventEP110CloseEvent > > > > > > > > configure : OK > > > > make : OK > > > > > > > > I have tryed with reconf and i get the same error. > > > > > > > > Deleted the gambas directory still the same error. > > > > > > > > Can you help me. > > > > > > > > Regards, > > > > Leo. > > > > > > > > > > > > ------------------------------------------------------- > > > > SF email is sponsored by - The IT Product Guide > > > > Read honest & candid reviews on hundreds of IT Products from real > > > > users. Discover which products truly live up to the hype. Start > > > > reading now. http://productguide.itmanagersjournal.com/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------- > > > SF email is sponsored by - The IT Product Guide > > > Read honest & candid reviews on hundreds of IT Products from real > > > users. Discover which products truly live up to the hype. Start reading > > > now. http://productguide.itmanagersjournal.com/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From leo.barnhoorn at ...246... Sun Jan 2 18:24:47 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 2 Jan 2005 18:24:47 +0100 Subject: [Gambas-user] QApplication::postEvent: Unexpected null receiver Message-ID: <200501021824.48035.leo.barnhoorn@...246...> Hello Benoit, First i want to thank you for Gambas version 1.0 and a really good new year. Question : I get the messages "QApplication::postEvent: Unexpected null receiver" I put a TableView on a Form and fill it with data and when i close the Form this messages is shown in the console. Form without a TableView is no problem they will close without the messages. What can i do about this? The system is running now with SuSE 9.2 Regards, Leo. From gambas at ...1... Sun Jan 2 18:38:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 2 Jan 2005 18:38:35 +0100 Subject: [Gambas-user] QApplication::postEvent: Unexpected null receiver In-Reply-To: <200501021824.48035.leo.barnhoorn@...246...> References: <200501021824.48035.leo.barnhoorn@...246...> Message-ID: <200501021838.35209.gambas@...1...> On Sunday 02 January 2005 18:24, Leo Barnhoorn wrote: > Hello Benoit, > > First i want to thank you for Gambas version 1.0 > and a really good new year. > > Question : > I get the messages "QApplication::postEvent: Unexpected null receiver" > > I put a TableView on a Form and fill it with data and when i close the Form > this messages is shown in the console. Form without a TableView is no > problem they will close without the messages. > > What can i do about this? > > The system is running now with SuSE 9.2 > > Regards, > Leo. > I get it too. It comes from Qt, but I didn't succeed in eradicate this message. I will continue to investigate... Regards, -- Benoit Minisini mailto:gambas at ...1... From leo.barnhoorn at ...246... Sun Jan 2 18:57:23 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 2 Jan 2005 18:57:23 +0100 Subject: [Gambas-user] QApplication::postEvent: Unexpected null receiver In-Reply-To: <200501021838.35209.gambas@...1...> References: <200501021824.48035.leo.barnhoorn@...246...> <200501021838.35209.gambas@...1...> Message-ID: <200501021857.23571.leo.barnhoorn@...246...> Hello Benoit, Ok, thanks. Regards, Leo. On Sunday 02 January 2005 18:38, Benoit Minisini wrote: > On Sunday 02 January 2005 18:24, Leo Barnhoorn wrote: > > Hello Benoit, > > > > First i want to thank you for Gambas version 1.0 > > and a really good new year. > > > > Question : > > I get the messages "QApplication::postEvent: Unexpected null receiver" > > > > I put a TableView on a Form and fill it with data and when i close the > > Form this messages is shown in the console. Form without a TableView is > > no problem they will close without the messages. > > > > What can i do about this? > > > > The system is running now with SuSE 9.2 > > > > Regards, > > Leo. > > I get it too. It comes from Qt, but I didn't succeed in eradicate this > message. I will continue to investigate... > > Regards, From sourceforge-raindog2 at ...94... Sun Jan 2 19:47:16 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 2 Jan 2005 13:47:16 -0500 Subject: [Gambas-user] No slashdotting this time... In-Reply-To: <200501021558.22779.gambas@...1...> References: <200501011318.46608.sourceforge-raindog2@...94...> <200501021558.22779.gambas@...1...> Message-ID: <200501021347.16803.sourceforge-raindog2@...94...> On Sunday 02 January 2005 09:58, Benoit Minisini wrote: > I have problems with Mandrake packaging, and I need help! > 1) The packages you make work. This is not the problem :-) Actually, my packages don't work anymore since RC5 due to the automake change. Under 9.2 and 10.0 for some reason instead of producing lib.gb.*.so the shared library files are created as just lib.gb.*. I think that I found a workaround before xmas but I left my work on a client's machine and forgot to copy it home, so I can't verify this till tomorrow. > 2) The packages made by Mandrake employees don't work. Their > dependencies are false, they raise an error when you urpmi > them. What .spec files do they use ??? How to replace their > packages by yours ? According to their changelog, they switched to your spec file a few versions back. %changelog +* Mon Dec 20 2004 Laurent MONTEL 1.0-0.rc5.2mdk +- 1.0-rc5 + * Mon Nov 22 2004 Lenny Cartier 0.99-2mdk - use better spec from Benoit Minisini : - Fix modal windows not being modal with QT 3.2. Obviously they screwed something up because I can't even build the latest cooker packages on 10.1, but I don't have a cooker box to see if they compile there... > 3) There are still deprecated Gambas packages in Cooker. How > can they be removed ? Make a post to the cooker list saying "The following packages are deprecated and should be removed: ..." and CC lenny at ...556..., if I remember right. Rob From gambas at ...1... Sun Jan 2 20:14:52 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 2 Jan 2005 20:14:52 +0100 Subject: [Gambas-user] Useful undocumented feature ? Message-ID: <200501022014.52895.gambas@...1...> Hi everyone, I don't remember if I talk about this feature. If I forgot, here it is: You can press F2 on a symbol to go to its definition, and press SHIFT+F2 to go back. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Jan 2 21:45:47 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 2 Jan 2005 21:45:47 +0100 Subject: [Gambas-user] Vicious bug in 1.0 Message-ID: <200501022145.47742.gambas@...1...> I have just found a vicious bug in the 1.0 that make QT and KDE libraries load even in a terminal program! I join a patch. A workaround is to run the interpreter with the '-p' option. To modify an alread created archive, open it with an binary editor like 'khexedit', and replace at the beginning of the file '#!/usr/bin/gbx -x\n' by '#!/usr/bin/gbx -x -p\n'. There are a new line and spaces at the beginning of the file, so this change does not break the file. Don't change the size of the file or anything else! Sorry for the inconvenience, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx.c Type: text/x-csrc Size: 5834 bytes Desc: not available URL: From lordheavy at ...512... Sun Jan 2 21:58:53 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 2 Jan 2005 21:58:53 +0100 Subject: [Gambas-user] Vicious bug in 1.0 In-Reply-To: <200501022145.47742.gambas@...1...> References: <200501022145.47742.gambas@...1...> Message-ID: <200501022158.54103.lordheavy@...512...> Le Dimanche 2 Janvier 2005 21:45, Benoit Minisini a ?crit?: > I have just found a vicious bug in the 1.0 that make QT and KDE libraries > load even in a terminal program! > > I join a patch. > > A workaround is to run the interpreter with the '-p' option. To modify an > alread created archive, open it with an binary editor like 'khexedit', and > replace at the beginning of the file '#!/usr/bin/gbx -x\n' by > '#!/usr/bin/gbx -x -p\n'. There are a new line and spaces at the beginning > of the file, so this change does not break the file. Don't change the size > of the file or anything else! > > Sorry for the inconvenience, Damn ! just after the 1.0 release :) any previous release date for 1.0.1 :) PS : I've post a new at linuxfr but must wait after moderators :) Congrats for 1.0 Release, Regards, -- Laurent Carlier From gambas at ...1... Sun Jan 2 22:13:49 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 2 Jan 2005 22:13:49 +0100 Subject: [Gambas-user] About next Gambas version Message-ID: <200501022213.49677.gambas@...1...> The new development version of gambas will be numbered 1.1.x or 1.9.x, I am not completetly determined. Well, 1.9.x seems to be cool :-) BUT, as we must be able to install the current 1.0 and the next 2.0 on the same system, the package will be renamed 'gambas2' Things of gambas2 will be installed in /usr/lib/gambas2, usr/share/gambas2, and so on. The interpreter should be renamed too (gbx2), and I think the tools (gbi, gba, gbc, gambas, gambas-database-manager) will move in /usr/lib/gambas2/bin or something similar. So, the name of the current package is gambas-1.0.x.tar.bz2 And the name of the development package will be gambas2-1.9.x.tar.bz2 Is it clear for everyone ? :-) -- Benoit Minisini mailto:gambas at ...1... From jarions at ...761... Sun Jan 2 22:23:18 2005 From: jarions at ...761... (Jarion Stevens) Date: Sun, 02 Jan 2005 15:23:18 -0600 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) Message-ID: <41D86646.90601@...761...> Hi everybody. I'm new to Gambas as of yesterday. I am running a Debian unstable system and have Gambas 1.0 installed from the debian mirrors. Here's the dumb question: How do I create a new project? I get to the dialog that asks me to choose a directory and it won't let select one. I get the error "Please select a valid directory." when I click next but that's it. Any ideas? Thanks, Jarion From jarions at ...761... Sun Jan 2 22:27:20 2005 From: jarions at ...761... (Jarion Stevens) Date: Sun, 02 Jan 2005 15:27:20 -0600 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <41D86646.90601@...761...> References: <41D86646.90601@...761...> Message-ID: <41D86738.2050506@...761...> Correction: the error is "Please choose a valid directory." - sorry bout that. Jarion Stevens wrote: > Hi everybody. I'm new to Gambas as of yesterday. I am running a > Debian unstable system and have Gambas 1.0 installed from the debian > mirrors. Here's the dumb question: How do I create a new project? I > get to the dialog that asks me to choose a directory and it won't let > select one. I get the error "Please select a valid directory." when I > click next but that's it. Any ideas? > Thanks, > Jarion From gambas at ...1... Sun Jan 2 22:27:40 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 2 Jan 2005 22:27:40 +0100 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <41D86646.90601@...761...> References: <41D86646.90601@...761...> Message-ID: <200501022227.40974.gambas@...1...> On Sunday 02 January 2005 22:23, Jarion Stevens wrote: > Hi everybody. I'm new to Gambas as of yesterday. I am running a Debian > unstable system and have Gambas 1.0 installed from the debian mirrors. > Here's the dumb question: How do I create a new project? I get to the > dialog that asks me to choose a directory and it won't let select one. > I get the error "Please select a valid directory." when I click next but > that's it. Any ideas? > > Thanks, > Jarion > Can you be more precise about your actions ? Can you send screenshots of the project creation wizard, and tell me where you click ? Did you try to open examples ? Regards, -- Benoit Minisini mailto:gambas at ...1... From JRuff at ...762... Mon Jan 3 04:55:17 2005 From: JRuff at ...762... (John G. Ruff) Date: Sun, 02 Jan 2005 21:55:17 -0600 Subject: [Gambas-user] MySQL dB open problem Message-ID: <41D8C225.B9DB1667@...762...> With both the example program (Database example) and "Tools | Database Manager..." menu item, when trying to connect I get: Cannot connect to database Cannot open database: Client does not support authentication protocol requested by server; consider upgrading MySQL client I'm using Mandrake 10.1 (32 bit) on a MicroStar K8T Neo2 FIR, an AMD64/3000+ and 512 Mb memory. Running Gambas 0.99 RC5 (the kudla.org RPMs install, dev pkgs are not all installed, so compile of 1.0 fails). MySQL 4.1.8 is running on a server and I can connect to it across the network with phpmyadmin & with my VB6 programs. Any ideas? Thanks, jr ( John G. Ruff ) ( Wayzata, MN, USA ) From srikantux at ...626... Mon Jan 3 06:18:23 2005 From: srikantux at ...626... (Srikanta Prasanna) Date: Mon, 3 Jan 2005 10:48:23 +0530 Subject: [Gambas-user] Congrats for 1.0! Message-ID: <7f8e4a5a050102211847e79199@...627...> Hello all Gambas Developers and Users! Congrats to everybody on Gambas 1.0 release!! Great Going!! Cheers, Srikanta Prasanna PS: And, Happy New Year Too!! From jochengeorges at ...467... Mon Jan 3 09:14:47 2005 From: jochengeorges at ...467... (Jochen Georges) Date: Mon, 3 Jan 2005 09:14:47 +0100 Subject: [Gambas-user] variable declaration Message-ID: <200501030914.47590.jochengeorges@...467...> Hello Gambanauts, is there a possibility of declaring more than one variables at one time? Like intA, intB, intC AS Integer Thanks in advance Beste Gruesse Jochen From na2492 at ...9... Mon Jan 3 10:13:41 2005 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 3 Jan 2005 10:13:41 00100 Subject: [Gambas-user] variable declaration Message-ID: <41d90cc5.789.0@...9...> >Hello Gambanauts, > >is there a possibility of declaring more than one variables at one time? >Like >intA, intB, intC AS Integer No, not yet > >Thanks in advance >Beste Gruesse >Jochen > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From jredrejo at ...96... Mon Jan 3 12:25:38 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Mon, 03 Jan 2005 12:25:38 +0100 Subject: [Gambas-user] gambas and Debian In-Reply-To: <20041231142203.D0ABF327AE@...763...> References: <20041231142203.D0ABF327AE@...763...> Message-ID: <1104751538.2536.18.camel@...698...> El vie, 31-12-2004 a las 12:48:08 00100, "Charlie Reinl" escribi?: > > Salut, > > I try to install gambas on my ubuntu/Debian. > It was said, I can find it at http://cvs.linex.org/linex/gambas. > > Yes I found it there. > > But as new with Debian I try to use Synaptic package tool > > I set : typ = Bin(dep) > Adr = http://cvs.linex.org/ > Dist= linex > Sect= gambas > > and that I turned up and down. > I allways get a 404 Not Found > > Where I'm wrong. > Can anyone guide me to get it ! > > Thanks > Amicalment > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > Well in http://gambas.sourceforge.net/download.html you have the right lines for your apt. Using synaptic you should use: I set : typ = Bin(dep) > Adr = http://www.linex.org/ > Dist= sarge > Sect= linex As this repository is totally componentized, you can also use Adr = http://www.linex.org/ > Dist= cl > Sect= gambas The difference between these two sources is that the last one is a part of the first one. If you use sarge as dist you will get access to all the linex packages, but if you use cl you will have access only to those packages needed to install gambas. On the other hand, I have uploaded gambas to the official Debian distro. By now, version 1.0 is only available in sid, but in the next 10 days, if no release critical bugs are found it will be available in sarge as well. But, in Debian I have removed kde components because kde is totally frozen in sid, and if I keep those components gambas will not going into sarge. In linex repository you will get all the gambas components (kde included) available for sarge (and quite soon gtk and gbgrid components developed by Daniel Campos will be there to experiment) Regards. From scatman_ at ...17... Mon Jan 3 14:46:30 2005 From: scatman_ at ...17... (scatman) Date: Mon, 3 Jan 2005 14:46:30 +0100 Subject: [Gambas-user] Progressbar In-Reply-To: <41D72212.2000703@...9...> References: <41d569f0.1e0e.0@...9...> <200412311644.14044.scatman_@...17...> <41D72212.2000703@...9...> Message-ID: <200501031446.31705.scatman_@...17...> Am Samstag, 1. Januar 2005 23:20 schrieb Charlie: Hi, big Thanks > public sub updPrgBar(result$ AS String ) > > -------- here your code from FStatus _new > > end > > and then you call it by FStatus.updPrgBar(Result$ ) from the first Form. now it works fine. From gambas at ...1... Mon Jan 3 16:14:54 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Jan 2005 16:14:54 +0100 Subject: [Gambas-user] Vicious bug in 1.0 (#2) Message-ID: <200501031614.55203.gambas@...1...> Hi, I just uploaded a patch version named gambas 1.0.1. This version fixes the preloading bug, and two other little bug in TextBox and ComboBox controls. You can download it at the website. Tell me if you find any problem. Regards, -- Benoit Minisini mailto:gambas at ...1... From jarions at ...761... Mon Jan 3 17:46:34 2005 From: jarions at ...761... (Jarion Stevens) Date: Mon, 3 Jan 2005 10:46:34 -0600 (CST) Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <200501022227.40974.gambas@...1...> References: <41D86646.90601@...761...> <200501022227.40974.gambas@...1...> Message-ID: <32709.166.102.160.133.1104770794.squirrel@...761...> My message with screenshot attachments was rejected. Here is the text of my message and I will attempt to send the images separately. Jarion Certainly. Here are the steps I took: Start Gambas Click on New project... Click Next Select Create a graphical pro (the rest of the word is cut off) Click Next Type in the name of the project: test Type in the title of the project this is a test Leave options un-checked Click Next On the next dialog box I am supposed to select a directory for the project. Nothing seems to work. See screen shots below. I am able to open the Example projects and execute them. I can not copy a project using the wizard---it stops at the same spot. Thanks, Jarion > Can you be more precise about your actions ? Can you send screenshots of > the > project creation wizard, and tell me where you click ? > > Did you try to open examples ? > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... From gambas at ...1... Mon Jan 3 17:49:31 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Jan 2005 17:49:31 +0100 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <32709.166.102.160.133.1104770794.squirrel@...761...> References: <41D86646.90601@...761...> <200501022227.40974.gambas@...1...> <32709.166.102.160.133.1104770794.squirrel@...761...> Message-ID: <200501031749.32133.gambas@...1...> On Monday 03 January 2005 17:46, Jarion Stevens wrote: > My message with screenshot attachments was rejected. Here is the text of > my message and I will attempt to send the images separately. > > Jarion > > > Certainly. Here are the steps I took: > Start Gambas > Click on New project... > Click Next > Select Create a graphical pro (the rest of the word is cut off) > Click Next > Type in the name of the project: test > Type in the title of the project this is a test > Leave options un-checked > Click Next > On the next dialog box I am supposed to select a directory for the > project. Nothing seems to work. See screen shots below. > I am able to open the Example projects and execute them. I can not copy > a project using the wizard---it stops at the same spot. > > Thanks, > Jarion > Can you send the screenshots to my own address (gambas at ...764...) ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Jan 3 18:08:54 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 3 Jan 2005 18:08:54 +0100 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <32709.166.102.160.133.1104770794.squirrel@...761...> References: <41D86646.90601@...761...> <200501022227.40974.gambas@...1...> <32709.166.102.160.133.1104770794.squirrel@...761...> Message-ID: <200501031808.54710.gambas@...1...> On Monday 03 January 2005 17:46, Jarion Stevens wrote: > My message with screenshot attachments was rejected. Here is the text of > my message and I will attempt to send the images separately. > > Jarion > > > Certainly. Here are the steps I took: > Start Gambas > Click on New project... > Click Next > Select Create a graphical pro (the rest of the word is cut off) > Click Next > Type in the name of the project: test > Type in the title of the project this is a test > Leave options un-checked > Click Next > On the next dialog box I am supposed to select a directory for the > project. Nothing seems to work. See screen shots below. > I am able to open the Example projects and execute them. I can not copy > a project using the wizard---it stops at the same spot. > > Thanks, > Jarion > Which version of Qt do you use on your system ? Can you try to double-click on the directory ? Can you try to navigate in the treeview with the keyboard and to select the directory with the space key ? -- Benoit Minisini mailto:gambas at ...1... From jochengeorges at ...467... Mon Jan 3 18:22:50 2005 From: jochengeorges at ...467... (Jochen Georges) Date: Mon, 3 Jan 2005 18:22:50 +0100 Subject: [Gambas-user] making objects of a class in a loop Message-ID: <200501031821.25381.jochengeorges@...467...> Hello gambanauts, I would like to make a lot of objects in a loop. this code is running, but it has got so much lines and the number of objects is always the same. '------------------------------------------------------------------ arFrage AS Object[] fr_1 AS ClFrage fr_2 AS ClFrage fr_3 AS ClFrage '------------------------------------------------------------------ PUBLIC SUB _new() fr_1 = NEW ClFrage fr_2 = NEW ClFrage fr_3 = NEW ClFrage arFrage = NEW Object[] arFrage.add(fr_1) arFrage.add(fr_2) arFrage.add(fr_3) END '------------------------------------------------------------------ is there something like: PUBLIC SUB _new(nb AS Integer) i AS Integer arFrage AS Object[] for i = 0 to nb-1 ClFrage fr_i = NEW ClFrage arFrage.add(fr_i) next END ?? How can i create a different number of objects, depending of a parameter? From jarions at ...761... Mon Jan 3 20:45:13 2005 From: jarions at ...761... (Jarion Stevens) Date: Mon, 3 Jan 2005 13:45:13 -0600 (CST) Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <200501031808.54710.gambas@...1...> References: <41D86646.90601@...761...> <200501022227.40974.gambas@...1...> <32709.166.102.160.133.1104770794.squirrel@...761...> <200501031808.54710.gambas@...1...> Message-ID: <41388.166.102.160.133.1104781513.squirrel@...761...> Qt 3 version 3.3.3-7 I can navigate the tree but double clicking on the folders only expands the listing. Keyboard controls don't work any better than mouse. :( > > Which version of Qt do you use on your system ? > > Can you try to double-click on the directory ? Can you try to navigate in > the > treeview with the keyboard and to select the directory with the space key > ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- GnuPG key: http://www.palantiri.com/jarions.asc From lordheavy at ...512... Mon Jan 3 21:48:25 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 3 Jan 2005 21:48:25 +0100 Subject: [Gambas-user] Gambas on the french website linuxfr ! Message-ID: <200501032148.25358.lordheavy@...512...> Here you can find the news i've post on linuxfr (it's in french) Remember that Slashdot don't want to publish a news about ! http://linuxfr.org/2005/01/03/17992.html -- Laurent Carlier From fosco at ...765... Mon Jan 3 22:59:38 2005 From: fosco at ...765... (=?iso-8859-15?Q?Tr=E9court?= Nicolas) Date: Mon, 3 Jan 2005 22:59:38 +0100 Subject: [Gambas-user] console network server Message-ID: <20050103215938.GB17875@...766...> Hi, Are some code samples of console based network server available? I'm trying to adapt the gui based sample one, but nothing happens after connection $ telnet localhost 3333 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host. Thanks From sourceforge-raindog2 at ...94... Tue Jan 4 00:45:34 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 3 Jan 2005 18:45:34 -0500 Subject: [Gambas-user] mandrake packages of 1.0.1 Message-ID: <200501031845.34188.sourceforge-raindog2@...94...> I finally came up with working packages of 1.0.1 for Mandrake 10 and 10.1. I had to back-package libtool 1.5.6 to Mandrake 10 to do it, and I am dropping support for Mandrake 9.2 because I would have had to back-package automake and autoconf as well. But 10 and 10.1 seem to work fine. After the last time I tried submitting gambas packages to Mandrake Cooker, I am going to defer to Benoit. If you would like to submit my src.rpm, Benoit, feel free.... last time I did it they said no, we will use the spec we got from the author of the program. And then they broke it. http://www.kudla.org/index.php?wl_mode=more&wl_eid=69 Rob From webmaster at ...642... Tue Jan 4 03:09:04 2005 From: webmaster at ...642... (Nelson Nieves) Date: Mon, 3 Jan 2005 22:09:04 -0400 Subject: [Gambas-user] mandrake packages of 1.0.1 References: <200501031845.34188.sourceforge-raindog2@...94...> Message-ID: <000701c4f202$68106da0$1400000a@...643...> Hi Rob, I was waiting for you to get this one done :) Thanks a lot. I got an error. I could not install Gambas complete because I am missing this dependencing: libsqlite.so.0 (I am on Windows, so I don't remember the exact file name) I know I figured it out last time, but I don't remember how. Also, I don't see this file online. I just recently installed Mandrake 10.1. ----- Original Message ----- From: "Rob" To: Sent: Monday, January 03, 2005 7:45 PM Subject: [Gambas-user] mandrake packages of 1.0.1 >I finally came up with working packages of 1.0.1 for Mandrake 10 > and 10.1. I had to back-package libtool 1.5.6 to Mandrake 10 to > do it, and I am dropping support for Mandrake 9.2 because I > would have had to back-package automake and autoconf as well. > But 10 and 10.1 seem to work fine. > > After the last time I tried submitting gambas packages to > Mandrake Cooker, I am going to defer to Benoit. If you would > like to submit my src.rpm, Benoit, feel free.... last time I did > it they said no, we will use the spec we got from the author of > the program. And then they broke it. > > http://www.kudla.org/index.php?wl_mode=more&wl_eid=69 > > Rob > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Tue Jan 4 03:35:31 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 3 Jan 2005 21:35:31 -0500 Subject: [Gambas-user] mandrake packages of 1.0.1 In-Reply-To: <000701c4f202$68106da0$1400000a@...643...> References: <200501031845.34188.sourceforge-raindog2@...94...> <000701c4f202$68106da0$1400000a@...643...> Message-ID: <200501032135.31761.sourceforge-raindog2@...94...> On Monday 03 January 2005 21:09, Nelson Nieves wrote: > I got an error. I could not install Gambas complete because I > am missing this dependencing: > libsqlite.so.0 (I am on Windows, so I don't remember the > exact file name) That file is in the libsqlite0 package. I think that's in contrib, so if you set up a contrib urpmi source before trying to install the gambas package you should be fine. Rob From JRuff at ...762... Tue Jan 4 05:48:24 2005 From: JRuff at ...762... (John G. Ruff) Date: Mon, 03 Jan 2005 22:48:24 -0600 Subject: [Gambas-user] 1.0.1 Install Problem In-Reply-To: <20050103215938.GB17875@...766...> References: <20050103215938.GB17875@...766...> Message-ID: <1104814104.8128.14.camel@...767...> I ran into a problem during the install and attached the console output from urpmi. Everything above this looked OK. Gambas runs and says it is version 1.0.1, but I still get the same MySQL database connect authentication version error. I have no idea what the problem is & would appreciate any help. Thanks, jr ( John G. Ruff ) ( Wayzata, MN, USA ) -------------- next part -------------- installing gambas-complete-1.0.1-1rk.i586.rpm Preparing... ################################################## Installation failed: file /usr/lib/gambas/lib.gb.qt.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-1.0.1-1rk file /usr/lib/gambas/lib.gb.db.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-db-1.0.1-1rk file /usr/lib/gambas/lib.gb.db.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-db-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.kde.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-kde-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.kde.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-kde-1.0.1-1rk file /usr/lib/gambas/lib.gb.net.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-net-1.0.1-1rk file /usr/lib/gambas/lib.gb.net.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-net-1.0.1-1rk file /usr/lib/gambas/lib.gb.net.curl.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-net-curl-1.0.1-1rk file /usr/lib/gambas/lib.gb.net.curl.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-net-curl-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.kde.html.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-kde-html-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.kde.html.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-kde-html-1.0.1-1rk file /usr/lib/gambas/lib.gb.db.postgresql.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-db-postgresql-1.0.1-1rk file /usr/lib/gambas/lib.gb.db.postgresql.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-db-postgresql-1.0.1-1rk file /usr/lib/gambas/lib.gb.db.mysql.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-db-mysql-1.0.1-1rk file /usr/lib/gambas/lib.gb.db.mysql.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-db-mysql-1.0.1-1rk file /usr/lib/gambas/lib.gb.db.sqlite.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-db-sqlite-1.0.1-1rk file /usr/lib/gambas/lib.gb.db.sqlite.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-db-sqlite-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.editor.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-editor-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.editor.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-editor-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.ext.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-ext-1.0.1-1rk file /usr/lib/gambas/lib.gb.qt.ext.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-qt-ext-1.0.1-1rk file /usr/lib/gambas/lib.gb.sdl.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-sdl-1.0.1-1rk file /usr/lib/gambas/lib.gb.sdl.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-sdl-1.0.1-1rk file /usr/lib/gambas/lib.gb.eval.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-eval-1.0.1-1rk file /usr/lib/gambas/lib.gb.eval.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-eval-1.0.1-1rk file /usr/lib/gambas/lib.gb.vb.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-vb-1.0.1-1rk file /usr/lib/gambas/lib.gb.vb.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-vb-1.0.1-1rk file /usr/lib/gambas/lib.gb.xml.libxml.rpc.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-xml-1.0.1-1rk file /usr/lib/gambas/lib.gb.xml.libxml.rpc.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-xml-1.0.1-1rk file /usr/lib/gambas/lib.gb.xml.libxml.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-xml-1.0.1-1rk file /usr/lib/gambas/lib.gb.xml.libxml.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-xml-1.0.1-1rk file /usr/lib/gambas/lib.gb.xml.libxml.xslt.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-xml-1.0.1-1rk file /usr/lib/gambas/lib.gb.xml.libxml.xslt.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-xml-1.0.1-1rk file /usr/lib/gambas/lib.gb.debug.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-debug-1.0.1-1rk file /usr/lib/gambas/lib.gb.debug.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-debug-1.0.1-1rk file /usr/lib/gambas/lib.gb.compress.bzlib2.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-compress-1.0.1-1rk file /usr/lib/gambas/lib.gb.compress.bzlib2.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-compress-1.0.1-1rk file /usr/lib/gambas/lib.gb.compress.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-compress-1.0.1-1rk file /usr/lib/gambas/lib.gb.compress.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-compress-1.0.1-1rk file /usr/lib/gambas/lib.gb.compress.zlib.so from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-compress-1.0.1-1rk file /usr/lib/gambas/lib.gb.compress.zlib.so.0 from install of gambas-complete-1.0.1-1rk conflicts with file from package gambas-gb-compress-1.0.1-1rk From sourceforge-raindog2 at ...94... Tue Jan 4 06:05:26 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 4 Jan 2005 00:05:26 -0500 Subject: [Gambas-user] 1.0.1 Install Problem In-Reply-To: <1104814104.8128.14.camel@...767...> References: <20050103215938.GB17875@...766...> <1104814104.8128.14.camel@...767...> Message-ID: <200501040005.26652.sourceforge-raindog2@...94...> On Monday 03 January 2005 23:48, John G. Ruff wrote: > I ran into a problem during the install and attached the > console output from urpmi. Everything above this looked OK. The gambas-complete package contains ALL the files from ALL the other packages... so you install either gambas-complete or (gambas-runtime, gambas-ide, gambas-gb-qt, gambas-gb-db....) but not both. Rob From gambas at ...1... Tue Jan 4 10:27:41 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 4 Jan 2005 10:27:41 +0100 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <41388.166.102.160.133.1104781513.squirrel@...761...> References: <41D86646.90601@...761...> <200501031808.54710.gambas@...1...> <41388.166.102.160.133.1104781513.squirrel@...761...> Message-ID: <200501041027.42046.gambas@...1...> On Monday 03 January 2005 20:45, Jarion Stevens wrote: > Qt 3 version 3.3.3-7 > I can navigate the tree but double clicking on the folders only expands > the listing. > Keyboard controls don't work any better than mouse. :( > Wow. Strange... Can you grant me an ssh access on port 22 to your machine ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jan 4 10:31:29 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 4 Jan 2005 10:31:29 +0100 Subject: [Gambas-user] 1.0.1 Install Problem In-Reply-To: <1104814104.8128.14.camel@...767...> References: <20050103215938.GB17875@...766...> <1104814104.8128.14.camel@...767...> Message-ID: <200501041031.29946.gambas@...1...> On Tuesday 04 January 2005 05:48, John G. Ruff wrote: > I ran into a problem during the install and attached the console output > from urpmi. Everything above this looked OK. > > Gambas runs and says it is version 1.0.1, but I still get the same MySQL > database connect authentication version error. > > I have no idea what the problem is & would appreciate any help. > > Thanks, > jr > > ( John G. Ruff ) > ( Wayzata, MN, USA ) Did you check your MySQL configuration ? Your message is: Cannot connect to database Cannot open database: Client does not support authentication ? ? ? ? ? ? ? ? ? ? ? protocol requested by server; consider ? ? ? ? ? ? ? ? ? ? ? upgrading MySQL client So it tells you that your -server- uses a protocol that your -client- can't deal with, and so you must upgrade your MySQL libraries! Maybe you use a too recent MySQL server ? Regards, -- Benoit Minisini mailto:gambas at ...1... From toni at ...706... Tue Jan 4 12:26:05 2005 From: toni at ...706... (Toni Schornboeck) Date: Tue, 04 Jan 2005 12:26:05 +0100 Subject: [Gambas-user] Re: making objects of a class in a loop Message-ID: <20050104112605.15825.qmail@...707...> > is there something like: > PUBLIC SUB _new(nb AS Integer) > i AS Integer > arFrage AS Object[] > for i = 0 to nb-1 > ClFrage fr_i = NEW ClFrage > arFrage.add(fr_i) > next > END What about this? private fragen as Object[] public sub _new(n as integer) dim i as integer dim temp as ClFrage fragen = new Object[] for i=0 to n-1 temp=new ClFrage fragen.add(temp) next end unfortunately you can't write fragen.add(new ClFrage) so i often write a static public function make() within ClFrage which constructs an object and works like the normal constructor (takes the same arguments, etc.). so one can write: fragen.add(ClFrage.make()) From jarions at ...761... Tue Jan 4 14:07:07 2005 From: jarions at ...761... (Jarion Stevens) Date: Tue, 04 Jan 2005 07:07:07 -0600 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <200501041027.42046.gambas@...1...> References: <41D86646.90601@...761...> <200501031808.54710.gambas@...1...> <41388.166.102.160.133.1104781513.squirrel@...761...> <200501041027.42046.gambas@...1...> Message-ID: <41DA94FB.9000905@...761...> Benoit Minisini wrote: >On Monday 03 January 2005 20:45, Jarion Stevens wrote: > > >>Qt 3 version 3.3.3-7 >>I can navigate the tree but double clicking on the folders only expands >>the listing. >>Keyboard controls don't work any better than mouse. :( >> >> >> > >Wow. Strange... Can you grant me an ssh access on port 22 to your machine ? > > > It's possible. let me set you up as a user and we'll go from there. I'll contact you off-list. From daniel.campos at ...338... Tue Jan 4 15:14:07 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Tue, 04 Jan 2005 15:14:07 +0100 Subject: [Gambas-user] console network server In-Reply-To: <20050103215938.GB17875@...766...> References: <20050103215938.GB17875@...766...> Message-ID: <41DAA4AF.4010401@...338...> Tr?court Nicolas escribi?: >Hi, > >Are some code samples of console based network server available? > >I'm trying to adapt the gui based sample one, but nothing happens after >connection > >$ telnet localhost 3333 >Trying 127.0.0.1... >Connected to localhost. >Escape character is '^]'. >Connection closed by foreign host. > >Thanks > > Jose L. Redrejo made a program in which you can find a sample of console server socket: http://forja.linex.org/download.php/100/controlaula_0.3-2.tar.gz There are two programs in that package, the one called "sirvecole" has the ServerSocket example. Regards, D. Campos > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From JRuff at ...762... Tue Jan 4 15:35:55 2005 From: JRuff at ...762... (John G. Ruff) Date: Tue, 04 Jan 2005 08:35:55 -0600 Subject: [Gambas-user] 1.0.1 Install Problem In-Reply-To: <200501041031.29946.gambas@...1...> References: <20050103215938.GB17875@...766...> <1104814104.8128.14.camel@...767...> <200501041031.29946.gambas@...1...> Message-ID: <1104849355.7639.12.camel@...768...> Thanks for the install info. The MySQL version on my server is the current release (4.1.8). I did not try connecting with Gambas when older versions of MySQL were installed. (I'm new to Gambas.) I can connect to it with phpmyadmin & also with my VB6 programs. (I want to replace VB6 using Gambas.) So I think the server config is OK. Does the MySQL client in the error message mean a part of Gambas, or packages installed on the workstation? Thanks, jr On Tue, 2005-01-04 at 10:31 +0100, Benoit Minisini wrote: > On Tuesday 04 January 2005 05:48, John G. Ruff wrote: > > I ran into a problem during the install and attached the console output > > from urpmi. Everything above this looked OK. > > > > Gambas runs and says it is version 1.0.1, but I still get the same MySQL > > database connect authentication version error. > > > > I have no idea what the problem is & would appreciate any help. > > > > Thanks, > > jr > > > > ( John G. Ruff ) > > ( Wayzata, MN, USA ) > > Did you check your MySQL configuration ? > > Your message is: > > Cannot connect to database > Cannot open database: Client does not support authentication > protocol requested by server; consider > upgrading MySQL client > > So it tells you that your -server- uses a protocol that your -client- can't > deal with, and so you must upgrade your MySQL libraries! > > Maybe you use a too recent MySQL server ? > > Regards, > From jarions at ...761... Tue Jan 4 16:23:20 2005 From: jarions at ...761... (Jarion Stevens) Date: Tue, 4 Jan 2005 09:23:20 -0600 (CST) Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <41DA94FB.9000905@...761...> References: <41D86646.90601@...761...> <200501031808.54710.gambas@...1...> <41388.166.102.160.133.1104781513.squirrel@...761...> <200501041027.42046.gambas@...1...> <41DA94FB.9000905@...761...> Message-ID: <44033.166.102.160.133.1104852200.squirrel@...761...> Here's something wierd! I created a new user and Gambas works fine for that user. I deleted .gambas and tried again with my userid but it still doesn't work. Any Ideas? >>Wow. Strange... Can you grant me an ssh access on port 22 to your machine >> ? >> >> >> > It's possible. let me set you up as a user and we'll go from there. > I'll contact you off-list. From fosco at ...765... Tue Jan 4 16:28:39 2005 From: fosco at ...765... (=?iso-8859-15?Q?Tr=E9court?= Nicolas) Date: Tue, 4 Jan 2005 16:28:39 +0100 Subject: [Gambas-user] console network server In-Reply-To: <41DAA4AF.4010401@...338...> References: <20050103215938.GB17875@...766...> <41DAA4AF.4010401@...338...> Message-ID: <20050104152839.GA22181@...766...> [ Tuesday 04 January 2005 ? 15h14, Daniel Campos ] > > Jose L. Redrejo made a program in which you can find a sample of console > server socket: > > http://forja.linex.org/download.php/100/controlaula_0.3-2.tar.gz > > There are two programs in that package, the one called "sirvecole" has > the ServerSocket example. > > Regards, > > D. Campos Thanks, working :) Nicolas Tr?court > > > > >------------------------------------------------------- > >The SF.Net email is sponsored by: Beat the post-holiday blues > >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Tue Jan 4 16:35:56 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 4 Jan 2005 16:35:56 +0100 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <44033.166.102.160.133.1104852200.squirrel@...761...> References: <41D86646.90601@...761...> <41DA94FB.9000905@...761...> <44033.166.102.160.133.1104852200.squirrel@...761...> Message-ID: <200501041635.57133.gambas@...1...> On Tuesday 04 January 2005 16:23, Jarion Stevens wrote: > Here's something wierd! I created a new user and Gambas works fine for > that user. I deleted .gambas and tried again with my userid but it still > doesn't work. Any Ideas? > What are the file permissions on your home directory and its children ? -- Benoit Minisini mailto:gambas at ...1... From fagonzalez at ...760... Tue Jan 4 16:42:23 2005 From: fagonzalez at ...760... (Fernando Gonzalez) Date: Tue, 4 Jan 2005 12:42:23 -0300 Subject: [Gambas-user] 1.0.1 Install Problem In-Reply-To: <1104849355.7639.12.camel@...768...> Message-ID: Change you root password acount in Mysql? By default is none(""). If when gambas intall, mysql its ON, not problem. Fernando Gonzalez -----Mensaje original----- De: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] En nombre de John G. Ruff Enviado el: Martes, 04 de Enero de 2005 11:36 a.m. Para: gambas-user at lists.sourceforge.net Asunto: Re: [Gambas-user] 1.0.1 Install Problem Thanks for the install info. The MySQL version on my server is the current release (4.1.8). I did not try connecting with Gambas when older versions of MySQL were installed. (I'm new to Gambas.) I can connect to it with phpmyadmin & also with my VB6 programs. (I want to replace VB6 using Gambas.) So I think the server config is OK. Does the MySQL client in the error message mean a part of Gambas, or packages installed on the workstation? Thanks, jr On Tue, 2005-01-04 at 10:31 +0100, Benoit Minisini wrote: > On Tuesday 04 January 2005 05:48, John G. Ruff wrote: > > I ran into a problem during the install and attached the console output > > from urpmi. Everything above this looked OK. > > > > Gambas runs and says it is version 1.0.1, but I still get the same MySQL > > database connect authentication version error. > > > > I have no idea what the problem is & would appreciate any help. > > > > Thanks, > > jr > > > > ( John G. Ruff ) > > ( Wayzata, MN, USA ) > > Did you check your MySQL configuration ? > > Your message is: > > Cannot connect to database > Cannot open database: Client does not support authentication > protocol requested by server; consider > upgrading MySQL client > > So it tells you that your -server- uses a protocol that your -client- can't > deal with, and so you must upgrade your MySQL libraries! > > Maybe you use a too recent MySQL server ? > > Regards, > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From na2492 at ...9... Tue Jan 4 16:44:17 2005 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 4 Jan 2005 16:44:17 00100 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) Message-ID: <41dab9d1.187a.0@...9...> >Here's something wierd! I created a new user and Gambas works fine for >that user. I deleted .gambas and tried again with my userid but it still >doesn't work. Any Ideas? Check rights to /tmp for your account. Amicalment Charlie > >>>Wow. Strange... Can you grant me an ssh access on port 22 to your machine >>> ? >>> >>> >>> >> It's possible. let me set you up as a user and we'll go from there. >> I'll contact you off-list. > > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From sourceforge-raindog2 at ...94... Tue Jan 4 16:44:38 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 4 Jan 2005 10:44:38 -0500 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <44033.166.102.160.133.1104852200.squirrel@...761...> References: <41D86646.90601@...761...> <41DA94FB.9000905@...761...> <44033.166.102.160.133.1104852200.squirrel@...761...> Message-ID: <200501041044.38165.sourceforge-raindog2@...94...> On Tuesday 04 January 2005 10:23, Jarion Stevens wrote: > Here's something wierd! I created a new user and Gambas works > fine for that user. I deleted .gambas and tried again with my > userid but it still doesn't work. Any Ideas? I am guessing it's some Qt or KDE problem, probably style-related. Could you back up your home directory and then try renaming .qt or .kde to force fresh ones to be created? Rob From sourceforge-raindog2 at ...94... Tue Jan 4 17:00:36 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 4 Jan 2005 11:00:36 -0500 Subject: [Gambas-user] Gambas 1.0 press release? Message-ID: <200501041100.36749.sourceforge-raindog2@...94...> So, with Slashdot not picking up the Gambas 1.0 release story even though they accepted the announcement of the RC series, I am wondering if we (the project) should put out a press release. I see two ways we can go: prweb, which is free and is really aimed at small organizations like ours, or prnewswire (or an equivalent service) which would probably cost us about US$1,000 but we could have a drive to raise that kind of money (and I'd be willing to put up about a quarter of that.) I think prnewswire's search engine and newspaper coverage is far greater than prweb's, but prweb would at least get us into google news if anyone was searching for linux basic or anything like that. It may be that the traffic we got from a prnewswire type of release would be more than we could handle at this stage of our existence, anyway. Maybe a paid press release would be more of a goal for 2.0 than 1.0. Anyone else have any thoughts? Rob From jarions at ...761... Tue Jan 4 17:24:31 2005 From: jarions at ...761... (Jarion Stevens) Date: Tue, 4 Jan 2005 10:24:31 -0600 (CST) Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <200501041635.57133.gambas@...1...> References: <41D86646.90601@...761...> <41DA94FB.9000905@...761...> <44033.166.102.160.133.1104852200.squirrel@...761...> <200501041635.57133.gambas@...1...> Message-ID: <33440.166.102.160.133.1104855871.squirrel@...761...> drwxr-xr-x /home/jarions drwxr-xr-x /home/gambas all files within /home/jarions are (mostly) -rw-r--r-- directories are (mostly) drwxr-xr-x user id for jarions is 1000 group id for jarions is 1000 user id for gambas is 1001 user id for gambas is 1001 > On Tuesday 04 January 2005 16:23, Jarion Stevens wrote: >> Here's something wierd! I created a new user and Gambas works fine for >> that user. I deleted .gambas and tried again with my userid but it >> still >> doesn't work. Any Ideas? >> > > What are the file permissions on your home directory and its children ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- GnuPG key: http://www.palantiri.com/jarions.asc From lordheavy at ...512... Tue Jan 4 17:29:35 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 4 Jan 2005 17:29:35 +0100 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <200501041100.36749.sourceforge-raindog2@...94...> References: <200501041100.36749.sourceforge-raindog2@...94...> Message-ID: <200501041729.37947.lordheavy@...512...> Le Mardi 4 Janvier 2005 17:00, Rob a ?crit?: > So, with Slashdot not picking up the Gambas 1.0 release story > even though they accepted the announcement of the RC series, I > am wondering if we (the project) should put out a press release. > I see two ways we can go: prweb, which is free and is really > aimed at small organizations like ours, or prnewswire (or an > equivalent service) which would probably cost us about US$1,000 > but we could have a drive to raise that kind of money (and I'd > be willing to put up about a quarter of that.) > This should be good, > I think prnewswire's search engine and newspaper coverage is far > greater than prweb's, but prweb would at least get us into > google news if anyone was searching for linux basic or anything > like that. It may be that the traffic we got from a prnewswire > type of release would be more than we could handle at this stage > of our existence, anyway. Maybe a paid press release would be > more of a goal for 2.0 than 1.0. > > Anyone else have any thoughts? > > Rob > > The news from linuxfr (www.linuxfr.org) seems to be good too In 22 hours -> 1800 hits Regards, -- Laurent Carlier From daniel.campos at ...338... Tue Jan 4 17:39:26 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Tue, 04 Jan 2005 17:39:26 +0100 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <200501041100.36749.sourceforge-raindog2@...94...> References: <200501041100.36749.sourceforge-raindog2@...94...> Message-ID: <41DAC6BE.5050508@...338...> > >Anyone else have any thoughts? > > We are not Firefox, we are not a big community yet, we do not have Win$ compatibility yet, I think we should wait a little, may be send news to Visual Basic programmer sites... Regards, Daniel Campos From jarions at ...761... Tue Jan 4 17:39:10 2005 From: jarions at ...761... (Jarion Stevens) Date: Tue, 4 Jan 2005 10:39:10 -0600 (CST) Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <200501041044.38165.sourceforge-raindog2@...94...> References: <41D86646.90601@...761...> <41DA94FB.9000905@...761...> <44033.166.102.160.133.1104852200.squirrel@...761...> <200501041044.38165.sourceforge-raindog2@...94...> Message-ID: <16740.166.102.160.133.1104856750.squirrel@...761...> I renamed my .kde and .qt directories and restarted X. Same problem. :( Thanks for the idea though. I may rename my home dir and rebuild it from scratch. That'll have to wait till after work though. > On Tuesday 04 January 2005 10:23, Jarion Stevens wrote: >> Here's something wierd! I created a new user and Gambas works >> fine for that user. I deleted .gambas and tried again with my >> userid but it still doesn't work. Any Ideas? > > I am guessing it's some Qt or KDE problem, probably > style-related. Could you back up your home directory and then > try renaming .qt or .kde to force fresh ones to be created? > > Rob > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- GnuPG key: http://www.palantiri.com/jarions.asc From igor.furlan at ...626... Tue Jan 4 19:34:28 2005 From: igor.furlan at ...626... (Primorec) Date: Tue, 4 Jan 2005 10:34:28 -0800 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <41DAC6BE.5050508@...338...> References: <200501041100.36749.sourceforge-raindog2@...94...> <41DAC6BE.5050508@...338...> Message-ID: <54728e74050104103431ee01e9@...627...> www.lxer.com, www.linuxtoday.com, www.lwn.net are good sites... On Tue, 04 Jan 2005 17:39:26 +0100, Daniel Campos wrote: > > > > >Anyone else have any thoughts? > > > > > > We are not Firefox, we are not a big community yet, > we do not have Win$ compatibility yet, > I think we should wait a little, may be send news to > Visual Basic programmer sites... > > Regards, > > Daniel Campos > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lordheavy at ...512... Tue Jan 4 20:28:45 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 4 Jan 2005 20:28:45 +0100 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <54728e74050104103431ee01e9@...627...> References: <200501041100.36749.sourceforge-raindog2@...94...> <41DAC6BE.5050508@...338...> <54728e74050104103431ee01e9@...627...> Message-ID: <200501042028.46635.lordheavy@...512...> Le Mardi 4 Janvier 2005 19:34, Primorec a ?crit?: > www.lxer.com, www.linuxtoday.com, www.lwn.net are good sites... > i've send a small text to osnews -- Laurent Carlier From sourceforge-raindog2 at ...94... Tue Jan 4 22:07:10 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 4 Jan 2005 16:07:10 -0500 Subject: [Gambas-user] installing gambas graphically (mandrake 10.x) Message-ID: <200501041607.10734.sourceforge-raindog2@...94...> I added a tutorial on my site about how to configure my package repository as an urpmi source and install gambas without ever dropping to a root shell. Hopefully this will make a few Windows emigres a little happier :) http://www.kudla.org/index.php?wl_mode=more&wl_eid=70 Rob From sourceforge-raindog2 at ...94... Tue Jan 4 22:08:28 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 4 Jan 2005 16:08:28 -0500 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <200501042028.46635.lordheavy@...512...> References: <200501041100.36749.sourceforge-raindog2@...94...> <54728e74050104103431ee01e9@...627...> <200501042028.46635.lordheavy@...512...> Message-ID: <200501041608.28695.sourceforge-raindog2@...94...> On Tuesday 04 January 2005 14:28, Laurent Carlier wrote: > Le Mardi 4 Janvier 2005 19:34, Primorec a ?crit : > > www.lxer.com, www.linuxtoday.com, www.lwn.net are good > > sites... > > i've send a small text to osnews I'll try to throw together a press release in English tonight and submit it to newsforge and the above sites.... I'll copy the list in case anyone else wants to send it anywhere I miss. Rob From jochengeorges at ...467... Wed Jan 5 08:14:28 2005 From: jochengeorges at ...467... (Jochen Georges) Date: Wed, 5 Jan 2005 08:14:28 +0100 Subject: [Gambas-user] strange catenation of Strings in TextLabels Message-ID: <200501050814.29137.jochengeorges@...467...> Hello gambanauts, this works: TextLabel2.Text = car.getBrand() & "
" & car.getColor() this works too: TextLabel2.Text = mp[nr].getFr() & "
" & mp[nr].getTyp() but this does not work: TextLabel2.Text = mp[nr].getFr() & "
" & mp[nr].getTyp() Is that all right? What is the cause? Thanks for any hint. Beste Gruesse Jochen From gambas at ...1... Wed Jan 5 11:00:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 5 Jan 2005 11:00:35 +0100 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <200501041100.36749.sourceforge-raindog2@...94...> References: <200501041100.36749.sourceforge-raindog2@...94...> Message-ID: <200501051100.35569.gambas@...1...> On Tuesday 04 January 2005 17:00, Rob wrote: > So, with Slashdot not picking up the Gambas 1.0 release story > even though they accepted the announcement of the RC series, I > am wondering if we (the project) should put out a press release. > I see two ways we can go: prweb, which is free and is really > aimed at small organizations like ours, or prnewswire (or an > equivalent service) which would probably cost us about US$1,000 > but we could have a drive to raise that kind of money (and I'd > be willing to put up about a quarter of that.) > Hey! If you want to spend $1,000, give it me instead. I will buy a Athlon-64 based system so that I can develop 64-bit version of Gambas :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From radoslav.dejanovic at ...116... Wed Jan 5 11:28:37 2005 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 5 Jan 2005 11:28:37 +0100 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <41DAC6BE.5050508@...338...> References: <200501041100.36749.sourceforge-raindog2@...94...> <41DAC6BE.5050508@...338...> Message-ID: <200501051128.37810.radoslav.dejanovic@...116...> On Tuesday 04 January 2005 17:39, Daniel Campos wrote: > >Anyone else have any thoughts? > > We are not Firefox, we are not a big community yet, > we do not have Win$ compatibility yet, > I think we should wait a little, may be send news to > Visual Basic programmer sites... Don't be modest! :) 1.0 release is a big milestone, from now on people can contribute code that won't get broken in a month or two. :) Now is right time to start talking seriously about Gambas and luring VB programmers to start porting things to Linux. ;) It is time to start building codebase. P.S. May I suggest a hint for 1.9.x tips of the day? "If there's a nice round version number just released, it is wise to wait a few days for 'a' revision... O:-)" -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From radoslav.dejanovic at ...116... Wed Jan 5 11:32:16 2005 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Wed, 5 Jan 2005 11:32:16 +0100 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <200501041100.36749.sourceforge-raindog2@...94...> References: <200501041100.36749.sourceforge-raindog2@...94...> Message-ID: <200501051132.16201.radoslav.dejanovic@...116...> On Tuesday 04 January 2005 17:00, Rob wrote: > Anyone else have any thoughts? One rule:?Never ever pay for press coverage of your product, unless you know it is another sucks-a-lot product and nobody wants to hear about it. If you meet people who want you to pay them to write about your product, just walk away. They're not journalists. No good press agencies would take money for a news coverage. They charge money just for marketing and PR stuff. We're not talking marketing here. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From lordheavy at ...512... Wed Jan 5 11:37:27 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 5 Jan 2005 11:37:27 +0100 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <200501051100.35569.gambas@...1...> References: <200501041100.36749.sourceforge-raindog2@...94...> <200501051100.35569.gambas@...1...> Message-ID: <200501051137.27535.lordheavy@...512...> Le Mercredi 5 Janvier 2005 11:00, Benoit Minisini a ?crit?: > > Hey! If you want to spend $1,000, give it me instead. I will buy a > Athlon-64 based system so that I can develop 64-bit version of Gambas :-) > > Regards, It'sn better to buy a multi alpha computer :) -- Laurent Carlier From girardhenri at ...67... Wed Jan 5 11:39:03 2005 From: girardhenri at ...67... (Henri Girard) Date: Wed, 5 Jan 2005 11:39:03 +0100 Subject: [Gambas-user] Gambas 1.0 press release? References: <200501041100.36749.sourceforge-raindog2@...94...> <200501051100.35569.gambas@...1...> <200501051137.27535.lordheavy@...512...> Message-ID: excellent idea :) i need a notebook too... lol petit papa noel :) Henri ----- Original Message ----- From: "Laurent Carlier" To: Sent: Wednesday, January 05, 2005 11:37 AM Subject: Re: [Gambas-user] Gambas 1.0 press release? Le Mercredi 5 Janvier 2005 11:00, Benoit Minisini a ?crit : > > Hey! If you want to spend $1,000, give it me instead. I will buy a > Athlon-64 based system so that I can develop 64-bit version of Gambas :-) > > Regards, It'sn better to buy a multi alpha computer :) -- Laurent Carlier ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From girardhenri at ...67... Wed Jan 5 13:56:01 2005 From: girardhenri at ...67... (Henri Girard) Date: Wed, 5 Jan 2005 13:56:01 +0100 Subject: [Gambas-user] Gambas and Cygwin References: <20041229105500.GA2120@...455...> <20041230195534.GA4142@...455...> Message-ID: I installed qt and kde-cygwin... works fine... trying to compile now... We tried few months ago... i will see how different it is now... Henri ----- Original Message ----- From: "nyarnon" To: Sent: Thursday, December 30, 2004 8:55 PM Subject: Re: [Gambas-user] Gambas and Cygwin > On Wed, Dec 29, 2004 at 03:43:29PM +0100, Henri Girard wrote: > > i tried to compile it... but didn't success... > > I am installing again kde-cygwin and will see with > > the new qt native if there is any way to compile gambas... > > Henri > > Thanks for the efford Henri, I hope Bennoit can lend you some help, it sure > would be a big step for Gambas to conquer Cygwin and thus Bill's Applepie :-) > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From daniel.campos at ...338... Wed Jan 5 14:06:46 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 05 Jan 2005 14:06:46 +0100 Subject: [Gambas-user] Meta Key Message-ID: <41DBE666.6060209@...338...> Hi: While trying to test the "Key" class I'm writting for GTK+, I've found a problem... What is the "meta" key? I try to activate it with the QT component, but, at "Key_PRess" event Key.Meta always says "False", and I've pressed all keyboard strange keys I've found! Regards, D. Campos From lordheavy at ...512... Wed Jan 5 14:18:38 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 5 Jan 2005 14:18:38 +0100 Subject: [Gambas-user] Meta Key In-Reply-To: <41DBE666.6060209@...338...> References: <41DBE666.6060209@...338...> Message-ID: <200501051418.38950.lordheavy@...512...> Le Mercredi 5 Janvier 2005 14:06, Daniel Campos a ?crit?: > Hi: > > While trying to test the "Key" class I'm writting for GTK+, I've found a > problem... > > What is the "meta" key? I try to activate it with the QT component, but, > at "Key_PRess" > event Key.Meta always says "False", and I've pressed all keyboard > strange keys I've > found! > > Regards, > > D. Campos > Usually Meta-key is the alt_key but it can change with computers. I think it's a key define with x11 keyboard config. Regards, -- Laurent Carlier From gambas at ...1... Wed Jan 5 14:52:03 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 5 Jan 2005 14:52:03 +0100 Subject: [Gambas-user] Meta Key In-Reply-To: <41DBE666.6060209@...338...> References: <41DBE666.6060209@...338...> Message-ID: <200501051452.03701.gambas@...1...> On Wednesday 05 January 2005 14:06, Daniel Campos wrote: > Hi: > > While trying to test the "Key" class I'm writting for GTK+, I've found a > problem... > > What is the "meta" key? I try to activate it with the QT component, but, > at "Key_PRess" > event Key.Meta always says "False", and I've pressed all keyboard > strange keys I've > found! > > Regards, > > D. Campos > No idea. I put it because it was in Qt! -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Jan 5 14:53:59 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 5 Jan 2005 08:53:59 -0500 Subject: [Gambas-user] oops, slashdotted after all Message-ID: <200501050853.59451.sourceforge-raindog2@...94...> Slashdot accepted someone else's story about gambas 1.0 (thanks to "drfreak", whoever you are, for re-submitting :) ) so I am commenting out the link to the dynamic wiki on the front page. Everything will still be there, you just have to know enough to go to http://www.binara.com/gambas-wiki/bin/view/Gambas to edit or search pages :) Rob From lists at ...706... Wed Jan 5 15:24:18 2005 From: lists at ...706... (Toni Schornboeck) Date: Wed, 05 Jan 2005 15:24:18 +0100 Subject: [Gambas-user] a few suggestions for improvement Message-ID: <20050105142418.83287.qmail@...707...> Hello Folks. First I want to say that I like the Gambas Environment very much. But there are a few things that I don't like. I want to explain what I don't like, why and how it could be improved. I would be glad if you could answer me and discuss my proposals. After a Form is closed, the object still lives, but at the same time is dead. I'd like to write code like: dim f as Form f=new Form(foo) f.ShowModal() return f.Result or something like that. But it is not possible, because f dies after "ShowModal()" I think that is unecessary. f should stay alive until it gets out of scope. It would be OK, if a closed form can never be opened again, therefore a f.ShowModal() f.ShowModal() could raise an error. Take for example a InputBox. AFAIK the currently best solution is: static public function Run() as String dim f as InputBox f=new InputBox f.ShowModal() return value end private static value as String public sub Form_Close() value=Text1.Text end This Solution is just Plain ugly and can lead to Bugs, when 2 InputBoxes are open at the same time. A constructor has always to be public. Why? I'd like to declare a constructor private to force the user of my code to use a static construct (that means: a static function that returns the object). This can sometimes be useful, for example when using a factory to prohibit the user from directly instanciating objects. This leads to another point: friends could be useful or something like Java Packages where one can declare a method as package private. optional parameters are very useful, but why can I only assign a default value to primitive types? private sub foo(optional i as integer = -1) is perfectly legal, but private sub foo(optional o as Bar=new Bar(baz)) is rejected :( It would be nice to define default values also for objects. The workaround using if isnull(o) then o=new Bar(baz) doesn't always work. Because NULL may be a perfectly legal value in some cases. for each on collections acts weird. for each v in col print col.Key & "=" & v next This looks ugly. col is changed even though I don't write to it, but just read values from it. And it isn't really intuitive to look for key in col... It would be nice if we could introduce an iterator concept. But this is quite controversal, so I would like to get your opinion first, before thinking too far. I really miss a 'super' or 'base' keyword to access the Baseclass from within the derived class. In my current work I have this Code: PUBLIC FUNCTION doGetQuery() AS SelectQuery DIM query AS SelectQuery DIM super AS DependentDataSource IF IsNull($con.Value()) THEN RETURN NULL super=ME query=super.doGetQuery() query.AddWhere($field & "='" & CStr($con.Value()) & "'") RETURN query END DependentDataSource is the Baseclass. I have to do an upcast (without casting operators, I'll talk about them a bit later) to access doGetQuery() of the base class. It would be much nicer if I could simply write SUPER.doGetQuery() This leads to another point: Why can't I define which parameter are passed to my base class? Take for example a XML Parser. There are a few Node classes, all derived from BaseNode. Every Node contains an array of allowed child nodes. One could write: SomeNode.class: public sub _new() 'call base constructor super(allowedChildren) end but currently this isn't possible because the user has to specify the params. but in this code only the class itself knows which child nodes are allowed and the user shouldn't care. The workaround using set-Methods to set the allowed children afterwards is not perfect, because the child nodes should be set exactly once when the object is instaciated and shouldn't change later. I already mentioned the lack of casting Operators. Take for example another code from my current work (stripped down): DIM control AS Control SELECT CASE type CASE "select" control=NEW ComboBox(detailFrame) AS "EditControls" Object.SetProperty(control, "ReadOnly", TRUE) END SELECT this factory creates a control depending upon a parameter. It has to set a few parameters, like ReadOnly=TRUE It would be nice if I could write: ((ComboBox)control).ReadOnly=TRUE or Cast(ComboBox, control).ReadOnly = TRUE or something like that. If I could declare variables everywhere I like would also help. This leads to: variables must be declared at begin of function why is that? In C it was a pain in the ass, so they removed this restriction with C99 and no other major language hast that restriction. Even VB doesn't ;) It would be really important to allow the user to declare variables as local as possible. it is even more important because gambas functions tend to be bigger than for example Java or C++ functions (my own personal expierence) A very controversal point is: no RETURN will return NULL I'd prefer a warning when I forgot to write a return statement within a function. One thing that really annoys me is: arr.Add(new Foo(bar)) doesn't work. I have to write dim t as Foo t=new Foo(bar) arr.Add(t) I worked around it by providing a static public make function: static public make(p as Bar) dim obj as Foo obj = new Foo(p) return obj end so I can write arr.Add(Foo.make(bar)) but it would be nice if I could simply write new Foo everywhere where I can put a Foo object. another nice feature would be, if one could declare a variable inside a for statement: for i as integer = 0 to 10 i would be accessably only within the for loop this would be very convenient. it would also help to hold variables as local as possible. one normally uses a loop variable i just for looping and nothing more so it would be really nice if one could express the use of i this strong and obvious. Why doesn't gambas do virtual dispatching? I have a base class called Base and a derived class called Derived. bot implement the method GetQuery() When I have a reference to Base (which really is a reference to Derived, but was upcast) and call GetQuery() it will call Base's GetQuery instead of Derived's one. I have to use Object.Call(obj, "GetQuery") but this isn't so nice. So I worked around it by implementing GetQuery only in Base which looks like: public function GetQuery() as Foo return Object.Call(ME, "doGetQuery") end Derived and Base implement also doGetQuery which does the actual work. But the drawback is: doGetQuery can't be private, because Object.Call wouldn't have access to it... I would like to see virtual dispatching in gambas improved, because currently it is (IMHO) a mess. The next issues are about the IDE gambas: I'd love to see the possibility to set the Tabstop ordering. currently I have to edit the *.form files and reorder the components. that could be improved! It would improve the usability of the IDE if I could create directories to store my class and form files currently I have about 30 *.call files. conceptional there are 3 modules. if i could store them in 3 directories it would improve the management of them a lot. a minor issue: the executale file of my project contains a lot of information that shouldn't be there for example: Project=ReportGenerator Title=ReportGenerator Startup=Report TabSize=2 Argument=-h localhost -l schorny -p -n akademie Version=0.0.16 Library=gb.db Library=gb.xml.libxml SnapToGrid=1 ShowGrid=1 Snap=8 Localize=0 KeepDebugInfo=0 ControlPublic=0 ExecPath=/home/schorny/code/ReportGenerator/report Prefix=0 I think most of them are unecessary. And "Argument" is a bit dangerous - it contains the params that the IDE should use when calling the program. as you can see: it contains the login information for my test db. I don't want to give them to every user ;) even though if have postet a lot of critic: I like gambas. Otherwise I wouldn't have convinced my boss to use Gambas for our Linux Clients ;) currently the best RAD environment for Linux/KDE -> congratulations! From sourceforge-raindog2 at ...94... Wed Jan 5 15:28:39 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 5 Jan 2005 09:28:39 -0500 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <200501051132.16201.radoslav.dejanovic@...116...> References: <200501041100.36749.sourceforge-raindog2@...94...> <200501051132.16201.radoslav.dejanovic@...116...> Message-ID: <200501050928.39743.sourceforge-raindog2@...94...> On Wednesday 05 January 2005 05:32, Radoslav Dejanovi? wrote: > On Tuesday 04 January 2005 17:00, Rob wrote: > > Anyone else have any thoughts? > > One rule: Never ever pay for press coverage of your product, > unless you know it is another sucks-a-lot product and nobody > wants to hear about it. If you meet people who want you to pay > them to write about your product, just walk away. They're not Oh, I'm not talking about a newspaper or something that you bribe to write about your product, because they do suck. I'm talking about us writing our own press release and paying a firm like prnewswire money to send it to about 30,000 newspapers and a few thousand websites, some of whom are likely to write an article based on our release. But I agree with Daniel to an extent that promoting it online among Linux users and VB programmers is the wiser choice at this stage. I still may write a release and submit it to prweb, though, which is free and still carried by a bunch of websites. Rob From jarions at ...761... Wed Jan 5 16:14:13 2005 From: jarions at ...761... (Jarion Stevens) Date: Wed, 05 Jan 2005 09:14:13 -0600 Subject: [Gambas-user] [Gambas-user| Dumb question (I hope) In-Reply-To: <41dab9d1.187a.0@...9...> References: <41dab9d1.187a.0@...9...> Message-ID: <41DC0445.4080109@...761...> Thanks to everyone for all of the ideas and help. I "fixed" the problem by building a new home directory and moving all of my data back into it. I don't know what the problem was but it's no longer a problem. Thanks again, Jarion From oliver_stieber at ...370... Wed Jan 5 16:23:38 2005 From: oliver_stieber at ...370... (Oliver Stieber) Date: Wed, 5 Jan 2005 15:23:38 +0000 (GMT) Subject: [Gambas-user] a few suggestions for improvement In-Reply-To: <20050105142418.83287.qmail@...707...> Message-ID: <20050105152338.98503.qmail@...769...> --- Toni Schornboeck wrote: > Hello Folks. > > First I want to say that I like the Gambas > Environment very much. > But there are a few things that I don't like. > I want to explain what I don't like, why and how it > could be improved. > I would be glad if you could answer me and discuss > my proposals. > > > After a Form is closed, the object still lives, but > at the same time is > dead. > I'd like to write code like: > dim f as Form > f=new Form(foo) > f.ShowModal() > return f.Result > > or something like that. But it is not possible, > because f dies after > "ShowModal()" > I think that is unecessary. f should stay alive > until it gets out of scope. > It would be OK, if a closed form can never be opened > again, therefore a > f.ShowModal() > f.ShowModal() > could raise an error. > > Take for example a InputBox. AFAIK the currently > best solution is: > static public function Run() as String > dim f as InputBox > f=new InputBox > f.ShowModal() > return value > end > > private static value as String > > public sub Form_Close() > value=Text1.Text > end > > This Solution is just Plain ugly and can lead to > Bugs, when 2 InputBoxes are > open at the same time. > > > > A constructor has always to be public. Why? > I'd like to declare a constructor private to force > the user of my code to > use a static > construct (that means: a static function that > returns the object). > This can sometimes be useful, for example when using > a factory to prohibit > the user from directly instanciating > objects. > > Try this.... Crate a form with a textbox [textbox1] and two buttons [ok] and [cancle] put the following code in the form ' Gambas class file PRIVATE myString AS String PUBLIC FUNCTION getValue() AS String ME.ShowModal RETURN myString END PUBLIC SUB Ok_Click() myString = textbox1.Text ME.Close END PUBLIC SUB Cancle_Click() ME.Close END Create a new form object and call getValue(). ===BUG=== interestingly doing a me.hide instead of a me.close results in some strange behaviour. The showmodal never returns but if i call getValue from another form, that form becomes active again. (But I can't close it!) So I think me.hide should terminate the event loop of the form but it isn't properly. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From lordheavy at ...512... Wed Jan 5 16:31:42 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 5 Jan 2005 16:31:42 +0100 Subject: [Gambas-user] Meta Key In-Reply-To: <41DBE666.6060209@...338...> References: <41DBE666.6060209@...338...> Message-ID: <200501051631.43704.lordheavy@...512...> Le Mercredi 5 Janvier 2005 14:06, Daniel Campos a ?crit?: > What is the "meta" key? http://en.wikipedia.org/wiki/Meta_key -- Laurent Carlier From gambas at ...1... Wed Jan 5 16:46:00 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 5 Jan 2005 16:46:00 +0100 Subject: [Gambas-user] a few suggestions for improvement In-Reply-To: <20050105142418.83287.qmail@...707...> References: <20050105142418.83287.qmail@...707...> Message-ID: <200501051646.00936.gambas@...1...> On Wednesday 05 January 2005 15:24, Toni Schornboeck wrote: > Hello Folks. Hello, > > First I want to say that I like the Gambas Environment very much. > But there are a few things that I don't like. > I want to explain what I don't like, why and how it could be improved. > I would be glad if you could answer me and discuss my proposals. > > > After a Form is closed, the object still lives, but at the same time is > dead. > I'd like to write code like: > dim f as Form > f=new Form(foo) > f.ShowModal() > return f.Result > > or something like that. But it is not possible, because f dies after > "ShowModal()" > I think that is unecessary. f should stay alive until it gets out of scope. > It would be OK, if a closed form can never be opened again, therefore a > f.ShowModal() > f.ShowModal() > could raise an error. > > Take for example a InputBox. AFAIK the currently best solution is: > static public function Run() as String > dim f as InputBox > f=new InputBox > f.ShowModal() > return value > end > > private static value as String > > public sub Form_Close() > value=Text1.Text > end > > This Solution is just Plain ugly and can lead to Bugs, when 2 InputBoxes > are open at the same time. Well, I dont find that ugly, and if you have several instances of your form, just don't declare the variable static. > > > > A constructor has always to be public. Why? It is by design. > I'd like to declare a constructor private to force the user of my code to > use a static > construct (that means: a static function that returns the object). > This can sometimes be useful, for example when using a factory to prohibit > the user from directly instanciating > objects. > At the moment, I don't see any mean to do that cleanly. > > This leads to another point: friends could be useful or something like Java > Packages where one can declare a method > as package private. > In Gambas, public means exported. If something is private in a class, then the interpreter can't access it from outside the class. So, constructors, destructors, event handlers... need to be public, or the interpreter won't be able to call them. > > optional parameters are very useful, but why can I only assign a default > value to primitive types? > private sub foo(optional i as integer = -1) > is perfectly legal, but > private sub foo(optional o as Bar=new Bar(baz)) > is rejected :( > It would be nice to define default values also for objects. I think it is just something to change in the compiler. So it may be possible :-) > > The workaround using > if isnull(o) then o=new Bar(baz) > doesn't always work. > Because NULL may be a perfectly legal value in some cases. > > Well, in your example, NEW will never return NULL. > > for each on collections acts weird. > for each v in col > print col.Key & "=" & v > next > This looks ugly. col is changed even though I don't write to it, but just > read values from it. > And it isn't really intuitive to look for key in col... I don't unserstand what you say. Collection.Key is just a read-only property that returns the key of the last entry accessed in the collection. I don't see where the collection is modified during the iteration... > > It would be nice if we could introduce an iterator concept. > But this is quite controversal, so I would like to get your opinion first, > before thinking > too far. > A class can have a '_next' method to implement iteration. But only a native class (written in C/C++) can use that. > > > I really miss a 'super' or 'base' keyword to access the Baseclass from > within the derived class. > In my current work I have this Code: > PUBLIC FUNCTION doGetQuery() AS SelectQuery > DIM query AS SelectQuery > DIM super AS DependentDataSource > > IF IsNull($con.Value()) THEN RETURN NULL > > super=ME > query=super.doGetQuery() > query.AddWhere($field & "='" & CStr($con.Value()) & "'") > > RETURN query > END > > DependentDataSource is the Baseclass. > I have to do an upcast (without casting operators, I'll talk about them a > bit later) to access > doGetQuery() of the base class. > It would be much nicer if I could simply write > SUPER.doGetQuery() > You are right, SUPER is missing. It's in my TODO list. > > > This leads to another point: > Why can't I define which parameter are passed to my base class? > Take for example a XML Parser. There are a few Node classes, all derived > from BaseNode. > Every Node contains an array of allowed child nodes. > One could write: > SomeNode.class: > public sub _new() > 'call base constructor > super(allowedChildren) > end > > but currently this isn't possible because the user has to specify the > params. > but in this code only the class itself knows which child nodes are allowed > and the user > shouldn't care. > > The workaround using set-Methods to set the allowed children afterwards is > not perfect, because > the child nodes should be set exactly once when the object is instaciated > and shouldn't change > later. > Try that: BaseNode.class: PUBLIC SUB _new() ... END SomeNode.class: PUBLIC SUB _new(allowedChildren) ... END Each class in the inheritance hierarchy consumes the parameters passed to the constructor. > > > I already mentioned the lack of casting Operators. > Take for example another code from my current work (stripped down): > DIM control AS Control > > SELECT CASE type > CASE "select" > control=NEW ComboBox(detailFrame) AS "EditControls" > Object.SetProperty(control, "ReadOnly", TRUE) > END SELECT > > this factory creates a control depending upon a parameter. > It has to set a few parameters, like ReadOnly=TRUE > It would be nice if I could write: > ((ComboBox)control).ReadOnly=TRUE > or > Cast(ComboBox, control).ReadOnly = TRUE > or something like that. If I remember, you can do ComboBox(...) to cast to ComboBox. Test it to see if it really works. > > If I could declare variables everywhere I like would also help. > > > This leads to: variables must be declared at begin of function > why is that? > > In C it was a pain in the ass, so they removed this restriction with C99 > and no other major language hast > that restriction. Even VB doesn't ;) I find declaring variable everywhere a source of confusion and unreadable code. So I force them to be declared at the beginning of the function. And one by line at the moment ? > > It would be really important to allow the user to declare variables as > local as possible. > it is even more important because gambas functions tend to be bigger than > for example Java or C++ functions > (my own personal expierence) > You are not compelled to write large functions... > > > A very controversal point is: > no RETURN will return NULL > I'd prefer a warning when I forgot to write a return statement within a > function. It is by design. > > > > One thing that really annoys me is: > arr.Add(new Foo(bar)) > doesn't work. > > I have to write > dim t as Foo > > t=new Foo(bar) > arr.Add(t) > > I worked around it by providing a static public make function: > static public make(p as Bar) > dim obj as Foo > obj = new Foo(p) > return obj > end > so I can write > arr.Add(Foo.make(bar)) > > but it would be nice if I could simply write new Foo everywhere where I can > put a Foo object. > It is by design too. I didn't want to make NEW a true operator. But it is just a compiler restriction. The interpreter don't care. For example, you can do arr.Add(New("Foo", bar)) > > > another nice feature would be, if one could declare a variable inside a for > statement: > > for i as integer = 0 to 10 > > i would be accessably only within the for loop > this would be very convenient. it would also help to hold variables as > local as possible. > one normally uses a loop variable i just for looping and nothing more so it > would be really nice if one > could express the use of i this strong and obvious. > Same remark than before. And I don't see the benefit of having variables "as local as possible". It will change nothing in interpreted code. > > > Why doesn't gambas do virtual dispatching? > I have a base class called Base and a derived class called Derived. > bot implement the method GetQuery() > > When I have a reference to Base (which really is a reference to Derived, > but was upcast) > and call GetQuery() it will call Base's GetQuery instead of Derived's one. > > I have to use > Object.Call(obj, "GetQuery") > but this isn't so nice. > > So I worked around it by implementing GetQuery only in Base which looks > like: > public function GetQuery() as Foo > return Object.Call(ME, "doGetQuery") > end > > Derived and Base implement also doGetQuery which does the actual work. > But the drawback is: doGetQuery can't be private, because Object.Call > wouldn't have access to it... > > I would like to see virtual dispatching in gambas improved, because > currently it is (IMHO) a mess. > You are absolutely right. I just change the interpreter in the 2.0 so that virtual dispatching work. As soon as I release the first developmement version (1.9.1), you will be able to test it and tell me if things are right. > > > The next issues are about the IDE gambas: > I'd love to see the possibility to set the Tabstop ordering. > currently I have to edit the *.form files and reorder the components. that > could be improved! TabOrder = ZOrder, so you just have to modify the second to change the first. > > > > It would improve the usability of the IDE if I could create directories to > store my class and form files > currently I have about 30 *.call files. conceptional there are 3 modules. > if i could store them in 3 directories > it would improve the management of them a lot. > I was thinking of letting the IDE show an ordered and hierarchical view of forms, classes and modules, even if they are stored flat in the project directory. > > a minor issue: the executale file of my project contains a lot of > information that shouldn't be there > for example: > > Project=ReportGenerator > Title=ReportGenerator > Startup=Report > TabSize=2 > Argument=-h localhost -l schorny -p -n akademie > Version=0.0.16 > Library=gb.db > Library=gb.xml.libxml > SnapToGrid=1 > ShowGrid=1 > Snap=8 > Localize=0 > KeepDebugInfo=0 > ControlPublic=0 > ExecPath=/home/schorny/code/ReportGenerator/report > Prefix=0 > > I think most of them are unecessary. And "Argument" is a bit dangerous - it > contains the params that the IDE should use when > calling the program. as you can see: it contains the login information for > my test db. I don't want to give them to every user ;) > Well. It is a point I didn't think about :-) I note it in the TODO list. > > > even though if have postet a lot of critic: I like gambas. > Otherwise I wouldn't have convinced my boss to use Gambas for our Linux > Clients ;) > > currently the best RAD environment for Linux/KDE -> congratulations! Thank you! Regards, -- Benoit Minisini mailto:gambas at ...1... From technoferret at ...598... Wed Jan 5 18:25:20 2005 From: technoferret at ...598... (Dave sharples) Date: Wed, 05 Jan 2005 17:25:20 +0000 Subject: [Gambas-user] 1.0.1 compile error Message-ID: <1104945920.12177.4.camel@...599...> Hi, Could someone help me please, I downloaded the source for Ver 1.0.1, Unpacked it and ran ./configure with no errors, when I come to 'make' I get the following output. I am new to linux and cannot work out what my problem is, I have posted what I think is the relevent part of the output. Thank you creating lib.gb.qt.kde.la (cd .libs && rm -f lib.gb.qt.kde.la && ln -s ../lib.gb.qt.kde.la lib.gb.qt.kde.la) make[6]: Leaving directory `/home/dave/installs/gambas-1.0.1/src/lib/qt/kde' make[5]: Leaving directory `/home/dave/installs/gambas-1.0.1/src/lib/qt/kde' make[5]: Entering directory `/home/dave/installs/gambas-1.0.1/src/lib/qt' /usr/bin//moc main.h -o moc_main.cpp if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt3/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT moc_main.lo -MD -MP -MF ".deps/moc_main.Tpo" -c -o moc_main.lo moc_main.cpp; \ then mv -f ".deps/moc_main.Tpo" ".deps/moc_main.Plo"; else rm -f ".deps/moc_main.Tpo"; exit 1; fi mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt3/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT moc_main.lo -MD -MP -MF .deps/moc_main.Tpo -c moc_main.cpp -fPIC -DPIC -o .libs/moc_main.o if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt3/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt3/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o In file included from CWindow.h:39, from main.cpp:62: CMenu.h:32:19: qlist.h: No such file or directory In file included from main.cpp:82: CTabStrip.h:35:21: qvector.h: No such file or directory make[5]: *** [main.lo] Error 1 make[5]: Leaving directory `/home/dave/installs/gambas-1.0.1/src/lib/qt' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/dave/installs/gambas-1.0.1/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/dave/installs/gambas-1.0.1/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/dave/installs/gambas-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/dave/installs/gambas-1.0.1' make: *** [all] Error 2 dave at ...601...:~/installs/gambas-1.0.1$ From dtarsky at ...626... Wed Jan 5 19:00:36 2005 From: dtarsky at ...626... (Daniel Tarsky) Date: Wed, 5 Jan 2005 10:00:36 -0800 Subject: [Gambas-user] Gambas 1.0 press release? In-Reply-To: <200501041100.36749.sourceforge-raindog2@...94...> References: <200501041100.36749.sourceforge-raindog2@...94...> Message-ID: I had karma to burn at slashdot and myself have sufered from people getting bored with my project too early to appreciate new features. So.. I managed to get a submission accepted on the main page for gambas. :) On Tue, 4 Jan 2005 11:00:36 -0500, Rob wrote: > So, with Slashdot not picking up the Gambas 1.0 release story > even though they accepted the announcement of the RC series, I > am wondering if we (the project) should put out a press release. > I see two ways we can go: prweb, which is free and is really > aimed at small organizations like ours, or prnewswire (or an > equivalent service) which would probably cost us about US$1,000 > but we could have a drive to raise that kind of money (and I'd > be willing to put up about a quarter of that.) > > I think prnewswire's search engine and newspaper coverage is far > greater than prweb's, but prweb would at least get us into > google news if anyone was searching for linux basic or anything > like that. It may be that the traffic we got from a prnewswire > type of release would be more than we could handle at this stage > of our existence, anyway. Maybe a paid press release would be > more of a goal for 2.0 than 1.0. > > Anyone else have any thoughts? > > Rob > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lordheavy at ...512... Wed Jan 5 21:38:40 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 5 Jan 2005 21:38:40 +0100 Subject: [Gambas-user] 1.0.1 compile error In-Reply-To: <1104945920.12177.4.camel@...599...> References: <1104945920.12177.4.camel@...599...> Message-ID: <200501052138.41108.lordheavy@...512...> Le Mercredi 5 Janvier 2005 18:25, Dave sharples a ?crit?: > In file included from CWindow.h:39, > from main.cpp:62: > CMenu.h:32:19: qlist.h: No such file or directory > In file included from main.cpp:82: > CTabStrip.h:35:21: qvector.h: No such file or directory That seems to come from Qt. What version of qt is installed, what packages ? -- Laurent Carlier "The evil that men Do..." From blixtra at ...626... Wed Jan 5 22:05:52 2005 From: blixtra at ...626... (Chris Wilson) Date: Wed, 5 Jan 2005 22:05:52 +0100 Subject: [Gambas-user] Row selection highlighting in TableView Message-ID: <69dead7b05010513054f832cda@...627...> hi, I was wondering why when a row is selected in the lower and side TableView widgets, as shown in the attached screenshot, the rows are not given a highlighted background like the top TableView widget. I didn't do anything special to highlight the top one. When you click on the top row the bottom TV is filled then the side TV is filled based on the selection in the bottom TV. Anyone care to enlghten me. Chris PS: ..and yes, I want them highlighted :) -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot.png Type: image/png Size: 48124 bytes Desc: not available URL: From mcmuffy at ...626... Thu Jan 6 05:33:03 2005 From: mcmuffy at ...626... (Mcmuffy) Date: Thu, 6 Jan 2005 04:33:03 +0000 Subject: [Gambas-user] Stupid noob question. Message-ID: <42d15d6c050105203313999680@...627...> Hi I have just installed linux for the first time today (promepis b3 using kde3.3) mainly to try out gambas. The first program I have created is a simple helloworld program and I have made an executable called 'test'(I know, its in my home directory ;) ) but am having problems running it. From sapcacmt0001 at ...770... Thu Jan 6 06:12:35 2005 From: sapcacmt0001 at ...770... (spam inacan) Date: Wed, 5 Jan 2005 21:12:35 -0800 (PST) Subject: [Gambas-user] installing gambas other than default path Message-ID: <20050106051235.36511.qmail@...771...> Hi, I'm trying to create a package to be installed on my machine. I currently use: make DESTDIR=`pwd`/package install however, parts of the Makefile only seem to utilize the environment variable DESTDIR. I've examined the Makefile and found that another variable ROOT doesn't get updated/modified. I'd be happy if anyone can give some insight to this. Also, I think there might be some typos in the Makefiles, particularly: ROOT=$DESTDIR where it probably should be: ROOT=$(DESTDIR) Thanks. sapcacmt From igor.furlan at ...626... Thu Jan 6 06:47:01 2005 From: igor.furlan at ...626... (Primorec) Date: Wed, 5 Jan 2005 21:47:01 -0800 Subject: [Gambas-user] Published on lwn.net Message-ID: <54728e74050105214733fda906@...627...> http://lwn.net/Articles/116956/ [LWN subscriber-only content] From jarions at ...761... Thu Jan 6 07:12:38 2005 From: jarions at ...761... (Jarion Stevens) Date: Thu, 06 Jan 2005 00:12:38 -0600 Subject: [Gambas-user] Stupid noob question. In-Reply-To: <42d15d6c050105203313999680@...627...> References: <42d15d6c050105203313999680@...627...> Message-ID: <41DCD6D6.5000408@...761...> I believe you are trying to execute the program my clicking on it from within Konqueror ("home" icon on the KDE desktop). The problem is that Konqueror tries to be like explorer and execute programs based on their extension. Instead of using Konqueror, just make an icon on your desktop to run it. Right click on the desktop, select Create New -> File -> Link to application, fill in the blanks: Title and icon on the General tab, command and path on the Application tab. welcome to linux, Jarion Mcmuffy wrote: >Hi > >I have just installed linux for the first time today (promepis b3 >using kde3.3) mainly to try out gambas. >The first program I have created is a simple helloworld program and I >have made an executable called 'test'(I know, its in my home directory >;) ) but am having problems running it. >From the console ./test runs the program fine but all I get when I >click the icon is a dialog asking what program I want to use to run >it. I tried selecting gambas but with no joy. I have checked the >permissions on the file and as far as I can tell it is executable. >Sorry if this has been asked before but a search through the archives >threw up way too many results to wade through. >I know this is more a linux question than a gambas one but it has me >pulling out what little hair I have. > > From dave at ...772... Thu Jan 6 09:29:23 2005 From: dave at ...772... (Dave Sharples) Date: Thu, 06 Jan 2005 08:29:23 +0000 Subject: [Gambas-user] 1.0.1 compile error In-Reply-To: <200501052138.41108.lordheavy@...512...> References: <1104945920.12177.4.camel@...599...> <200501052138.41108.lordheavy@...512...> Message-ID: <1105000162.19186.5.camel@...599...> On Wed, 2005-01-05 at 20:38, Laurent Carlier wrote: > Le Mercredi 5 Janvier 2005 18:25, Dave sharples a ?crit : > > > In file included from CWindow.h:39, > > from main.cpp:62: > > CMenu.h:32:19: qlist.h: No such file or directory > > In file included from main.cpp:82: > > CTabStrip.h:35:21: qvector.h: No such file or directory > > That seems to come from Qt. What version of qt is installed, what packages ? I have QT 3:3.3.3.2-4 installed, packages include qt3-dev-tools libqt3-headers & libqt3-mt-dev. I am using Xandros3.0 which is a snapshot of Debian Sarge I had no problems with gambas 0.99 RC3 on Xandros 2.0 which is also Debian Sarge From dave at ...772... Thu Jan 6 09:59:45 2005 From: dave at ...772... (Dave Sharples) Date: Thu, 06 Jan 2005 08:59:45 +0000 Subject: [Gambas-user] 1.0.1 compile error In-Reply-To: <200501052138.41108.lordheavy@...512...> References: <1104945920.12177.4.camel@...599...> <200501052138.41108.lordheavy@...512...> Message-ID: <1105001985.19186.9.camel@...599...> On Wed, 2005-01-05 at 20:38, Laurent Carlier wrote: > Le Mercredi 5 Janvier 2005 18:25, Dave sharples a ?crit : > > > In file included from CWindow.h:39, > > from main.cpp:62: > > CMenu.h:32:19: qlist.h: No such file or directory > > In file included from main.cpp:82: > > CTabStrip.h:35:21: qvector.h: No such file or directory > > That seems to come from Qt. What version of qt is installed, what packages ? I haven't got the compile error resolved but I have got Gambas 1.0.1 working on my system by adding the Debian Sid (unstable) repository to my apt-get sources and installing the pre-compiled binaries. It seems to be working fine at the moment, all the examples work without a problem. Dave From daniel.campos at ...338... Thu Jan 6 12:53:49 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 06 Jan 2005 12:53:49 +0100 Subject: [Gambas-user] Published on lwn.net In-Reply-To: <54728e74050105214733fda906@...627...> References: <54728e74050105214733fda906@...627...> Message-ID: <41DD26CD.2020200@...338...> Primorec escribi?: >http://lwn.net/Articles/116956/ > >[LWN subscriber-only content] > > Oh God! propietary articles for free software! :-)))) Regards, D. Campos > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From jochengeorges at ...467... Thu Jan 6 12:59:33 2005 From: jochengeorges at ...467... (Jochen Georges) Date: Thu, 6 Jan 2005 12:59:33 +0100 Subject: [Gambas-user] save and load an array of MydataType Message-ID: <200501061259.33751.jochengeorges@...467...> Hello gambanauts, I do not find a way on my own :( I have an array wich is filled with objects of the class CCar. I would like to save and load this array. I found a way to do that if i know how much elements the array contains. But I do not find a way, if I do not know how much elements the array contains. ------------------------------------------------------------ (The form has got two buttons (load and save) and a TextLabel) arCars AS Object[] cnt AS Integer PUBLIC SUB _new() 'make the array arCar with 3 objects of CCar in it i AS Integer DIM tmpcar AS CCar cnt = 3 arCars = NEW Object[] FOR i = 0 TO cnt tmpcar = NEW CCar(Str(i)) arCars.add(tmpcar) NEXT END PUBLIC SUB Button1_Click() 'save it to an file ' I think i only save the CCar objects and not the array itself, do I? myFile AS File i AS Integer IF Dialog.SaveFile() THEN RETURN TRY OPEN Dialog.Path FOR CREATE AS myFile FOR i = 0 TO cnt arCars[0].writeTo(myFile) NEXT CLOSE myFile END PUBLIC SUB Button2_Click() i AS Integer myFile AS File newCars AS Object[] tmpcar AS CCar newCars = NEW Object[] FOR i = 0 TO cnt tmpcar = NEW CCar newCars.add(tmpcar) NEXT IF Dialog.OpenFile() THEN RETURN TRY OPEN dialog.Path FOR READ AS myFile 'guess cnt is not constant and I do not know how much objcts of car are in ' the file: 'how can I know at this point how much objects of CCar are in the file? FOR i = 0 TO cnt newCars[i].ReadFrom(myFile) NEXT CLOSE myFile TLb1.Text = Str(arCars[0].getBrand()) & Str(arCars[1].getBrand()) & Str(arCars[2].getBrand()) END I assume, that i have to write a class "MyOwnArrayWhichIsFilledWithCCarObjects" this class needs a Method WriteTo. And a set- and get Method for each set- and getMethod of CCar. That does not seem to be elegant to me. So, how would you do that? Thanks for any hint. Jochen From mike_keehan at ...679... Thu Jan 6 14:08:32 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Thu, 06 Jan 2005 13:08:32 +0000 Subject: [Gambas-user] save and load an array of MydataType In-Reply-To: <200501061259.33751.jochengeorges@...467...> References: <200501061259.33751.jochengeorges@...467...> Message-ID: <41DD3850.50608@...679...> Hi Jochen, Jochen Georges wrote: > Hello gambanauts, > > I do not find a way on my own :( > I have an array wich is filled with objects of the class CCar. > I would like to save and load this array. > I found a way to do that if i know how much elements the array contains. > But I do not find a way, if I do not know how much elements the array > contains. > Try using a Collection instead of the array. Mike. From dougyancey at ...3... Thu Jan 6 14:15:00 2005 From: dougyancey at ...3... (dougyancey at ...3...) Date: Thu, 6 Jan 2005 7:15:00 -0600 Subject: [Gambas-user] (no subject) Message-ID: <20050106131500.FEVP23786.ispmxmta09-srv.alltel.net@[166.102.165.30]> From christian.faurebouvard at ...357... Thu Jan 6 11:30:00 2005 From: christian.faurebouvard at ...357... (Christian Faure) Date: Thu, 6 Jan 2005 07:30:00 -0300 Subject: [Gambas-user] Re: a few suggestions for improvement In-Reply-To: <200501051646.00936.gambas@...1...> References: <20050105142418.83287.qmail@...707...> <200501051646.00936.gambas@...1...> Message-ID: <200501060730.00779.christian.faurebouvard@...357...> Hello, Just somes workarounds: > > I already mentioned the lack of casting Operators. > > Take for example another code from my current work (stripped down): > > DIM control AS Control > > > > SELECT CASE type > > CASE "select" > > control=NEW ComboBox(detailFrame) AS "EditControls" > > Object.SetProperty(control, "ReadOnly", TRUE) > > END SELECT > > > > this factory creates a control depending upon a parameter. > > It has to set a few parameters, like ReadOnly=TRUE > > It would be nice if I could write: > > ((ComboBox)control).ReadOnly=TRUE > > or > > Cast(ComboBox, control).ReadOnly = TRUE > > or something like that. Try declare control as Object: DIM control AS Object SELECT CASE type CASE "select" control=NEW ComboBox(detailFrame) AS "EditControls" control.ReadOnly=TRUE END SELECT > > Why doesn't gambas do virtual dispatching? > > I have a base class called Base and a derived class called Derived. > > bot implement the method GetQuery() > > > > When I have a reference to Base (which really is a reference to Derived, > > but was upcast) > > and call GetQuery() it will call Base's GetQuery instead of Derived's > > one. > > > > I have to use > > Object.Call(obj, "GetQuery") > > but this isn't so nice. > > > > So I worked around it by implementing GetQuery only in Base which looks > > like: > > public function GetQuery() as Foo > > return Object.Call(ME, "doGetQuery") > > end > > > > Derived and Base implement also doGetQuery which does the actual work. > > But the drawback is: doGetQuery can't be private, because Object.Call > > wouldn't have access to it... > > > > I would like to see virtual dispatching in gambas improved, because > > currently it is (IMHO) a mess. Same as above: declare your reference as Object dim Base as Object dim Derived as Object Base=new("Base") Derived=new("Derived") so, Derived.GetQuery() call Derived.GetQuery() if GetQuery not defined in Derived, then Derived.GetQuery() call Base.GetQuery() Regards, Christian From koksal.basar at ...626... Thu Jan 6 15:57:53 2005 From: koksal.basar at ...626... (KOKSAL BASAR) Date: Thu, 06 Jan 2005 16:57:53 +0200 Subject: [Gambas-user] ODBC and XML Message-ID: <41DD51F1.7080605@...626...> Hi everybody, I'm the one of dinosaur in VB world. I had used VB for DOS and from 1.0 to .Net. I have been developing many projects with VB. My dream was to write project as easy as VB in Linux Box. Gambas realized it. Thank you Benoit. I'm planning new project with Gambas and I have some question. 1) May I connetc MSSQL (or Jet .mdb files) with ODBC. This is very important case for VB Developers. If Gambas do it, Micro$oft will be very unhappy. 2) I can write some XML files with XmlWriter but can't read with XmlReader. How will I use XmlReader or other objects in gb.xml.libxml. Thank you for your helps, Koksal From gambas at ...1... Thu Jan 6 16:19:34 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 6 Jan 2005 16:19:34 +0100 Subject: [Gambas-user] save and load an array of MydataType In-Reply-To: <200501061259.33751.jochengeorges@...467...> References: <200501061259.33751.jochengeorges@...467...> Message-ID: <200501061619.34588.gambas@...1...> On Thursday 06 January 2005 12:59, Jochen Georges wrote: > Hello gambanauts, > > I do not find a way on my own :( > I have an array wich is filled with objects of the class CCar. > I would like to save and load this array. > I found a way to do that if i know how much elements the array contains. > But I do not find a way, if I do not know how much elements the array > contains. FOR i = 0 TO arCars.Count - 1 arCars[i].writeTo(myFile) NEXT should behave correctly. Another non-related point Jochen: in the GambasIndexByCategory Wiki page, you have moved the file-related -functions- with the file-related -instructions-. Why ?? Can you rollback these changes, so that functions and instructions keep separate ? Or we can mix them all. But there must be some logic... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jan 6 16:20:50 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 6 Jan 2005 16:20:50 +0100 Subject: [Gambas-user] installing gambas other than default path In-Reply-To: <20050106051235.36511.qmail@...771...> References: <20050106051235.36511.qmail@...771...> Message-ID: <200501061620.50811.gambas@...1...> On Thursday 06 January 2005 06:12, spam inacan wrote: > Hi, > > I'm trying to create a package to be installed on my > machine. I currently use: > > make DESTDIR=`pwd`/package install > > however, parts of the Makefile only seem to utilize > the environment variable DESTDIR. I've examined the > Makefile and found that another variable ROOT doesn't > get updated/modified. I'd be happy if anyone can give > some insight to this. You must use ./configure --prefix=/my/install/directory > > Also, I think there might be some typos in the > Makefiles, particularly: > > ROOT=$DESTDIR > > where it probably should be: > > ROOT=$(DESTDIR) > This is the same thing. > Thanks. > > sapcacmt > > Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu Jan 6 17:25:04 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 6 Jan 2005 11:25:04 -0500 Subject: [Gambas-user] ODBC and XML In-Reply-To: <41DD51F1.7080605@...626...> References: <41DD51F1.7080605@...626...> Message-ID: <200501061125.04105.sourceforge-raindog2@...94...> On Thursday 06 January 2005 09:57, KOKSAL BASAR wrote: > 1) May I connetc MSSQL (or Jet .mdb files) with ODBC. This is > very important case for VB Developers. If Gambas do it, > Micro$oft will be very unhappy. I think once the ODBC component (recently submitted) is up to speed, you will be able to connect to MSSQL through the "freetds" package (which also handles sybase.) If it doesn't, then someone will need to write a gb.db.freetds component (and it may end up being me, but no promises.) There is a perl module for reading .mdb files, but I don't know if anyone wrote a Linux ODBC driver for them. The file format is weird enough that I would be very cautious about writing to them with a driver not provided by Microsoft, but it should be possible to write an Access to Sqlite converter so you could include sqlite files with your Gambas projects. Rob From berto.melgar at ...626... Thu Jan 6 17:49:29 2005 From: berto.melgar at ...626... (Berto) Date: Thu, 6 Jan 2005 16:49:29 +0000 Subject: [Gambas-user] Nice review here Message-ID: <38e9ff99050106084938fdafa6@...627...> http://codefez.com/Default.aspx?tabid=79&newsType=ArticleView&articleId=71 -- Redescubre la Web: Pillate Firefox [getfirefox.com] There are only 10 types of people in this world... those who understand binary, and those who don't. "The pure and simple truth is rarely pure and never simple." - Oscar Wilde "Reality is that which, when you stop believing in it, doesn't go away." - Philip K. Dick "El sexo sucio? s?, claro; pero solo cuando se hace bien. - Woody Allen "Yo no coloco al artista en un pedestal, como si fuera un peque?o dios. Es tan s?lo el int?rprete de lo in?fable." Edward Weston "...de pronto, todo me resulta evidente: s?lo los libros fant?sticos pueden transmitir la realidad desfasada en que vivo..." David B. La ascenci?n del gran mal. Berto From mcmuffy at ...626... Thu Jan 6 18:28:15 2005 From: mcmuffy at ...626... (Mcmuffy) Date: Thu, 6 Jan 2005 17:28:15 +0000 Subject: [Gambas-user] Stupid noob question. In-Reply-To: <41DCD6D6.5000408@...761...> References: <42d15d6c050105203313999680@...627...> <41DCD6D6.5000408@...761...> Message-ID: <42d15d6c05010609286c652d3f@...627...> Yup. That did the trick. Thanks On Thu, 06 Jan 2005 00:12:38 -0600, Jarion Stevens wrote: > I believe you are trying to execute the program my clicking on it from > within Konqueror ("home" icon on the KDE desktop). The problem is that > Konqueror tries to be like explorer and execute programs based on their > extension. Instead of using Konqueror, just make an icon on your > desktop to run it. Right click on the desktop, select Create New -> > File -> Link to application, fill in the blanks: Title and icon on the > General tab, command and path on the Application tab. > > welcome to linux, > Jarion > > Mcmuffy wrote: > > >Hi > > > >I have just installed linux for the first time today (promepis b3 > >using kde3.3) mainly to try out gambas. > >The first program I have created is a simple helloworld program and I > >have made an executable called 'test'(I know, its in my home directory > >;) ) but am having problems running it. > >From the console ./test runs the program fine but all I get when I > >click the icon is a dialog asking what program I want to use to run > >it. I tried selecting gambas but with no joy. I have checked the > >permissions on the file and as far as I can tell it is executable. > >Sorry if this has been asked before but a search through the archives > >threw up way too many results to wade through. > >I know this is more a linux question than a gambas one but it has me > >pulling out what little hair I have. > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Cheers Ray From jredrejo at ...96... Thu Jan 6 18:58:07 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Thu, 06 Jan 2005 18:58:07 +0100 Subject: [Gambas-user] ODBC and XML In-Reply-To: <20050106163005.BCEE2131BA@...773...> References: <20050106163005.BCEE2131BA@...773...> Message-ID: <1105034287.2906.18.camel@...698...> El jue, 06-01-2005 a las 08:29 -0800, Rob escribi?: > > On Thursday 06 January 2005 09:57, KOKSAL BASAR wrote: > > 1) May I connetc MSSQL (or Jet .mdb files) with ODBC. This is > > very important case for VB Developers. If Gambas do it, > > Micro$oft will be very unhappy. > > I think once the ODBC component (recently submitted) is up to > speed, you will be able to connect to MSSQL through the > "freetds" package (which also handles sybase.) If it doesn't, > then someone will need to write a gb.db.freetds component (and > it may end up being me, but no promises.) > > There is a perl module for reading .mdb files, but I don't know > if anyone wrote a Linux ODBC driver for them. The file format > is weird enough that I would be very cautious about writing to > them with a driver not provided by Microsoft, but it should be > possible to write an Access to Sqlite converter so you could > include sqlite files with your Gambas projects. > > Rob > According to http://mdbtools.sourceforge.net, there is an unix odbc driver for access "databases". From daniel.campos at ...338... Thu Jan 6 20:15:07 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 06 Jan 2005 20:15:07 +0100 Subject: [Gambas-user] Nice review here In-Reply-To: <38e9ff99050106084938fdafa6@...627...> References: <38e9ff99050106084938fdafa6@...627...> Message-ID: <41DD8E3B.30402@...338...> Berto escribi?: >http://codefez.com/Default.aspx?tabid=79&newsType=ArticleView&articleId=71 > > > /"Figure 8: A DNS sample program that comes with Gambas. The program resolved the addresses so quickly that I'm a bit afraid to open the source for fear of finding that the answers were hard-coded." He,he! nice comment, I think I'll really do it for the next version! :-)))) Regards, D. Campos / From westwing at ...17... Thu Jan 6 20:18:57 2005 From: westwing at ...17... (Design) Date: Thu, 6 Jan 2005 20:18:57 +0100 Subject: [Gambas-user] Main class?! Message-ID: <002d01c4f424$9282c460$0a01a8c0@...774...> Hello, When i open a new project and create a new form i cant finde the main class like this STATIC PUBLIC SUB Main() hForm AS Fmain hForm = NEW Fmain hForm.show END When i enter this in the form code window(class) i get a error. Where is this main clas predefined ? ____________ Virus checked by G DATA AntiVirusKit Version: AVK 15.0.2229 from 05.01.2005 Virus news: www.antiviruslab.com From mike_keehan at ...679... Thu Jan 6 21:00:38 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Thu, 06 Jan 2005 20:00:38 +0000 Subject: [Gambas-user] Main class?! In-Reply-To: <002d01c4f424$9282c460$0a01a8c0@...774...> References: <002d01c4f424$9282c460$0a01a8c0@...774...> Message-ID: <41DD98E6.7060308@...679...> Design wrote: > Hello, > > When i open a new project and create a new form i cant finde the main > class like this > > STATIC PUBLIC SUB Main() > hForm AS Fmain > hForm = NEW Fmain > hForm.show > END > > When i enter this in the form code window(class) i get a error. Where > is this main clas predefined ? > Hi, Right click on the form in the Project Explorer window, and click the 'Startup Class' option. Form_Show() is one of the events which will run when the form is run, so you can put start up code in there if necessary. Mike. From gambasfr at ...11... Thu Jan 6 21:33:16 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 6 Jan 2005 21:33:16 +0100 Subject: [Gambas-user] Main class?! In-Reply-To: <41DD98E6.7060308@...679...> References: <002d01c4f424$9282c460$0a01a8c0@...774...> <41DD98E6.7060308@...679...> Message-ID: <200501062133.16445.gambasfr@...11...> Le jeudi 6 Janvier 2005 21:00, Mike Keehan a ?crit?: > Design wrote: > > Hello, > > > > When i open a new project and create a new form i cant finde the main > > class like this > > > > STATIC PUBLIC SUB Main() > > hForm AS Fmain > > hForm = NEW Fmain > > hForm.show > > END > > > > When i enter this in the form code window(class) i get a error. Where > > is this main clas predefined ? > > Hi, > > Right click on the form in the Project Explorer window, and click the > 'Startup Class' option. > > Form_Show() is one of the events which will run when the form is run, > so you can put start up code in there if necessary. > > Mike. > > in order you have : the constructor of the class (initialize): PUBLIC SUB _New() END then (loading): PUBLIC SUB Form_Open() END and (when the fom is put visible): PUBLIC SUB Form_Show() END Try a right click on the form and had a look to the events. Fabien > ----------------------------------------- > -------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jochengeorges at ...467... Fri Jan 7 02:07:21 2005 From: jochengeorges at ...467... (Jochen Georges) Date: Fri, 7 Jan 2005 02:07:21 +0100 Subject: [Gambas-user] save and load an array of MydataType In-Reply-To: <200501061619.34588.gambas@...1...> References: <200501061259.33751.jochengeorges@...467...> <200501061619.34588.gambas@...1...> Message-ID: <200501070207.21694.jochengeorges@...467...> On Thursday 06 January 2005 16:19, Benoit Minisini wrote: > On Thursday 06 January 2005 12:59, Jochen Georges wrote: > > Hello gambanauts, > FOR i = 0 TO arCars.Count - 1 > arCars[i].writeTo(myFile) > NEXT > > should behave correctly. Thanks, but still i do not have an idea how i can load this array from a file if i do not know how many items it contains. i AS Integer myFile AS File newCars AS Object[] tmpcar AS CCar newCars = NEW Object[] FOR i = 0 TO cnt // if i do not know cnt ... tmpcar = NEW CCar newCars.add(tmpcar) NEXT IF Dialog.OpenFile() THEN RETURN TRY OPEN dialog.Path FOR READ AS myFile FOR i = 0 TO cnt newCars[i].ReadFrom(myFile) NEXT CLOSE myFile > Why ?? Can you rollback these changes, so that functions and instructions > keep separate ? I took it back. > Or we can mix them all. But there must be some logic... I would appreciate this. I think it is easier to have it in one sight. Maybe like this

File Management

Keywords

COPY KILL LINK

Functions

Access Dir Exist Beste Gruesse Jochen From lists at ...706... Fri Jan 7 10:24:31 2005 From: lists at ...706... (Toni Schornboeck) Date: Fri, 07 Jan 2005 10:24:31 +0100 Subject: [Gambas-user] Re: a few suggestions for improvement In-Reply-To: <200501051646.00936.gambas@...1...> References: <20050105142418.83287.qmail@...707...> <200501051646.00936.gambas@...1...> Message-ID: <20050107092431.35485.qmail@...707...> Benoit Minisini writes: >> After a Form is closed, the object still lives, but at the same time is >> dead. >> Well, I dont find that ugly, and if you have several instances of your form, > just don't declare the variable static. It was my bad. Thanks to Oliver Stieber for providing this workaround without a static variable. But there is another problem with dieing forms: For example in .NET a Dialog has also a Property which indicates which button was pressed to close the form. The thing I want to achieve is 'easier' coding: dim f as Form f=new Form(bar) f.ShowModal() if f.Closed = Form.Cancel then return handle_value(f.Value) would be very nice :) The 'Problem' with Oliver's workaround is: If I return an object, I can return NULL to say "user pressed cancel" but if I want to return a primitive type like int or so, that is not possible. And 3 states (for example: Ignore, Retry, Cancel) wouldn't work. Of course, one can workaround this - but more than one return value by function would add complexity that wouldn't be necessary. And I personally don't like it, when an object dies without me calling Close(), a destructor, finalize() or any other explicit killing method. I think the code is not intuitive when an object dies because I called Show() on it... But the workaround from Oliver is a good solution. >> A constructor has always to be public. Why? >It is by design. Could you consider changing this or adding an other method for prohibiting client code to instanciate an object? When writing a complex class hierachies i find it sometimes necessary to force the user to use a factory instead of instanciating object by himself. >> I'd like to declare a constructor private to force the user of my code to >> use a static >> construct (that means: a static function that returns the object). >> This can sometimes be useful, for example when using a factory to prohibit >> the user from directly instanciating >> objects. >At the moment, I don't see any mean to do that cleanly. For example: A XML Parser which holds concrete Nodes: All are subclasses of NodeBase The Parser doesn't care about the different Nodes, it just calls parentNode.AddChild(CreateNodeFromTag(tag)) it wouldn't make any sense to create a specific Node. So CreateNodeFromTag() creates a Node from the Tag and takes into account that some Tags produce the same Node class and so on. The idea behind this is: client code need not to have any clue about the different node classes, they just don't show. All is hidden behind NodeBase. For the client code it doesn't matter if the tag "" creates a FooNode or BarNode, it just calls node.Process() and the node does its job :) Of course it works without defining private constructors, but it could help to keep the user from doing odd things he is not supposed to do. >> This leads to another point: friends could be useful or something like Java >> Packages where one can declare a method >> as package private. >In Gambas, public means exported. If something is private in a class, then the >interpreter can't access it from outside the class. So, constructors, >destructors, event handlers... need to be public, or the interpreter won't be >able to call them. I understand. But for further versions, would it be possible to consider a package system like Java's? The idea is: exporting not all classes and methods. That could be usefull when writing libraries in gambas. The Java Collections show us, how nice this can be when not everything is visible for the client. And of course there are often internal helper classes. These should be also kept private and hidden :) So we can keep the public interface of a library very slim and clean. >> optional parameters are very useful, but why can I only assign a default >> value to primitive types? >I think it is just something to change in the compiler. So it may be >possible :-) That would be very helpful and would add clarity to code. Because I think one of the important things about a language is consistency. There shouldn't be unecessary differences between primitive types and objects. >> The workaround using >> if isnull(o) then o=new Bar(baz) >> doesn't always work. >> Because NULL may be a perfectly legal value in some cases. >Well, in your example, NEW will never return NULL. Yes, this would be just a workaround: public sub foo(o as Bar) if isnull(o) then o=new Bar(baz) instead of public sub foo(o as Bar = new Bar(baz)) but the difference is: foo(null) will yield different results, because my first version would assume that no value was provided and override null with new Bar(baz) but maybe null would be a correct value and not the default one -> this would be impossible to implement. >> for each on collections acts weird. >I don't unserstand what you say. Collection.Key is just a read-only property >that returns the key of the last entry accessed in the collection. I don't >see where the collection is modified during the iteration... I'm sorry, I haven't explained enough because I thought my point would be obvious (which was stupid of me because if it is obvious and clear to you, you wouldn't have implemented in that way ;)) So here is a better explaination: The problem as I see it are some very hard to find bugs: for each v in col if ShallEntriesBeDeleted(col.Key) then DeleteAllEntriesLike(col, col.Key) end if LogMessage("All Entries Like " & col.Key & " have been deleted") next See the bug? col.Key in DeleteAllEntriesLike(col, col.Key) and in LogMessage("All Entries Like " & col.Key & " have been deleted") are 2 different values. And to add obscurity: the value of col.Key in LogMessage("All Entries Like " & col.Key & " have been deleted") deepends on the implementation of DeleteAllEntriesLike The problem is: col.Key can change everytime I pass col to an extern function. I can't know if it will change or not, but it can change. So I have to store col.Key in a separate variable. Now the reader of my code has to figure out, if I'm using col.Key or a separate variable. This add complexity. >> I really miss a 'super' or 'base' keyword to access the Baseclass from >> within the derived class. > You are right, SUPER is missing. It's in my TODO list. Thank you. >> Why can't I define which parameter are passed to my base class? > Try that: > > BaseNode.class: > > PUBLIC SUB _new() > ... > END > > SomeNode.class: > > PUBLIC SUB _new(allowedChildren) > ... > END > > Each class in the inheritance hierarchy consumes the parameters passed to the > constructor. Yes, and so I have to implement a SetAllowedChildren() function, or do I miss an important point? BaseNode holds all allowedChildren but it doesn't know what they are. SomeNode has to set all allowedChildren when it is created. currently SomeNode can't pass any parameter to BaseNode's constructor. SomeNode has to use a SetAllowedChildren() function, which allowes to change the nodes during runtime, which shouldn't be allowed. OK, one can introduce a sealed flag, which can be set once and afterwards never changed to indicate if SetAllowedChildren() will succeed. >> I already mentioned the lack of casting Operators. > If I remember, you can do ComboBox(...) to cast to ComboBox. Test it to see if > it really works. Oh, I'm sorry. It works perfectly. I must have overlooked it in the documentation, sorry. >> This leads to: variables must be declared at begin of function >> why is that? > I find declaring variable everywhere a source of confusion and unreadable > code. So I force them to be declared at the beginning of the function. And > one by line at the moment ? One by line is good practice, but only at begin of scope? But I see, we can argue as much as we like, but neither of us will change his mind about that, right? FOR?? >> It would be really important to allow the user to declare variables as >> local as possible. > You are not compelled to write large functions... I know, and 90% of the functions in my current work are less than 10 lines of code. But there are a few functions that just initialize something. They take more than 10 lines, but I think it is OK, because it is very easy to understand the meaning (they just initialize the components on the form) And sometimes there are a few variables that are only needed at the end of the function... OK, I'll stop arguing ;) >> A very controversal point is: >> no RETURN will return NULL > It is by design. I understand. >> One thing that really annoys me is: >> arr.Add(new Foo(bar)) >> doesn't work. > It is by design too. I didn't want to make NEW a true operator. But it is just > a compiler restriction. The interpreter don't care. > For example, you can do > > arr.Add(New("Foo", bar)) Oh. Why doesn't the compiler then allow it? If it is by design, why does the interpreter allow it. And what are the benefits from not allowing it? I'm sorry, but I really can't see any good reason for this :( >> another nice feature would be, if one could declare a variable inside a for >> statement: >> >> for i as integer = 0 to 10 > Same remark than before. And I don't see the benefit of having variables "as > local as possible". It will change nothing in interpreted code. We have really different religions :) One of my most important laws is "declare variables as local as possible" >> Why doesn't gambas do virtual dispatching? > You are absolutely right. I just change the interpreter in the 2.0 so that > virtual dispatching work. As soon as I release the first developmement > version (1.9.1), you will be able to test it and tell me if things are right. Thank you! >> I'd love to see the possibility to set the Tabstop ordering. > TabOrder = ZOrder, so you just have to modify the second to change the first. I'm sorry. I must have missed it in the documentation. Thank you! >> It would improve the usability of the IDE if I could create directories to >> store my class and form files > I was thinking of letting the IDE show an ordered and hierarchical view of > forms, classes and modules, even if they are stored flat in the project > directory. Something like an "object browser"? Would be nice, but I'd like to set it also myself. Consider a large project that uses 5 different libraries written in Gambas: a library consist of classes, but these classes are not required to inherit from each other - so your object browser wouldn't display the libraries correctly (because it would split them). But I agree, an object browser would be great. >> a minor issue: the executale file of my project contains a lot of >> information that shouldn't be there > Well. It is a point I didn't think about :-) I note it in the TODO list. Thank you. I'm glad that you took the time to answer my questions/suggestions. Even though we don't agree with each other everywhere, I hope you'll consider a few of my points for future version of gambas :) PS: sorry for answering this late, but I haven't work yesterday -> we had a public holiday From lists at ...706... Fri Jan 7 12:26:43 2005 From: lists at ...706... (Toni Schornboeck) Date: Fri, 07 Jan 2005 12:26:43 +0100 Subject: [Gambas-user] Re: save and load an array of MydataType In-Reply-To: <200501070207.21694.jochengeorges@...467...> References: <200501061259.33751.jochengeorges@...467...> <200501061619.34588.gambas@...1...> <200501070207.21694.jochengeorges@...467...> Message-ID: <20050107112643.4414.qmail@...707...> Jochen Georges writes: > Thanks, but still i do not have an idea how i can load this array from a file > if i do not know how many items it contains. Haven't used such code yet, but what about: i AS Integer myFile AS File newCars AS Object[] tmpcar AS CCar newCars = NEW Object[] tmpcar = NEW CCar IF Dialog.OpenFile() THEN RETURN TRY OPEN dialog.Path FOR READ AS myFile WHILE NOT EOF(myFile) tmpcar=new CCar tmpcar.ReadFrom(myFile) newCars.Add(tmpcar) NEXT CLOSE myFile or just store the number of objects as the first line of the file ;) From jredrejo at ...96... Fri Jan 7 12:48:30 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Fri, 07 Jan 2005 12:48:30 +0100 Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <200501022213.49677.gambas@...1...> References: <200501022213.49677.gambas@...1...> Message-ID: <1105098510.2583.12.camel@...698...> El dom, 02-01-2005 a las 22:13 +0100, Benoit Minisini escribi?: > The new development version of gambas will be numbered 1.1.x or 1.9.x, I am > not completetly determined. Well, 1.9.x seems to be cool :-) > > BUT, as we must be able to install the current 1.0 and the next 2.0 on the > same system, the package will be renamed 'gambas2' > > Things of gambas2 will be installed in /usr/lib/gambas2, usr/share/gambas2, > and so on. The interpreter should be renamed too (gbx2), and I think the > tools (gbi, gba, gbc, gambas, gambas-database-manager) will move > in /usr/lib/gambas2/bin or something similar. > > So, the name of the current package is gambas-1.0.x.tar.bz2 > And the name of the development package will be gambas2-1.9.x.tar.bz2 > > Is it clear for everyone ? :-) > I didn't notice it the first time I read this email, but today I have some points of disagreement with the new numbers for the next gambas release. I wouldn't like to see gbx, gbx2,gbx3 and so on in the following releases. Or if they exist, I think at least there should be a diversion with soft links from gbx to the gbxN the users wants, as it happens with gcc. Because.. projects made with the actual gambas version will run with the new runtime, won't them?. In that case, these projects search gbx to run, no gbx2. The same thing with compilation and so on... I really don't see the need to rename the next release. As it is not a production release, whoever desires to use it must know it is not safe, and when it is ready for production it could replace without any problem the actual release. Regards. From fagonzalez at ...760... Fri Jan 7 13:12:02 2005 From: fagonzalez at ...760... (Fernando Gonzalez) Date: Fri, 7 Jan 2005 09:12:02 -0300 Subject: [Gambas-user] save and load an array of MydataType In-Reply-To: <200501070207.21694.jochengeorges@...467...> Message-ID: -----Mensaje original----- De: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] En nombre de Jochen Georges Enviado el: Jueves, 06 de Enero de 2005 10:07 p.m. Para: gambas-user at lists.sourceforge.net Asunto: Re: [Gambas-user] save and load an array of MydataType On Thursday 06 January 2005 16:19, Benoit Minisini wrote: > On Thursday 06 January 2005 12:59, Jochen Georges wrote: > > Hello gambanauts, > FOR i = 0 TO arCars.Count - 1 > arCars[i].writeTo(myFile) > NEXT Try eof() in DO .. LOOP Loop Fernando > should behave correctly. Thanks, but still i do not have an idea how i can load this array from a file if i do not know how many items it contains. i AS Integer myFile AS File newCars AS Object[] tmpcar AS CCar newCars = NEW Object[] FOR i = 0 TO cnt // if i do not know cnt ... tmpcar = NEW CCar newCars.add(tmpcar) NEXT IF Dialog.OpenFile() THEN RETURN TRY OPEN dialog.Path FOR READ AS myFile FOR i = 0 TO cnt newCars[i].ReadFrom(myFile) NEXT CLOSE myFile > Why ?? Can you rollback these changes, so that functions and instructions > keep separate ? I took it back. > Or we can mix them all. But there must be some logic... I would appreciate this. I think it is easier to have it in one sight. Maybe like this

File Management

Keywords

COPY KILL LINK

Functions

Access Dir Exist Beste Gruesse Jochen ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Fri Jan 7 14:40:21 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 7 Jan 2005 08:40:21 -0500 Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <1105098510.2583.12.camel@...698...> References: <200501022213.49677.gambas@...1...> <1105098510.2583.12.camel@...698...> Message-ID: <200501070840.21856.sourceforge-raindog2@...94...> On Friday 07 January 2005 06:48, Jos? "L. Redrejo" Rodr?guez wrote: > I wouldn't like to see gbx, gbx2,gbx3 and so on in the > following releases. Or if they exist, I think at least there > should be a diversion with soft links from gbx to the gbxN the > users wants, as it happens with gcc. > Because.. projects made with the actual gambas version will > run with the new runtime, won't them?. In that case, these I remember porting a VB3 program to VB6. That wasn't pretty, but at least VB's runtime DLLs are renamed with each version. Gambas being an interpreted language at present means that the most direct equivalent to vbrun*.dll is gbx, so I think that needs to be renamed. I can only imagine that Gambas will change significantly between major releases and possibly break source compatibility, just as Qt, Gtk and even gcc do. Unlike gcc, though, gbx needs to be present on target machines and therefore the symlink and /etc/alternatives stuff would likely be harmful. One cute way of doing it would be to repackage gbx as gbx1 when gbx2 comes out, and change gbx to a "switcher" program that somehow determines which version of gbx is needed and attempts to run it. Rob From technoferret at ...598... Fri Jan 7 15:17:28 2005 From: technoferret at ...598... (Dave sharples) Date: Fri, 07 Jan 2005 14:17:28 +0000 Subject: [Gambas-user] CD-rom device & media detection Message-ID: <1105107448.19186.57.camel@...599...> Hi all, I'm reasonably new to gambas having come from VB6 and for my first *real* app I need to somehow detect and list the CD drives in a system and also detect if they have any media in them. Not being a linux geek either I am completely stumped as to how to go about this. If someone could point me in the right direction as to which function I should use or any reading that would help I would be greatful. Cheers Dave From bandman at ...626... Fri Jan 7 15:47:27 2005 From: bandman at ...626... (Matt Simmons) Date: Fri, 7 Jan 2005 09:47:27 -0500 Subject: [Gambas-user] Array sizes, and hello Message-ID: <5bcb62b6050107064721b86759@...627...> Hey everyone, I'm a brand new Gambas user, and I wanted to say hello, and first off thank everyone who's put a ton of work into this project. It really shows, and I've enjoyed the short time I've been working with this. I've been through the documentation, and for the life of me, I haven't been able to find a function to determine the size of an array that's been created on the fly. I'm creating an array from a split() function, and I needed to verify that there were enough items created. I ended up writing my own sizeof(), since I am use to PHP. Forgive me if someone else has done the same, or if there's an equivalent already in the language. PUBLIC FUNCTION sizeof(arrInput AS String[]) AS Integer DIM arrUnit AS String itemCount AS Integer itemCount = 0 FOR EACH arrUnit IN arrInput INC itemCount NEXT RETURN itemCount END It's simple, but it should save a little time, hopefully. Thanks again! --Matt Simmons From sourceforge-raindog2 at ...94... Fri Jan 7 15:55:14 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 7 Jan 2005 09:55:14 -0500 Subject: [Gambas-user] Array sizes, and hello In-Reply-To: <5bcb62b6050107064721b86759@...627...> References: <5bcb62b6050107064721b86759@...627...> Message-ID: <200501070955.14855.sourceforge-raindog2@...94...> On Friday 07 January 2005 09:47, Matt Simmons wrote: > I've been through the documentation, and for the life of me, I > haven't been able to find a function to determine the size of > an array that's been created on the fly. I'm creating an array That would be myarray.count So not a function per se, but a property.... Rob From sourceforge-raindog2 at ...94... Fri Jan 7 15:48:28 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 7 Jan 2005 09:48:28 -0500 Subject: [Gambas-user] CD-rom device & media detection In-Reply-To: <1105107448.19186.57.camel@...599...> References: <1105107448.19186.57.camel@...599...> Message-ID: <200501070948.28658.sourceforge-raindog2@...94...> On Friday 07 January 2005 09:17, Dave sharples wrote: > I'm reasonably new to gambas having come from VB6 and for my > first *real* app I need to somehow detect and list the CD > drives in a system and also detect if they have any media in > them. I've had to do this for a couple clients. I'll try to post some code later today if I can dig it up. But the simplest way is to try getting a directory of each cd's mount point and trapping the error. Rob From trorrr at ...397... Fri Jan 7 16:09:03 2005 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Fri, 7 Jan 2005 16:09:03 +0100 (CET) Subject: [Gambas-user] Gambas and Cygwin In-Reply-To: Message-ID: <20050107150903.17867.qmail@...757...> --- Henri Girard escribi?: > I installed qt and kde-cygwin... > works fine... trying to compile now... > We tried few months ago... i will see > how different it is now... > Henri > I installed too qt and kde in cygwin, now i was trying with gambas. The ./configure seems to work OK (i don't need SDL nor DB), so i tried to compile it. It crashes, :-(, but i don't know if the reason is try to do it in cygwin or something else. Here are the last lines: gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbcurl.lo -MD -MP -MF .deps/gbcurl.Tpo -c gbcurl.c -DPIC -o .libs/gbcurl.o if /bin/bash ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -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 gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -DPIC -o .libs/main.o if /bin/bash ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CCurl.lo -MD -MP -MF ".deps/CCurl.Tpo" -c -o CCurl.lo CCurl.c; \ then mv -f ".deps/CCurl.Tpo" ".deps/CCurl.Plo"; else rm -f ".deps/CCurl.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CCurl.lo -MD -MP -MF .deps/CCurl.Tpo -c CCurl.c -DPIC -o .libs/CCurl.o CCurl.c: In function `CCURL_stream_lof': CCurl.c:86: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast CCurl.c: In function `CCURL_stream_eof': CCurl.c:97: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast CCurl.c: In function `CCURL_stream_read': CCurl.c:108: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast CCurl.c: In function `CCURL_Manage_ErrCode': CCurl.c:172: warning: passing arg 1 of `fclose' from incompatible pointer type CCurl.c:173: warning: use of cast expressions as lvalues is deprecated CCurl.c:180: warning: use of cast expressions as lvalues is deprecated CCurl.c:186: warning: use of cast expressions as lvalues is deprecated CCurl.c: In function `CCURL_stop': CCurl.c:202: warning: passing arg 1 of `fclose' from incompatible pointer type CCurl.c:203: warning: use of cast expressions as lvalues is deprecated CCurl.c:210: warning: use of cast expressions as lvalues is deprecated CCurl.c:212: warning: use of cast expressions as lvalues is deprecated CCurl.c: In function `CCURL_URL': CCurl.c:365: warning: use of cast expressions as lvalues is deprecated CCurl.c: In function `CCURL_new': CCurl.c:383: warning: use of cast expressions as lvalues is deprecated CCurl.c:384: warning: use of cast expressions as lvalues is deprecated CCurl.c:385: warning: use of cast expressions as lvalues is deprecated CCurl.c:391: warning: assignment from incompatible pointer type CCurl.c: In function `CCURL_free': CCurl.c:400: warning: passing arg 1 of `fclose' from incompatible pointer type if /bin/bash ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CHttpClient.lo -MD -MP -MF ".deps/CHttpClient.Tpo" -c -o CHttpClient.lo CHttpClient.c; \ then mv -f ".deps/CHttpClient.Tpo" ".deps/CHttpClient.Plo"; else rm -f ".deps/CHttpClient.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CHttpClient.lo -MD -MP -MF .deps/CHttpClient.Tpo -c CHttpClient.c -DPIC -o .libs/CHttpClient.o CHttpClient.c: In function `http_header_curl': CHttpClient.c:136: warning: use of cast expressions as lvalues is deprecated CHttpClient.c: In function `http_write_curl': CHttpClient.c:153: warning: passing arg 4 of `fwrite' from incompatible pointer type CHttpClient.c: In function `CHTTPCLIENT_new': CHttpClient.c:338: warning: use of cast expressions as lvalues is deprecated CHttpClient.c:345: warning: use of cast expressions as lvalues is deprecated CHttpClient.c: In function `http_initialize_curl_handle': CHttpClient.c:379: warning: implicit declaration of function `CCURL_stop' CHttpClient.c:381: warning: use of cast expressions as lvalues is deprecated CHttpClient.c:386: warning: use of cast expressions as lvalues is deprecated CHttpClient.c:413: warning: use of cast expressions as lvalues is deprecated CHttpClient.c: In function `CHTTPCLIENT_Get': CHttpClient.c:440: warning: use of cast expressions as lvalues is deprecated CHttpClient.c: In function `CHTTPCLIENT_Post': CHttpClient.c:503: warning: use of cast expressions as lvalues is deprecated if /bin/bash ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CFtpClient.lo -MD -MP -MF ".deps/CFtpClient.Tpo" -c -o CFtpClient.lo CFtpClient.c; \ then mv -f ".deps/CFtpClient.Tpo" ".deps/CFtpClient.Plo"; else rm -f ".deps/CFtpClient.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CFtpClient.lo -MD -MP -MF .deps/CFtpClient.Tpo -c CFtpClient.c -DPIC -o .libs/CFtpClient.o CFtpClient.c: In function `ftp_read_curl': CFtpClient.c:59: warning: initialization from incompatible pointer type CFtpClient.c:60: warning: use of cast expressions as lvalues is deprecated CFtpClient.c: In function `ftp_write_curl': CFtpClient.c:73: warning: use of cast expressions as lvalues is deprecated CFtpClient.c:77: warning: passing arg 4 of `fwrite' from incompatible pointer type CFtpClient.c: In function `ftp_initialize_curl_handle': CFtpClient.c:112: warning: implicit declaration of function `CCURL_stop' CFtpClient.c:114: warning: use of cast expressions as lvalues is deprecated CFtpClient.c:119: warning: use of cast expressions as lvalues is deprecated CFtpClient.c:130: warning: use of cast expressions as lvalues is deprecated CFtpClient.c: In function `CFTPCLIENT_Get': CFtpClient.c:180: warning: use of cast expressions as lvalues is deprecated CFtpClient.c: In function `CFTPCLIENT_Put': CFtpClient.c:212: warning: use of cast expressions as lvalues is deprecated CFtpClient.c: In function `CFTPCLIENT_new': CFtpClient.c:237: warning: use of cast expressions as lvalues is deprecated CFtpClient.c:242: warning: use of cast expressions as lvalues is deprecated if /bin/bash ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CNet.lo -MD -MP -MF ".deps/CNet.Tpo" -c -o CNet.lo CNet.c; \ then mv -f ".deps/CNet.Tpo" ".deps/CNet.Plo"; else rm -f ".deps/CNet.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CNet.lo -MD -MP -MF .deps/CNet.Tpo -c CNet.c -DPIC -o .libs/CNet.o if /bin/bash ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CProxy.lo -MD -MP -MF ".deps/CProxy.Tpo" -c -o CProxy.lo CProxy.c; \ then mv -f ".deps/CProxy.Tpo" ".deps/CProxy.Plo"; else rm -f ".deps/CProxy.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CProxy.lo -MD -MP -MF .deps/CProxy.Tpo -c CProxy.c -DPIC -o .libs/CProxy.o /bin/bash ../../../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.net.curl.la -rpath /opt/gambas/lib/gambas -no-undefined gbcurl.lo main.lo CCurl.lo CHttpClient.lo CFtpClient.lo CNet.lo CProxy.lo -lc -L/usr/lib -lcurl -lssl -lcrypto -lgdi32 -lwinmm -lz gcc -shared .libs/gbcurl.o .libs/main.o .libs/CCurl.o .libs/CHttpClient.o .libs/CFtpClient.o .libs/CNet.o .libs/CProxy.o -L/usr/lib /usr/lib/libcurl.dll.a -lssl -lcrypto -lgdi32 -lwinmm -lz -o .libs/cyg.gb.net.curl-0.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/lib.gb.net.curl.dll.a Creating library file: .libs/lib.gb.net.curl.dll.a creating lib.gb.net.curl.la (cd .libs && rm -f lib.gb.net.curl.la && ln -s ../lib.gb.net.curl.la lib.gb.net.curl.la) make[5]: Leaving directory `/home/Trorrr/gambas-1.0.1/src/lib/net/curl' make[5]: Entering directory `/home/Trorrr/gambas-1.0.1/src/lib/net' if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -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 mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -DPIC -o .libs/main.o if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT tools.lo -MD -MP -MF ".deps/tools.Tpo" -c -o tools.lo tools.c; \ then mv -f ".deps/tools.Tpo" ".deps/tools.Plo"; else rm -f ".deps/tools.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT tools.lo -MD -MP -MF .deps/tools.Tpo -c tools.c -DPIC -o .libs/tools.o if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CDnsClient.lo -MD -MP -MF ".deps/CDnsClient.Tpo" -c -o CDnsClient.lo CDnsClient.c; \ then mv -f ".deps/CDnsClient.Tpo" ".deps/CDnsClient.Plo"; else rm -f ".deps/CDnsClient.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CDnsClient.lo -MD -MP -MF .deps/CDnsClient.Tpo -c CDnsClient.c -DPIC -o .libs/CDnsClient.o CDnsClient.c: In function `dns_get_name': CDnsClient.c:192: warning: implicit declaration of function `gethostbyaddr_r' CDnsClient.c: In function `dns_get_ip': CDnsClient.c:240: warning: implicit declaration of function `gethostbyname_r' CDnsClient.c: In function `CDNSCLIENT_GetHostName': CDnsClient.c:522: warning: passing arg 1 of `gethostbyaddr' from incompatible pointer type if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CSocket.lo -MD -MP -MF ".deps/CSocket.Tpo" -c -o CSocket.lo CSocket.c; \ then mv -f ".deps/CSocket.Tpo" ".deps/CSocket.Plo"; else rm -f ".deps/CSocket.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CSocket.lo -MD -MP -MF .deps/CSocket.Tpo -c CSocket.c -DPIC -o .libs/CSocket.o if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CServerSocket.lo -MD -MP -MF ".deps/CServerSocket.Tpo" -c -o CServerSocket.lo CServerSocket.c; \ then mv -f ".deps/CServerSocket.Tpo" ".deps/CServerSocket.Plo"; else rm -f ".deps/CServerSocket.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CServerSocket.lo -MD -MP -MF .deps/CServerSocket.Tpo -c CServerSocket.c -DPIC -o .libs/CServerSocket.o if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CUdpSocket.lo -MD -MP -MF ".deps/CUdpSocket.Tpo" -c -o CUdpSocket.lo CUdpSocket.c; \ then mv -f ".deps/CUdpSocket.Tpo" ".deps/CUdpSocket.Plo"; else rm -f ".deps/CUdpSocket.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CUdpSocket.lo -MD -MP -MF .deps/CUdpSocket.Tpo -c CUdpSocket.c -DPIC -o .libs/CUdpSocket.o if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CSerialPort.lo -MD -MP -MF ".deps/CSerialPort.Tpo" -c -o CSerialPort.lo CSerialPort.c; \ then mv -f ".deps/CSerialPort.Tpo" ".deps/CSerialPort.Plo"; else rm -f ".deps/CSerialPort.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CSerialPort.lo -MD -MP -MF .deps/CSerialPort.Tpo -c CSerialPort.c -DPIC -o .libs/CSerialPort.o if /bin/bash ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CNet.lo -MD -MP -MF ".deps/CNet.Tpo" -c -o CNet.lo CNet.c; \ then mv -f ".deps/CNet.Tpo" ".deps/CNet.Plo"; else rm -f ".deps/CNet.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -D_REENTRANT -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT CNet.lo -MD -MP -MF .deps/CNet.Tpo -c CNet.c -DPIC -o .libs/CNet.o CNet.c: In function `ToIPv4': CNet.c:86: warning: embedded `\0' in format CNet.c:89: warning: embedded `\0' in format /bin/bash ../../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.net.la -rpath /opt/gambas/lib/gambas -no-undefined main.lo tools.lo CDnsClient.lo CSocket.lo CServerSocket.lo CUdpSocket.lo CSerialPort.lo CNet.lo -lc -lpthread gcc -shared .libs/main.o .libs/tools.o .libs/CDnsClient.o .libs/CSocket.o .libs/CServerSocket.o .libs/CUdpSocket.o .libs/CSerialPort.o .libs/CNet.o -lpthread -o .libs/cyg.gb.net-0.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/lib.gb.net.dll.a Creating library file: .libs/lib.gb.net.dll.a .libs/CDnsClient.o(.text+0x22e): In function `dns_get_name': /home/Trorrr/gambas-1.0.1/src/lib/net/CDnsClient.c:192: undefined reference to `_gethostbyaddr_r' .libs/CDnsClient.o(.text+0x33c): In function `dns_get_ip': /home/Trorrr/gambas-1.0.1/src/lib/net/CDnsClient.c:240: undefined reference to `_gethostbyname_r' collect2: ld returned 1 exit status make[5]: *** [lib.gb.net.la] Error 1 make[5]: Leaving directory `/home/Trorrr/gambas-1.0.1/src/lib/net' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/Trorrr/gambas-1.0.1/src/lib/net' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/Trorrr/gambas-1.0.1/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/Trorrr/gambas-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Trorrr/gambas-1.0.1' make: *** [all] Error 2 ______________________________________________ Renovamos el Correo Yahoo!: ?250 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es From bandman at ...626... Fri Jan 7 16:39:06 2005 From: bandman at ...626... (Matt Simmons) Date: Fri, 7 Jan 2005 10:39:06 -0500 Subject: [Gambas-user] Array sizes, and hello Message-ID: <5bcb62b605010707392ab13944@...627...> >On Friday 07 January 2005 09:47, Matt Simmons wrote: >> I've been through the documentation, and for the life of me, I >> haven't been able to find a function to determine the size of >> an array that's been created on the fly. I'm creating an array > >That would be > >myarray.count > >So not a function per se, but a property.... > >Rob > >--__--__-- Blindingly obvious, at that :-) Thanks! From dave at ...772... Fri Jan 7 17:09:21 2005 From: dave at ...772... (Dave Sharples) Date: Fri, 07 Jan 2005 16:09:21 +0000 Subject: [Gambas-user] CD-rom device & media detection In-Reply-To: <200501070948.28658.sourceforge-raindog2@...94...> References: <1105107448.19186.57.camel@...599...> <200501070948.28658.sourceforge-raindog2@...94...> Message-ID: <1105114160.19186.65.camel@...599...> On Fri, 2005-01-07 at 14:48, Rob wrote: > On Friday 07 January 2005 09:17, Dave sharples wrote: > > I'm reasonably new to gambas having come from VB6 and for my > > first *real* app I need to somehow detect and list the CD > > drives in a system and also detect if they have any media in > > them. > > I've had to do this for a couple clients. I'll try to post some > code later today if I can dig it up. Cheers, very much appreciated > But the simplest way is to > try getting a directory of each cd's mount point and trapping > the error. > I have managed to get it to check if there is a CD in the drive by using your recomended method but my main problem is trying to detect if there are 1 or more cd-drives in the system and where their mountpoints would be. From therden at ...775... Fri Jan 7 17:09:27 2005 From: therden at ...775... (Thomas M. Herden) Date: Fri, 7 Jan 2005 11:09:27 -0500 Subject: [Gambas-user] Trouble compiling 1.0.1 Message-ID: <200501071109.28136.therden@...775...> Hello, I've tried compiling Gambas on a Debian-derived distribution (Simply MEPIS), but no go. "./configure" seemed to finish without errors, but "make" gave up the ghost after the following... if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o In file included from CWindow.h:39, from main.cpp:62: CMenu.h:32:19: qlist.h: No such file or directory In file included from main.cpp:82: CTabStrip.h:35:21: qvector.h: No such file or directory make[5]: *** [main.lo] Error 1 make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1' make: *** [all] Error 2 This looks like a Qt problem -- right? The Qt libs and dev files which I've installed are version 3:3.3.3-7. I saw an earlier posting documenting the same errors with what was reported as Qt version 3:3.3.2-4. Does anyone know if there's a problem compiling with these versions? If not, can someone list exactly which Qt 3 development packages are required to successfully compile Gambas? Thanks in advance, -Tom From jredrejo at ...96... Fri Jan 7 17:17:05 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Fri, 07 Jan 2005 17:17:05 +0100 Subject: [Gambas-user] CD-rom device & media detection In-Reply-To: <20050107151101.6DA5D135B6@...773...> References: <20050107151101.6DA5D135B6@...773...> Message-ID: <1105114625.2583.31.camel@...698...> El vie, 07-01-2005 a las 07:10 -0800, Dave sharples escribi?: > Hi all, > > I'm reasonably new to gambas having come from VB6 and for my first > *real* app I need to somehow detect and list the CD drives in a system > and also detect if they have any media in them. > > Not being a linux geek either I am completely stumped as to how to go > about this. > > If someone could point me in the right direction as to which function I > should use or any reading that would help I would be greatful. > > Cheers > Dave > > Well, to detect where the drives are, there are some ways, you can search for the CD-ROM string inside a "dmesg" command, or install kudzu and read the /etc/sysconfig/hwconf after executing "kudzu -q" Or if the system is properly configured, just look at the /etc/fstab file. Then, to detect if there is a cd inside the driver it will depends on the kind of system: if supermount or submount patches are applied to the kernel you just have to look if the directories where fstab says the drives are have anything inside. If no supermount is being used you will have to mount the drives and see if there is any error message. Regards. From scatman_ at ...17... Fri Jan 7 17:28:02 2005 From: scatman_ at ...17... (scatman) Date: Fri, 7 Jan 2005 17:28:02 +0100 Subject: [Gambas-user] CD-rom device & media detection In-Reply-To: <200501070948.28658.sourceforge-raindog2@...94...> References: <1105107448.19186.57.camel@...599...> <200501070948.28658.sourceforge-raindog2@...94...> Message-ID: <200501071728.03047.scatman_@...17...> Am Freitag, 7. Januar 2005 15:48 schrieb Rob: Hello, > On Friday 07 January 2005 09:17, Dave sharples wrote: > > I'm reasonably new to gambas having come from VB6 and for my > > first *real* app I need to somehow detect and list the CD > > drives in a system and also detect if they have any media in > > them. > > I've had to do this for a couple clients. I'll try to post some > code later today if I can dig it up. But the simplest way is to > try getting a directory of each cd's mount point and trapping > the error. Public SUB DeviceExist() DIM sTemp AS String DIM mnt AS File sTemp = Temp$ SHELL "mount /here/your/DEVICE" 2>" & sTemp WAIT OPEN sTemp FOR READ AS #mnt KILL sTemp IF Lof(mnt) > 0 AND Lof(mnt) < 60 THEN Message.Error ("NO Medium") END From jarions at ...761... Fri Jan 7 18:28:42 2005 From: jarions at ...761... (Jarion Stevens) Date: Fri, 07 Jan 2005 11:28:42 -0600 Subject: [Gambas-user] CD-rom device & media detection In-Reply-To: <1105114625.2583.31.camel@...698...> References: <20050107151101.6DA5D135B6@...773...> <1105114625.2583.31.camel@...698...> Message-ID: <41DEC6CA.10101@...761...> This might not be the best way but you could read /etc/fstab to get a list of mount points, parse out the ones that look like *cdrom* or *cdrw* or *dvd*, etc., and then remove the duplicates from your list. Then, read /etc/mtab for the list of mounted devices and compare. Jos? L. Redrejo Rodr?guez wrote: >El vie, 07-01-2005 a las 07:10 -0800, Dave sharples > escribi?: > > > >>Hi all, >> >>I'm reasonably new to gambas having come from VB6 and for my first >>*real* app I need to somehow detect and list the CD drives in a system >>and also detect if they have any media in them. >> >>Not being a linux geek either I am completely stumped as to how to go >>about this. >> >>If someone could point me in the right direction as to which function I >>should use or any reading that would help I would be greatful. >> >>Cheers >>Dave >> >> >> >> > > >Well, to detect where the drives are, there are some ways, you can >search for the CD-ROM string inside a "dmesg" command, or install kudzu >and read the /etc/sysconfig/hwconf after executing "kudzu -q" > >Or if the system is properly configured, just look at the /etc/fstab >file. > >Then, to detect if there is a cd inside the driver it will depends on >the kind of system: if supermount or submount patches are applied to the >kernel you just have to look if the directories where fstab says the >drives are have anything inside. If no supermount is being used you will >have to mount the drives and see if there is any error message. > >Regards. > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > From Jonasb at ...369... Fri Jan 7 19:56:32 2005 From: Jonasb at ...369... (Jonas Baggett) Date: Fri, 07 Jan 2005 19:56:32 +0100 Subject: [Gambas-user] The gambas MusicPlayer can play midi files ! Message-ID: <41DEDB60.8060101@...369...> Hi, There is something strange: I can't play midi files in my computer, kmidi doesn't work, playmidi neither, timidity neither. If I go in the KDE Control Center, to the sound section, there is no midi devices found. But the gambas MusicPlayer can play midi files !!!! And according to the documentation it is only supposed to play wav ogg and mp3 files. Maybe the documentation isn't updated. Anyway, I am content to have a least one program that can play midi files. Jonas From lordheavy at ...512... Fri Jan 7 20:11:39 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 7 Jan 2005 20:11:39 +0100 Subject: [Gambas-user] The gambas MusicPlayer can play midi files ! In-Reply-To: <41DEDB60.8060101@...369...> References: <41DEDB60.8060101@...369...> Message-ID: <200501072011.40811.lordheavy@...512...> Le Vendredi 7 Janvier 2005 19:56, Jonas Baggett a ?crit?: > Hi, > > There is something strange: I can't play midi files in my computer, > kmidi doesn't work, playmidi neither, timidity neither. If I go in the > KDE Control Center, to the sound section, there is no midi devices > found. But the gambas MusicPlayer can play midi files !!!! And > according to the documentation it is only supposed to play wav ogg and > mp3 files. Maybe the documentation isn't updated. Anyway, I am content > to have a least one program that can play midi files. > > Jonas > Because SDL sound componant depend from your SDL_mixer library. And your library was surely built with timidity support. So it can play midi files but all mod file supported by timidity (.mod .s3m ...) Have Fun , -- Laurent Carlier From gambasfr at ...11... Fri Jan 7 21:04:26 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 7 Jan 2005 21:04:26 +0100 Subject: [Gambas-user] The gambas MusicPlayer can play midi files ! In-Reply-To: <41DEDB60.8060101@...369...> References: <41DEDB60.8060101@...369...> Message-ID: <200501072104.26876.gambasfr@...11...> Le vendredi 7 Janvier 2005 19:56, Jonas Baggett a ?crit?: Yes it's right ! I've trying it. Another good point for gambas ! Fabien > Hi, > > There is something strange: I can't play midi files in my computer, > kmidi doesn't work, playmidi neither, timidity neither. If I go in the > KDE Control Center, to the sound section, there is no midi devices > found. But the gambas MusicPlayer can play midi files !!!! And > according to the documentation it is only supposed to play wav ogg and > mp3 files. Maybe the documentation isn't updated. Anyway, I am content > to have a least one program that can play midi files. > > Jonas > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...9... Fri Jan 7 23:32:52 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 7 Jan 2005 23:32:52 +0100 Subject: [Gambas-user] Find the BUG Message-ID: <200501072332.52736.Karl.Reinl@...9...> Salut, that has nothing to do with gambas, but while waiting the end of a long process I played a Klondike FreeCell. Now find the bug in the screenshot! Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: NiceToSeeThat.jpg Type: image/jpeg Size: 71054 bytes Desc: not available URL: From pvera at ...729... Fri Jan 7 23:38:53 2005 From: pvera at ...729... (Pablo Vera) Date: Fri, 07 Jan 2005 16:38:53 -0600 Subject: [Gambas-user] Find the BUG In-Reply-To: <200501072332.52736.Karl.Reinl@...9...> References: <200501072332.52736.Karl.Reinl@...9...> Message-ID: <41DF0F7D.2060801@...729...> There is a three of spades on the bottom of the fourth stack from the left, but the four of spades is allready on the rightmost top stack, and this cannot be, since the four of spades should be on top of a three of spades. The three of spades is out of place! Saludos, Pablo _ _ _ _ _ _ _ _ _ _ Charlie Reinl wrote: >Salut, > >that has nothing to do with gambas, >but while waiting the end of a long process >I played a Klondike FreeCell. > >Now find the bug in the screenshot! > >Amicalment >Charlie > > From grahame at ...457... Sat Jan 8 00:47:38 2005 From: grahame at ...457... (Grahame White) Date: Fri, 7 Jan 2005 23:47:38 +0000 Subject: [Gambas-user] Find the BUG In-Reply-To: <200501072332.52736.Karl.Reinl@...9...> References: <200501072332.52736.Karl.Reinl@...9...> Message-ID: <200501072347.38304.grahame@...457...> On Friday 07 January 2005 22:32, Charlie Reinl wrote: > Salut, > > that has nothing to do with gambas, > but while waiting the end of a long process > I played a Klondike FreeCell. > > Now find the bug in the screenshot! > > Amicalment > Charlie The 4 of spades is on the finished stack yet the 3 of spades is still in play. Grahame From edamron at ...776... Sat Jan 8 07:03:06 2005 From: edamron at ...776... (Eric Damron) Date: Fri, 07 Jan 2005 22:03:06 -0800 Subject: [Gambas-user] Class 'foo' is statis Message-ID: <41DF779A.8020808@...776...> I'm getting the message that my class is static when I run my application. I define the class in one file and I DIM an object of the class type in a form class. In the form's open event I instantiate the object. Lets say the class is Tfoo. In my form class I have: PUBLIC oFoo as Tfoo Then in the open event of the form I have: oFoo = new Tfoo The line above generates the error: Class 'Tfoo is STATIC. From gambas at ...1... Sat Jan 8 13:02:07 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Jan 2005 13:02:07 +0100 Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <1105098510.2583.12.camel@...698...> References: <200501022213.49677.gambas@...1...> <1105098510.2583.12.camel@...698...> Message-ID: <200501081302.07728.gambas@...1...> On Friday 07 January 2005 12:48, Jos? L. Redrejo Rodr?guez wrote: > El dom, 02-01-2005 a las 22:13 +0100, Benoit Minisini escribi?: > > The new development version of gambas will be numbered 1.1.x or 1.9.x, I > > am not completetly determined. Well, 1.9.x seems to be cool :-) > > > > BUT, as we must be able to install the current 1.0 and the next 2.0 on > > the same system, the package will be renamed 'gambas2' > > > > Things of gambas2 will be installed in /usr/lib/gambas2, > > usr/share/gambas2, and so on. The interpreter should be renamed too > > (gbx2), and I think the tools (gbi, gba, gbc, gambas, > > gambas-database-manager) will move in /usr/lib/gambas2/bin or something > > similar. > > > > So, the name of the current package is gambas-1.0.x.tar.bz2 > > And the name of the development package will be gambas2-1.9.x.tar.bz2 > > > > Is it clear for everyone ? :-) > > I didn't notice it the first time I read this email, but today I have > some points of disagreement with the new numbers for the next gambas > release. > I wouldn't like to see gbx, gbx2,gbx3 and so on in the following > releases. Or if they exist, I think at least there should be a diversion > with soft links from gbx to the gbxN the users wants, as it happens with > gcc. > Because.. projects made with the actual gambas version will run with the > new runtime, won't them?. In that case, these projects search gbx to > run, no gbx2. The same thing with compilation and so on... > I really don't see the need to rename the next release. As it is not a > production release, whoever desires to use it must know it is not safe, > and when it is ready for production it could replace without any problem > the actual release. > > Regards. > Gambas 1.0 and Gambas 2.0 must be able to be installed on the same system, and a program made with Gambas 2.0 needs the 2.0 version of the interpreter, and so on. So the simplest way to do that for me is to rename the package (gambas2) and the executables (gbx2, gbc2, gbi2, ...). I don't care of what gbx the user wants to run. The user never runs gbx. But the compiled Gambas program chooses the gbx it wants to run, with the first line in the archive: #!/usr/bin/gbx for a Gambas 1.0 program, and #!/usr/bin/gbx2 for a Gambas 2.0 program. How can you do that with gbx being a symbolic link on some version of Gambas installed ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jan 8 13:14:46 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 8 Jan 2005 13:14:46 +0100 Subject: [Gambas-user] CD-rom device & media detection In-Reply-To: <1105107448.19186.57.camel@...599...> References: <1105107448.19186.57.camel@...599...> Message-ID: <200501081314.46579.gambas@...1...> On Friday 07 January 2005 15:17, Dave sharples wrote: > Hi all, > > I'm reasonably new to gambas having come from VB6 and for my first > *real* app I need to somehow detect and list the CD drives in a system > and also detect if they have any media in them. > > Not being a linux geek either I am completely stumped as to how to go > about this. > > If someone could point me in the right direction as to which function I > should use or any reading that would help I would be greatful. > > Cheers > Dave > > If you have a Linux 2.6 based system, you should have a special filesystem named 'sysfs' accessible under the "/sys" directory that describe your system. Under /sys/block, you will find all blocks devices installed on your system. I think it is possible to find the CD-ROMs by analyzing the /sys/block hierarchy. Regards, -- Benoit Minisini mailto:gambas at ...1... From edamron at ...776... Sat Jan 8 21:20:30 2005 From: edamron at ...776... (Eric Damron) Date: Sat, 08 Jan 2005 12:20:30 -0800 Subject: [Gambas-user] How to instantiate a class object Message-ID: <41E0408E.5070900@...776...> I can't instaniate an object of my class type in a different class without getting the error: Class myclass is Static. How does one use classes in Gambas? From edamron at ...776... Sat Jan 8 21:51:05 2005 From: edamron at ...776... (Eric Damron) Date: Sat, 08 Jan 2005 12:51:05 -0800 Subject: [Gambas-user] Class Instanition problem solved Message-ID: <41E047B9.2070704@...776...> I was creating a class file via NEW | CLASS but I wasn't putting in the line: myclass AS CLASS Much better now! From gambasfr at ...11... Sat Jan 8 21:51:46 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 8 Jan 2005 21:51:46 +0100 Subject: [Gambas-user] How to instantiate a class object In-Reply-To: <41E0408E.5070900@...776...> References: <41E0408E.5070900@...776...> Message-ID: <200501082151.47074.gambasfr@...11...> Le samedi 8 Janvier 2005 21:20, Eric Damron a ?crit?: > I can't instaniate an object of my class type in a different class > without getting the error: Class myclass is Static. > > How does one use classes in Gambas? > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Have you an exemple of you code ? From Karl.Reinl at ...9... Sat Jan 8 21:38:27 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 8 Jan 2005 21:38:27 +0100 Subject: [Gambas-user] DB-Report Tool Message-ID: <200501082138.27260.Karl.Reinl@...9...> Salut Christian, I moved to gambas user, think thats the place. ok with a compiled viewer it works. Had and have less time, to test further. But make possible if you press Preview Tab that an message apears to push 'Preview' or push it your self. Same for Test-Tab in Connection. For USE I think it would be good, to have a /bin Path and the whole path in an ini-File. Amicalment Charlie From m_isaac at ...689... Sat Jan 8 21:53:59 2005 From: m_isaac at ...689... (Michael Isaac) Date: Sat, 08 Jan 2005 12:53:59 -0800 Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <200501081302.07728.gambas@...1...> References: <200501022213.49677.gambas@...1...> <1105098510.2583.12.camel@...698...> <200501081302.07728.gambas@...1...> Message-ID: <41E04867.5080204@...689...> Benoit Minisini wrote: >On Friday 07 January 2005 12:48, Jos? L. Redrejo Rodr?guez wrote: > > >>El dom, 02-01-2005 a las 22:13 +0100, Benoit Minisini escribi?: >> >> >>>The new development version of gambas will be numbered 1.1.x or 1.9.x, I >>>am not completetly determined. Well, 1.9.x seems to be cool :-) >>> >>>BUT, as we must be able to install the current 1.0 and the next 2.0 on >>>the same system, the package will be renamed 'gambas2' >>> >>>Things of gambas2 will be installed in /usr/lib/gambas2, >>>usr/share/gambas2, and so on. The interpreter should be renamed too >>>(gbx2), and I think the tools (gbi, gba, gbc, gambas, >>>gambas-database-manager) will move in /usr/lib/gambas2/bin or something >>>similar. >>> >>>So, the name of the current package is gambas-1.0.x.tar.bz2 >>>And the name of the development package will be gambas2-1.9.x.tar.bz2 >>> >>>Is it clear for everyone ? :-) >>> >>> >>I didn't notice it the first time I read this email, but today I have >>some points of disagreement with the new numbers for the next gambas >>release. >>I wouldn't like to see gbx, gbx2,gbx3 and so on in the following >>releases. Or if they exist, I think at least there should be a diversion >>with soft links from gbx to the gbxN the users wants, as it happens with >>gcc. >>Because.. projects made with the actual gambas version will run with the >>new runtime, won't them?. In that case, these projects search gbx to >>run, no gbx2. The same thing with compilation and so on... >>I really don't see the need to rename the next release. As it is not a >>production release, whoever desires to use it must know it is not safe, >>and when it is ready for production it could replace without any problem >>the actual release. >> >>Regards. >> >> >> > >Gambas 1.0 and Gambas 2.0 must be able to be installed on the same system, and >a program made with Gambas 2.0 needs the 2.0 version of the interpreter, and >so on. > >So the simplest way to do that for me is to rename the package (gambas2) and >the executables (gbx2, gbc2, gbi2, ...). > >I don't care of what gbx the user wants to run. The user never runs gbx. But >the compiled Gambas program chooses the gbx it wants to run, with the first >line in the archive: #!/usr/bin/gbx for a Gambas 1.0 program, and >#!/usr/bin/gbx2 for a Gambas 2.0 program. > >How can you do that with gbx being a symbolic link on some version of Gambas >installed ? > >Regards, > > > You should just write a compiler like freeBASIC (fbc.sourceforge.net) and skip the interpreter completely. :) From sourceforge-raindog2 at ...94... Sat Jan 8 23:03:40 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 8 Jan 2005 17:03:40 -0500 Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <41E04867.5080204@...689...> References: <200501022213.49677.gambas@...1...> <200501081302.07728.gambas@...1...> <41E04867.5080204@...689...> Message-ID: <200501081702.47686.sourceforge-raindog2@...94...> On Saturday 08 January 2005 15:53, Michael Isaac wrote: > You should just write a compiler like freeBASIC > (fbc.sourceforge.net) and skip the interpreter completely. > :) I look forward to trying your Gambas compiler out! When can we download it? :) Rob From JRuff at ...762... Sat Jan 8 23:37:17 2005 From: JRuff at ...762... (John G. Ruff) Date: Sat, 08 Jan 2005 16:37:17 -0600 Subject: [Gambas-user] MySQL Connect References: <200501022213.49677.gambas@...1...> <200501081302.07728.gambas@...1...> <41E04867.5080204@...689...> <200501081702.47686.sourceforge-raindog2@...94...> Message-ID: <41E0609D.A55B443E@...762...> When I run the Database example program, I still get the same error: Cannot open database: Client does not support authentication protocol requested by server; consider upgrading MySQL client I did a fresh install of Mandrake 10.1 Official (32 bit) on a different hard drive. I'm using Gambas 1.0.1. I downloaded & installed MySQL-Client 4.1.8a from MySQL.com. The server is running Mandrake 10.1 Official (32 bit) in runlevel 3 (text multi-user mode) and MySQL Server 4.1.8a. I am able to connect to, access and update this same server from my Visual Basic 6 / SP6 programs, so the credentials, etc., should be OK. Any ideas what is wrong? I am at a loss for what to try next. I am just trying out Gambas, I really want to turn off my remaining Windows stuff and move entirely to Linux. Is it possible that the MySQL server is sending a request for something that Gambas does not / cannot respond to? Is anyone else successfully running anything similar to this? Thanks in advance for any help. jr -=-=-=-=-=-=-=-=-=-=- John G. Ruff Wayzata, MN USA -=-=-=-=-=-=-=-=-=-=- From edamron at ...776... Sat Jan 8 23:51:25 2005 From: edamron at ...776... (Eric Damron) Date: Sat, 08 Jan 2005 14:51:25 -0800 Subject: [Gambas-user] Need to pass a string by ref Message-ID: <41E063ED.6090006@...776...> I'm finding not being able to pass simple datatypes by reference really annoying. I need to create a function that returns a boolean but also returns a string. In VB I would pass in a string by reference. I've tryed to pass in a string array but I can't seem to get the syntax correct. Can someone help me out. Private Sub foo() Dim strS[2] as String strS[0] = "Some String" strS[1] = "" if foo2(strS[]) THEN ' do some stuff End If End private FUNCTION foo2(strString[] as string) AS Boolean strS[1] = "Some other string" Return TRUE End From edamron at ...776... Sat Jan 8 23:58:13 2005 From: edamron at ...776... (Eric Damron) Date: Sat, 08 Jan 2005 14:58:13 -0800 Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <200501081702.47686.sourceforge-raindog2@...94...> References: <200501022213.49677.gambas@...1...> <200501081302.07728.gambas@...1...> <41E04867.5080204@...689...> <200501081702.47686.sourceforge-raindog2@...94...> Message-ID: <41E06585.80008@...776...> Rob wrote: >On Saturday 08 January 2005 15:53, Michael Isaac wrote: > > >>You should just write a compiler like freeBASIC >>(fbc.sourceforge.net) and skip the interpreter completely. >>:) >> >> > >I look forward to trying your Gambas compiler out! >When can we download it? > >:) > >Rob > > > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > You can download it now: http://gambas.sourceforge.net/ I think Gambas is far more advanced than freeBasic. It is a complete RAD development environment. I'm just starting with it and I am finding some of the differences from VB a little annoying but no show stoppers yet. I need to write database applications and Gambas allows me to connect to MySQL easier than any other development platform so I have high hopes for using it. From sourceforge-raindog2 at ...94... Sun Jan 9 00:10:45 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 8 Jan 2005 18:10:45 -0500 Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <41E06585.80008@...776...> References: <200501022213.49677.gambas@...1...> <200501081702.47686.sourceforge-raindog2@...94...> <41E06585.80008@...776...> Message-ID: <200501081810.45751.sourceforge-raindog2@...94...> On Saturday 08 January 2005 17:58, Eric Damron wrote: > >I look forward to trying your Gambas compiler out! > >When can we download it? > You can download it now: http://gambas.sourceforge.net/ Yeah, I've been involved with the gambas project for about 2 years now. I was just ribbing Michael for his suggestion that Benoit work on a (native code) compiler rather than continuing work on the interpreter. Rob From oliver_stieber at ...370... Sun Jan 9 01:01:55 2005 From: oliver_stieber at ...370... (Oliver Stieber) Date: Sun, 9 Jan 2005 00:01:55 +0000 (GMT) Subject: [Gambas-user] Need to pass a string by ref In-Reply-To: <41E063ED.6090006@...776...> Message-ID: <20050109000155.23228.qmail@...742...> --- Eric Damron wrote: > I'm finding not being able to pass simple datatypes > by reference really > annoying. I need to create a function that returns > a boolean but also > returns a string. In VB I would pass in a string by > reference. I've > tryed to pass in a string array but I can't seem to > get the syntax > correct. Can someone help me out. > > Private Sub foo() > > Dim strS[2] as String > > strS[0] = "Some String" > strS[1] = "" > > if foo2(strS[]) THEN > ' do some stuff > End If > End > > private FUNCTION foo2(strString[] as string) AS > Boolean > > strS[1] = "Some other string" > > Return TRUE > End > > > I'm putting some examples of things like this together at the moment. You can do... (comments are VB syntax) 'private sub vbByref() PUBLIC SUB vbByref() 'dim strS as string DIM strS AS String[] strS = NEW String[](1) 'strS = "Some String" strS[0] = "Some String" 'if byFunc(strS) then IF byFunc(strS) THEN 'print strS PRINT strS[0] 'end if END IF 'end sub END ' private function byfunc (byref aString as string) as boolean PRIVATE FUNCTION byFunc(aString AS String[]) AS Boolean 'aString = "Some other string" aString[0] = "Some other string" 'byfunc = true RETURN TRUE 'end function END Look at "Java-like" arrays in help for more information on the systax of arrays. I found the mixed approach to arrays a little confusing at first. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From oliver_stieber at ...370... Sun Jan 9 02:53:17 2005 From: oliver_stieber at ...370... (Oliver Stieber) Date: Sun, 9 Jan 2005 01:53:17 +0000 (GMT) Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <41E06585.80008@...776...> Message-ID: <20050109015317.47825.qmail@...743...> --- Eric Damron wrote: > Rob wrote: > > >On Saturday 08 January 2005 15:53, Michael Isaac > wrote: > > > > > >>You should just write a compiler like freeBASIC > >>(fbc.sourceforge.net) and skip the interpreter > completely. > >>:) > >> > >> Or keep the interpreter in and go for a JIT compiler. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com From halojen at ...777... Sun Jan 9 04:17:55 2005 From: halojen at ...777... (halojen) Date: Sun, 09 Jan 2005 16:17:55 +1300 Subject: [Gambas-user] Silly Question :) Message-ID: <41E0A263.7030905@...777...> Like the title says, this sounds like a silly question but here goes. I have 2 buttons one "Previous" and one "Next" with arrows for images Now the Previous text and image are positioned fine but the Next text and image are around the wrong way for my liking. I have look at all of the properties for the button and there does not look like I am able to change where the image is placed on the button? Can any one help by telling me how or telling me that it cannot be done? Thank you Halo Image is attached -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas.jpg Type: image/jpeg Size: 3063 bytes Desc: not available URL: From edamron at ...776... Sun Jan 9 04:31:59 2005 From: edamron at ...776... (Eric Damron) Date: Sat, 08 Jan 2005 19:31:59 -0800 Subject: [Gambas-user] Class to Read/Write INI files Message-ID: <41E0A5AF.1060707@...776...> Is there already a class or built-in funtions to read and manipulate INI files? Thanks From sourceforge-raindog2 at ...94... Sun Jan 9 06:50:24 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 9 Jan 2005 00:50:24 -0500 Subject: [Gambas-user] Class to Read/Write INI files In-Reply-To: <41E0A5AF.1060707@...776...> References: <41E0A5AF.1060707@...776...> Message-ID: <200501090050.24979.sourceforge-raindog2@...94...> On Saturday 08 January 2005 22:31, Eric Damron wrote: > Is there already a class or built-in funtions to read and > manipulate INI files? Pretty much, yeah.... the core class "Settings". http://www.binara.com/gambas-wiki/bin/view/Gambas/GbSettings If you perused the help and weren't able to find it, could you edit that page and put some stuff on it that would have helped you to do so? That has pretty much been my own strategy for updating the help. Thanks Rob From pvera at ...729... Sun Jan 9 08:38:18 2005 From: pvera at ...729... (Pablo Vera) Date: Sun, 09 Jan 2005 01:38:18 -0600 Subject: [Gambas-user] Make Install Error in Linspire 4.5 Message-ID: <41E0DF6A.9010001@...729...> An HTML attachment was scrubbed... URL: From christian.faurebouvard at ...357... Sun Jan 9 10:53:12 2005 From: christian.faurebouvard at ...357... (Christian Faure) Date: Sun, 9 Jan 2005 06:53:12 -0300 Subject: [Gambas-user] DB-Report Tool In-Reply-To: <200501082138.27260.Karl.Reinl@...9...> References: <200501082138.27260.Karl.Reinl@...9...> Message-ID: <200501090653.12860.christian.faurebouvard@...357...> El S?bado, 8 de Enero de 2005 17:38, Charlie Reinl escribi?: > Salut Christian, > > I moved to gambas user, think thats the place. Ok > > ok with a compiled viewer it works. Ok > > Had and have less time, to test further. Ok, Thanks for your time > > But make possible if you press Preview Tab that an message apears to push > 'Preview' or push it your self. Same for Test-Tab in Connection. Yes, in ToDo list > > For USE I think it would be good, to have a /bin Path and the whole path in > an ini-File. i not know how USE work with other directory, i will try > > Amicalment > Charlie > Regards, Christian From gambasfr at ...11... Sun Jan 9 12:25:00 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 9 Jan 2005 12:25:00 +0100 Subject: [Gambas-user] Re: [Gambas-devel] About next Gambas version In-Reply-To: <20050109015317.47825.qmail@...743...> References: <20050109015317.47825.qmail@...743...> Message-ID: <200501091225.00296.gambasfr@...11...> Le dimanche 9 Janvier 2005 02:53, Oliver Stieber a ?crit?: > --- Eric Damron wrote: > > Rob wrote: > > >On Saturday 08 January 2005 15:53, Michael Isaac > > > > wrote: > > >>You should just write a compiler like freeBASIC > > >>(fbc.sourceforge.net) and skip the interpreter > > > > completely. > > > > >>:) > > Or keep the interpreter in and go for a JIT compiler. In fact this is not possible... or simple to do... because of the component structure of gmbas.. > > > > > > ___________________________________________________________ > ALL-NEW Yahoo! Messenger - all new features - even more fun! > http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Sun Jan 9 13:44:42 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 9 Jan 2005 13:44:42 +0100 Subject: [Gambas-user] Silly Question :) In-Reply-To: <41E0A263.7030905@...777...> References: <41E0A263.7030905@...777...> Message-ID: <200501091344.43078.gambasfr@...11...> Le dimanche 9 Janvier 2005 04:17, halojen a ?crit?: > Like the title says, this sounds like a silly question but here goes. > > I have 2 buttons one "Previous" and one "Next" with arrows for images > > Now the Previous text and image are positioned fine but the Next text > and image are around the wrong way for my liking. > > I have look at all of the properties for the button and there does not > look like I am able to change where the image is placed on the button? > > Can any one help by telling me how or telling me that it cannot be done? > > Thank you > Halo > > Image is attached I think an alignment option can be added to the widget button if gtk can do it ! but not on the 1.0 version... just for the next... Fabien From jochengeorges at ...467... Sun Jan 9 14:54:19 2005 From: jochengeorges at ...467... (Jochen Georges) Date: Sun, 9 Jan 2005 14:54:19 +0100 Subject: [Gambas-user] Silly Question :) In-Reply-To: <41E0A263.7030905@...777...> References: <41E0A263.7030905@...777...> Message-ID: <200501091454.19964.jochengeorges@...467...> On Sunday 09 January 2005 04:17, halojen wrote: > Like the title says, this sounds like a silly question but here goes. > > I have 2 buttons one "Previous" and one "Next" with arrows for images > > Now the Previous text and image are positioned fine but the Next text > and image are around the wrong way for my liking. > > I have look at all of the properties for the button and there does not > look like I am able to change where the image is placed on the button? > > Can any one help by telling me how or telling me that it cannot be done? > > Thank you > Halo You can make an image wich shows the word and the arrow. Beste Gruesse Jochen From daniel.campos at ...338... Sun Jan 9 15:35:41 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 09 Jan 2005 15:35:41 +0100 Subject: [Gambas-user] Silly Question :) In-Reply-To: <200501091344.43078.gambasfr@...11...> References: <41E0A263.7030905@...777...> <200501091344.43078.gambasfr@...11...> Message-ID: <41E1413D.5030605@...338...> > >I think an alignment option can be added to the widget button if gtk can do >it ! >but not on the 1.0 version... just for the next... > > To add a picture to a Button using GTK+, I just place a Picture widget over the button widget, so I can place it where I want. Regards, D. Campos From sourceforge-raindog2 at ...94... Sun Jan 9 15:38:38 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 9 Jan 2005 09:38:38 -0500 Subject: [Gambas-user] Silly Question :) In-Reply-To: <41E1413D.5030605@...338...> References: <41E0A263.7030905@...777...> <200501091344.43078.gambasfr@...11...> <41E1413D.5030605@...338...> Message-ID: <200501090938.38419.sourceforge-raindog2@...94...> On Sunday 09 January 2005 09:35, Daniel Campos wrote: > To add a picture to a Button using GTK+, I just place a > Picture widget over the button widget, so I can place it where > I want. Does Gtk provide any way of preventing the picture from covering the text? Rob From blixtra at ...626... Sun Jan 9 16:10:27 2005 From: blixtra at ...626... (Chris Wilson) Date: Sun, 9 Jan 2005 16:10:27 +0100 Subject: [Gambas-user] Re: Row selection highlighting in TableView In-Reply-To: <69dead7b05010513054f832cda@...627...> References: <69dead7b05010513054f832cda@...627...> Message-ID: <69dead7b05010907107d44dbe7@...627...> I still haven't found out why the other TableViews don't highlight the selected row. Anybody have any idea? It looks to me like the buttons with the row numbers to the left of the top TV is depressed when selected. The others however have bold text but don't seem to be depressed when selected. Thanks in advance, Chris On Wed, 5 Jan 2005 22:05:52 +0100, Chris Wilson wrote: > hi, > > I was wondering why when a row is selected in the lower and side > TableView widgets, as shown in the attached screenshot, the rows are > not given a highlighted background like the top TableView widget. I > didn't do anything special to highlight the top one. > > When you click on the top row the bottom TV is filled then the side TV > is filled based on the selection in the bottom TV. > > Anyone care to enlghten me. > > Chris > > PS: ..and yes, I want them highlighted :) > > > From sourceforge-raindog2 at ...94... Sun Jan 9 16:19:23 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 9 Jan 2005 10:19:23 -0500 Subject: [Gambas-user] Re: Row selection highlighting in TableView In-Reply-To: <69dead7b05010907107d44dbe7@...627...> References: <69dead7b05010513054f832cda@...627...> <69dead7b05010907107d44dbe7@...627...> Message-ID: <200501091019.23814.sourceforge-raindog2@...94...> On Sunday 09 January 2005 10:10, Chris Wilson wrote: > I still haven't found out why the other TableViews don't > highlight the selected row. Anybody have any idea? I'm sorry, I never got a copy of the project. Could you repost it? Thanks Rob From daniel.campos at ...338... Sun Jan 9 16:50:26 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 09 Jan 2005 16:50:26 +0100 Subject: [Gambas-user] Silly Question :) In-Reply-To: <200501090938.38419.sourceforge-raindog2@...94...> References: <41E0A263.7030905@...777...> <200501091344.43078.gambasfr@...11...> <41E1413D.5030605@...338...> <200501090938.38419.sourceforge-raindog2@...94...> Message-ID: <41E152C2.4050104@...338...> >Does Gtk provide any way of preventing the picture from covering >the text? > > Can you send me any example of this? Regards, D. Campos >Rob > > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From daniel.campos at ...338... Sun Jan 9 16:50:41 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 09 Jan 2005 16:50:41 +0100 Subject: [Gambas-user] Re: Row selection highlighting in TableView In-Reply-To: <69dead7b05010907107d44dbe7@...627...> References: <69dead7b05010513054f832cda@...627...> <69dead7b05010907107d44dbe7@...627...> Message-ID: <41E152D1.6020208@...338...> Chris Wilson escribi?: >I still haven't found out why the other TableViews don't highlight the >selected row. > Is this a U2 song? :-)))) From sourceforge-raindog2 at ...94... Sun Jan 9 17:11:07 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 9 Jan 2005 11:11:07 -0500 Subject: [Gambas-user] Silly Question :) In-Reply-To: <41E152C2.4050104@...338...> References: <41E0A263.7030905@...777...> <200501090938.38419.sourceforge-raindog2@...94...> <41E152C2.4050104@...338...> Message-ID: <200501091111.07174.sourceforge-raindog2@...94...> On Sunday 09 January 2005 10:50, Daniel Campos wrote: > >Does Gtk provide any way of preventing the picture from > > covering the text? > > Can you send me any example of this? No, I haven't even compiled the Gtk component, I was just asking. If you have a button that says "Press Me To Continue" and it takes up the whole button, inserting a picture into the button will cause the words to wrap, but laying a picture on top of the button as you describe will presumably cover one or more words. Rob From gambas at ...1... Sun Jan 9 17:29:17 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 9 Jan 2005 17:29:17 +0100 Subject: [Gambas-user] MySQL Connect In-Reply-To: <41E0609D.A55B443E@...762...> References: <200501022213.49677.gambas@...1...> <200501081702.47686.sourceforge-raindog2@...94...> <41E0609D.A55B443E@...762...> Message-ID: <200501091729.17617.gambas@...1...> On Saturday 08 January 2005 23:37, John G. Ruff wrote: > When I run the Database example program, I still get the same > error: > > Cannot open database: Client does not support authentication > protocol requested by server; consider > upgrading MySQL client > > I did a fresh install of Mandrake 10.1 Official (32 bit) on a > different hard drive. I'm using Gambas 1.0.1. I downloaded & > installed MySQL-Client 4.1.8a from MySQL.com. > > The server is running Mandrake 10.1 Official (32 bit) in runlevel > 3 (text multi-user mode) and MySQL Server 4.1.8a. > > I am able to connect to, access and update this same server from > my Visual Basic 6 / SP6 programs, so the credentials, etc., > should be OK. > > Any ideas what is wrong? I am at a loss for what to try next. I > am just trying out Gambas, I really want to turn off my remaining > Windows stuff and move entirely to Linux. Is it possible that the > MySQL server is sending a request for something that Gambas does > not / cannot respond to? Is anyone else successfully running > anything similar to this? > > Thanks in advance for any help. > > jr > > -=-=-=-=-=-=-=-=-=-=- > John G. Ruff > Wayzata, MN USA > -=-=-=-=-=-=-=-=-=-=- > Mmm... I have installed on my Mandrake 10.1 the following MySQL related packages: - MySQL41-4.1.5-0.1mdk - MySQL41-client-4.1.5-0.1mdk - MySQL41-common-4.1.5-0.1mdk - libmysql14-devel-4.1.5-0.1mdk - libmysql14-4.1.5-0.1mdk The MySQL server is running as it is configured by default on Mandrake, and I can connect to it with the user 'root' without any password. The Gambas mysql driver just takes the values of of the Connection object properties and pass them to the mysql function mysql_real_connect(). Can you compare your mysql server configuration files with the original files installed on the Mandrake 10.1 ? Can you do the same thing with the contents of the 'user' table in the system database 'mysql' ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Jan 9 17:32:31 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 9 Jan 2005 17:32:31 +0100 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <200501071109.28136.therden@...775...> References: <200501071109.28136.therden@...775...> Message-ID: <200501091732.31834.gambas@...1...> On Friday 07 January 2005 17:09, Thomas M. Herden wrote: > Hello, > > I've tried compiling Gambas on a Debian-derived distribution (Simply > MEPIS), but no go. "./configure" seemed to finish without errors, but > "make" gave up the ghost after the following... > > if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. > -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 > -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD > -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \ then mv -f > ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT > -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp > -fPIC -DPIC -o .libs/main.o In file included from CWindow.h:39, > from main.cpp:62: > CMenu.h:32:19: qlist.h: No such file or directory > In file included from main.cpp:82: > CTabStrip.h:35:21: qvector.h: No such file or directory > make[5]: *** [main.lo] Error 1 > make[5]: Leaving directory > `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[4]: *** > [all-recursive] Error 1 > make[4]: Leaving directory > `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[3]: *** > [all-recursive] Error 1 > make[3]: Leaving directory > `/home/tom_herden/dl/source/gambas-1.0.1/src/lib' make[2]: *** > [all-recursive] Error 1 > make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1' > make: *** [all] Error 2 > > This looks like a Qt problem -- right? The Qt libs and dev files which > I've installed are version 3:3.3.3-7. I saw an earlier posting documenting > the same errors with what was reported as Qt version 3:3.3.2-4. Does anyone > know if there's a problem compiling with these versions? > > If not, can someone list exactly which Qt 3 development packages are > required to successfully compile Gambas? > > Thanks in advance, -Tom > Can you send the output of ./configure ? Did you install the Qt development packages ? There is only one qt development package on Mandrake, but I don't know on Debian, nor Mepis... Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Sun Jan 9 18:14:10 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 09 Jan 2005 18:14:10 +0100 Subject: [Gambas-user] Silly Question :) In-Reply-To: <200501091111.07174.sourceforge-raindog2@...94...> References: <41E0A263.7030905@...777...> <200501090938.38419.sourceforge-raindog2@...94...> <41E152C2.4050104@...338...> <200501091111.07174.sourceforge-raindog2@...94...> Message-ID: <41E16662.3070703@...338...> >If you have a button that says "Press Me To Continue" and it >takes up the whole button, inserting a picture into the button >will cause the words to wrap, but laying a picture on top of the >button as you describe will presumably cover one or more words. > > No, because the structure is the following: button --> Contains a "hbox" container --> Contains a "Picture" and a "Label" ------------------------------------ | Button | | |---------------------------| | | | HBox | | | | |---------| |-----------| | | | | | Picture | | Label | | | | | |---------| |-----------| | | | | | | | |---------------------------| | | | |----------------------------------| That is, the HBox container always keep the Picture apart from the Label. Regards, D. Campos >Rob > > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From karl.reinl at ...9... Sun Jan 9 20:30:54 2005 From: karl.reinl at ...9... (Charlie) Date: Sun, 09 Jan 2005 20:30:54 +0100 Subject: [Gambas-user] DB-Report Tool References: <200501082138.27260.Karl.Reinl@...9...> <200501090653.12860.christian.faurebouvard@...357...> Message-ID: <41E1866E.6070702@...9...> Christian Faure schrieb: >El S?bado, 8 de Enero de 2005 17:38, Charlie Reinl escribi?: > > >>Salut Christian, >> >>I moved to gambas user, think thats the place. >> >> > >Ok > > > >>ok with a compiled viewer it works. >> >> > >Ok > > > >>Had and have less time, to test further. >> >> > > > Sorry I'd finished my sentence. I stop testing here, this version. But soon I think, I hope ( it was promised me) I will get a nice DB where I can make a nice real report. If you have new version let me know. Amicalment Charlie From frankberg at ...390... Sun Jan 9 21:37:28 2005 From: frankberg at ...390... (Frank Berg) Date: Sun, 9 Jan 2005 21:37:28 +0100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <200501090050.24979.sourceforge-raindog2@...94...> Message-ID: <001201c4f68b$0c7a1170$c6f0fea9@...602...> hi, i was search about this function, but there ist only 1 [application] in the query so it ist only an file with key = value possible this is not an .ini file there are different [sections] are this possible to read different with "settings" ???? frank >> Is there already a class or built-in funtions to read and >> manipulate INI files? > > Pretty much, yeah.... the core class "Settings". > > http://www.binara.com/gambas-wiki/bin/view/Gambas/GbSettings > > Thanks > Rob From gambas at ...1... Sun Jan 9 21:59:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 9 Jan 2005 21:59:25 +0100 Subject: [Gambas-user] Class to Read/Write INI files In-Reply-To: <001201c4f68b$0c7a1170$c6f0fea9@...602...> References: <41E0A5AF.1060707@...776...> <200501090050.24979.sourceforge-raindog2@...94...> <001201c4f68b$0c7a1170$c6f0fea9@...602...> Message-ID: <200501092159.25898.gambas@...1...> On Sunday 09 January 2005 21:37, Frank Berg wrote: > hi, > i was search about this function, > but there ist only 1 [application] in the query > so it ist only an file with key = value possible > this is not an .ini file > there are different [sections] > > are this possible to read different with "settings" ???? > > frank > The Settings class does not use the same syntax than ini files. This is planned for the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From blixtra at ...626... Sun Jan 9 22:08:53 2005 From: blixtra at ...626... (Chris Wilson) Date: Sun, 9 Jan 2005 22:08:53 +0100 Subject: [Gambas-user] Re: Row selection highlighting in TableView In-Reply-To: <200501091019.23814.sourceforge-raindog2@...94...> References: <69dead7b05010513054f832cda@...627...> <69dead7b05010907107d44dbe7@...627...> <200501091019.23814.sourceforge-raindog2@...94...> Message-ID: <69dead7b050109130859e0618e@...627...> Thanks for the reply. Here is the source package and the mysql dump. I also don't understand why, when I click on a row in the lower and side TV, the column header is highlighted but not in the top TV. chris On Sun, 9 Jan 2005 10:19:23 -0500, Rob wrote: > On Sunday 09 January 2005 10:10, Chris Wilson wrote: > > I still haven't found out why the other TableViews don't > > highlight the selected row. Anybody have any idea? > > I'm sorry, I never got a copy of the project. Could you repost > it? > > Thanks > Rob > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Langley-0.0.1.tar.gz Type: application/x-gzip Size: 8844 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Idioma.sql Type: text/x-sql Size: 32325 bytes Desc: not available URL: From edamron at ...776... Sun Jan 9 22:13:26 2005 From: edamron at ...776... (Eric Damron) Date: Sun, 09 Jan 2005 13:13:26 -0800 Subject: [Gambas-user] Setting Tab Order (How?) Message-ID: <41E19E76.9090001@...776...> How do I set the tab order for controls on a form? Thanks From gambas at ...1... Sun Jan 9 22:22:10 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 9 Jan 2005 22:22:10 +0100 Subject: [Gambas-user] Release of Gambas 1.9.1 Message-ID: <200501092222.10844.gambas@...1...> This is the first development release of next Gambas 2.0. http://gambas.sourceforge.net/download.html The package and executable names got a '2' suffix so that installing version 1 and version 2 on the same system works without problems. Many new alpha components were merged: GTK+, SDL graphics, Perl Compatible Regular Expressions, and ODBC support. The first development versions will break many things, so you may be surprised :-) For Nigel: I didn't include your sqlite3 driver yet, as I didn't have the time to install it on my Mandrake. It seems that I have to compile from sources... Enjoy it... -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Sun Jan 9 22:42:54 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 9 Jan 2005 22:42:54 +0100 Subject: [Gambas-user] Setting Tab Order (How?) In-Reply-To: <41E19E76.9090001@...776...> References: <41E19E76.9090001@...776...> Message-ID: <200501092242.54112.gambasfr@...11...> Le dimanche 9 Janvier 2005 22:13, Eric Damron a ?crit?: > How do I set the tab order for controls on a form? > > Thanks > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user We need to add a how to ? The tab order is the zOrder of the widget... First at the bottom last at the top... use on keyboard home or end key to manage the widget order Fabien From edamron at ...776... Mon Jan 10 00:34:35 2005 From: edamron at ...776... (Eric Damron) Date: Sun, 09 Jan 2005 15:34:35 -0800 Subject: [Gambas-user] Cancel Close event of Form Message-ID: <41E1BF8B.7000001@...776...> Sorry for so many questions but I have a form that holds data that I need to check before allowing the user to close the form. In the form's close event is there someway I can tell it to abort the close? Thanks PS Gambus rocks! From lordheavy at ...512... Mon Jan 10 00:59:19 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 10 Jan 2005 00:59:19 +0100 Subject: [Gambas-user] Release of Gambas 1.9.1 In-Reply-To: <200501092222.10844.gambas@...1...> References: <200501092222.10844.gambas@...1...> Message-ID: <200501100059.20654.lordheavy@...512...> Le Dimanche 9 Janvier 2005 22:22, Benoit Minisini a ?crit?: > This is the first development release of next Gambas 2.0. > > http://gambas.sourceforge.net/download.html > > The package and executable names got a '2' suffix so that installing > version 1 and version 2 on the same system works without problems. Many new > alpha components were merged: GTK+, SDL graphics, Perl Compatible Regular > Expressions, and ODBC support. > > The first development versions will break many things, so you may be > surprised :-) > > For Nigel: I didn't include your sqlite3 driver yet, as I didn't have the > time to install it on my Mandrake. It seems that I have to compile from > sources... > > Enjoy it... i've got a warning : ../../src/share/gb_common.h:87: attention : redefinition of `ulong' /usr/include/sys/types.h:151: attention : `ulong' previously declared here not very clean :) the fix in src/lib/share/gb_common.h: there is --- #ifndef LINUX typedef unsigned long ulong; #endif --- must have : --- #ifndef OS_LINUX --- and must add too --- #include "config.h" --- Regards, -- Laurent Carlier From edamron at ...776... Mon Jan 10 00:56:42 2005 From: edamron at ...776... (Eric Damron) Date: Sun, 09 Jan 2005 15:56:42 -0800 Subject: [Gambas-user] Setting Tab Order (How?) In-Reply-To: <200501092242.54112.gambasfr@...11...> References: <41E19E76.9090001@...776...> <200501092242.54112.gambasfr@...11...> Message-ID: <41E1C4BA.4030400@...776...> Bodard Fabien wrote: >Le dimanche 9 Janvier 2005 22:13, Eric Damron a ?crit : > > >>How do I set the tab order for controls on a form? >> >>Thanks >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > >We need to add a how to ? > >The tab order is the zOrder of the widget... First at the bottom last at the >top... > >use on keyboard home or end key to manage the widget order > > >Fabien > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > Thanks but I don't see anywhere where the Z-Order is displayed. It's not in the properties is it? Thanks From blixtra at ...626... Mon Jan 10 01:07:16 2005 From: blixtra at ...626... (Chris Wilson) Date: Mon, 10 Jan 2005 01:07:16 +0100 Subject: [Gambas-user] Setting Tab Order (How?) In-Reply-To: <41E1C4BA.4030400@...776...> References: <41E19E76.9090001@...776...> <200501092242.54112.gambasfr@...11...> <41E1C4BA.4030400@...776...> Message-ID: <69dead7b05010916075528d8e4@...627...> I think you can see this in the Hierarchy Viewer. It would be easier to set the tab order if you could drag the items in the Hierarchy Viewer to the position you desire. Currently, i think the only possibility is to use the arrangment -> send to back/front items action in the context menu of the widget. The home and end keys do this, too. Please correct me if I'm wrong. Chris On Sun, 09 Jan 2005 15:56:42 -0800, Eric Damron wrote: > Bodard Fabien wrote: > > >Le dimanche 9 Janvier 2005 22:13, Eric Damron a ?crit : > > > > > >>How do I set the tab order for controls on a form? > >> > >>Thanks > >> > >> > >>------------------------------------------------------- > >>The SF.Net email is sponsored by: Beat the post-holiday blues > >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >>_______________________________________________ > >>Gambas-user mailing list > >>Gambas-user at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > > > >We need to add a how to ? > > > >The tab order is the zOrder of the widget... First at the bottom last at the > >top... > > > >use on keyboard home or end key to manage the widget order > > > > > >Fabien > > > > > > > >------------------------------------------------------- > >The SF.Net email is sponsored by: Beat the post-holiday blues > >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > Thanks but I don't see anywhere where the Z-Order is displayed. It's > not in the properties is it? > > Thanks > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From blixtra at ...626... Mon Jan 10 01:52:11 2005 From: blixtra at ...626... (Chris Wilson) Date: Mon, 10 Jan 2005 01:52:11 +0100 Subject: [Gambas-user] Cancel Close event of Form In-Reply-To: <41E1BF8B.7000001@...776...> References: <41E1BF8B.7000001@...776...> Message-ID: <69dead7b050109165253ebc2d2@...627...> I think you should be able to do something like this... PUBLIC SUB MyForm_Close() IF expressionHere THEN STOP EVENT END IF END Chris On Sun, 09 Jan 2005 15:34:35 -0800, Eric Damron wrote: > Sorry for so many questions but I have a form that holds data that I > need to check before allowing the user to close the form. In the form's > close event is there someway I can tell it to abort the close? > > Thanks > > PS Gambus rocks! > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From iwan at ...519... Mon Jan 10 02:29:08 2005 From: iwan at ...519... (Iwan Prasetyo) Date: Mon, 10 Jan 2005 08:29:08 +0700 Subject: [Gambas-user] Release of Gambas 1.9.1 In-Reply-To: <200501092222.10844.gambas@...1...> Message-ID: <200501100120.j0A1KB7Q025584@...564...> ODBC....means I can connect any other database such as oracle, MSSQL, sybase? Cool...it will help us much for penetrating on desktop usage:) Regards, Iwan Prasetyo ---------------------- -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Benoit Minisini Sent: Monday, January 10, 2005 04:22 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Release of Gambas 1.9.1 This is the first development release of next Gambas 2.0. http://gambas.sourceforge.net/download.html The package and executable names got a '2' suffix so that installing version 1 and version 2 on the same system works without problems. Many new alpha components were merged: GTK+, SDL graphics, Perl Compatible Regular Expressions, and ODBC support. The first development versions will break many things, so you may be surprised :-) For Nigel: I didn't include your sqlite3 driver yet, as I didn't have the time to install it on my Mandrake. It seems that I have to compile from sources... Enjoy it... -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From edamron at ...776... Mon Jan 10 02:41:20 2005 From: edamron at ...776... (Eric Damron) Date: Sun, 09 Jan 2005 17:41:20 -0800 Subject: [Gambas-user] Setting Tab Order (How?) In-Reply-To: <69dead7b05010916075528d8e4@...627...> References: <41E19E76.9090001@...776...> <200501092242.54112.gambasfr@...11...> <41E1C4BA.4030400@...776...> <69dead7b05010916075528d8e4@...627...> Message-ID: <41E1DD40.6020307@...776...> Chris Wilson wrote: >I think you can see this in the Hierarchy Viewer. It would be easier >to set the tab order if you could drag the items in the Hierarchy >Viewer to the position you desire. > >Currently, i think the only possibility is to use the arrangment -> >send to back/front items action in the context menu of the widget. The >home and end keys do this, too. > >Please correct me if I'm wrong. > >Chris > > >On Sun, 09 Jan 2005 15:56:42 -0800, Eric Damron wrote: > > >>Bodard Fabien wrote: >> >> >> >>>Le dimanche 9 Janvier 2005 22:13, Eric Damron a ?crit : >>> >>> >>> >>> >>>>How do I set the tab order for controls on a form? >>>> >>>>Thanks >>>> >>>> >>>>------------------------------------------------------- >>>>The SF.Net email is sponsored by: Beat the post-holiday blues >>>>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>>_______________________________________________ >>>>Gambas-user mailing list >>>>Gambas-user at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >>>> >>>> >>>We need to add a how to ? >>> >>>The tab order is the zOrder of the widget... First at the bottom last at the >>>top... >>> >>>use on keyboard home or end key to manage the widget order >>> >>> >>>Fabien >>> >>> >>> >>>------------------------------------------------------- >>>The SF.Net email is sponsored by: Beat the post-holiday blues >>>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>_______________________________________________ >>>Gambas-user mailing list >>>Gambas-user at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> >>> >>Thanks but I don't see anywhere where the Z-Order is displayed. It's >>not in the properties is it? >> >>Thanks >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > Okay, I got the items arranged correctly in the Hierarchy Viewer but the focus jumps over my comboboxes even if the comboboxes are higher in the hierarchy. From sourceforge-raindog2 at ...94... Mon Jan 10 04:50:31 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 9 Jan 2005 22:50:31 -0500 Subject: [Gambas-user] Release of Gambas 1.9.1 In-Reply-To: <200501092222.10844.gambas@...1...> References: <200501092222.10844.gambas@...1...> Message-ID: <200501092250.31844.sourceforge-raindog2@...94...> On Sunday 09 January 2005 16:22, Benoit Minisini wrote: > The package and executable names got a '2' suffix so that > installing version 1 and version 2 on the same system works > without problems. Many new alpha components were merged: GTK+, > SDL graphics, Perl Compatible Regular Expressions, and ODBC > support. I know you guys got the Gtk+ component to work with Gtk 2.4, but I'm back here on Mandrake 10 with Gtk 2.2. So, no packages till at least tomorrow when I get to a 10.1 box :) Rob From halojen at ...777... Mon Jan 10 06:30:37 2005 From: halojen at ...777... (halojen) Date: Mon, 10 Jan 2005 18:30:37 +1300 Subject: [Gambas-user] Silly Question :) In-Reply-To: <41E1413D.5030605@...338...> References: <41E0A263.7030905@...777...> <200501091344.43078.gambasfr@...11...> <41E1413D.5030605@...338...> Message-ID: <41E212FD.4070208@...777...> Daniel Campos wrote: > >> >> I think an alignment option can be added to the widget button if gtk >> can do it ! but not on the 1.0 version... just for the next... >> >> > To add a picture to a Button using GTK+, I just place a Picture widget > over > the button widget, so I can place it where I want. > > Regards, > > D. Campos > Thank you all for the suggestions they are very helpful. I think I can now carry on with my plan of world dominance. Cheers Billy From scatman_ at ...17... Mon Jan 10 08:16:02 2005 From: scatman_ at ...17... (scatman) Date: Mon, 10 Jan 2005 08:16:02 +0100 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <200501071109.28136.therden@...775...> References: <200501071109.28136.therden@...775...> Message-ID: <200501100816.02963.scatman_@...17...> Am Freitag, 7. Januar 2005 17:09 schrieb Thomas M. Herden: Hello, > I've tried compiling Gambas on a Debian-derived distribution (Simply > MEPIS), but no go. "./configure" seemed to finish without errors, but > "make" gave up the ghost after the following... > > if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. > -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 > -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD > -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \ then mv -f > ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT > -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os > -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp > -fPIC -DPIC -o .libs/main.o In file included from CWindow.h:39, > from main.cpp:62: > CMenu.h:32:19: qlist.h: No such file or directory > In file included from main.cpp:82: > CTabStrip.h:35:21: qvector.h: No such file or directory > make[5]: *** [main.lo] Error 1 > make[5]: Leaving directory > `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[4]: *** > [all-recursive] Error 1 > make[4]: Leaving directory > `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[3]: *** > [all-recursive] Error 1 > make[3]: Leaving directory > `/home/tom_herden/dl/source/gambas-1.0.1/src/lib' make[2]: *** > [all-recursive] Error 1 > make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1' > make: *** [all] Error 2 I have no Problems with the libqt3-compat-headers for Debian. Not the qt3-dev or libqt3-dev. bye. From julien at ...782... Mon Jan 10 09:01:09 2005 From: julien at ...782... (Julien Barbier) Date: Mon, 10 Jan 2005 09:01:09 +0100 Subject: [Gambas-user] Release of Gambas 1.9.1 In-Reply-To: <200501092222.10844.gambas@...1...> References: <200501092222.10844.gambas@...1...> Message-ID: <1105344068.4721.8.camel@...783...> On Sun, 2005-01-09 at 22:22, Benoit Minisini wrote: > This is the first development release of next Gambas 2.0. > > http://gambas.sourceforge.net/download.html > > The package and executable names got a '2' suffix so that installing version 1 > and version 2 on the same system works without problems. Many new alpha > components were merged: GTK+, SDL graphics, Perl Compatible Regular > Expressions, and ODBC support. > > The first development versions will break many things, so you may be > surprised :-) > > For Nigel: I didn't include your sqlite3 driver yet, as I didn't have the time > to install it on my Mandrake. It seems that I have to compile from sources... > > Enjoy it... Hi everybody ! I have just a little question : Is there a way to do an update of the program in place of removing and re-install all ? Thanks, and continue your excellent job ! -------------- Julien -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at ...772... Mon Jan 10 09:41:27 2005 From: dave at ...772... (Dave Sharples) Date: Mon, 10 Jan 2005 08:41:27 +0000 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <200501071109.28136.therden@...775...> References: <200501071109.28136.therden@...775...> Message-ID: <1105346487.20205.3.camel@...599...> On Fri, 2005-01-07 at 16:09, Thomas M. Herden wrote: > Hello, > > I've tried compiling Gambas on a Debian-derived distribution (Simply MEPIS), but no go. > "./configure" seemed to finish without errors, but "make" gave up the ghost after the following... > > if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" -c -o main.lo main.cpp; \ > then mv -f ".deps/main.Tpo" ".deps/main.Plo"; else rm -f ".deps/main.Tpo"; exit 1; fi > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o > In file included from CWindow.h:39, > from main.cpp:62: > CMenu.h:32:19: qlist.h: No such file or directory > In file included from main.cpp:82: > CTabStrip.h:35:21: qvector.h: No such file or directory > make[5]: *** [main.lo] Error 1 > make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1' > make: *** [all] Error 2 > > This looks like a Qt problem -- right? The Qt libs and dev files which I've installed are version 3:3.3.3-7. > I saw an earlier posting documenting the same errors with what was reported as Qt version 3:3.3.2-4. > Does anyone know if there's a problem compiling with these versions? > I was the one with the same problem with the earlier QT version, also on a debian based distro. I solved it by installing Gambas from the Debian Sid repository, that worked fine for me. It looks like there must be a problem with Debian based systems ? From blixtra at ...626... Mon Jan 10 12:56:18 2005 From: blixtra at ...626... (Chris Wilson) Date: Mon, 10 Jan 2005 12:56:18 +0100 Subject: [Gambas-user] Setting Tab Order (How?) In-Reply-To: <41E1DD40.6020307@...776...> References: <41E19E76.9090001@...776...> <200501092242.54112.gambasfr@...11...> <41E1C4BA.4030400@...776...> <69dead7b05010916075528d8e4@...627...> <41E1DD40.6020307@...776...> Message-ID: <69dead7b050110035627f144a4@...627...> Make sure your combo boxs are in the same container as the other elements. The should show up under the same node in the Hierarchy viewer. I had this problem when copying and pasting into the wrong container. If that doesn't work then I don't know. Chris On Sun, 09 Jan 2005 17:41:20 -0800, Eric Damron wrote: > Chris Wilson wrote: > > >I think you can see this in the Hierarchy Viewer. It would be easier > >to set the tab order if you could drag the items in the Hierarchy > >Viewer to the position you desire. > > > >Currently, i think the only possibility is to use the arrangment -> > >send to back/front items action in the context menu of the widget. The > >home and end keys do this, too. > > > >Please correct me if I'm wrong. > > > >Chris > > > > > >On Sun, 09 Jan 2005 15:56:42 -0800, Eric Damron wrote: > > > > > >>Bodard Fabien wrote: > >> > >> > >> > >>>Le dimanche 9 Janvier 2005 22:13, Eric Damron a ?crit : > >>> > >>> > >>> > >>> > >>>>How do I set the tab order for controls on a form? > >>>> > >>>>Thanks > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>The SF.Net email is sponsored by: Beat the post-holiday blues > >>>>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >>>>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >>>>_______________________________________________ > >>>>Gambas-user mailing list > >>>>Gambas-user at lists.sourceforge.net > >>>>https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>> > >>>> > >>>> > >>>> > >>>We need to add a how to ? > >>> > >>>The tab order is the zOrder of the widget... First at the bottom last at the > >>>top... > >>> > >>>use on keyboard home or end key to manage the widget order > >>> > >>> > >>>Fabien > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>The SF.Net email is sponsored by: Beat the post-holiday blues > >>>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >>>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >>>_______________________________________________ > >>>Gambas-user mailing list > >>>Gambas-user at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >>> > >>> > >>> > >>> > >>Thanks but I don't see anywhere where the Z-Order is displayed. It's > >>not in the properties is it? > >> > >>Thanks > >> > >>------------------------------------------------------- > >>The SF.Net email is sponsored by: Beat the post-holiday blues > >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >>_______________________________________________ > >>Gambas-user mailing list > >>Gambas-user at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > > > > > >------------------------------------------------------- > >The SF.Net email is sponsored by: Beat the post-holiday blues > >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > Okay, I got the items arranged correctly in the Hierarchy Viewer but > the focus jumps over my comboboxes even if the comboboxes are higher in > the hierarchy. > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From smiefert at ...784... Mon Jan 10 13:58:22 2005 From: smiefert at ...784... (Stefan Miefert) Date: Mon, 10 Jan 2005 13:58:22 +0100 Subject: [Gambas-user] Listbox Message-ID: <200501101358.22928.smiefert@...784...> hello, how can i insert IDs and read the selected id ? i create a listbox and enter some database entrys in this listbox ListBox1.Add (res!title) how can i get the seected values and how can i put/get the unique database id like (PRODUKTID) database structure: PRODUCTID title description From mark at ...785... Mon Jan 10 14:46:06 2005 From: mark at ...785... (Mark Petryk) Date: Mon, 10 Jan 2005 07:46:06 -0600 Subject: [Gambas-user] configure problem on Mandrake 10.1 - missing libXext Message-ID: <41E2871E.6020305@...785...> configure is reporting 'libXext not found'. Not sure what to do with that error. From sourceforge-raindog2 at ...94... Mon Jan 10 14:33:24 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 10 Jan 2005 08:33:24 -0500 Subject: [Gambas-user] Release of Gambas 1.9.1 In-Reply-To: <1105344068.4721.8.camel@...783...> References: <200501092222.10844.gambas@...1...> <1105344068.4721.8.camel@...783...> Message-ID: <200501100833.24694.sourceforge-raindog2@...94...> On Monday 10 January 2005 03:01, Julien Barbier wrote: > I have just a little question : > Is there a way to do an update of the program in place of > removing and re-install all ? Well, the 1.9 series has everything renamed with a 2 at the end, so it can coexist with the previous ones. It's more like installing a new program than updating the old one. With the 1.0 series, if you're installing from RPM's you can just install the new RPMs over it, (I assume the same is true for .debs) and if you're building from source I think "make install" will just install the new version on top of the old version as well. Rob From mark at ...785... Mon Jan 10 14:52:00 2005 From: mark at ...785... (Mark Petryk) Date: Mon, 10 Jan 2005 07:52:00 -0600 Subject: [Gambas-user] configure missing libXext on Mandrake 10.1 Message-ID: <41E28880.2030302@...785...> Not sure what to do about this error. Attached is my configure's output.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From sourceforge-raindog2 at ...94... Mon Jan 10 15:03:46 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 10 Jan 2005 09:03:46 -0500 Subject: [Gambas-user] configure missing libXext on Mandrake 10.1 In-Reply-To: <41E28880.2030302@...785...> References: <41E28880.2030302@...785...> Message-ID: <200501100902.39524.sourceforge-raindog2@...94...> On Monday 10 January 2005 08:52, Mark Petryk wrote: > Not sure what to do about this error. Attached is my > configure's output.txt You may need to specify --x-libraries=/usr/X11R6/lib (or wherever libXext.so is on your system) when you ./configure. At least under Mandrake 10, libXext.so is part of libxfree86-devel. I assume X.org has the same library, so make sure you have its devel package installed. Now, I have already packaged 1.0.1 for Mandrake 10.1 and intend to get 1.9.1 packaged later today, so if you still have problems you may just wanna wait. Rob From therden at ...775... Mon Jan 10 15:27:41 2005 From: therden at ...775... (Thomas M. Herden) Date: Mon, 10 Jan 2005 09:27:41 -0500 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <200501091732.31834.gambas@...1...> References: <200501071109.28136.therden@...775...> <200501091732.31834.gambas@...1...> Message-ID: <200501100927.41426.therden@...775...> Thank you so much for being willing to help a newbie. As requested, I'm attaching the file which resulted from the command su -c ( ./configure; make; make install ) > output.txt 2>&1 Prior to trying to compile Gambas, in an attempt to cover the "Qt development package" requirements, I installed the following Debian packages: libqt3-headers 3.3.3-7 Qt3 header files libqt3-i18n 3.3.3-7 i18n files for Qt3 library libqt3-mt-dev 3.3.3-7 Qt development files (Threaded) libqt3c102-mt 3.3.3-7 Qt GUI Library (Threaded runtime version) qt3-dev-tools 3.3.3-7 Qt3 development tools FWIW: like Mr. Sharples, who replied to my earlier message, I have also had success installing Gambas binaries from a Debian depository (I used http://www.linex.org/sources/linex/debian/ sarge linex ) -- So the good news is that, whatever the compilation issue is, it has already been identified and solved by someone. -Tom On Sunday 09 January 2005 11:32, Benoit Minisini wrote: > On Friday 07 January 2005 17:09, Thomas M. Herden wrote: > > Hello, > > > > I've tried compiling Gambas on a Debian-derived distribution (Simply > > MEPIS), but no go. "./configure" seemed to finish without errors, but > > "make" gave up the ghost after the following... > > This looks like a Qt problem -- right? The Qt libs and dev files which > > I've installed are version 3:3.3.3-7. I saw an earlier posting > > documenting the same errors with what was reported as Qt version > > 3:3.3.2-4. Does anyone know if there's a problem compiling with these > > versions? > > > > If not, can someone list exactly which Qt 3 development packages are > > required to successfully compile Gambas? > > > > Thanks in advance, -Tom > > Can you send the output of ./configure ? Did you install the Qt development > packages ? There is only one qt development package on Mandrake, but I > don't know on Debian, nor Mepis... > > Regards, -------------- next part -------------- checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for wait3 that fills in rusage... yes checking for getcwd... yes checking for gettimeofday... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtod... yes checking for strtol... yes checking for sysinfo... yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for main in -lm... yes checking for main in -lz... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for external internationalization library headers... /usr/include/ checking for external internationalization library libraries... no configure: WARNING: *** external internationalization library is disabled checking for external charset conversion library headers... /usr/include/ checking for external charset conversion library libraries... no configure: WARNING: *** external charset conversion library is disabled checking for external gettext library headers... checking for external gettext library libraries... no configure: WARNING: *** external gettext library is disabled checking for QT component headers... /usr/include/qt/ checking for QT component libraries... /usr/lib/ checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for QT meta-object compiler... /usr/share/qt3/bin/ checking for KDE 3.x component headers... no checking for KDE 3.x component libraries... no configure: WARNING: *** KDE 3.x component is disabled checking for Networking component headers... checking for Networking component libraries... checking for Advanced networking component headers... /usr/include/curl/ checking for Advanced networking component libraries... /usr/lib/ checking for PostgreSQL driver headers... no checking for PostgreSQL driver libraries... no configure: WARNING: *** PostgreSQL driver is disabled checking for MySQL driver headers... /usr/include/mysql/ checking for MySQL driver libraries... /usr/lib/ checking for SQLite driver headers... no checking for SQLite driver libraries... no configure: WARNING: *** SQLite driver is disabled checking for SDL component headers... /usr/include/SDL/ checking for SDL component libraries... /usr/lib/ checking for Visual Basic compatibility component headers... checking for Visual Basic compatibility component libraries... checking for zlib compression headers... /usr/include/ checking for zlib compression libraries... /usr/lib/ checking for bzlib2 compression headers... no checking for bzlib2 compression libraries... no configure: WARNING: *** bzlib2 compression is disabled checking for XML parser component headers... /usr/include/libxml2/ checking for XML parser component libraries... /usr/lib/ checking for XSLT/XML parser component headers... /usr/include/ checking for XSLT/XML parser component libraries... /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/share/Makefile config.status: creating src/comp/Makefile config.status: creating src/exec/Makefile config.status: creating src/lib/Makefile config.status: creating src/lib/debug/Makefile config.status: creating src/lib/eval/Makefile config.status: creating src/lib/qt/Makefile config.status: creating src/lib/qt/editor/Makefile config.status: creating src/lib/qt/ext/Makefile config.status: creating src/lib/qt/kde/Makefile config.status: creating src/lib/qt/kde/html/Makefile config.status: creating src/lib/db/Makefile config.status: creating src/lib/db/mysql/Makefile config.status: creating src/lib/db/postgresql/Makefile config.status: creating src/lib/db/sqlite/Makefile config.status: creating src/lib/sdl/Makefile config.status: creating src/lib/net/Makefile config.status: creating src/lib/net/curl/Makefile config.status: creating src/lib/vb/Makefile config.status: creating src/lib/compress/Makefile config.status: creating src/lib/compress/zlib/Makefile config.status: creating src/lib/compress/bzlib2/Makefile config.status: creating src/lib/xml/Makefile config.status: creating src/lib/xml/libxml/Makefile config.status: creating src/lib/xml/libxml/xslt/Makefile config.status: creating src/lib/xml/libxml/rpc/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: configuring in libltdl configure: running /bin/sh './configure' --prefix=/opt/gambas --enable-ltdl-convenience --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for an ANSI C-conforming const... yes checking for inline... inline checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking which extension is used for loadable modules... .so checking which variable specifies run-time library path... LD_LIBRARY_PATH checking for the default library search path... /lib /usr/lib /usr/X11R6/lib /lib /usr/lib /usr/X11R6/lib /usr/i486-linuxlibc1/lib /usr/lib/libc5-compat /lib/libc5-compat checking for objdir... .libs checking whether libtool supports -dlopen/-dlpreopen... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen in -ldl... yes checking for dlerror... yes checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking for error_t... yes checking for argz_append... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for unistd.h... (cached) yes checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking sys/dl.h usability... no checking sys/dl.h presence... no checking for sys/dl.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking mach-o/dyld.h usability... no checking mach-o/dyld.h presence... no checking for mach-o/dyld.h... no checking for string.h... (cached) yes checking for strchr... yes checking for strrchr... yes checking for memcpy... yes checking for memmove... yes checking for strcmp... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1' Making all in libltdl make[2]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/libltdl' cd . && /bin/sh /home/tom_herden/dl/source/gambas-1.0.1/libltdl/missing --run autoheader touch ./config-h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-am make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/libltdl' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo `test -f 'ltdl.c' || echo './'`ltdl.c 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 --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl rm -fr .libs/libltdlc.a .libs/libltdlc.la 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[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/libltdl' make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/libltdl' Making all in src make[2]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src' Making all in share make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/share' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/share' Making all in comp make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/comp' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/comp' Making all in exec make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/exec' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/exec' Making all in lib make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib' Making all in debug make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/debug' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/debug' Making all in eval make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/eval' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/eval' Making all in db make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' Making all in mysql make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db/mysql' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db/mysql' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' Making all in compress make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' Making all in zlib make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress/zlib' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress/zlib' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' Making all in xml make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' Making all in libxml make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' Making all in xslt make[6]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/xslt' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/xslt' Making all in rpc make[6]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/rpc' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/rpc' make[6]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' make[6]: Nothing to be done for `all-am'. make[6]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' Making all in qt make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' Making all in editor make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/editor' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/editor' Making all in ext make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/ext' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/ext' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" \ -c -o main.lo `test -f 'main.cpp' || echo './'`main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o In file included from CWindow.h:39, from main.cpp:62: CMenu.h:32:19: qlist.h: No such file or directory In file included from main.cpp:82: CTabStrip.h:35:21: qvector.h: No such file or directory make[5]: *** [main.lo] Error 1 make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1' make: *** [all] Error 2 Making install in libltdl make[1]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/libltdl' make[2]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/libltdl' /bin/sh ./mkinstalldirs /opt/gambas/lib /bin/sh ./mkinstalldirs /opt/gambas/include make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/libltdl' make[1]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/libltdl' Making install in src make[1]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src' Making install in share make[2]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/share' make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/share' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/share' make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/share' Making install in comp make[2]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/comp' make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/comp' /bin/sh ../../mkinstalldirs /opt/gambas/bin /bin/sh ../../libtool --mode=install /usr/bin/install -c gbc /opt/gambas/bin/gbc /usr/bin/install -c gbc /opt/gambas/bin/gbc /bin/sh ../../libtool --mode=install /usr/bin/install -c gba /opt/gambas/bin/gba /usr/bin/install -c gba /opt/gambas/bin/gba /bin/sh ../../libtool --mode=install /usr/bin/install -c gbi /opt/gambas/bin/gbi /usr/bin/install -c gbi /opt/gambas/bin/gbi make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/comp' make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/comp' Making install in exec make[2]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/exec' make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/exec' /bin/sh ../../mkinstalldirs /opt/gambas/bin /bin/sh ../../libtool --mode=install /usr/bin/install -c gbx /opt/gambas/bin/gbx /usr/bin/install -c gbx /opt/gambas/bin/gbx /bin/sh ../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../libtool --mode=install /usr/bin/install -c lib.gb.la /opt/gambas/lib/gambas/lib.gb.la /usr/bin/install -c .libs/lib.gb.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.so.0 && ln -s lib.gb.so.0.0.0 lib.gb.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.so && ln -s lib.gb.so.0.0.0 lib.gb.so) /usr/bin/install -c .libs/lib.gb.lai /opt/gambas/lib/gambas/lib.gb.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/exec' make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/exec' Making install in lib make[2]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib' Making install in debug make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/debug' make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/debug' /bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.debug.la /opt/gambas/lib/gambas/lib.gb.debug.la /usr/bin/install -c .libs/lib.gb.debug.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.debug.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.debug.so.0 && ln -s lib.gb.debug.so.0.0.0 lib.gb.debug.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.debug.so && ln -s lib.gb.debug.so.0.0.0 lib.gb.debug.so) /usr/bin/install -c .libs/lib.gb.debug.lai /opt/gambas/lib/gambas/lib.gb.debug.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/debug' make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/debug' Making install in eval make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/eval' make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/eval' /bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.eval.la /opt/gambas/lib/gambas/lib.gb.eval.la /usr/bin/install -c .libs/lib.gb.eval.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.eval.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.eval.so.0 && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.eval.so && ln -s lib.gb.eval.so.0.0.0 lib.gb.eval.so) /usr/bin/install -c .libs/lib.gb.eval.lai /opt/gambas/lib/gambas/lib.gb.eval.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/eval' make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/eval' Making install in db make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' Making install in mysql make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db/mysql' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db/mysql' /bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.db.mysql.la /opt/gambas/lib/gambas/lib.gb.db.mysql.la /usr/bin/install -c .libs/lib.gb.db.mysql.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.db.mysql.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.db.mysql.so.0 && ln -s lib.gb.db.mysql.so.0.0.0 lib.gb.db.mysql.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.db.mysql.so && ln -s lib.gb.db.mysql.so.0.0.0 lib.gb.db.mysql.so) /usr/bin/install -c .libs/lib.gb.db.mysql.lai /opt/gambas/lib/gambas/lib.gb.db.mysql.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db/mysql' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db/mysql' make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' /bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.db.la /opt/gambas/lib/gambas/lib.gb.db.la /usr/bin/install -c .libs/lib.gb.db.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.db.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.db.so.0 && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.db.so && ln -s lib.gb.db.so.0.0.0 lib.gb.db.so) /usr/bin/install -c .libs/lib.gb.db.lai /opt/gambas/lib/gambas/lib.gb.db.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/db' Making install in compress make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' Making install in zlib make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress/zlib' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress/zlib' /bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.compress.zlib.la /opt/gambas/lib/gambas/lib.gb.compress.zlib.la /usr/bin/install -c .libs/lib.gb.compress.zlib.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.compress.zlib.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.zlib.so.0 && ln -s lib.gb.compress.zlib.so.0.0.0 lib.gb.compress.zlib.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.zlib.so && ln -s lib.gb.compress.zlib.so.0.0.0 lib.gb.compress.zlib.so) /usr/bin/install -c .libs/lib.gb.compress.zlib.lai /opt/gambas/lib/gambas/lib.gb.compress.zlib.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress/zlib' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress/zlib' make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' /bin/sh ../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../libtool --mode=install /usr/bin/install -c lib.gb.compress.la /opt/gambas/lib/gambas/lib.gb.compress.la /usr/bin/install -c .libs/lib.gb.compress.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.compress.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.so.0 && ln -s lib.gb.compress.so.0.0.0 lib.gb.compress.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.compress.so && ln -s lib.gb.compress.so.0.0.0 lib.gb.compress.so) /usr/bin/install -c .libs/lib.gb.compress.lai /opt/gambas/lib/gambas/lib.gb.compress.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/compress' Making install in xml make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' Making install in libxml make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' Making install in xslt make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/xslt' make[6]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/xslt' /bin/sh ../../../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../../../libtool --mode=install /usr/bin/install -c lib.gb.xml.libxml.xslt.la /opt/gambas/lib/gambas/lib.gb.xml.libxml.xslt.la /usr/bin/install -c .libs/lib.gb.xml.libxml.xslt.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.xml.libxml.xslt.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.xml.libxml.xslt.so.0 && ln -s lib.gb.xml.libxml.xslt.so.0.0.0 lib.gb.xml.libxml.xslt.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.xml.libxml.xslt.so && ln -s lib.gb.xml.libxml.xslt.so.0.0.0 lib.gb.xml.libxml.xslt.so) /usr/bin/install -c .libs/lib.gb.xml.libxml.xslt.lai /opt/gambas/lib/gambas/lib.gb.xml.libxml.xslt.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[6]: Nothing to be done for `install-data-am'. make[6]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/xslt' make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/xslt' Making install in rpc make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/rpc' make[6]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/rpc' /bin/sh ../../../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../../../libtool --mode=install /usr/bin/install -c lib.gb.xml.libxml.rpc.la /opt/gambas/lib/gambas/lib.gb.xml.libxml.rpc.la /usr/bin/install -c .libs/lib.gb.xml.libxml.rpc.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.xml.libxml.rpc.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.xml.libxml.rpc.so.0 && ln -s lib.gb.xml.libxml.rpc.so.0.0.0 lib.gb.xml.libxml.rpc.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.xml.libxml.rpc.so && ln -s lib.gb.xml.libxml.rpc.so.0.0.0 lib.gb.xml.libxml.rpc.so) /usr/bin/install -c .libs/lib.gb.xml.libxml.rpc.lai /opt/gambas/lib/gambas/lib.gb.xml.libxml.rpc.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[6]: Nothing to be done for `install-data-am'. make[6]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/rpc' make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml/rpc' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' make[6]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' /bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.xml.libxml.la /opt/gambas/lib/gambas/lib.gb.xml.libxml.la /usr/bin/install -c .libs/lib.gb.xml.libxml.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.xml.libxml.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.xml.libxml.so.0 && ln -s lib.gb.xml.libxml.so.0.0.0 lib.gb.xml.libxml.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.xml.libxml.so && ln -s lib.gb.xml.libxml.so.0.0.0 lib.gb.xml.libxml.so) /usr/bin/install -c .libs/lib.gb.xml.libxml.lai /opt/gambas/lib/gambas/lib.gb.xml.libxml.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[6]: Nothing to be done for `install-data-am'. make[6]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml/libxml' make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/xml' Making install in qt make[3]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' Making install in editor make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/editor' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/editor' /bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.qt.editor.la /opt/gambas/lib/gambas/lib.gb.qt.editor.la /usr/bin/install -c .libs/lib.gb.qt.editor.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.qt.editor.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.qt.editor.so.0 && ln -s lib.gb.qt.editor.so.0.0.0 lib.gb.qt.editor.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.qt.editor.so && ln -s lib.gb.qt.editor.so.0.0.0 lib.gb.qt.editor.so) /usr/bin/install -c .libs/lib.gb.qt.editor.lai /opt/gambas/lib/gambas/lib.gb.qt.editor.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/editor' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/editor' Making install in ext make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/ext' make[5]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/ext' /bin/sh ../../../../mkinstalldirs /opt/gambas/lib/gambas /bin/sh ../../../../libtool --mode=install /usr/bin/install -c lib.gb.qt.ext.la /opt/gambas/lib/gambas/lib.gb.qt.ext.la /usr/bin/install -c .libs/lib.gb.qt.ext.so.0.0.0 /opt/gambas/lib/gambas/lib.gb.qt.ext.so.0.0.0 (cd /opt/gambas/lib/gambas && rm -f lib.gb.qt.ext.so.0 && ln -s lib.gb.qt.ext.so.0.0.0 lib.gb.qt.ext.so.0) (cd /opt/gambas/lib/gambas && rm -f lib.gb.qt.ext.so && ln -s lib.gb.qt.ext.so.0.0.0 lib.gb.qt.ext.so) /usr/bin/install -c .libs/lib.gb.qt.ext.lai /opt/gambas/lib/gambas/lib.gb.qt.ext.la PATH="$PATH:/sbin" ldconfig -n /opt/gambas/lib/gambas ---------------------------------------------------------------------- Libraries have been installed in: /opt/gambas/lib/gambas If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[5]: Nothing to be done for `install-data-am'. make[5]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/ext' make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt/ext' make[4]: Entering directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' if /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF ".deps/main.Tpo" \ -c -o main.lo `test -f 'main.cpp' || echo './'`main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Plo"; \ else rm -f ".deps/main.Tpo"; exit 1; \ fi g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/qt/ -D_REENTRANT -I../../../src/share -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.cpp -fPIC -DPIC -o .libs/main.o In file included from CWindow.h:39, from main.cpp:62: CMenu.h:32:19: qlist.h: No such file or directory In file included from main.cpp:82: CTabStrip.h:35:21: qvector.h: No such file or directory make[4]: *** [main.lo] Error 1 make[4]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib/qt' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src/lib' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/tom_herden/dl/source/gambas-1.0.1/src' make: *** [install-recursive] Error 1 From lordheavy at ...512... Mon Jan 10 15:47:36 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 10 Jan 2005 15:47:36 +0100 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <200501100927.41426.therden@...775...> References: <200501071109.28136.therden@...775...> <200501091732.31834.gambas@...1...> <200501100927.41426.therden@...775...> Message-ID: <200501101547.37026.lordheavy@...512...> Le Lundi 10 Janvier 2005 15:27, Thomas M. Herden a ?crit?: Searching with google gives me that results : http://lists.debian.org/debian-kde/2003/02/msg00511.html http://lists.debian.org/debian-kde/2003/02/msg00510.html The missing package seems to be libqt3-compat-headers Regards, -- Laurent Carlier From pvera at ...729... Mon Jan 10 15:44:36 2005 From: pvera at ...729... (Pablo Vera) Date: Mon, 10 Jan 2005 08:44:36 -0600 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <200501100927.41426.therden@...775...> References: <200501071109.28136.therden@...775...> <200501091732.31834.gambas@...1...> <200501100927.41426.therden@...775...> Message-ID: <41E294D4.7070906@...729...> An HTML attachment was scrubbed... URL: From jredrejo at ...96... Mon Jan 10 16:17:59 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Mon, 10 Jan 2005 16:17:59 +0100 Subject: [Gambas-user] Re: Trouble compiling 1.0.1 In-Reply-To: <20050110143310.61FE0125FB@...773...> References: <20050110143310.61FE0125FB@...773...> Message-ID: <1105370279.2501.6.camel@...698...> El lun, 10-01-2005 a las 06:32 -0800, "Thomas M. Herden" escribi?: > > Thank you so much for being willing to help a newbie. As requested, I'm > attaching the file which resulted from the command > > su -c ( ./configure; make; make install ) > output.txt 2>&1 > > Prior to trying to compile Gambas, in an attempt to cover the "Qt development > package" requirements, I installed the following Debian packages: > > libqt3-headers 3.3.3-7 Qt3 header files > libqt3-i18n 3.3.3-7 i18n files for Qt3 library > libqt3-mt-dev 3.3.3-7 Qt development files (Threaded) > libqt3c102-mt 3.3.3-7 Qt GUI Library (Threaded runtime version) > qt3-dev-tools 3.3.3-7 Qt3 development tools > > FWIW: like Mr. Sharples, who replied to my earlier message, I have also had > success installing Gambas binaries from a Debian depository (I used > http://www.linex.org/sources/linex/debian/ sarge linex ) -- So the good news > is that, whatever the compilation issue is, it has already been identified > and solved by someone. > > -Tom > > In fact, there is no problem in compiling gambas in Debian. You will only have problems if you are using Debian woody because it doesn't have the qt version needed to compile gambas. Even in that case it can be compiled using packages from the backport repository (http://www.backports.org/) Using sid or sarge you can compile it correctly if you have the right libraries installed in your system. If you don't want to use the sid & sarge packages I maintain in Debian, or the more "experimental" and "use-for-fun-and-test" versions I maintain in Linex, you can compile it without any problem also because Beno?t added to the sources the debian dir structure I sent him. So, just sit down in front of your pc, and inside the gambas source directory type: "fakeroot dpkg-buildpackage" or "dpkg-buildpacakage" if you have logged in as root. 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. Hope this helps. From sourceforge-raindog2 at ...94... Mon Jan 10 18:41:56 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 10 Jan 2005 12:41:56 -0500 Subject: [Gambas-user] pcre good news/bad news Message-ID: <200501101241.56575.sourceforge-raindog2@...94...> Well, the good news is, in Gambas 1.9.1 the pcre component no longer exhibits that behavior where you're typing along and go r = new Regexp( and the IDE crashes. :) The bad news is, in Gambas 1.9.1 (at least under Mandrake 10) gbx2 core dumps at runtime when it gets to the r = new Regexp("foo bar baz", "bar") line. Also, would it make more sense to name the next 1.9 release 1.9.10? I assume we are going to have more than 10 1.9 releases before jumping to Gambas 2.0, and that would prevent "ASCII sort vs. numeric sort" issues with packaging etc. Rob From lbaudio at ...172... Mon Jan 10 20:16:39 2005 From: lbaudio at ...172... (LB Audio) Date: Mon, 10 Jan 2005 17:16:39 -0200 (Horário brasileiro de verão) Subject: [Gambas-user] configure missing libXext on Mandrake 10.1 References: <41E28880.2030302@...785...> Message-ID: <41E2D497.000001.03248@...745...> Install QT Devel OK. -------Original Message------- From: gambas-user at lists.sourceforge.net Date: 10/1/2005 11:53:04 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] configure missing libXext on Mandrake 10.1 Not sure what to do about this error. Attached is my configure's output.txt -------------- next part -------------- An HTML attachment was scrubbed... URL: From grrussel at ...786... Mon Jan 10 21:43:50 2005 From: grrussel at ...786... (George Russell) Date: Mon, 10 Jan 2005 20:43:50 +0000 Subject: [Gambas-user] Compilation on OSX 10.3 Message-ID: <41E2E906.6080506@...786...> Compiling 1.9.1 gbx_date.c: In function `DATE_init': gbx_date.c:120: warning: assignment makes integer from pointer without a cast gbx_date.c:121: error: `daylight' undeclared (first use in this function) gbx_date.c:121: error: (Each undeclared identifier is reported only once gbx_date.c:121: error: for each function it appears in.) make[3]: *** [gbx_date.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 The following fix lets this file compile #ifdef __FreeBSD__ date_timezone = tm->tm_gmtoff; date_daylight = tm->tm_isdst; #elif __APPLE__ date_timezone = tm->tm_gmtoff; date_daylight = tm->tm_isdst; #else date_timezone = timezone; date_daylight = daylight; #endif There is a 2nd compilation failure in vb.c due to a missing exp10 definition. gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT vb.lo -MD -MP -MF .deps/vb.Tpo -c vb.c -fno-common -DPIC -o .libs/vb.o vb.c: In function `CVB_Round': vb.c:263: warning: implicit declaration of function `exp10' /bin/sh ../../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.vb.la -rpath /sw/lib/gambas2 -no-undefined main.lo vb.lo vbdate.lo rm -fr .libs/lib.gb.vb.0.0.0.dylib .libs/lib.gb.vb.0.dylib .libs/lib.gb.vb.dylib .libs/lib.gb.vb.la .libs/lib.gb.vb.lai gcc -dynamiclib -o .libs/lib.gb.vb.0.0.0.dylib .libs/main.o .libs/vb.o .libs/vbdate.o -install_name /sw/lib/gambas2/lib.gb.vb.0.dylib -compatibility_version 1 -current_version 1.0 ld: Undefined symbols: _exp10 /usr/bin/libtool: internal link edit command failed make: *** [lib.gb.vb.la] Error 1 George-Russells-Computer:~/Desktop/gambas2-1.9.1/src/lib/vb georgerussell$ Make install now fails at the following stage: -------- make[4]: Nothing to be done for `install-data-am'. make[4]: Nothing to be done for `install-data-am'. make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making symbolic links in /usr/bin... Creating the library info files... gbi: /sw/lib/gambas2/lib.gb.so: not found make[2]: *** [install-exec-local] Error 1 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 George-Russells-Computer:~/Desktop/gambas2-1.9.1 georgerussell$ Running the gbi2 executable cannot load a shared library George-Russells-Computer:~/gambas georgerussell$ /sw/bin/gbi2 test.gamba gbi: /sw/lib/gambas2/lib.test.gamba.so: not found There will never be .so shared libraries on OSX. These are .dylib, as mentioned in configure. Regards George Russell From scatman_ at ...17... Mon Jan 10 22:48:25 2005 From: scatman_ at ...17... (scatman) Date: Mon, 10 Jan 2005 22:48:25 +0100 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <41E294D4.7070906@...729...> References: <200501071109.28136.therden@...775...> <200501100927.41426.therden@...775...> <41E294D4.7070906@...729...> Message-ID: <200501102248.25993.scatman_@...17...> Am Montag, 10. Januar 2005 15:44 schrieb Pablo Vera: HTML? better use Plain Text bye From gambasfr at ...11... Mon Jan 10 23:27:48 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 10 Jan 2005 23:27:48 +0100 Subject: [Gambas-user] Listbox In-Reply-To: <200501101358.22928.smiefert@...784...> References: <200501101358.22928.smiefert@...784...> Message-ID: <200501102327.48406.gambasfr@...11...> Le lundi 10 Janvier 2005 13:58, Stefan Miefert a ?crit?: > hello, > > how can i insert IDs and read the selected id ? > > i create a listbox and enter some database entrys in this listbox > > ListBox1.Add (res!title) > > how can i get the seected values and how can i put/get the unique > database id like (PRODUKTID) > > database structure: > PRODUCTID > title > description um i think you need to make an array where you store the ids FAbien > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Mon Jan 10 23:53:02 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 10 Jan 2005 17:53:02 -0500 Subject: [Gambas-user] pcre good news/bad news In-Reply-To: <200501101241.56575.sourceforge-raindog2@...94...> References: <200501101241.56575.sourceforge-raindog2@...94...> Message-ID: <200501101753.02371.sourceforge-raindog2@...94...> On Monday 10 January 2005 12:41, Rob wrote: > The bad news is, in Gambas 1.9.1 (at least under Mandrake 10) > gbx2 core dumps at runtime when it gets to the r = new > Regexp("foo bar baz", "bar") line. The segv happens on Mandrake 10.1 too, sad to say... even under 1.0.1, where it had previously worked (with the exception that it would crash the IDE as I have previously described.) I'm gonna take a look at the differences between the gambas 1.9.1 version of the component and the last tarball I posted, to try to figure out what happened. Rob From filipboy at ...787... Tue Jan 11 02:02:05 2005 From: filipboy at ...787... (Filip) Date: Tue, 11 Jan 2005 02:02:05 +0100 Subject: [Gambas-user] serbian and gambas Message-ID: <000d01c4f779$2d46ba90$040aa8c0@...788...> Hi! I've installed Gambas version 1.0.1 on my Mandrake 10.0 with Serbian Cyrilic translation, and I can't make executable files, it tells me it cann't load sr_xxxxxx language coding... And I cann't choose to make Serbian Latin and Serbian Cyrilic translations? I am willing to translate gambas to serbian... Does gambas make standalone executable files? 10x, Filip -------------- next part -------------- An HTML attachment was scrubbed... URL: From edamron at ...776... Tue Jan 11 06:07:09 2005 From: edamron at ...776... (Eric Damron) Date: Mon, 10 Jan 2005 21:07:09 -0800 Subject: [Gambas-user] GridView Message-ID: <41E35EFD.3040206@...776...> Can someone give me a code snippit in the way of an example of using a gridview? If I have a Result object called vResult and a gridview called myRecords how do I move data into a gridview from the Result? The code below doesn't work. FOR EACH vResults myRecords[intC, 1] = vResults["description"] NEXT Thanks From gambas at ...1... Tue Jan 11 10:40:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 11 Jan 2005 10:40:19 +0100 Subject: [Gambas-user] Release of Gambas 1.9.1 In-Reply-To: <200501092250.31844.sourceforge-raindog2@...94...> References: <200501092222.10844.gambas@...1...> <200501092250.31844.sourceforge-raindog2@...94...> Message-ID: <200501111040.19485.gambas@...1...> On Monday 10 January 2005 04:50, Rob wrote: > On Sunday 09 January 2005 16:22, Benoit Minisini wrote: > > The package and executable names got a '2' suffix so that > > installing version 1 and version 2 on the same system works > > without problems. Many new alpha components were merged: GTK+, > > SDL graphics, Perl Compatible Regular Expressions, and ODBC > > support. > > I know you guys got the Gtk+ component to work with Gtk 2.4, but > I'm back here on Mandrake 10 with Gtk 2.2. So, no packages till > at least tomorrow when I get to a 10.1 box :) > > Rob > Making binary packages for this dev version is not very useful. It may breaks things on systems they will be installed :-) -- Benoit Minisini mailto:gambas at ...1... From leo.barnhoorn at ...246... Tue Jan 11 11:36:07 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 11 Jan 2005 11:36:07 +0100 Subject: [Gambas-user] Gambas version 1.9.1 Message-ID: <200501111136.08269.leo.barnhoorn@...246...> Hello Benoit, I have compiled gambas version 1.9.1 on a SuSE 9.2 system without problems. configure OK. make OK. make install OK. i'm going to play whit it now. Thanks. Regards, Leo. From leo.barnhoorn at ...246... Tue Jan 11 11:39:59 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 11 Jan 2005 11:39:59 +0100 Subject: [Gambas-user] ODBC component. Message-ID: <200501111139.59427.leo.barnhoorn@...246...> Hello Andrea, Do you have some examples for me about the ODBC component. The examples you use for testing the ODBC component. Thanks, Regards, Leo. From nospam at ...789... Tue Jan 11 12:10:52 2005 From: nospam at ...789... (me) Date: Tue, 11 Jan 2005 22:10:52 +1100 Subject: [Gambas-user] Moving controls on form Message-ID: <023301c4f7ce$36e29880$6701a8c0@...197...> Hello, Is there any way to move a single control or a selected group of controls around on a form using the keyboard? I've tried a few key combinations and searched the help text to no avail. Moving controls around with the mouse is very time consuming. Thanks for any assistance. From leo.barnhoorn at ...246... Tue Jan 11 12:16:29 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 11 Jan 2005 12:16:29 +0100 Subject: [Gambas-user] Gtk drawing area. Message-ID: <200501111216.29671.leo.barnhoorn@...246...> Hallo Daniel, Gambas2 is freeze when i run a test program. I will attach the program for you. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: Test-0.0.1.tar.gz Type: application/x-tgz Size: 4356 bytes Desc: not available URL: From edamron at ...776... Tue Jan 11 12:33:00 2005 From: edamron at ...776... (Eric Damron) Date: Tue, 11 Jan 2005 03:33:00 -0800 Subject: [Gambas-user] Request Message-ID: <41E3B96C.1030405@...776...> Here is a request for a change to Gambas. Could you put a run button on the code editing windows? I would like to be able to maximize the window while coding and run the project without going to a different window. Thanks From daniel.campos at ...338... Tue Jan 11 13:04:22 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Tue, 11 Jan 2005 13:04:22 +0100 Subject: [Gambas-user] Gtk drawing area. In-Reply-To: <200501111216.29671.leo.barnhoorn@...246...> References: <200501111216.29671.leo.barnhoorn@...246...> Message-ID: <41E3C0C6.5030909@...338...> Leo Barnhoorn escribi?: >Hallo Daniel, > >Gambas2 is freeze when i run a test program. > >I will attach the program for you. > >Regards, >Leo. > > > Remove the gb.qt component from project dependences. They are incompatible! From smiefert at ...784... Tue Jan 11 13:55:18 2005 From: smiefert at ...784... (Stefan Miefert) Date: Tue, 11 Jan 2005 13:55:18 +0100 Subject: [Gambas-user] Listbox In-Reply-To: <200501102327.48406.gambasfr@...11...> References: <200501101358.22928.smiefert@...784...> <200501102327.48406.gambasfr@...11...> Message-ID: <200501111355.18827.smiefert@...784...> Am Montag, 10. Januar 2005 23:27 schrieb Bodard Fabien: > > how can i insert IDs and read the selected id ? > > > > i create a listbox and enter some database entrys in this listbox > > > > ListBox1.Add (res!title) > > > > how can i get the seected values and how can i ?put/get the ?unique > > database id like (PRODUKTID) > > > > database structure: > > PRODUCTID > > title > > description > > um i think you need to make an array where you store the ids hello, ihow can i get the ids and must i make a extra array with my ids and the ids og the text box ? From edamron at ...776... Tue Jan 11 15:22:08 2005 From: edamron at ...776... (Eric Damron) Date: Tue, 11 Jan 2005 06:22:08 -0800 Subject: [Gambas-user] virtual Classes Message-ID: <41E3E110.10807@...776...> In some controls like the ListBox and GridView, there are virtual classes. The ListBox has a ".ListBoxItem" class for example. How does a person go about coding a virtual class? Do I need to somehow extend the ListBox class? How would I do that? (Looking for syntax here.) Thanks From gambas at ...1... Tue Jan 11 16:35:26 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 11 Jan 2005 16:35:26 +0100 Subject: [Gambas-user] Request In-Reply-To: <41E3B96C.1030405@...776...> References: <41E3B96C.1030405@...776...> Message-ID: <200501111635.26763.gambas@...1...> On Tuesday 11 January 2005 12:33, Eric Damron wrote: > Here is a request for a change to Gambas. Could you put a run button on > the code editing windows? I would like to be able to maximize the > window while coding and run the project without going to a different > window. > > Thanks > Press F5 ? -- Benoit Minisini mailto:gambas at ...1... From blixtra at ...626... Tue Jan 11 16:49:50 2005 From: blixtra at ...626... (Chris Wilson) Date: Tue, 11 Jan 2005 16:49:50 +0100 Subject: [Gambas-user] GridView In-Reply-To: <41E35EFD.3040206@...776...> References: <41E35EFD.3040206@...776...> Message-ID: <69dead7b050111074944db7a03@...627...> You probably want to use TableView for this since it's a data-bound widget. There is an example of this being used in the DataBase->DataReportExamples. Look in the main class. Chris On Mon, 10 Jan 2005 21:07:09 -0800, Eric Damron wrote: > Can someone give me a code snippit in the way of an example of using a > gridview? > > If I have a Result object called vResult and a gridview called myRecords > how do I move data into a gridview from the Result? The code below > doesn't work. > > FOR EACH vResults > > myRecords[intC, 1] = vResults["description"] > > NEXT > > Thanks > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From blixtra at ...626... Tue Jan 11 17:14:08 2005 From: blixtra at ...626... (Chris Wilson) Date: Tue, 11 Jan 2005 17:14:08 +0100 Subject: [Gambas-user] Re: Row selection highlighting in TableView In-Reply-To: <69dead7b050109130859e0618e@...627...> References: <69dead7b05010513054f832cda@...627...> <69dead7b05010907107d44dbe7@...627...> <200501091019.23814.sourceforge-raindog2@...94...> <69dead7b050109130859e0618e@...627...> Message-ID: <69dead7b05011108145821b609@...627...> OK, I officially an idiot. I just needed to set the mode property to "single" instead of "none" Chris On Sun, 9 Jan 2005 22:08:53 +0100, Chris Wilson wrote: > Thanks for the reply. > > Here is the source package and the mysql dump. > > I also don't understand why, when I click on a row in the lower and > side TV, the column header is highlighted but not in the top TV. > > chris > > > On Sun, 9 Jan 2005 10:19:23 -0500, Rob wrote: > > On Sunday 09 January 2005 10:10, Chris Wilson wrote: > > > I still haven't found out why the other TableViews don't > > > highlight the selected row. Anybody have any idea? > > > > I'm sorry, I never got a copy of the project. Could you repost > > it? > > > > Thanks > > Rob > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > From gambas-users at ...790... Tue Jan 11 17:22:36 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Tue, 11 Jan 2005 16:22:36 +0000 Subject: [Gambas-user] Form embedding, building devel version Message-ID: <1105460556.6494.0.camel@...37...> Hi, Two things: * Is there an example anywhere of how to embed one form in another as a control? I read on the site that this is possible, but can't find any obvious mention of it in the documentation. Have I got the wrong end of a stick? * I've compiled and installed 1.9.1 fine, but it doesn't seem to produce the "gambas" executable (or a gambas2) to start the IDE. I'm installing with a prefix inside my home directory, if that makes any difference. Thanks for your time, -- Rob Kendrick, Pepperfish Ltd. +44 (0)845 226 4146 www.pepperfish.net PGP signed or encrypted mail welcome Key ID: 3651D17A From gambas at ...1... Tue Jan 11 17:24:40 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 11 Jan 2005 17:24:40 +0100 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <1105460556.6494.0.camel@...37...> References: <1105460556.6494.0.camel@...37...> Message-ID: <200501111724.40622.gambas@...1...> On Tuesday 11 January 2005 17:22, Rob Kendrick wrote: > Hi, > > Two things: > * Is there an example anywhere of how to embed one form in another as a > control? I read on the site that this is possible, but can't find > any obvious mention of it in the documentation. Have I got the wrong > end of a stick? The IDE itself uses it. Just instanciate the Form and pass the Parent container to the constructor as last argument. > * I've compiled and installed 1.9.1 fine, but it doesn't seem to > produce the "gambas" executable (or a gambas2) to start the IDE. I'm > installing with a prefix inside my home directory, if that makes any > difference. > It should :-) > Thanks for your time, Regards, -- Benoit Minisini mailto:gambas at ...1... From JRuff at ...762... Tue Jan 11 17:47:17 2005 From: JRuff at ...762... (John G. Ruff) Date: Tue, 11 Jan 2005 10:47:17 -0600 Subject: [Gambas-user] MySQL Connect References: <200501022213.49677.gambas@...1...> <200501081702.47686.sourceforge-raindog2@...94...> <41E0609D.A55B443E@...762...> <200501091729.17617.gambas@...1...> Message-ID: <41E40315.A51D8385@...762...> Benoit, Thanks for your help. The other packages on my system match yours, and I installed: libmysql14-4.1.8-1mdk libmysql14-devel-4.1.8-1mdk And the result is the same. Also installed is: libmysql12-4.0.20-3.1.101mdk When I try to uninstall it, it also wants to uninstall: gambas-gb-db-mysql-1.0.1-1rk gambas-ide-1.0.1-1rk I'm in over my head here, but is it possible that the problem is related to Gambas (db-mysql) being dependant upon an older version of the MySQL components and they in turn are not compatible with the current MySQL version? jr Benoit Minisini wrote: > > On Saturday 08 January 2005 23:37, John G. Ruff wrote: > > When I run the Database example program, I still get the same > > error: > > > > Cannot open database: Client does not support authentication > > protocol requested by server; consider > > upgrading MySQL client > > > > I did a fresh install of Mandrake 10.1 Official (32 bit) on a > > different hard drive. I'm using Gambas 1.0.1. I downloaded & > > installed MySQL-Client 4.1.8a from MySQL.com. > > > > The server is running Mandrake 10.1 Official (32 bit) in runlevel > > 3 (text multi-user mode) and MySQL Server 4.1.8a. > > > > I am able to connect to, access and update this same server from > > my Visual Basic 6 / SP6 programs, so the credentials, etc., > > should be OK. > > > > Any ideas what is wrong? I am at a loss for what to try next. I > > am just trying out Gambas, I really want to turn off my remaining > > Windows stuff and move entirely to Linux. Is it possible that the > > MySQL server is sending a request for something that Gambas does > > not / cannot respond to? Is anyone else successfully running > > anything similar to this? > > > > Thanks in advance for any help. > > > > jr > > > > -=-=-=-=-=-=-=-=-=-=- > > John G. Ruff > > Wayzata, MN USA > > -=-=-=-=-=-=-=-=-=-=- > > > > Mmm... I have installed on my Mandrake 10.1 the following MySQL related > packages: > - MySQL41-4.1.5-0.1mdk > - MySQL41-client-4.1.5-0.1mdk > - MySQL41-common-4.1.5-0.1mdk > - libmysql14-devel-4.1.5-0.1mdk > - libmysql14-4.1.5-0.1mdk > > The MySQL server is running as it is configured by default on Mandrake, and I > can connect to it with the user 'root' without any password. > > The Gambas mysql driver just takes the values of of the Connection object > properties and pass them to the mysql function mysql_real_connect(). > > Can you compare your mysql server configuration files with the original files > installed on the Mandrake 10.1 ? Can you do the same thing with the contents > of the 'user' table in the system database 'mysql' ? > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From na2492 at ...9... Tue Jan 11 18:01:00 2005 From: na2492 at ...9... (Charlie Reinl) Date: Tue, 11 Jan 2005 18:01:00 00100 Subject: [Gambas-user] Form embedding, building devel version Message-ID: <41e4064c.33a6.0@...9...> >Hi, > >Two things: > * Is there an example anywhere of how to embed one form in another as a > control? I read on the site that this is possible, but can't find > any obvious mention of it in the documentation. Have I got the wrong > end of a stick? > * I've compiled and installed 1.9.1 fine, but it doesn't seem to > produce the "gambas" executable (or a gambas2) to start the IDE. I'm > installing with a prefix inside my home directory, if that makes any > difference. > >Thanks for your time, Salut, try to type gambas2 on an xterm. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas-users at ...790... Tue Jan 11 18:14:18 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Tue, 11 Jan 2005 17:14:18 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41e4064c.33a6.0@...9...> References: <41e4064c.33a6.0@...9...> Message-ID: <41E4096A.5010103@...790...> Charlie Reinl wrote: >>* I've compiled and installed 1.9.1 fine, but it doesn't seem to >> produce the "gambas" executable (or a gambas2) to start the IDE. I'm >> installing with a prefix inside my home directory, if that makes any >> difference. > Salut, > > try to type gambas2 on an xterm. That would only work if it had actually built such a binary, installed it into the target directory, and that that directory was in my executable search path. None of which are true. After a "make", the only thing in the build tree (as verified via find . | grep gambas2$) called 'gambas2' is the directory app/gambas2/ which certainly isn't executable, and ends up nowhere near the installation directory. Any other ideas? -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From gambas-users at ...790... Tue Jan 11 18:41:11 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Tue, 11 Jan 2005 17:41:11 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <200501111724.40622.gambas@...1...> References: <1105460556.6494.0.camel@...37...> <200501111724.40622.gambas@...1...> Message-ID: <41E40FB7.9040702@...790...> Benoit Minisini wrote: > On Tuesday 11 January 2005 17:22, Rob Kendrick wrote: > >>Hi, >> >>Two things: >> * Is there an example anywhere of how to embed one form in another as a >> control? I read on the site that this is possible, but can't find >> any obvious mention of it in the documentation. Have I got the wrong >> end of a stick? > > > The IDE itself uses it. Just instanciate the Form and pass the Parent > container to the constructor as last argument. Will any type of control do to be the parent container? Is there a recommended light-weight on to use? >> * I've compiled and installed 1.9.1 fine, but it doesn't seem to >> produce the "gambas" executable (or a gambas2) to start the IDE. I'm >> installing with a prefix inside my home directory, if that makes any >> difference. >> > > > It should :-) > Any ideas for what I should check for? :) -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From sourceforge-raindog2 at ...94... Tue Jan 11 19:04:00 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 11 Jan 2005 13:04:00 -0500 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E40FB7.9040702@...790...> References: <1105460556.6494.0.camel@...37...> <200501111724.40622.gambas@...1...> <41E40FB7.9040702@...790...> Message-ID: <200501111304.00181.sourceforge-raindog2@...94...> On Tuesday 11 January 2005 12:41, Rob Kendrick wrote: > >> * Is there an example anywhere of how to embed one form in > >> another as a control? I read on the site that this is > > The IDE itself uses it. Just instanciate the Form and pass > > the Parent container to the constructor as last argument. > Will any type of control do to be the parent container? Is > there a recommended light-weight on to use? By "parent container" he meant "the form on which you want to place the other form as a control." Rob From therden at ...775... Tue Jan 11 19:08:12 2005 From: therden at ...775... (Thomas M. Herden) Date: Tue, 11 Jan 2005 13:08:12 -0500 Subject: [Gambas-user] Re: Trouble compiling 1.0.1 In-Reply-To: <1105370279.2501.6.camel@...698...> References: <20050110143310.61FE0125FB@...773...> <1105370279.2501.6.camel@...698...> Message-ID: <200501111308.13119.therden@...775...> I'll have to read up on the dpkg-buildpackage command -- it hasn't come to my attention before. The first time I ran it it identified the missing deb packages, as promised. The second time it generated the deb files -- but as I wasn't certain how to setup and use a local depository (told you I'm a newbie), I went back and ran ./configure;make;make install. Success! Thank you very much for your assistance. -Tom Herden On Monday 10 January 2005 10:17, Jos? L. Redrejo Rodr?guez wrote: > In fact, there is no problem in compiling gambas in Debian. > So, just sit down in front of your pc, and > inside the gambas source directory type: > "fakeroot dpkg-buildpackage" or "dpkg-buildpacakage" if you have logged > in as root. > 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. > > Hope this helps. From therden at ...775... Tue Jan 11 19:10:32 2005 From: therden at ...775... (Thomas M. Herden) Date: Tue, 11 Jan 2005 13:10:32 -0500 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <200501101547.37026.lordheavy@...512...> References: <200501071109.28136.therden@...775...> <200501100927.41426.therden@...775...> <200501101547.37026.lordheavy@...512...> Message-ID: <200501111310.32418.therden@...775...> Thank you for the suggestion, which got me past the first points of failure I posted about -- but after that I ran into others. Another poster pointed me to using the dpkg-buildpackage command to identify missing libs, and my compilation problems have been resolved. -Tom Herden On Monday 10 January 2005 9:47, Laurent Carlier wrote: > Le Lundi 10 Janvier 2005 15:27, Thomas M. Herden a ?crit?: > > Searching with google gives me that results : > http://lists.debian.org/debian-kde/2003/02/msg00511.html > http://lists.debian.org/debian-kde/2003/02/msg00510.html > > The missing package seems to be libqt3-compat-headers > > Regards, From therden at ...775... Tue Jan 11 19:12:35 2005 From: therden at ...775... (Thomas M. Herden) Date: Tue, 11 Jan 2005 13:12:35 -0500 Subject: [Gambas-user] Trouble compiling 1.0.1 In-Reply-To: <41E294D4.7070906@...729...> References: <200501071109.28136.therden@...775...> <200501100927.41426.therden@...775...> <41E294D4.7070906@...729...> Message-ID: <200501111312.35167.therden@...775...> Thank you for trying to help -- I didn't get around to adopting it, and so don't know if your approach might have any drawbacks. Another poster pointed me to the dpkg-buildpackage command, which helped me resolve my missing library issues. Thanks again, -Tom Herden On Monday 10 January 2005 9:44, Pablo Vera wrote: > I had the same error in my Debian based distro, and what I did was this: > > CMenu.h -> changed reference for "qlist.h" to "qlistview.h" > CTabStrip.h -> changed reference for "qvector.h" to "qptrvector.h" > > I don't know if this is correct, but it compiled and installed with no > problem, and all of the examples I tested worked fine. > > Saludos, > Pablo From phiber at ...618... Tue Jan 11 15:34:35 2005 From: phiber at ...618... (phiber) Date: Tue, 11 Jan 2005 15:34:35 +0100 Subject: [Gambas-user] Moving controls on form In-Reply-To: <023301c4f7ce$36e29880$6701a8c0@...197...> References: <023301c4f7ce$36e29880$6701a8c0@...197...> Message-ID: <1105454075.22735.6.camel@...40...> What about ctrl + click's? On Tue, 2005-01-11 at 22:10 +1100, me wrote: > Hello, > > Is there any way to move a single control or a selected group of controls > around on a form using the keyboard? > > I've tried a few key combinations and searched the help text to no avail. > Moving controls around with the mouse is very time consuming. > > Thanks for any assistance. From karl.reinl at ...9... Tue Jan 11 21:26:47 2005 From: karl.reinl at ...9... (Charlie) Date: Tue, 11 Jan 2005 21:26:47 +0100 Subject: [Gambas-user] GridView References: <41E35EFD.3040206@...776...> Message-ID: <41E43687.70808@...9...> Eric Damron schrieb: > Can someone give me a code snippit in the way of an example of using a > gridview? > > If I have a Result object called vResult and a gridview called > myRecords how do I move data into a gridview from the Result? The > code below doesn't work. > > > FOR EACH vResults > > myRecords[intC, 1] = vResults["description"] > > NEXT > Thanks Salut, send your an example of TableView, where I made a Class to manage none bounded data. But you can also use it for bouded data. Hope that helps . Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: XTableView-0.0.12.tar.gz Type: application/x-tar Size: 30178 bytes Desc: not available URL: From gambasfr at ...11... Tue Jan 11 21:37:33 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 11 Jan 2005 21:37:33 +0100 Subject: [Gambas-user] Listbox In-Reply-To: <200501111355.18827.smiefert@...784...> References: <200501101358.22928.smiefert@...784...> <200501102327.48406.gambasfr@...11...> <200501111355.18827.smiefert@...784...> Message-ID: <200501112137.34148.gambasfr@...11...> Le mardi 11 Janvier 2005 13:55, Stefan Miefert a ?crit?: > Am Montag, 10. Januar 2005 23:27 schrieb Bodard Fabien: > > > how can i insert IDs and read the selected id ? > > > > > > i create a listbox and enter some database entrys in this listbox > > > > > > ListBox1.Add (res!title) > > > > > > how can i get the seected values and how can i ?put/get the ?unique > > > database id like (PRODUKTID) > > > > > > database structure: > > > PRODUCTID > > > title > > > description > > > > um i think you need to make an array where you store the ids > > hello, > > ihow can i get the ids and must i make a extra array with my ids and the > ids og the text box ? > Private MyArray as new string[] Private hResult as Result PUBLIC SUB _New() hResult = MyConn.Exec("SELECT id, data FROM Mytable") FOR EACH hresult ListBox.Add(hResult!data) MyArray.Add(hResult!id) NEXT END PUBLIC SUB ListBox_Click() Message.Info("The id is :" & MyArray[ListBox.Index]) END 2nd solution with a ListView ... More simple Private hResult as Result PUBLIC SUB _New() hResult = MyConn.Exec("SELECT id, data FROM Mytable") FOR EACH hresult ListView.Add(hResult!id, hResult!data) NEXT END PUBLIC SUB ListView_Click() Message.Info("The id is :" & ListView.Key) END I hope you understand now ! Fabien BODARD > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas-users at ...790... Tue Jan 11 22:06:45 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Tue, 11 Jan 2005 21:06:45 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <200501111304.00181.sourceforge-raindog2@...94...> References: <1105460556.6494.0.camel@...37...> <200501111724.40622.gambas@...1...> <41E40FB7.9040702@...790...> <200501111304.00181.sourceforge-raindog2@...94...> Message-ID: <41E43FE5.7080401@...790...> Rob wrote: > On Tuesday 11 January 2005 12:41, Rob Kendrick wrote: > >>>>* Is there an example anywhere of how to embed one form in >>>>another as a control? I read on the site that this is >>> >>>The IDE itself uses it. Just instanciate the Form and pass >>>the Parent container to the constructor as last argument. >> >>Will any type of control do to be the parent container? Is >>there a recommended light-weight on to use? > > > By "parent container" he meant "the form on which you want to > place the other form as a control." Aha, I see. It's a shame there isn't a widget that lets you do this at design time, with the form name as one of its properties. Might this be a nice addition? I've now built 1.9.1 perhaps a dozen times, and installed it just as many times, and still not got the IDE out of it. I'm running Ubuntu Hoary if that helps spawn any suggestions. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From gambas-users at ...790... Tue Jan 11 23:00:40 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Tue, 11 Jan 2005 22:00:40 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E43FE5.7080401@...790...> References: <1105460556.6494.0.camel@...37...> <200501111724.40622.gambas@...1...> <41E40FB7.9040702@...790...> <200501111304.00181.sourceforge-raindog2@...94...> <41E43FE5.7080401@...790...> Message-ID: <41E44C88.8020000@...790...> Rob Kendrick wrote: > I've now built 1.9.1 perhaps a dozen times, and installed it just > as many times, and still not got the IDE out of it. I'm running > Ubuntu Hoary if that helps spawn any suggestions. I appear to have found the problem. "make" doesn't actually compile the IDE, "make install" does, and "make install" tries to do rootly things (symlink stuff into /usr/bin in this case) even if it's not running rootly, because it doesn't have any need to, which stops the installation before it's built gambas2. Could this be changed? I don't like installing stuff from source into /, because they can be a pain to remove again. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From nospam at ...789... Tue Jan 11 23:28:17 2005 From: nospam at ...789... (me) Date: Wed, 12 Jan 2005 09:28:17 +1100 Subject: [Gambas-user] Moving controls on form References: <023301c4f7ce$36e29880$6701a8c0@...197...> <1105454075.22735.6.camel@...40...> Message-ID: <009601c4f82c$d901cd80$6701a8c0@...197...> phiber wrote: > What about ctrl + click's? Good question. Now, how does one click with a keyboard? "Is there any way to move ... controls around ... using the keyboard?" > On Tue, 2005-01-11 at 22:10 +1100, me wrote: >> Hello, >> >> Is there any way to move a single control or a selected group of >> controls around on a form using the keyboard? >> >> I've tried a few key combinations and searched the help text to no >> avail. Moving controls around with the mouse is very time consuming. >> >> Thanks for any assistance. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Tue Jan 11 23:46:14 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Tue, 11 Jan 2005 23:46:14 +0100 Subject: [Gambas-user] Re: Problem with connection on socket In-Reply-To: <200501112334.02851.gambasfr@...11...> References: <200501112304.28738.gambasfr@...11...> <41E44FCE.80109@...338...> <200501112334.02851.gambasfr@...11...> Message-ID: <41E45736.5070208@...338...> Bodard Fabien escribi?: >This is my test program ... > >Thank for your help >Fabien > > The problem is that you're trying to read 60 bytes from Socket, but you really don't know how many data is waiting in the socket. The correct thing is to read just the data that is available in the socket, using, for example the Lof() function: PUBLIC SUB MySocket_Read() DIM a AS String READ #MySocket, a, Lof(MySocket) PRINT a MyDns.Stop END That solves the problem. From sourceforge-raindog2 at ...94... Wed Jan 12 00:40:09 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 11 Jan 2005 18:40:09 -0500 Subject: [Gambas-user] Moving controls on form In-Reply-To: <009601c4f82c$d901cd80$6701a8c0@...197...> References: <023301c4f7ce$36e29880$6701a8c0@...197...> <1105454075.22735.6.camel@...40...> <009601c4f82c$d901cd80$6701a8c0@...197...> Message-ID: <200501111840.09785.sourceforge-raindog2@...94...> On Tuesday 11 January 2005 17:28, me wrote: > Good question. Now, how does one click with a keyboard? > "Is there any way to move ... controls around ... using the > keyboard?" I can't test it from my laptop, since I have no numeric keypad, but I'm pretty sure you can use your keyboard to emulate a mouse under KDE (something like alt-shift-numlock to enable it?) Then the "5" button is "click", the "0" button is "start dragging" and the "." button is "drop". However, that sucks. It shouldn't be too hard to add some keyboard support to the IDE and eventually I will probably try to do this (maybe when I start working on the MDI version of the IDE again.) Rob From sourceforge-raindog2 at ...94... Wed Jan 12 00:34:58 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 11 Jan 2005 18:34:58 -0500 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E44C88.8020000@...790...> References: <1105460556.6494.0.camel@...37...> <41E43FE5.7080401@...790...> <41E44C88.8020000@...790...> Message-ID: <200501111834.58440.sourceforge-raindog2@...94...> On Tuesday 11 January 2005 17:00, Rob Kendrick wrote: > I appear to have found the problem. "make" doesn't actually > compile the IDE, "make install" does, and "make install" tries > to do rootly things (symlink stuff into /usr/bin in this case) > even if it's not running rootly, because it doesn't have any > need to, which stops the installation before it's built > gambas2. Could this be changed? I don't like installing I ran into that when I started packaging Gambas around 0.50... RPMs are traditionally built as a regular user and installed into a temporary directory. Luckily, you can do this with "make install ROOT=/my/fake/root/directory" (or maybe make install goes last, I forget because the RPM build process is all macros.) Rob From sourceforge-raindog2 at ...94... Wed Jan 12 01:20:57 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 11 Jan 2005 19:20:57 -0500 Subject: [Gambas-user] minor IDE open file dialog bug Message-ID: <200501111920.57911.sourceforge-raindog2@...94...> In the Open Project dialog, if you paste a full path to a project into the Project textbox and then click OK, one of the following things happens: 1. If there was a project already selected (usually the previously opened one), that project is loaded rather than the one whose path you pasted. 2. If there was no previously selected project, you get a Message.Error saying "Cannot find this project." It appears that in no case are you able to paste in a path to open a project or navigate a directory... you must use the mouse and drill down one folder at a time. Rob From edamron at ...776... Wed Jan 12 02:04:16 2005 From: edamron at ...776... (Eric Damron) Date: Tue, 11 Jan 2005 17:04:16 -0800 Subject: [Gambas-user] GridView In-Reply-To: <41E43687.70808@...9...> References: <41E35EFD.3040206@...776...> <41E43687.70808@...9...> Message-ID: <41E47790.5080907@...776...> Charlie wrote: > Eric Damron schrieb: > >> Can someone give me a code snippit in the way of an example of using >> a gridview? >> >> If I have a Result object called vResult and a gridview called >> myRecords how do I move data into a gridview from the Result? The >> code below doesn't work. >> >> >> FOR EACH vResults >> >> myRecords[intC, 1] = vResults["description"] >> >> NEXT >> Thanks > > > Salut, > > send your an example of TableView, where I made a Class to manage none > bounded data. > But you can also use it for bouded data. > Hope that helps . > > Amicalment > Charlie Thanks Charlie. Examples are just what I need. :-) From nospam at ...789... Wed Jan 12 02:50:15 2005 From: nospam at ...789... (me) Date: Wed, 12 Jan 2005 12:50:15 +1100 Subject: [Gambas-user] Moving controls on form References: <023301c4f7ce$36e29880$6701a8c0@...197...> <1105454075.22735.6.camel@...40...> <009601c4f82c$d901cd80$6701a8c0@...197...> <200501111840.09785.sourceforge-raindog2@...94...> Message-ID: <05c401c4f849$1068ef30$6701a8c0@...197...> Rob wrote: > On Tuesday 11 January 2005 17:28, me wrote: >> Good question. Now, how does one click with a keyboard? >> "Is there any way to move ... controls around ... using the >> keyboard?" > > I can't test it from my laptop, since I have no numeric keypad, > but I'm pretty sure you can use your keyboard to emulate a mouse > under KDE (something like alt-shift-numlock to enable it?) Then > the "5" button is "click", the "0" button is "start dragging" > and the "." button is "drop". Thanks. That's a workaround for now, but I won't be able to use it productively. Mouse-emulation functionality is built-in to X but the KDE WM messes with it. The final result is painfully slow and jerky mouse movement on the screen. I was more hoping that I merely hadn't missed the bit in the docs that described such a feature. > However, that sucks. :) > It shouldn't be too hard to add some > keyboard support to the IDE and eventually I will probably try > to do this (maybe when I start working on the MDI version of the > IDE again.) That's great. I don't think it's just a nice to have. I'm a long-term GUI developer since well before VB 1, so it's a must have, especially for working with larger GUIs. Thanks for replying. Your time is very much appreciated. From nigel at ...38... Wed Jan 12 09:22:34 2005 From: nigel at ...38... (nigel at ...38...) Date: Wed, 12 Jan 2005 09:22:34 +0100 (CET) Subject: [Gambas-user] MySQL Connect Message-ID: <7519088.1105518154662.JavaMail.www@...792...> John, I'm jumping in late on this one and may have missed something already mentioned: I believe the message relates to different the gambas client for MySQL using or being compiled against an older client than the 4.1 tree. 4.1 introduces a new password encryption routine etc. which is not backward compatible. From jredrejo at ...96... Wed Jan 12 08:40:15 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Wed, 12 Jan 2005 08:40:15 +0100 Subject: [Gambas-user] Re: Trouble compiling 1.0.1 In-Reply-To: <20050111202704.81DF588F78@...763...> References: <20050111202704.81DF588F78@...763...> Message-ID: <1105515615.2593.7.camel@...698...> El mar, 11-01-2005 a las 12:26 -0800, "Thomas M. Herden" escribi?: > > I'll have to read up on the dpkg-buildpackage command -- it hasn't come to = > my=20 > attention before. =20 > dpkg-buildpackage only works if the sources have been "debianized" as gambas source is (i.e. you have to see the debian directory inside the sources, with all the information needed to build the packages) > The first time I ran it it identified the missing deb packages, as promised= > =2E =20 > The second time it generated the deb files -- but as I wasn't certain how t= > o=20 > setup and use a local depository (told you I'm a newbie), I went back and=20 > ran ./configure;make;make install. Success! > You don't need a repository to install packages. apt-get is not the only tool to install packages in Debian. Just move to the directory where the packages are, and execute: "dpkg -i *.deb" and all the packages will be installed. If there is any not satisfied dependency, "apt-get -f install" will solve it, and then you will be able to do "dpkg -i *deb" again successfully. Regards . > Thank you very much for your assistance. > =2DTom Herden > > On Monday 10 January 2005 10:17, Jos=E9 L. Redrejo Rodr=EDguez wrote: > > > In fact, there is no problem in compiling gambas in Debian.=20 > > > > > So, just sit down in front of your pc, and=20 > > inside the gambas source directory type: > > "fakeroot dpkg-buildpackage" or "dpkg-buildpacakage" if you have logged > > in as root. > > 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. > > > > Hope this helps. > > From gambas at ...1... Wed Jan 12 10:07:16 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 10:07:16 +0100 Subject: [Gambas-user] MySQL Connect In-Reply-To: <41E40315.A51D8385@...762...> References: <200501022213.49677.gambas@...1...> <200501091729.17617.gambas@...1...> <41E40315.A51D8385@...762...> Message-ID: <200501121007.16110.gambas@...1...> On Tuesday 11 January 2005 17:47, John G. Ruff wrote: > Benoit, > > Thanks for your help. The other packages on my system match > yours, and I installed: > libmysql14-4.1.8-1mdk > libmysql14-devel-4.1.8-1mdk > > And the result is the same. Also installed is: > libmysql12-4.0.20-3.1.101mdk > > When I try to uninstall it, it also wants to uninstall: > gambas-gb-db-mysql-1.0.1-1rk > gambas-ide-1.0.1-1rk > > I'm in over my head here, but is it possible that the problem is > related to Gambas (db-mysql) being dependant upon an older > version of the MySQL components and they in turn are not > compatible with the current MySQL version? > > jr > It seems that you found the explanation... Difficult to fix, as if the two packages (libmysql12 and libmysql14) don't have the same name, it means that there are incompatible. It seems they are compatible yet... I don't knwo how to fix that. I think I can't say that gambas depends on libmysql12 OR libmysql14. I think in the future libmysql12 will disappear, and so Gambas will depends only on libmysql14... Regards, -- Benoit Minisini mailto:gambas at ...1... From trorrr at ...397... Wed Jan 12 10:14:39 2005 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Wed, 12 Jan 2005 10:14:39 +0100 (CET) Subject: [Gambas-user] Release of Gambas 1.9.1 In-Reply-To: <200501100120.j0A1KB7Q025584@...564...> Message-ID: <20050112091439.76419.qmail@...793...> --- Iwan Prasetyo escribi?: > > ODBC....means I can connect any other database such > as oracle, MSSQL, > sybase? > Cool...it will help us much for penetrating on > desktop usage:) > Most of VB apps that use DB use local MS Access databases. Sure it's a good point to introduce people using VB to Gambas. Talogo. ______________________________________________ Renovamos el Correo Yahoo!: ?250 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es From gambas at ...1... Wed Jan 12 10:15:56 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 10:15:56 +0100 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E44C88.8020000@...790...> References: <1105460556.6494.0.camel@...37...> <41E43FE5.7080401@...790...> <41E44C88.8020000@...790...> Message-ID: <200501121015.56711.gambas@...1...> On Tuesday 11 January 2005 23:00, Rob Kendrick wrote: > Rob Kendrick wrote: > > I've now built 1.9.1 perhaps a dozen times, and installed it just > > as many times, and still not got the IDE out of it. I'm running > > Ubuntu Hoary if that helps spawn any suggestions. > > I appear to have found the problem. "make" doesn't actually compile the > IDE, "make install" does, and "make install" tries to do rootly things > (symlink stuff into /usr/bin in this case) even if it's not running > rootly, because it doesn't have any need to, which stops the > installation before it's built gambas2. Could this be changed? I don't > like installing stuff from source into /, because they can be a pain to > remove again. The only stuff that is installed by this packages in / (like you say) is four symbolic links in /usr/bin. Without these links, things won't work. The rest of the packages is installed under the directory you pass to './configure' with the '--prefix' option (/usr/local by default now). Regards, -- Benoit Minisini mailto:gambas at ...1... From frankberg at ...390... Wed Jan 12 10:22:25 2005 From: frankberg at ...390... (Frank Berg) Date: Wed, 12 Jan 2005 10:22:25 +0100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <200501090050.24979.sourceforge-raindog2@...94...> <001201c4f68b$0c7a1170$c6f0fea9@...602...> Message-ID: <000a01c4f888$3d140760$c6f0fea9@...602...> hi, i was try to make a new class for edit ini files, if i take an config file, and read with "LINE INPUT" 1 line in a string variable the input is [GLOBAL] but the string has [GLOBAL]\r and call_from = - is change in the string variable call_from = \"-\"" is it correct that the "INPUT LINE" function gif me formatting information ?? an real text file has none formatting information?! frank From gambas at ...1... Wed Jan 12 10:17:14 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 10:17:14 +0100 Subject: [Gambas-user] minor IDE open file dialog bug In-Reply-To: <200501111920.57911.sourceforge-raindog2@...94...> References: <200501111920.57911.sourceforge-raindog2@...94...> Message-ID: <200501121017.14415.gambas@...1...> On Wednesday 12 January 2005 01:20, Rob wrote: > In the Open Project dialog, if you paste a full path to a project > into the Project textbox and then click OK, one of the following > things happens: > > 1. If there was a project already selected (usually the > previously opened one), that project is loaded rather than the > one whose path you pasted. > > 2. If there was no previously selected project, you get a > Message.Error saying "Cannot find this project." > > It appears that in no case are you able to paste in a path to > open a project or navigate a directory... you must use the mouse > and drill down one folder at a time. > > Rob > > Fabien ?? :-) -- Benoit Minisini mailto:gambas at ...1... From smiefert at ...784... Wed Jan 12 10:36:46 2005 From: smiefert at ...784... (Stefan Miefert) Date: Wed, 12 Jan 2005 10:36:46 +0100 Subject: [Gambas-user] How make a executable file? In-Reply-To: <41E47790.5080907@...776...> References: <41E35EFD.3040206@...776...> <41E43687.70808@...9...> <41E47790.5080907@...776...> Message-ID: <200501121036.46672.smiefert@...784...> hello, i finished my first projekt but how can i make a icon on my linux desktop an start this program? From neil at ...233... Wed Jan 12 10:47:30 2005 From: neil at ...233... (neil lewis) Date: Wed, 12 Jan 2005 09:47:30 +0000 Subject: [Gambas-user] How make a executable file? In-Reply-To: <200501121036.46672.smiefert@...784...> References: <41E35EFD.3040206@...776...> <41E43687.70808@...9...> <41E47790.5080907@...776...> <200501121036.46672.smiefert@...784...> Message-ID: <41E4F232.5080105@...233...> Check the project window/project menu - click "make executable" Then make a link on your desktop for the executable in the usual way. Neil Lewis Stefan Miefert wrote: >hello, > >i finished my first projekt but how can i make a icon on my linux desktop an >start this program? > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gambas at ...1... Wed Jan 12 10:48:00 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 10:48:00 +0100 Subject: [Gambas-user] Class to Read/Write INI files In-Reply-To: <000a01c4f888$3d140760$c6f0fea9@...602...> References: <41E0A5AF.1060707@...776...> <001201c4f68b$0c7a1170$c6f0fea9@...602...> <000a01c4f888$3d140760$c6f0fea9@...602...> Message-ID: <200501121048.00946.gambas@...1...> On Wednesday 12 January 2005 10:22, Frank Berg wrote: > hi, > > i was try to make a new class for edit ini files, > > if i take an config file, and read with "LINE INPUT" 1 line in a string > variable > the input is > > [GLOBAL] > > but the string has [GLOBAL]\r > LINE INPUT reads the file until finding a newline character '\n' or the end of file. The '\n' character is not returned. On Unix systems, lines are delimited with '\n', not '\r\n' like on Windows (what a stupid idea). > and > > call_from = - > > is change in the string variable > > call_from = \"-\"" > > is it correct that the "INPUT LINE" function gif me formatting information > ?? > an real text file has none formatting information?! > > frank > I don't understand what you did, please give some source code... Regards, -- Benoit Minisini mailto:gambas at ...1... From smiefert at ...784... Wed Jan 12 10:59:15 2005 From: smiefert at ...784... (Stefan Miefert) Date: Wed, 12 Jan 2005 10:59:15 +0100 Subject: [Gambas-user] How make a executable file? In-Reply-To: <41E4F232.5080105@...233...> References: <41E35EFD.3040206@...776...> <200501121036.46672.smiefert@...784...> <41E4F232.5080105@...233...> Message-ID: <200501121059.15544.smiefert@...784...> Hello, i do this but i get an error. i link this /home/morkel/projekte/gambas/hardware/hardware i get the error "wrong format" is their something like .exe i cant see and i forget ? sorry im a linux newbie:) Am Mittwoch, 12. Januar 2005 10:47 schrieb neil lewis: > t window/project menu - click "make executable" > Then make a link on your desktop for the executable in the usual way. > > ?Neil Lewis > From gambas at ...1... Wed Jan 12 11:28:04 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 11:28:04 +0100 Subject: [Gambas-user] How make a executable file? In-Reply-To: <200501121059.15544.smiefert@...784...> References: <41E35EFD.3040206@...776...> <41E4F232.5080105@...233...> <200501121059.15544.smiefert@...784...> Message-ID: <200501121128.04767.gambas@...1...> On Wednesday 12 January 2005 10:59, Stefan Miefert wrote: > Hello, > > i do this but i get an error. i link this > > /home/morkel/projekte/gambas/hardware/hardware > > i get the error "wrong format" > > is their something like .exe i cant see and i forget ? sorry im a linux > newbie:) > Can you launch /home/morkel/projekte/gambas/hardware/hardware directly from a shell ? Something like that: $ cd /home/morkel/projekte/gambas/hardware $ ./harware ... -- Benoit Minisini mailto:gambas at ...1... From nospam at ...789... Wed Jan 12 11:43:30 2005 From: nospam at ...789... (me) Date: Wed, 12 Jan 2005 21:43:30 +1100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <200501090050.24979.sourceforge-raindog2@...94...> <001201c4f68b$0c7a1170$c6f0fea9@...602...> <000a01c4f888$3d140760$c6f0fea9@...602...> Message-ID: <027901c4f893$8e6e97f0$6701a8c0@...197...> Frank Berg wrote: > hi, > i was try to make a new class for edit ini files, > call_from = - What on earth is that? > an real text file has none formatting information?! I understand what you are getting at, but without some code to look at, it's almost impossible to know for sure what you think the problem is. Next time, please include some code, as well as sample input and output. Because you are getting \r appearing in your string, I conclude that you must have a DOS file with lines that are terminated using CRLF pairs. Unix file systems behave differently to DOS/Windows. In DOS, text files contain embeded control characters to mark the EOL, usually a CR LF pair. In Unix, they are marked with \n, which is not returned by gambas when you read a file. You have to convert the DOS file to Unix format, or your code must make adjustments for the differences in the format as it reads the file. If you do not need to preserve the DOS file format, you can read the entire stream and break the lines in memory at each \r\n then rewrite the whole file without the CRLF pair. If you need to preserve the format, you could try using the INPUT keyword to loop through the file, reading each word until you get nothing back, where a word is some text terminated by a space, CR, LF or CRLF. Getting an empty string should indicate that you have hit a control character. Reading past the empty values should take you to the first word of the next line, so on and so forth, until you hit the EOF. > i was try to make a new class for edit ini files Your real problem is not just reading the DOS file. You are going to have problems writing the DOS file. You will have to read the file into memory in its entirety, make whatever changes need to be made, then you will have to construct the entire output in memory as one big string and write the string out as a binary. From gambas-users at ...790... Wed Jan 12 12:05:24 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Wed, 12 Jan 2005 11:05:24 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <200501121015.56711.gambas@...1...> References: <1105460556.6494.0.camel@...37...> <41E43FE5.7080401@...790...> <41E44C88.8020000@...790...> <200501121015.56711.gambas@...1...> Message-ID: <41E50474.2020204@...790...> Benoit Minisini wrote: > On Tuesday 11 January 2005 23:00, Rob Kendrick wrote: > >>Rob Kendrick wrote: >> >>>I've now built 1.9.1 perhaps a dozen times, and installed it just >>>as many times, and still not got the IDE out of it. I'm running >>>Ubuntu Hoary if that helps spawn any suggestions. >> >>I appear to have found the problem. "make" doesn't actually compile the >>IDE, "make install" does, and "make install" tries to do rootly things >>(symlink stuff into /usr/bin in this case) even if it's not running >>rootly, because it doesn't have any need to, which stops the >>installation before it's built gambas2. Could this be changed? I don't >>like installing stuff from source into /, because they can be a pain to >>remove again. > > > The only stuff that is installed by this packages in / (like you say) is four > symbolic links in /usr/bin. Without these links, things won't work. The rest > of the packages is installed under the directory you pass to './configure' > with the '--prefix' option (/usr/local by default now). So what you're saying is that you're unwilling to make the build system able to install Gambas as non-root user? Out of interest, why is the format of a compiled gambas program such as it is, rather than a real ELF with the bytecode and forms, that links to a runtime library? That certainly would feel a lot neater, and it would get rid of the problem of having to know where the interpreter is. :) -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From gambas at ...1... Wed Jan 12 12:08:31 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 12:08:31 +0100 Subject: [Gambas-user] Class to Read/Write INI files In-Reply-To: <027901c4f893$8e6e97f0$6701a8c0@...197...> References: <41E0A5AF.1060707@...776...> <000a01c4f888$3d140760$c6f0fea9@...602...> <027901c4f893$8e6e97f0$6701a8c0@...197...> Message-ID: <200501121208.31619.gambas@...1...> On Wednesday 12 January 2005 11:43, me wrote: Who are you ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jan 12 12:09:50 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 12:09:50 +0100 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E50474.2020204@...790...> References: <1105460556.6494.0.camel@...37...> <200501121015.56711.gambas@...1...> <41E50474.2020204@...790...> Message-ID: <200501121209.50859.gambas@...1...> On Wednesday 12 January 2005 12:05, Rob Kendrick wrote: > Benoit Minisini wrote: > > On Tuesday 11 January 2005 23:00, Rob Kendrick wrote: > >>Rob Kendrick wrote: > >>>I've now built 1.9.1 perhaps a dozen times, and installed it just > >>>as many times, and still not got the IDE out of it. I'm running > >>>Ubuntu Hoary if that helps spawn any suggestions. > >> > >>I appear to have found the problem. "make" doesn't actually compile the > >>IDE, "make install" does, and "make install" tries to do rootly things > >>(symlink stuff into /usr/bin in this case) even if it's not running > >>rootly, because it doesn't have any need to, which stops the > >>installation before it's built gambas2. Could this be changed? I don't > >>like installing stuff from source into /, because they can be a pain to > >>remove again. > > > > The only stuff that is installed by this packages in / (like you say) is > > four symbolic links in /usr/bin. Without these links, things won't work. > > The rest of the packages is installed under the directory you pass to > > './configure' with the '--prefix' option (/usr/local by default now). > > So what you're saying is that you're unwilling to make the build system > able to install Gambas as non-root user? > > Out of interest, why is the format of a compiled gambas program such as > it is, rather than a real ELF with the bytecode and forms, that links to > a runtime library? That certainly would feel a lot neater, and it would > get rid of the problem of having to know where the interpreter is. :) Because Gambas IS an interpreter. But if you like, you can write a compiler for Gambas of course :-) -- Benoit Minisini mailto:gambas at ...1... From rjek at ...790... Wed Jan 12 12:15:56 2005 From: rjek at ...790... (Rob Kendrick) Date: Wed, 12 Jan 2005 11:15:56 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <200501121209.50859.gambas@...1...> References: <1105460556.6494.0.camel@...37...> <200501121015.56711.gambas@...1...> <41E50474.2020204@...790...> <200501121209.50859.gambas@...1...> Message-ID: <41E506EC.3070206@...790...> Benoit Minisini wrote: > On Wednesday 12 January 2005 12:05, Rob Kendrick wrote: > >>Out of interest, why is the format of a compiled gambas program such as >>it is, rather than a real ELF with the bytecode and forms, that links to >>a runtime library? That certainly would feel a lot neater, and it would >>get rid of the problem of having to know where the interpreter is. :) > > > Because Gambas IS an interpreter. But if you like, you can write a compiler > for Gambas of course :-) You seem to have already done so: gbc. And such a thing isn't actually necessary for such a scheme anyway. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From nospam at ...789... Wed Jan 12 12:17:26 2005 From: nospam at ...789... (me) Date: Wed, 12 Jan 2005 22:17:26 +1100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <000a01c4f888$3d140760$c6f0fea9@...602...> <027901c4f893$8e6e97f0$6701a8c0@...197...> <200501121208.31619.gambas@...1...> Message-ID: <000f01c4f898$4c4a1f20$6701a8c0@...197...> Benoit Minisini wrote: > On Wednesday 12 January 2005 11:43, me wrote: > > Who are you ? Is there a problem? From gambas at ...1... Wed Jan 12 12:22:15 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 12:22:15 +0100 Subject: [Gambas-user] Class to Read/Write INI files In-Reply-To: <000f01c4f898$4c4a1f20$6701a8c0@...197...> References: <41E0A5AF.1060707@...776...> <200501121208.31619.gambas@...1...> <000f01c4f898$4c4a1f20$6701a8c0@...197...> Message-ID: <200501121222.16340.gambas@...1...> On Wednesday 12 January 2005 12:17, me wrote: > Benoit Minisini wrote: > > On Wednesday 12 January 2005 11:43, me wrote: > > > > Who are you ? > > Is there a problem? > No :-) Just that 'me' isn't me :-) -- Benoit Minisini mailto:gambas at ...1... From nospam at ...789... Wed Jan 12 13:11:08 2005 From: nospam at ...789... (Kadaitcha Man) Date: Wed, 12 Jan 2005 23:11:08 +1100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <200501121208.31619.gambas@...1...> <000f01c4f898$4c4a1f20$6701a8c0@...197...> <200501121222.16340.gambas@...1...> Message-ID: <005a01c4f89f$ccd5d1f0$6701a8c0@...197...> Benoit Minisini wrote: > On Wednesday 12 January 2005 12:17, me wrote: >> Benoit Minisini wrote: >>> On Wednesday 12 January 2005 11:43, me wrote: >>> >>> Who are you ? >> >> Is there a problem? >> > > No :-) Just that 'me' isn't me :-) That's ok. You can be you and I can be me. My friends call me k-man. Others call me all sorts of awful names. Take your pick :) I've been a GUI software developer for many years. Now I'm a senior project manager but I like to keep my hands dirty. I'm just starting to break the back of the Microsoft stranglehold on my systems, psyche and skills. The differences between VB and Gambas are a bit sharper and starker than the documentation indicates. If you're interested, I wouldn't mind putting a developer-focused article together on that subject. What I have in mind might also be suitable for newcomers to GUI development with Gambas as an introductory tutorial once any VB specific stuff is taken out. Let me know. I'd be happy to help. From daniel.campos at ...338... Wed Jan 12 13:27:12 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 12 Jan 2005 13:27:12 +0100 Subject: [Gambas-user] Class to Read/Write INI files In-Reply-To: <005a01c4f89f$ccd5d1f0$6701a8c0@...197...> References: <41E0A5AF.1060707@...776...> <200501121208.31619.gambas@...1...> <000f01c4f898$4c4a1f20$6701a8c0@...197...> <200501121222.16340.gambas@...1...> <005a01c4f89f$ccd5d1f0$6701a8c0@...197...> Message-ID: <41E517A0.1040308@...338...> > >The differences between VB and Gambas are a bit sharper and starker than the >documentation indicates. If you're interested, I wouldn't mind putting a >developer-focused article together on that subject. What I have in mind >might also be suitable for newcomers to GUI development with Gambas as an >introductory tutorial once any VB specific stuff is taken out. > >Let me know. I'd be happy to help. > > You can write that article in the Gambas wiki at http://www.binara.com , I think the "me" account is still available :-) > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From nospam at ...789... Wed Jan 12 13:34:42 2005 From: nospam at ...789... (Kadaitcha Man) Date: Wed, 12 Jan 2005 23:34:42 +1100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <200501121208.31619.gambas@...1...> <000f01c4f898$4c4a1f20$6701a8c0@...197...> <200501121222.16340.gambas@...1...> <005a01c4f89f$ccd5d1f0$6701a8c0@...197...> <41E517A0.1040308@...338...> Message-ID: <008401c4f8a3$1d6da860$6701a8c0@...197...> Daniel Campos wrote: >> The differences between VB and Gambas are a bit sharper and starker >> than the documentation indicates. If you're interested, I wouldn't >> mind putting a developer-focused article together on that subject. >> What I have in mind might also be suitable for newcomers to GUI >> development with Gambas as an introductory tutorial once any VB >> specific stuff is taken out. >> >> Let me know. I'd be happy to help. >> >> > > You can write that article in the Gambas wiki at > http://www.binara.com , I think > the "me" account is still available :-) ROFL - ta. I've signed up. I'll start making notes. From julien at ...782... Wed Jan 12 13:57:09 2005 From: julien at ...782... (Julien Barbier) Date: Wed, 12 Jan 2005 13:57:09 +0100 Subject: [Gambas-user] How make a executable file? In-Reply-To: <200501121128.04767.gambas@...1...> References: <41E35EFD.3040206@...776...> <41E4F232.5080105@...233...> <200501121059.15544.smiefert@...784...> <200501121128.04767.gambas@...1...> Message-ID: <1105534629.32190.7.camel@...783...> If you want to be able to run it by a simple double click on the icon, I think you must work this way : /usr/bin/gbx -x /path/to/your/program/program That's the way I made it (In fact I also added ksystraycmd before, so it is launched in the system tray in Kde, I think this had been asked before...) Regards, Julien On Wed, 2005-01-12 at 11:28, Benoit Minisini wrote: > On Wednesday 12 January 2005 10:59, Stefan Miefert wrote: > > Hello, > > > > i do this but i get an error. i link this > > > > /home/morkel/projekte/gambas/hardware/hardware > > > > i get the error "wrong format" > > > > is their something like .exe i cant see and i forget ? sorry im a linux > > newbie:) > > > > Can you launch /home/morkel/projekte/gambas/hardware/hardware directly from a > shell ? Something like that: > > $ cd /home/morkel/projekte/gambas/hardware > $ ./harware > ... -------------- Julien Barbier IP SERVICES SPECIALIST Belgacom International Customer Services (ICS) ---------------------------------------------- AS6774 reply-to : noc at ...782... peering : peering at ...782... NOC Tel : +32 2/547.51.51 Option 1 - 3 www.belgacom.be/carrier -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Wed Jan 12 13:59:11 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 13:59:11 +0100 Subject: [Gambas-user] Compilation on OSX 10.3 In-Reply-To: <41E2E906.6080506@...786...> References: <41E2E906.6080506@...786...> Message-ID: <200501121359.11319.gambas@...1...> On Monday 10 January 2005 21:43, George Russell wrote: > Compiling 1.9.1 > > gbx_date.c: In function `DATE_init': > gbx_date.c:120: warning: assignment makes integer from pointer without a > cast > gbx_date.c:121: error: `daylight' undeclared (first use in this function) > gbx_date.c:121: error: (Each undeclared identifier is reported only once > gbx_date.c:121: error: for each function it appears in.) > make[3]: *** [gbx_date.lo] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > The following fix lets this file compile > > #ifdef __FreeBSD__ > date_timezone = tm->tm_gmtoff; > date_daylight = tm->tm_isdst; > #elif __APPLE__ > date_timezone = tm->tm_gmtoff; > date_daylight = tm->tm_isdst; > #else > date_timezone = timezone; > date_daylight = daylight; > #endif > > > There is a 2nd compilation failure in vb.c due to a missing exp10 > definition. > > gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -g -O2 > -pipe -Wall -fno-strict-aliasing -g -Os -MT vb.lo -MD -MP -MF > .deps/vb.Tpo -c vb.c -fno-common -DPIC -o .libs/vb.o > vb.c: In function `CVB_Round': > vb.c:263: warning: implicit declaration of function `exp10' > /bin/sh ../../../libtool --mode=link gcc -g -O2 -pipe -Wall > -fno-strict-aliasing -g -Os -o lib.gb.vb.la -rpath /sw/lib/gambas2 > -no-undefined main.lo vb.lo vbdate.lo > rm -fr .libs/lib.gb.vb.0.0.0.dylib .libs/lib.gb.vb.0.dylib > .libs/lib.gb.vb.dylib .libs/lib.gb.vb.la .libs/lib.gb.vb.lai > gcc -dynamiclib -o .libs/lib.gb.vb.0.0.0.dylib .libs/main.o .libs/vb.o > .libs/vbdate.o -install_name /sw/lib/gambas2/lib.gb.vb.0.dylib > -compatibility_version 1 -current_version 1.0 > ld: Undefined symbols: > _exp10 > /usr/bin/libtool: internal link edit command failed > make: *** [lib.gb.vb.la] Error 1 > George-Russells-Computer:~/Desktop/gambas2-1.9.1/src/lib/vb georgerussell$ > > > Make install now fails at the following stage: > -------- > make[4]: Nothing to be done for `install-data-am'. > make[4]: Nothing to be done for `install-data-am'. > make[3]: Nothing to be done for `install-exec-am'. > make[3]: Nothing to be done for `install-data-am'. > Making symbolic links in /usr/bin... > > Creating the library info files... > gbi: /sw/lib/gambas2/lib.gb.so: not found > make[2]: *** [install-exec-local] Error 1 > make[1]: *** [install-am] Error 2 > make: *** [install-recursive] Error 1 > George-Russells-Computer:~/Desktop/gambas2-1.9.1 georgerussell$ > > Running the gbi2 executable cannot load a shared library > George-Russells-Computer:~/gambas georgerussell$ /sw/bin/gbi2 test.gamba > gbi: /sw/lib/gambas2/lib.test.gamba.so: not found > > There will never be .so shared libraries on OSX. These are .dylib, as > mentioned in configure. > > Regards > George Russell > These three problems will be fixed in the next development version. Normally :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jan 12 14:03:29 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 14:03:29 +0100 Subject: [Gambas-user] Re: a few suggestions for improvement In-Reply-To: <20050107092431.35485.qmail@...707...> References: <20050105142418.83287.qmail@...707...> <200501051646.00936.gambas@...1...> <20050107092431.35485.qmail@...707...> Message-ID: <200501121403.30013.gambas@...1...> On Friday 07 January 2005 10:24, Toni Schornboeck wrote: > Benoit Minisini writes: > >> After a Form is closed, the object still lives, but at the same time is > >> dead. > >> Well, I dont find that ugly, and if you have several instances of your > >> form, > > > > just don't declare the variable static. > > It was my bad. Thanks to Oliver Stieber for providing this workaround > without > a static variable. > > But there is another problem with dieing forms: > For example in .NET a Dialog has also a Property which indicates which > button > was pressed to close the form. > > The thing I want to achieve is 'easier' coding: > > dim f as Form > f=new Form(bar) > f.ShowModal() > if f.Closed = Form.Cancel then return > handle_value(f.Value) > > would be very nice :) The 'Problem' with Oliver's workaround is: If I > return an object, I can return NULL to say "user pressed cancel" but if I > want to return > a primitive type like int or so, that is not possible. And 3 states (for > example: > Ignore, Retry, Cancel) wouldn't work. > > Of course, one can workaround this - but more than one return value by > function > would add complexity that wouldn't be necessary. > > And I personally don't like it, when an object dies without me calling > Close(), a > destructor, finalize() or any other explicit killing method. > > I think the code is not intuitive when an object dies because I called > Show() on it... > > But the workaround from Oliver is a good solution. > > >> A constructor has always to be public. Why? > > > >It is by design. > > Could you consider changing this or adding an other method for prohibiting > client code > to instanciate an object? > When writing a complex class hierachies i find it sometimes necessary to > force the user to > use a factory instead of instanciating object by himself. > > >> I'd like to declare a constructor private to force the user of my code > >> to use a static > >> construct (that means: a static function that returns the object). > >> This can sometimes be useful, for example when using a factory to > >> prohibit the user from directly instanciating > >> objects. > > > >At the moment, I don't see any mean to do that cleanly. > > For example: > A XML Parser which holds concrete Nodes: > All are subclasses of NodeBase > > The Parser doesn't care about the different Nodes, it just calls > parentNode.AddChild(CreateNodeFromTag(tag)) > > it wouldn't make any sense to create a specific Node. So > CreateNodeFromTag() creates a > Node from the Tag and takes into account that some Tags produce the same > Node class and so on. > > The idea behind this is: client code need not to have any clue about the > different node classes, > they just don't show. All is hidden behind NodeBase. For the client code it > doesn't matter if > the tag "" creates a FooNode or BarNode, it just calls node.Process() > and the node does its job :) > > Of course it works without defining private constructors, but it could help > to keep the user from > doing odd things he is not supposed to do. > > >> This leads to another point: friends could be useful or something like > >> Java Packages where one can declare a method > >> as package private. > > > >In Gambas, public means exported. If something is private in a class, then > > the interpreter can't access it from outside the class. So, constructors, > > destructors, event handlers... need to be public, or the interpreter > > won't be able to call them. > > I understand. > > But for further versions, would it be possible to consider a package system > like Java's? > The idea is: > exporting not all classes and methods. > That could be usefull when writing libraries in gambas. > > The Java Collections show us, how nice this can be when not everything is > visible for the client. > > And of course there are often internal helper classes. These should be also > kept private and hidden :) > So we can keep the public interface of a library very slim and clean. > > >> optional parameters are very useful, but why can I only assign a default > >> value to primitive types? > > > >I think it is just something to change in the compiler. So it may be > >possible :-) > > That would be very helpful and would add clarity to code. > Because I think one of the important things about a language is > consistency. There shouldn't be unecessary differences between primitive > types and objects. > > >> The workaround using > >> if isnull(o) then o=new Bar(baz) > >> doesn't always work. > >> Because NULL may be a perfectly legal value in some cases. > > > >Well, in your example, NEW will never return NULL. > > Yes, this would be just a workaround: > > public sub foo(o as Bar) > if isnull(o) then o=new Bar(baz) > > instead of > public sub foo(o as Bar = new Bar(baz)) > > but the difference is: > foo(null) > will yield different results, because my first version would assume that no > value was provided > and override null with new Bar(baz) but maybe null would be a correct value > and not the default one -> > this would be impossible to implement. > > >> for each on collections acts weird. > > > >I don't unserstand what you say. Collection.Key is just a read-only > > property that returns the key of the last entry accessed in the > > collection. I don't see where the collection is modified during the > > iteration... > > I'm sorry, I haven't explained enough because I thought my point would be > obvious (which was stupid of me > because if it is obvious and clear to you, you wouldn't have implemented in > that way ;)) > > So here is a better explaination: > > The problem as I see it are some very hard to find bugs: > > for each v in col > if ShallEntriesBeDeleted(col.Key) then > DeleteAllEntriesLike(col, col.Key) > end if > LogMessage("All Entries Like " & col.Key & " have been deleted") > next > > See the bug? > col.Key in > DeleteAllEntriesLike(col, col.Key) > and in > LogMessage("All Entries Like " & col.Key & " have been deleted") > are 2 different values. > And to add obscurity: the value of col.Key in > LogMessage("All Entries Like " & col.Key & " have been deleted") > deepends on the implementation of DeleteAllEntriesLike > > The problem is: > col.Key can change everytime I pass col to an extern function. I can't know > if it will change or not, but it can change. > > So I have to store col.Key in a separate variable. > Now the reader of my code has to figure out, if I'm using col.Key or a > separate variable. > This add complexity. > > >> I really miss a 'super' or 'base' keyword to access the Baseclass from > >> within the derived class. > > > > You are right, SUPER is missing. It's in my TODO list. > > Thank you. > > >> Why can't I define which parameter are passed to my base class? > > > > Try that: > > > > BaseNode.class: > > > > PUBLIC SUB _new() > > ... > > END > > > > SomeNode.class: > > > > PUBLIC SUB _new(allowedChildren) > > ... > > END > > > > Each class in the inheritance hierarchy consumes the parameters passed to > > the constructor. > > Yes, and so I have to implement a SetAllowedChildren() function, or do I > miss an important > point? > > BaseNode holds all allowedChildren but it doesn't know what they are. > SomeNode has to set > all allowedChildren when it is created. currently SomeNode can't pass any > parameter to BaseNode's > constructor. SomeNode has to use a SetAllowedChildren() function, which > allowes to change the nodes > during runtime, which shouldn't be allowed. > OK, one can introduce a sealed flag, which can be set once and afterwards > never changed to indicate if > SetAllowedChildren() will succeed. > > >> I already mentioned the lack of casting Operators. > > > > If I remember, you can do ComboBox(...) to cast to ComboBox. Test it to > > see if it really works. > > Oh, I'm sorry. It works perfectly. > I must have overlooked it in the documentation, sorry. > > >> This leads to: variables must be declared at begin of function > >> why is that? > > > > I find declaring variable everywhere a source of confusion and unreadable > > code. So I force them to be declared at the beginning of the function. > > And one by line at the moment ? > > One by line is good practice, but only at begin of scope? > But I see, we can argue as much as we like, but neither of us will change > his mind about > that, right? > > FOR?? > > >> It would be really important to allow the user to declare variables as > >> local as possible. > > > > You are not compelled to write large functions... > > I know, and 90% of the functions in my current work are less than 10 lines > of code. > But there are a few functions that just initialize something. > They take more than 10 lines, but I think it is OK, because it is very easy > to understand > the meaning (they just initialize the components on the form) > > And sometimes there are a few variables that are only needed at the end of > the function... > OK, I'll stop arguing ;) > > >> A very controversal point is: > >> no RETURN will return NULL > > > > It is by design. > > I understand. > > >> One thing that really annoys me is: > >> arr.Add(new Foo(bar)) > >> doesn't work. > > > > It is by design too. I didn't want to make NEW a true operator. But it is > > just a compiler restriction. The interpreter don't care. > > For example, you can do > > > > arr.Add(New("Foo", bar)) > > Oh. > Why doesn't the compiler then allow it? > If it is by design, why does the interpreter allow it. > And what are the benefits from not allowing it? > > I'm sorry, but I really can't see any good reason for this :( > > >> another nice feature would be, if one could declare a variable inside a > >> for statement: > >> > >> for i as integer = 0 to 10 > > > > Same remark than before. And I don't see the benefit of having variables > > "as local as possible". It will change nothing in interpreted code. > > We have really different religions :) > One of my most important laws is "declare variables as local as possible" > > >> Why doesn't gambas do virtual dispatching? > > > > You are absolutely right. I just change the interpreter in the 2.0 so > > that virtual dispatching work. As soon as I release the first > > developmement version (1.9.1), you will be able to test it and tell me if > > things are right. > > Thank you! > > >> I'd love to see the possibility to set the Tabstop ordering. > > > > TabOrder = ZOrder, so you just have to modify the second to change the > > first. > > I'm sorry. I must have missed it in the documentation. > Thank you! > > >> It would improve the usability of the IDE if I could create directories > >> to store my class and form files > > > > I was thinking of letting the IDE show an ordered and hierarchical view > > of forms, classes and modules, even if they are stored flat in the > > project directory. > > Something like an "object browser"? > Would be nice, but I'd like to set it also myself. > > Consider a large project that uses 5 different libraries written in Gambas: > a library consist of classes, but these classes are not required to inherit > from > each other - so your object browser wouldn't display the libraries > correctly (because > it would split them). > > But I agree, an object browser would be great. > > >> a minor issue: the executale file of my project contains a lot of > >> information that shouldn't be there > > > > Well. It is a point I didn't think about :-) I note it in the TODO list. > > Thank you. > > > > I'm glad that you took the time to answer my questions/suggestions. > Even though we don't agree with each other everywhere, I hope you'll > consider a few > of my points for future version of gambas :) > > > PS: sorry for answering this late, but I haven't work yesterday -> we had a > public holiday > > Did you see that Form.ShowModal() returns the integer value passed to Form.Close() ? -- Benoit Minisini mailto:gambas at ...1... From smiefert at ...784... Wed Jan 12 14:39:15 2005 From: smiefert at ...784... (Stefan Miefert) Date: Wed, 12 Jan 2005 14:39:15 +0100 Subject: [Gambas-user] Gambas and compile In-Reply-To: <41E506EC.3070206@...790...> References: <1105460556.6494.0.camel@...37...> <200501121209.50859.gambas@...1...> <41E506EC.3070206@...790...> Message-ID: <200501121439.15737.smiefert@...784...> hello, i always see this must compile or install with YAST programms. when i compile jave here and then give away. runs this programm on all linuxsystems ? on mandrake,suse,redhat ... or must i compile it for every distribution?! is their something different in look and feel? From sourceforge-raindog2 at ...94... Wed Jan 12 15:06:15 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 12 Jan 2005 09:06:15 -0500 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E50474.2020204@...790...> References: <1105460556.6494.0.camel@...37...> <200501121015.56711.gambas@...1...> <41E50474.2020204@...790...> Message-ID: <200501120906.15604.sourceforge-raindog2@...94...> On Wednesday 12 January 2005 06:05, Rob Kendrick wrote: > > The only stuff that is installed by this packages in / (like > > you say) is four symbolic links in /usr/bin. Without these > So what you're saying is that you're unwilling to make the > build system able to install Gambas as non-root user? Did you get my mail on this subject? I build RPMs of gambas as a regular user, and I don't have this problem.... try specifying ROOT=/some/directory on the command line of make install and see if that helps. Rob From lordheavy at ...512... Wed Jan 12 15:41:02 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 12 Jan 2005 15:41:02 +0100 Subject: [Gambas-user] sdl-cdrom component for gambas 1.0.1 Message-ID: <200501121541.03439.lordheavy@...512...> sdl-cdrom component for gambas 1.0.1. Replace current sdl dir with the provide one; ./reconf ./configure make make install Nothing more, it will not break current sound component. - volume is disabled (not in 1.9.1) Have fun, -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: sdl-1.0.1-050112.tar.bz2 Type: application/x-tbz Size: 13968 bytes Desc: not available URL: From gambas-users at ...790... Wed Jan 12 16:15:03 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Wed, 12 Jan 2005 15:15:03 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <200501120906.15604.sourceforge-raindog2@...94...> References: <1105460556.6494.0.camel@...37...> <200501121015.56711.gambas@...1...> <41E50474.2020204@...790...> <200501120906.15604.sourceforge-raindog2@...94...> Message-ID: <41E53EF7.8050402@...790...> Rob wrote: > On Wednesday 12 January 2005 06:05, Rob Kendrick wrote: > >>>The only stuff that is installed by this packages in / (like >>>you say) is four symbolic links in /usr/bin. Without these >> >>So what you're saying is that you're unwilling to make the >>build system able to install Gambas as non-root user? > > Did you get my mail on this subject? I build RPMs of gambas as a > regular user, and I don't have this problem.... try specifying > ROOT=/some/directory on the command line of make install and see > if that helps. I did, yes, which is what I used in the end to build it. But it does feel like a bit of a clumsy solution though. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From machaira at ...734... Wed Jan 12 16:31:48 2005 From: machaira at ...734... (machaira at ...734...) Date: Wed, 12 Jan 2005 15:31:48 +0000 Subject: [Gambas-user] Mandrake Installation Message-ID: <011220051531.5608.41E542E4000B6380000015E822007511500E9D070E080C0E03@...734...> Please bear with the newbness. I downloaded and installed the package for Gambas2 from kudla.org and unfortunately it didn't add a shortcut to it off the start button (forgive any incorrect terminology, I'm still stuck on Windows :( ). Suggestions as to how I can access it would be appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Wed Jan 12 16:50:08 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 12 Jan 2005 10:50:08 -0500 Subject: [Gambas-user] gbi/gbi2 annoyance Message-ID: <200501121050.08453.sourceforge-raindog2@...94...> I'm trying to figure out if this is just how I've packaged gambas, or if it happens for everyone. After installing gambas and then building one of my own components, I type "gbi -a" or "gbi2 -a". In either case, I get something like: gbi: /usr/lib/gambas2/lib.gb.so: not found and it aborts. I have been getting around this by going ln -s /usr/lib/gambas2/lib.gb.vb.so /usr/lib/gambas2/lib.gb.so which doesn't seem to create any of its own problems and which gets around this issue. But why is gbi looking for lib.gb.so in the first place? Rob From sourceforge-raindog2 at ...94... Wed Jan 12 16:47:42 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 12 Jan 2005 10:47:42 -0500 Subject: [Gambas-user] Mandrake Installation In-Reply-To: <011220051531.5608.41E542E4000B6380000015E822007511500E9D070E080C0E03@...734...> References: <011220051531.5608.41E542E4000B6380000015E822007511500E9D070E080C0E03@...734...> Message-ID: <200501121047.42004.sourceforge-raindog2@...94...> On Wednesday 12 January 2005 10:31, machaira at ...734... wrote: > I downloaded and installed the package for Gambas2 from > kudla.org and unfortunately it didn't add a shortcut to it off > the start button (forgive any incorrect terminology, I'm still > stuck on Windows :( ). Suggestions as to how I can access it > would be appreciated. The gambas2 packages aren't meant to be user friendly (if you notice, I haven't even announced them) and are really for my own use and that of various clients, and users on these lists. This is because some of the new code is quite unstable and I don't want people running it unless they are able to cope when it crashes. You can run the IDE by going to a shell prompt and typing "gambas2". For the full-on user friendliness, feel free to grab the Gambas 1.0.1 packages as they work great. Rob From gambas at ...1... Wed Jan 12 17:05:06 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 17:05:06 +0100 Subject: [Gambas-user] gbi/gbi2 annoyance In-Reply-To: <200501121050.08453.sourceforge-raindog2@...94...> References: <200501121050.08453.sourceforge-raindog2@...94...> Message-ID: <200501121705.06962.gambas@...1...> On Wednesday 12 January 2005 16:50, Rob wrote: > I'm trying to figure out if this is just how I've packaged > gambas, or if it happens for everyone. After installing gambas > and then building one of my own components, I type "gbi -a" or > "gbi2 -a". In either case, I get something like: > > gbi: /usr/lib/gambas2/lib.gb.so: not found > > and it aborts. I have been getting around this by going > > ln -s /usr/lib/gambas2/lib.gb.vb.so /usr/lib/gambas2/lib.gb.so > > which doesn't seem to create any of its own problems and which > gets around this issue. But why is gbi looking for lib.gb.so in > the first place? > > Rob > Strange. gbi uses the symbolic link /usr/bin/gbx, and gbi2 should use /usr/bin/gbx2 to find the gambas location. -- Benoit Minisini mailto:gambas at ...1... From gambas-users at ...790... Wed Jan 12 17:22:39 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Wed, 12 Jan 2005 16:22:39 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E506EC.3070206@...790...> References: <1105460556.6494.0.camel@...37...> <200501121015.56711.gambas@...1...> <41E50474.2020204@...790...> <200501121209.50859.gambas@...1...> <41E506EC.3070206@...790...> Message-ID: <41E54ECF.8000406@...790...> Rob Kendrick wrote: > Benoit Minisini wrote: >> Because Gambas IS an interpreter. But if you like, you can write a >> compiler for Gambas of course :-) > > > You seem to have already done so: gbc. And such a thing isn't actually > necessary for such a scheme anyway. This thread appears to have died with insuffcient discussion for me to understand the issues at hand. Why is the fact that Gambas is an interpreter stopping it from producing ELF binaries? My request is as follows: 1. Make the interpreter available as a library as well as an executable 2. Provide a small "stub" object file built during Gambas's build, that uses the library version of the interpreter to execute the application that is stored in some static structure in the executable 3. Allow building of application via dumping all the bits needed to run it out to a very simple ELF file that just contains the data as a static structure, and linking that to the stub and the interpreter library to generate an executable. This has the advantages that you have the option of statically linking your application if you so wish, so you don't require any other libraries or runtimes to run your application somewhere, as well as independance from system to system about where the gambas interpreter is stored. It also provides version support between different incompatible interpreters that may (or may not) appear over time via the soname functionality. And all this with only having to have ld installed, not the whole gcc suite. (Which is usually packaged seperately anyway.) I'm not suggesting that this sort of mechinism should *replace* the current, but it might be a handy option to have. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From gambas at ...1... Wed Jan 12 17:37:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 12 Jan 2005 17:37:25 +0100 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E54ECF.8000406@...790...> References: <1105460556.6494.0.camel@...37...> <41E506EC.3070206@...790...> <41E54ECF.8000406@...790...> Message-ID: <200501121737.25748.gambas@...1...> On Wednesday 12 January 2005 17:22, Rob Kendrick wrote: > Rob Kendrick wrote: > > Benoit Minisini wrote: > >> Because Gambas IS an interpreter. But if you like, you can write a > >> compiler for Gambas of course :-) > > > > You seem to have already done so: gbc. And such a thing isn't actually > > necessary for such a scheme anyway. > > This thread appears to have died with insuffcient discussion for me to > understand the issues at hand. > > Why is the fact that Gambas is an interpreter stopping it from producing > ELF binaries? My request is as follows: > > 1. Make the interpreter available as a library as well as an > executable > 2. Provide a small "stub" object file built during Gambas's build, > that uses the library version of the interpreter to execute > the application that is stored in some static structure in the > executable > 3. Allow building of application via dumping all the bits needed > to run it out to a very simple ELF file that just contains the > data as a static structure, and linking that to the stub and > the interpreter library to generate an executable. > > This has the advantages that you have the option of statically linking > your application if you so wish, so you don't require any other > libraries or runtimes to run your application somewhere, as well as > independance from system to system about where the gambas interpreter is > stored. It also provides version support between different incompatible > interpreters that may (or may not) appear over time via the soname > functionality. And all this with only having to have ld installed, not > the whole gcc suite. (Which is usually packaged seperately anyway.) > > I'm not suggesting that this sort of mechinism should *replace* the > current, but it might be a handy option to have. Do it if you like :-) But I find statically linked executable a very bad idea: 1) They are very hard to produce: gambas component requiring library A and B, that require libraries A1, A2, A3, and so on until glibc and ld.so. 2) They consume a lot of disk space. 3) They are not updated if there is a security update or important bug fix of one of the libraries. 4) They don't work if a statically linked library like glibc depends on the system architecture (/etc/resolv.conf for example) and this architecture change. Making an executable or a script makes no difference for the user. The Gambas archives just require ONE symbolic link in /usr/bin. It is not a nightmare. Embedding gambas in an executable is not so evident: the gambas interpreter needs a total control of a process: it needs its own signal handlers, it needs to control when dynamic libraries are loaded and freed, ... Last, incompatible interpreters will be renamed: gbx, gbx2, ..., gbxN. This will avoid ambiguities. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Jan 12 17:47:54 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 12 Jan 2005 11:47:54 -0500 Subject: [Gambas-user] gbi/gbi2 annoyance In-Reply-To: <200501121705.06962.gambas@...1...> References: <200501121050.08453.sourceforge-raindog2@...94...> <200501121705.06962.gambas@...1...> Message-ID: <200501121147.54934.sourceforge-raindog2@...94...> On Wednesday 12 January 2005 11:05, Benoit Minisini wrote: > Strange. gbi uses the symbolic link /usr/bin/gbx, and gbi2 > should use /usr/bin/gbx2 to find the gambas location. It isn't the location, it's the lack of lib.gb.so specifically (all the other lib.gb.*.so's are there.) Gambas runs fine without the lib.gb.so, it's just gbi that barfs. And symlinking lib.gb.so to any other lib.gb.*.so makes gbi work. Rob From frankberg at ...390... Wed Jan 12 18:18:36 2005 From: frankberg at ...390... (Frank Berg) Date: Wed, 12 Jan 2005 18:18:36 +0100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <001201c4f68b$0c7a1170$c6f0fea9@...602...> <000a01c4f888$3d140760$c6f0fea9@...602...> <200501121048.00946.gambas@...1...> Message-ID: <004401c4f8ca$c3703710$c6f0fea9@...602...> hi.. there are 2 thing.. i was edit the text file with KWRITE. after this: each line is append with an \r ok, this was the \r token..no problem with this.. i use an configuration file from the ISDN capisuite there are all "values" set in " also call_from="-" call_to="4902100" the "-" is set for an call with no telefon number send with the call and gambas set the string in " to, and an " in the line, gambas make to \" therefor "call_from=\"-\"" and after split(s,"=") ist it \"-\"" this was my question.. how eleminate i the \" from the string.. frank -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: voice-5.txt URL: From machaira at ...734... Wed Jan 12 18:27:13 2005 From: machaira at ...734... (machaira at ...734...) Date: Wed, 12 Jan 2005 17:27:13 +0000 Subject: [Gambas-user] Mandrake Installation Message-ID: <011220051727.12395.41E55DF1000C70CF0000306B22007637040E9D070E080C0E03@...734...> Thanks for the help. 1.0.1 looked nice and worked fairly well, but I was interested in examing the usage of SDL in gambas2. I'll try to deal with any problems that come up. :) -------------- Original message -------------- > On Wednesday 12 January 2005 10:31, machaira at ...734... wrote: > > I downloaded and installed the package for Gambas2 from > > kudla.org and unfortunately it didn't add a shortcut to it off > > the start button (forgive any incorrect terminology, I'm still > > stuck on Windows :( ). Suggestions as to how I can access it > > would be appreciated. > > The gambas2 packages aren't meant to be user friendly (if you > notice, I haven't even announced them) and are really for my own > use and that of various clients, and users on these lists. This > is because some of the new code is quite unstable and I don't > want people running it unless they are able to cope when it > crashes. You can run the IDE by going to a shell prompt and > typing "gambas2". > > For the full-on user friendliness, feel free to grab the Gambas > 1.0.1 packages as they work great. > > Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Wed Jan 12 18:32:32 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 12 Jan 2005 12:32:32 -0500 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E54ECF.8000406@...790...> References: <1105460556.6494.0.camel@...37...> <41E506EC.3070206@...790...> <41E54ECF.8000406@...790...> Message-ID: <200501121232.32370.sourceforge-raindog2@...94...> On Wednesday 12 January 2005 11:22, Rob Kendrick wrote: > Why is the fact that Gambas is an interpreter stopping it from > producing ELF binaries? My request is as follows: [...] > I'm not suggesting that this sort of mechinism should > *replace* the current, but it might be a handy option to have. I agree; this is probably one of the most commonly requested features. I think as soon as someone with both the interest and the know-how comes across the Gambas project, it will get done.... for now, you and I have the interest but speaking only for myself, I wouldn't have the faintest idea how to write a native code compiler. On the other hand, Benoit probably knows how but has always meant for Gambas to be an interpreted language. (What I'd love to see even more than native code compilation is a way to run Gambas "scripts" without compiling them first.... I submitted a proof of concept of this which was very kludgy, but I think this will be necessary to get "Gambas ASP" off the ground eventually.) For my part, I'm just going to continue agitating on behalf of Gambas so that it becomes part of every distribution by default eventually, and people won't fret so much about whether Gambas is installed on target machines just as they don't fret anymore about whether Perl or Python is installed on target machines. ;) Rob From gambas-users at ...790... Wed Jan 12 18:55:23 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Wed, 12 Jan 2005 17:55:23 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <200501121737.25748.gambas@...1...> References: <1105460556.6494.0.camel@...37...> <41E506EC.3070206@...790...> <41E54ECF.8000406@...790...> <200501121737.25748.gambas@...1...> Message-ID: <41E5648B.40100@...790...> Benoit Minisini wrote: >>I'm not suggesting that this sort of mechinism should *replace* the >>current, but it might be a handy option to have. > > Do it if you like :-) Would you accept the patch? > But I find statically linked executable a very bad idea: I'm not saying that it should *only* produce static binaries, but that doing it that way would allow you to do so in the rare cases having a static binary would be advantagous. What I'm saying is that generating a real executable that uses the interpreter as a shared library, rather than via the horror that is the #! system is a better solution, in every way I can think of. > Making an executable or a script makes no difference for the user. The Gambas > archives just require ONE symbolic link in /usr/bin. It is not a nightmare. Rather than none at all. Also, what if it's not a perticular OSes policy to have such things in /usr/bin ? What if it's not a Unix at all? (You have to do something else again completely different, where generating executables that use the interpreter as a library mean that it's essentially the same thing you have to do everywhere, making porting easier.) > Embedding gambas in an executable is not so evident: the gambas interpreter > needs a total control of a process: it needs its own signal handlers, it > needs to control when dynamic libraries are loaded and freed, ... I don't see why this is a problem for anything I have suggested, considering all the "stub"'s job would be would be to call a function in the library along with a pointer to the application's code and data. There's nothing stopping the library setting up signal handlers and loading .so files at other points. > Last, incompatible interpreters will be renamed: gbx, gbx2, ..., gbxN. This > will avoid ambiguities. Shared libraries already provide this functionality, except in a much more elegant way that doesn't mean you end up with dozens of symlinks in /usr/bin/. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From m_isaac at ...689... Wed Jan 12 19:33:52 2005 From: m_isaac at ...689... (Michael Isaac) Date: Wed, 12 Jan 2005 10:33:52 -0800 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <200501121737.25748.gambas@...1...> References: <1105460556.6494.0.camel@...37...> <41E506EC.3070206@...790...> <41E54ECF.8000406@...790...> <200501121737.25748.gambas@...1...> Message-ID: <41E56D90.9050604@...689...> Benoit Minisini wrote: >On Wednesday 12 January 2005 17:22, Rob Kendrick wrote: > > >>Rob Kendrick wrote: >> >> >>>Benoit Minisini wrote: >>> >>> >>>>Because Gambas IS an interpreter. But if you like, you can write a >>>>compiler for Gambas of course :-) >>>> >>>> >>>You seem to have already done so: gbc. And such a thing isn't actually >>>necessary for such a scheme anyway. >>> >>> >>This thread appears to have died with insuffcient discussion for me to >>understand the issues at hand. >> >>Why is the fact that Gambas is an interpreter stopping it from producing >>ELF binaries? My request is as follows: >> >> 1. Make the interpreter available as a library as well as an >> executable >> 2. Provide a small "stub" object file built during Gambas's build, >> that uses the library version of the interpreter to execute >> the application that is stored in some static structure in the >> executable >> 3. Allow building of application via dumping all the bits needed >> to run it out to a very simple ELF file that just contains the >> data as a static structure, and linking that to the stub and >> the interpreter library to generate an executable. >> >>This has the advantages that you have the option of statically linking >>your application if you so wish, so you don't require any other >>libraries or runtimes to run your application somewhere, as well as >>independance from system to system about where the gambas interpreter is >>stored. It also provides version support between different incompatible >>interpreters that may (or may not) appear over time via the soname >>functionality. And all this with only having to have ld installed, not >>the whole gcc suite. (Which is usually packaged seperately anyway.) >> >>I'm not suggesting that this sort of mechinism should *replace* the >>current, but it might be a handy option to have. >> >> > >Do it if you like :-) > >But I find statically linked executable a very bad idea: > >1) They are very hard to produce: gambas component requiring library A and B, >that require libraries A1, A2, A3, and so on until glibc and ld.so. > >2) They consume a lot of disk space. > >3) They are not updated if there is a security update or important bug fix of >one of the libraries. > >4) They don't work if a statically linked library like glibc depends on the >system architecture (/etc/resolv.conf for example) and this architecture >change. > >Making an executable or a script makes no difference for the user. The Gambas >archives just require ONE symbolic link in /usr/bin. It is not a nightmare. > >Embedding gambas in an executable is not so evident: the gambas interpreter >needs a total control of a process: it needs its own signal handlers, it >needs to control when dynamic libraries are loaded and freed, ... > >Last, incompatible interpreters will be renamed: gbx, gbx2, ..., gbxN. This >will avoid ambiguities. > >Regards, > > > I like Robs idea. I dont think that the target system should be required to install Gambas. Which is basically how it is now. The developer of an application should be responsible for releasing an updated or patched program. This way the developer is the only person responsible for downloading, unpacking, configuring and installing new Gambas' sources. which is something alot of "users" dont know how todo in the first place. Thats why we have packaging systems like dpkg and rpm. The Linux community is slowly moving away from do it yourself compilation. I would love to be able to write my application, compile it to an executable, zip it and send it out for the world to use. If I was a more adept programmer I would write my own compiler. Since Im not I wish Benoit would. l0wrd From amon at ...715... Wed Jan 12 22:01:06 2005 From: amon at ...715... (Amon Forstmann) Date: Wed, 12 Jan 2005 22:01:06 +0100 Subject: [Gambas-user] Importing old projects Message-ID: <1105563666.18217.4.camel@...794...> Hi there, is it possible to import "old" projects done with one of the RCs ? The gambas logo isn't shown in the open project dialog in front of my old projects. thx for help, amon From gambas-users at ...790... Wed Jan 12 22:35:02 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Wed, 12 Jan 2005 21:35:02 +0000 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <200501121232.32370.sourceforge-raindog2@...94...> References: <1105460556.6494.0.camel@...37...> <41E506EC.3070206@...790...> <41E54ECF.8000406@...790...> <200501121232.32370.sourceforge-raindog2@...94...> Message-ID: <41E59806.1020503@...790...> Rob wrote: > On Wednesday 12 January 2005 11:22, Rob Kendrick wrote: > >>Why is the fact that Gambas is an interpreter stopping it from >>producing ELF binaries? My request is as follows: > > [...] > >>I'm not suggesting that this sort of mechinism should >>*replace* the current, but it might be a handy option to have. > > > I agree; this is probably one of the most commonly requested > features. I think as soon as someone with both the interest and > the know-how comes across the Gambas project, it will get > done.... for now, you and I have the interest but speaking only > for myself, I wouldn't have the faintest idea how to write a > native code compiler. I'd like to make it absolutely clear that my suggestion doesn't need or require a native code compiler *AT ALL*. It would use exactly the same compiler as is currently used, it would just bind up the byte code that the current compiler generates into a real executable binary that just linked to a library to do the interpreting. This is a much cleaner way than the #! method currently used, which just reimplements things that using a shared library would provide for free, as well as an easy option for making a stand-alone binary for the people it floats the boat for, not to mention easier porting to other operating systems that don't provide the #! method. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From JRuff at ...762... Wed Jan 12 22:32:59 2005 From: JRuff at ...762... (John G. Ruff) Date: Wed, 12 Jan 2005 15:32:59 -0600 Subject: [Gambas-user] MySQL Connect References: <7519088.1105518154662.JavaMail.www@...792...> Message-ID: <41E5978B.1CFD9B7F@...762...> I installed Gambas using the RPMs from Rob Kudla (Thanks, Rob). I have not been able to get the source to compile on my workstation. I've been trying to resolve the dependencies, but it is not compiling so far. This workstation did not have any MySQL components installed before I started this. I'm running Mandrake 10.1 Official, 32 bit, 3 CD download version. MySQL server is on a server that is also running the same Mandrake 10.1. jr From karl.reinl at ...9... Wed Jan 12 22:36:41 2005 From: karl.reinl at ...9... (Charlie) Date: Wed, 12 Jan 2005 22:36:41 +0100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <200501090050.24979.sourceforge-raindog2@...94...> <001201c4f68b$0c7a1170$c6f0fea9@...602...> <000a01c4f888$3d140760$c6f0fea9@...602...> Message-ID: <41E59869.50008@...9...> Frank Berg schrieb: > hi, > > i was try to make a new class for edit ini files, > > if i take an config file, and read with "LINE INPUT" 1 line in a > string variable > the input is > > [GLOBAL] > > but the string has [GLOBAL]\r > > and > > call_from = - > > is change in the string variable > > call_from = \"-\"" > > is it correct that the "INPUT LINE" function gif me formatting > information ?? > an real text file has none formatting information?! > > frank Salut Frank, send you that, since April 2004, I think I'v tested it, but at that time it worked. At that time I needet a Windows like INI reader. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: INIFileHandler-0.0.tar.gz Type: application/x-tar Size: 8354 bytes Desc: not available URL: From gambas-users at ...790... Wed Jan 12 23:14:44 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Wed, 12 Jan 2005 22:14:44 +0000 Subject: [Gambas-user] Deletion of tabs from a TabStrip Message-ID: <41E5A154.6010002@...790...> Hi, Is it possible to delete tabs from the middle of a TabStrip? I've looked for quite a while, but can't find an obvious way of doing it. (Only removing from the end by reducing the number of tabs as a whole.) -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From sourceforge-raindog2 at ...94... Wed Jan 12 23:57:15 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 12 Jan 2005 17:57:15 -0500 Subject: [Gambas-user] Form embedding, building devel version In-Reply-To: <41E59806.1020503@...790...> References: <1105460556.6494.0.camel@...37...> <200501121232.32370.sourceforge-raindog2@...94...> <41E59806.1020503@...790...> Message-ID: <200501121757.15878.sourceforge-raindog2@...94...> On Wednesday 12 January 2005 16:35, Rob Kendrick wrote: > I'd like to make it absolutely clear that my suggestion > doesn't need or require a native code compiler *AT ALL*. It Yeah, sorry, I misunderstood you. A lot of people have asked about compilation to native code, or .NET bytecode, or Java bytecode, or Parrot bytecode, or the Sinclair ZX-81, or the Pong unit in my basement, or... :) Your idea sounds pretty reasonable. Rob From lamalfa at ...639... Wed Jan 12 14:38:43 2005 From: lamalfa at ...639... (Ivan La Malfa) Date: Wed, 12 Jan 2005 10:38:43 -0300 Subject: [Gambas-user] Find the BUG References: <200501072332.52736.Karl.Reinl@...9...> Message-ID: <41E52863.3010908@...639...> Charlie Reinl wrote: >Salut, > >that has nothing to do with gambas, >but while waiting the end of a long process >I played a Klondike FreeCell. > >Now find the bug in the screenshot! > >Amicalment >Charlie > > > > ------------------------------------------------------------------------ > Nice, but the next time think in the people (like me) who have a poor internet conection (for me 97 kB is a lot) -- Ivan (Vanchi) La Malfa email/ JID: lamalfa at ...639... From edamron at ...776... Thu Jan 13 03:10:57 2005 From: edamron at ...776... (Eric Damron) Date: Wed, 12 Jan 2005 18:10:57 -0800 Subject: [Gambas-user] Class to Read/Write INI files In-Reply-To: <200501121208.31619.gambas@...1...> References: <41E0A5AF.1060707@...776...> <000a01c4f888$3d140760$c6f0fea9@...602...> <027901c4f893$8e6e97f0$6701a8c0@...197...> <200501121208.31619.gambas@...1...> Message-ID: <41E5D8B1.3040007@...776...> Benoit Minisini wrote: >On Wednesday 12 January 2005 11:43, me wrote: > >Who are you ? > > > If you're talking to me, I'm a programmer working for the State of Washington. USA. From asubedi at ...795... Thu Jan 13 06:21:53 2005 From: asubedi at ...795... (asubedi) Date: Thu, 13 Jan 2005 00:21:53 -0500 Subject: [Gambas-user] compiling gambas2 without Qt Message-ID: <1105593713.2337.77.camel@...37...> Is it possible compile and run gambas2 without Qt? I do not have Qt and KDE install in my laptop and I seem to be able to compile gambas2 using the following configure options: ./configure --disable-qt --disable-kde --disable-sdl --with-moc However, when I run gambas2, I get the following error: ERROR: #27: Cannot load component '/usr/local/lib/gambas2/lib.gb.qt.so': /usr/local/lib/gambas2/lib.gb.qt.so: cannot open shared object file: No such file or directory From smiefert at ...784... Thu Jan 13 08:19:32 2005 From: smiefert at ...784... (Stefan Miefert) Date: Thu, 13 Jan 2005 08:19:32 +0100 Subject: [Gambas-user] Setup/Installation? Message-ID: <200501130819.33962.smiefert@...784...> Hoc can i make a selfinstaaltion file ? on the users desktop ? From nigel at ...38... Thu Jan 13 09:58:34 2005 From: nigel at ...38... (nigel at ...38...) Date: Thu, 13 Jan 2005 09:58:34 +0100 (CET) Subject: [Gambas-user] MySQL Connect Message-ID: <18211172.1105606714160.JavaMail.www@...796...> John, I don't know which version of MySQL Rob used to produce the RPM's. If it was prior to 4.1 then this might be your problem. Attached is a tar containing my libraries. I am not sure if this will work, but I suggest you copy your existing libraries and replace them with those in the tar. Unfortunately you will need to manually manipulate lib.gb.db.mysql.la to point to the relevant files on your system. It would be best to compile against your system, but I also had a lot of problems with getting 10.1 to do that (and I can't remember what additional RPM's etc. I had to install.) Good Luck Nigel > Message date : Jan 12 2005, 10:30 PM > From : "John G. Ruff" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : Re: [Gambas-user] MySQL Connect > > I installed Gambas using the RPMs from Rob Kudla (Thanks, Rob). I > have not been able to get the source to compile on my > workstation. I've been trying to resolve the dependencies, but it > is not compiling so far. This workstation did not have any MySQL > components installed before I started this. I'm running Mandrake > 10.1 Official, 32 bit, 3 CD download version. MySQL server is on > a server that is also running the same Mandrake 10.1. > > jr > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: mysql.gambas.lib.tar Type: application/x-tar Size: 61440 bytes Desc: not available URL: From nigel at ...38... Thu Jan 13 10:01:21 2005 From: nigel at ...38... (nigel at ...38...) Date: Thu, 13 Jan 2005 10:01:21 +0100 (CET) Subject: [Gambas-user] compiling gambas2 without Qt Message-ID: <32274587.1105606881007.JavaMail.www@...796...> gambas2 evokes the IDE which is GUI based so requires the QT component. If you run gbc2 to compile and gbx2 to run the program, you will able to run any program that is not forms based. Nigel > Message date : Jan 13 2005, 05:23 AM > From : "asubedi" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : [Gambas-user] compiling gambas2 without Qt > > Is it possible compile and run gambas2 without Qt? I do not have Qt and > KDE install in my laptop and I seem to be able to compile gambas2 using > the following configure options: > > ./configure --disable-qt --disable-kde --disable-sdl --with-moc > > However, when I run gambas2, I get the following error: > > ERROR: #27: Cannot load component > '/usr/local/lib/gambas2/lib.gb.qt.so': /usr/local/lib/gambas2/lib.gb.qt.so: cannot open shared object file: No such file or directory > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From eilert-sprachen at ...221... Thu Jan 13 12:10:59 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 13 Jan 2005 12:10:59 +0100 Subject: [Gambas-user] Scaling Images or Pictures? Message-ID: <41E65743.8020104@...221...> Hi, is it possible to scale the picture when I do Draw.Image or Draw.Picture ??? I only find a way to crop the picture. But when I want to print the picture within a text page, for example, I will have to scale it to a fixed size. The size the picture was scanned in dots will not be of use. The same applies for a preview: the picture must be scaled to fit into its place. Rolf From eilert-sprachen at ...221... Thu Jan 13 12:18:54 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 13 Jan 2005 12:18:54 +0100 Subject: [Gambas-user] Difference between Picture and Image? Message-ID: <41E6591E.2000409@...221...> What is the difference between Image and Picture? In the help I read that there is a difference in memory management, but what would be best for me? And is there any other difference beyond that? I would need something to draw graphics on a printer and in a preview window (own printing management module). Thanks for all your hints. Rolf From nospam at ...789... Thu Jan 13 12:29:58 2005 From: nospam at ...789... (Kadaitcha Man) Date: Thu, 13 Jan 2005 22:29:58 +1100 Subject: [Gambas-user] Turn off code saving Message-ID: <088d01c4f963$36bbeaa0$6701a8c0@...197...> Unless I've missed something, there appears to be no readily visible option to prevent gambas saving code before a run commences. I don't want any development environment saving my code without my decision. Is there any way to prevent gambas saving code changes automatically? Thanks, K From sourceforge-raindog2 at ...94... Thu Jan 13 14:10:14 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 13 Jan 2005 08:10:14 -0500 Subject: [Gambas-user] Difference between Picture and Image? In-Reply-To: <41E6591E.2000409@...221...> References: <41E6591E.2000409@...221...> Message-ID: <200501130810.14314.sourceforge-raindog2@...94...> On Thursday 13 January 2005 06:18, Eilert wrote: > What is the difference between Image and Picture? To explain this difference, I first have to explain to you how X11 (the graphics subsystem of Linux and almost every other Unix) works a little bit. With X, your program can run on one machine but have its window display on a machine somewhere else on the Internet, if you want it to. This is so that you can have one big fast server running many copies of one application, and a bunch of cheap little terminals displaying that application (basically, "thin clients", but they didn't use that term at the time.) An Image is a graphic that lives in your program. As such, you have more access to it and can do more stuff to it, like stretch, fine rotate, etc. A Picture is a graphic that lives on your X display, whether it's on the same machine or in Mongolia or whatever. So any manipulation you do to this picture will happen over a network link or a local pipe, and as such it's likely to be a lot slower. In graphic-intensive apps, I have found myself converting between Image and Picture quite a bit to use different features of each. I wonder if Gtk has these issues with process-space graphics vs. display-space ones, because it's confusing and a little annoying, even though I understand why it has to be. Maybe an ImageMagick component would help this somewhat. Hey Srikanta, maybe that could be a cool first project for you :) To sum up, here's how you can think of them: Image is for manipulation, Picture is for display. Rob From sourceforge-raindog2 at ...94... Thu Jan 13 13:39:18 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 13 Jan 2005 07:39:18 -0500 Subject: [Gambas-user] MySQL Connect In-Reply-To: <18211172.1105606714160.JavaMail.www@...796...> References: <18211172.1105606714160.JavaMail.www@...796...> Message-ID: <200501130739.18288.sourceforge-raindog2@...94...> On Thursday 13 January 2005 03:58, nigel at ...38... wrote: > I don't know which version of MySQL Rob used to produce the > RPM's. If it was prior to 4.1 then this might be your I made the 10.1 packages on a bog-standard 10.1 workstation with just "install", "contrib" and "updates" sources, so whichever MySQL I had on there was "the one that comes with Mandrake 10.1". I suppose it's possible there was a security update to MySQL that I had and John didn't, though. Anyway, it looked like his problem was getting it to compile, not getting it to run. John, you could always download my source RPM and rpm --rebuild it... at least that way it'll tell you what (if any) packages you're missing. Also, if you could attach the output of "configure" that might help diagnose the problem... Rob From sourceforge-raindog2 at ...94... Thu Jan 13 14:02:29 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 13 Jan 2005 08:02:29 -0500 Subject: [Gambas-user] Turn off code saving In-Reply-To: <088d01c4f963$36bbeaa0$6701a8c0@...197...> References: <088d01c4f963$36bbeaa0$6701a8c0@...197...> Message-ID: <200501130802.29319.sourceforge-raindog2@...94...> On Thursday 13 January 2005 06:29, Kadaitcha Man wrote: > Is there any way to prevent gambas saving code changes > automatically? F5 (and the "play" button that invokes the same event) isn't merely "run", it's "save, compile and run", much like in VB6. But the Gambas IDE is written in Gambas, so it should be only a one or two line change for you to do this on your local copy of the IDE. It looks like the relevant code might be in Project.module. I am assuming "Kadaitcha Man" is not your real name. Between that and the anonymous mail proxy you're using, please forgive me if I don't see or respond to your requests for help in the future. Rob From daniel.campos at ...338... Thu Jan 13 17:00:54 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 13 Jan 2005 17:00:54 +0100 Subject: [Gambas-user] Difference between Picture and Image? In-Reply-To: <200501130810.14314.sourceforge-raindog2@...94...> References: <41E6591E.2000409@...221...> <200501130810.14314.sourceforge-raindog2@...94...> Message-ID: <41E69B36.1020708@...338...> > >I wonder if Gtk has these issues with process-space graphics vs. >display-space ones, because it's confusing and a little >annoying, even though I understand why it has to be. Maybe an >ImageMagick component would help this somewhat. Hey Srikanta, >maybe that could be a cool first project for you :) > > In GTK+ graphics are a real chaos by now, and there are frequent interchanges between the X server and client... When gb.gtk becomes stable, I'm sure (well, not at 100% but...) that it will perform a little worse than the gb.qt component for graphics. This can change in a future, as one of the more importants steps for GTK+ 3.0 is to reorder and improve all rendering engines, and I think they are going to use the new features from X.org, and simplify the work with both server and client part of the graphics. Regards, D. Campos From daniel.campos at ...338... Thu Jan 13 17:04:42 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 13 Jan 2005 17:04:42 +0100 Subject: [Gambas-user] Difference between Picture and Image? In-Reply-To: <200501130810.14314.sourceforge-raindog2@...94...> References: <41E6591E.2000409@...221...> <200501130810.14314.sourceforge-raindog2@...94...> Message-ID: <41E69C1A.3020209@...338...> Sorry, i forgot that link: http://people.redhat.com/otaylor/guadec5/future-rendering-slides.pdf about GTK+ future rendering. Regards, D. Campos From eilert-sprachen at ...221... Thu Jan 13 17:47:02 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 13 Jan 2005 17:47:02 +0100 Subject: [Gambas-user] Difference between Picture and Image? In-Reply-To: <200501130810.14314.sourceforge-raindog2@...94...> References: <41E6591E.2000409@...221...> <200501130810.14314.sourceforge-raindog2@...94...> Message-ID: <41E6A606.408@...221...> Hi Rob, thanks for your comprehensive information. Rob schrieb: > On Thursday 13 January 2005 06:18, Eilert wrote: > >>What is the difference between Image and Picture? > > > To explain this difference, I first have to explain to you how > X11 (the graphics subsystem of Linux and almost every other > Unix) works a little bit. With X, your program can run on one I know that, I'm running LTSP here, and Gambas is on the server whilest I am sitting in my office and work with it on my own machine. > An Image is a graphic that lives in your program. As such, you > have more access to it and can do more stuff to it, like > stretch, fine rotate, etc. So Image is for me. > > A Picture is a graphic that lives on your X display, whether it's > on the same machine or in Mongolia or whatever. So any > manipulation you do to this picture will happen over a network > link or a local pipe, and as such it's likely to be a lot > slower. The point is, what is Picture good for then? It's slower, it doesn't have so many possibilities and the Image is displayed anyway... Maybe over a slow connection, Picture will appear faster? > To sum up, here's how you can think of them: Image is for > manipulation, Picture is for display. Yes, and that answers my second question, too. I now tried Image and found the Stretch function. The only drawback is that it needs absolute pixels instead of percentages, but I can live with it :-) Thank you very much again for your time! Rolf From karl.reinl at ...9... Thu Jan 13 23:34:20 2005 From: karl.reinl at ...9... (Charlie) Date: Thu, 13 Jan 2005 23:34:20 +0100 Subject: [Gambas-user] compiling gambas2 without Qt References: <1105593713.2337.77.camel@...37...> Message-ID: <41E6F76C.9090004@...9...> asubedi schrieb: >Is it possible compile and run gambas2 without Qt? I do not have Qt and >KDE install in my laptop and I seem to be able to compile gambas2 using >the following configure options: > >./configure --disable-qt --disable-kde --disable-sdl --with-moc > >However, when I run gambas2, I get the following error: > >ERROR: #27: Cannot load component >'/usr/local/lib/gambas2/lib.gb.qt.so': /usr/local/lib/gambas2/lib.gb.qt.so: cannot open shared object file: No such file or directory > > > running my : Car --disable-weels --disable-color --disable-radio --with-gasoil some optinons can make no sence and 'moc' without 'qt' is one of them. OK;-( Charlie From karl.reinl at ...9... Thu Jan 13 23:37:14 2005 From: karl.reinl at ...9... (Charlie) Date: Thu, 13 Jan 2005 23:37:14 +0100 Subject: [Gambas-user] Importing old projects References: <1105563666.18217.4.camel@...794...> Message-ID: <41E6F81A.9010409@...9...> Amon Forstmann schrieb: >Hi there, > >is it possible to import "old" projects done with one of the RCs ? > >The gambas logo isn't shown in the open project dialog in front of my >old projects. > In your old project, there was not the possibillity to assigne a logo to the project. OK;-) But you can now. > >thx for help, >amon > > > > From karl.reinl at ...9... Thu Jan 13 23:38:50 2005 From: karl.reinl at ...9... (Charlie) Date: Thu, 13 Jan 2005 23:38:50 +0100 Subject: [Gambas-user] Setup/Installation? References: <200501130819.33962.smiefert@...784...> Message-ID: <41E6F87A.3080601@...9...> Stefan Miefert schrieb: >Hoc can i make a selfinstaaltion file ? on the users desktop ? > > WAS ? Wof?r ? Wozu? Wieso? Amicalment charlie From gambasfr at ...11... Thu Jan 13 23:39:24 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 13 Jan 2005 23:39:24 +0100 Subject: [Gambas-user] minor IDE open file dialog bug In-Reply-To: <200501121017.14415.gambas@...1...> References: <200501111920.57911.sourceforge-raindog2@...94...> <200501121017.14415.gambas@...1...> Message-ID: <200501132339.24830.gambasfr@...11...> Le mercredi 12 Janvier 2005 10:17, Benoit Minisini a ?crit?: > On Wednesday 12 January 2005 01:20, Rob wrote: > > In the Open Project dialog, if you paste a full path to a project > > into the Project textbox and then click OK, one of the following > > things happens: > > > > 1. If there was a project already selected (usually the > > previously opened one), that project is loaded rather than the > > one whose path you pasted. > > > > 2. If there was no previously selected project, you get a > > Message.Error saying "Cannot find this project." > > > > It appears that in no case are you able to paste in a path to > > open a project or navigate a directory... you must use the mouse > > and drill down one folder at a time. > > > > Rob > > Fabien ?? :-) em... it's true... i now this problem... since... um 2 year... sorry for my late... I'm going to see that problem... Fabien From gambasfr at ...11... Fri Jan 14 00:17:35 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 14 Jan 2005 00:17:35 +0100 Subject: [Gambas-user] minor IDE open file dialog bug In-Reply-To: <200501121017.14415.gambas@...1...> References: <200501111920.57911.sourceforge-raindog2@...94...> <200501121017.14415.gambas@...1...> Message-ID: <200501140017.35446.gambasfr@...11...> > > Fabien ?? :-) I'm here !!! This is the FSupExplorer update... Try it and say me if i've made a new bug ! You can now write the path of your project directly (but you need to give the entire path...) Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: FSupSelector.class Type: application/x-java Size: 35152 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Fri Jan 14 03:18:30 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 13 Jan 2005 21:18:30 -0500 Subject: [Gambas-user] Setup/Installation? In-Reply-To: <200501130819.33962.smiefert@...784...> References: <200501130819.33962.smiefert@...784...> Message-ID: <200501132118.30263.sourceforge-raindog2@...94...> On Thursday 13 January 2005 02:19, Stefan Miefert wrote: > Hoc can i make a selfinstaaltion file ? on the users desktop Use the package wizard. Until there's a single universal packaging system for all desktop Linux distros, it's the best possible solution. Rob From mstcrow5429 at ...798... Fri Jan 14 04:36:10 2005 From: mstcrow5429 at ...798... (Micah B. Haber) Date: Thu, 13 Jan 2005 22:36:10 -0500 Subject: [Gambas-user] Can't Make Gambas 1.0.2 Message-ID: <41E73E2A.2070808@...798...> I'm using SuSE 9.2 Professional x86-32. When I attempt to "make" gambas 1.0.2, I receive the following errors: grep: /usr/lib/libjpeg.la: No such file or directory /usr/bin/sed: can't read /usr/lib/libjpeg.la: No such file or directory libtool: link: `/usr/lib/libjpeg.la' is not a valid libtool archive make[6]: *** [lib.gb.qt.kde.html.la] Error 1 make[6]: Leaving directory `/home/mhaber/gambas-1.0.2/src/lib/qt/kde/html' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/mhaber/gambas-1.0.2/src/lib/qt/kde' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/mhaber/gambas-1.0.2/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/mhaber/gambas-1.0.2/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/mhaber/gambas-1.0.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mhaber Any ideas? Thanks. From sourceforge-raindog2 at ...94... Fri Jan 14 07:02:24 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 14 Jan 2005 01:02:24 -0500 Subject: [Gambas-user] Can't Make Gambas 1.0.2 In-Reply-To: <41E73E2A.2070808@...798...> References: <41E73E2A.2070808@...798...> Message-ID: <200501140102.24580.sourceforge-raindog2@...94...> On Thursday 13 January 2005 22:36, Micah B. Haber wrote: > I'm using SuSE 9.2 Professional x86-32. When I attempt to > "make" gambas 1.0.2, I receive the following errors: > grep: /usr/lib/libjpeg.la: No such file or directory Sure looks to me like you're missing the 'jpeg-devel' or 'libjpeg-devel' packages. Fire up YAST and see if there's one for you to install... Rob From gambas-users at ...790... Fri Jan 14 13:22:07 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Fri, 14 Jan 2005 12:22:07 +0000 Subject: [Gambas-user] Deletion of tabs from a TabStrip In-Reply-To: <41E5A154.6010002@...790...> References: <41E5A154.6010002@...790...> Message-ID: <41E7B96F.8050003@...790...> Rob Kendrick wrote: > Hi, > > Is it possible to delete tabs from the middle of a TabStrip? I've > looked for quite a while, but can't find an obvious way of doing it. > (Only removing from the end by reducing the number of tabs as a whole.) Nobody had any ideas yet? -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From sourceforge-raindog2 at ...94... Fri Jan 14 15:31:39 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 14 Jan 2005 09:31:39 -0500 Subject: [Gambas-user] Deletion of tabs from a TabStrip In-Reply-To: <41E7B96F.8050003@...790...> References: <41E5A154.6010002@...790...> <41E7B96F.8050003@...790...> Message-ID: <200501140931.39646.sourceforge-raindog2@...94...> On Friday 14 January 2005 07:22, Rob Kendrick wrote: > > Is it possible to delete tabs from the middle of a TabStrip? > Nobody had any ideas yet? Sorry, I thought I had had the same problem some months ago and was going to post my solution, but it turns out my solution was to disable the tabs rather than delete them. Unfortunately, the tabs themselves aren't real controls and therefore don't automatically have a delete method. The underlying Qt control, QTabBar, does have a removeTab method and so it should be possible to add a .Remove or .Delete to the .Tab virtual class in Gambas. I'll look into it today and see if I can submit a patch against gambas 1.9.x. (hey, I want to get as much component coding in as I can while it's still fresh ;) ) Rob From gambas-users at ...790... Fri Jan 14 19:18:10 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Fri, 14 Jan 2005 18:18:10 +0000 Subject: [Gambas-user] Deletion of tabs from a TabStrip In-Reply-To: <200501140931.39646.sourceforge-raindog2@...94...> References: <41E5A154.6010002@...790...> <41E7B96F.8050003@...790...> <200501140931.39646.sourceforge-raindog2@...94...> Message-ID: <41E80CE2.7010805@...790...> Rob wrote: > On Friday 14 January 2005 07:22, Rob Kendrick wrote: > >>>Is it possible to delete tabs from the middle of a TabStrip? > Unfortunately, the tabs themselves aren't real controls and > therefore don't automatically have a delete method. The > underlying Qt control, QTabBar, does have a removeTab method and > so it should be possible to add a .Remove or .Delete to the .Tab > virtual class in Gambas. I'll look into it today and see if I > can submit a patch against gambas 1.9.x. That'd be great, thanks! On another point, is it possible to create new widgets on a tab without having to first switch to it? I've briefly played with this, but with little success. > (hey, I want to get as much component coding in as I can while > it's still fresh ;) ) On a roll? :) -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From Karl.Reinl at ...9... Fri Jan 14 21:00:37 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 14 Jan 2005 21:00:37 +0100 Subject: [Gambas-user] gambas-IDE with PrettyPrinter for gambas-1.0.2 Message-ID: <200501142100.37082.Karl.Reinl@...9...> Salut, the attached patch-gambas-IDE.tar.bz2 includes patch-IDE.sh a bash-script to patch and copy the needed files into .../app/gambas /backup here I save the org. FMain.from, FMain.class, FEditor.from and FEditor.class /gambas.tar.bz2 from here I copy all add. files needed /IDEdiff the place where the *.diff files are So the files saved to /backup will be changed. For patching the IDE you have to extract patch-gambas-IDE.tar.bz2. Coping the dir. patch-gambas-IDE into gambas-1.0.2 directory. Should looks like that: ../gambas-1.0.2 |__app | |__gambas | |__gambas-database-manager |__patch-gambas-IDE | |__backup | |__gambas | |__IDEdiff |__libltdl |__src ..... Entering patch-gambas-IDE and run ./patch-IDE.sh The sript makes - a copy of the touched files to /backup. - paches these files - copy all from /gambas to ../app/gambas - und runs a su -c 'make install' After you find the PrettyPrinter and the PrettyPrinter Settings in the contextmenu of the IDE-Editor. Attention: ?the PrettyPrinter in the Editor menu is not managed, so you can ? change you sourcecode during debugging (but it is not the only one) ?!!!! The changes you find in ChangeLog.PrettyPrinter There are no changes made since 0.99.RC2 And remember, a backup copy is alwasy a good idea !!! Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: patch-gambas-IDE.tar.bz2 Type: application/x-tbz Size: 13244 bytes Desc: not available URL: From ericbudd at ...407... Fri Jan 14 21:02:18 2005 From: ericbudd at ...407... (Eric Budd) Date: Fri, 14 Jan 2005 14:02:18 -0600 Subject: [Gambas-user] Net Socket timing issue? Message-ID: <41E8254A.4090003@...407...> Hey guys-- first of all, GREAT job on Gambas-- I'm lovin' it :D I'm writing a minimal MUSH client to play around with some of the net stuff, but i'm running into a problem. Whien I send a command with my socket object to my local MUSH test server, it goes through fine. When I try to read immediately after writing, though, the buffer is not updated. I'm using the "Read" event to get data as follows: PUBLIC SUB mySocket_Read() READ #sM, LastBuf, Lof(sM) FullBuf = FullBuf & LastBuf frmBufrWatch.txtBuffer.Text = frmBufrWatch.txtBuffer.Text & LastBuf END When I write a command to the socket, tho: IF Len(Data) > 0 THEN WRITE #sM, Data & Chr(10) END IF Then try to read the data into a textbox: ME.txtConsole.Text = ME.txtConsole.Text & LastBuf It doesn't come up with the new data unless I force the program to do a Wait(1) before I read the "LastBuf" variable. If I Wait(1) right after the READ statement, it won't work-- just comes up with whatever was already in LastBuf. But the writing to frmBufrWatch.txtBuffer.Text always works, whether I wait or not. Any ideas on why this is happening, and how I can get responses from the server without having to put a Wait() in? Thanks! :) From daniel.campos at ...338... Sat Jan 15 02:08:50 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 15 Jan 2005 02:08:50 +0100 Subject: [Gambas-user] Net Socket timing issue? In-Reply-To: <41E8254A.4090003@...407...> References: <41E8254A.4090003@...407...> Message-ID: <41E86D22.3060805@...338...> Eric Budd escribi?: > Hey guys-- first of all, GREAT job on Gambas-- I'm lovin' it :D > > I'm writing a minimal MUSH client to play around with some of the net > stuff, but i'm running into a problem. > > Whien I send a command with my socket object to my local MUSH test > server, it goes through fine. When I try to read immediately after > writing, though, the buffer is not updated. > > I'm using the "Read" event to get data as follows: > > PUBLIC SUB mySocket_Read() > READ #sM, LastBuf, Lof(sM) > FullBuf = FullBuf & LastBuf > frmBufrWatch.txtBuffer.Text = frmBufrWatch.txtBuffer.Text & LastBuf > END > > When I write a command to the socket, tho: > > IF Len(Data) > 0 THEN > WRITE #sM, Data & Chr(10) > END IF Try WRITE #sM, Data & Chr(10), Len(Data)+1 > > Then try to read the data into a textbox: > ME.txtConsole.Text = ME.txtConsole.Text & LastBuf > > It doesn't come up with the new data unless I force the program to do > a Wait(1) before I read the "LastBuf" variable. If I Wait(1) right > after the READ statement, it won't work-- just comes up with whatever > was already in LastBuf. But the writing to > frmBufrWatch.txtBuffer.Text always works, whether I wait or not. > > Any ideas on why this is happening, and how I can get responses from > the server without having to put a Wait() in? > Thanks! :) > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From dafyre at ...43... Sat Jan 15 02:51:36 2005 From: dafyre at ...43... (Brant Wells) Date: Fri, 14 Jan 2005 17:51:36 -0800 (PST) Subject: [Gambas-user] gCrypto2 - Devel Message-ID: <20050115015137.71892.qmail@...799...> Hi All: Sorry I've been away so long, but my pooter crashed again. Ha ha ha... anyhow in my absense, I've been able to compile some code that was submitted to the list by several people... The two attachments are the result... The gCrypto2-0.12.tar.gz is the source code for the gCrypto2 binary in the CryptoExample2-0.0.1.tar.gz archive. The Documentation is in the gCrypto2 archive... The Crypto example uses the USE functionality of the Gambas2 package... (I have been informed by Leo that the USE functionality is also available in Gambas 1.0.x... so this version *MAY* be compatible with the Gambas 1.0.x It contains coded for MD5 hashing, CRC-32,24,16 Checksums, Base64 and Radix64 Encoding and Decoding, and Blowfish Encryption & Decryption... Credits for the gCrypto2 module are in the gCrypto2's Readme.1st... Try it out and let me know if y'all have problems or what-not. Thanks! ~Brant __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 From dafyre at ...43... Sat Jan 15 03:12:58 2005 From: dafyre at ...43... (Brant Wells) Date: Fri, 14 Jan 2005 18:12:58 -0800 (PST) Subject: [Gambas-user] Gambas Written Components In-Reply-To: <200501140931.39646.sourceforge-raindog2@...94...> Message-ID: <20050115021258.49275.qmail@...800...> Hey Benoit: I was just gonna ask you if you had managed to implement Gambas written components, or if that is what the USE function is for?? Thanks! ~Brant __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From mstcrow5429 at ...798... Sat Jan 15 05:26:49 2005 From: mstcrow5429 at ...798... (Micah B. Haber) Date: Fri, 14 Jan 2005 23:26:49 -0500 Subject: [Gambas-user] Can't Make Gambas 1.0.2 In-Reply-To: <20050115010410.74BED32A0D@...763...> References: <20050115010410.74BED32A0D@...763...> Message-ID: <41E89B89.2060206@...798...> > >Message: 1 >From: Rob >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] Can't Make Gambas 1.0.2 >Date: Fri, 14 Jan 2005 01:02:24 -0500 >Reply-To: gambas-user at lists.sourceforge.net > >On Thursday 13 January 2005 22:36, Micah B. Haber wrote: > >>I'm using SuSE 9.2 Professional x86-32. When I attempt to >>"make" gambas 1.0.2, I receive the following errors: >>grep: /usr/lib/libjpeg.la: No such file or directory >> > >Sure looks to me like you're missing the 'jpeg-devel' or >'libjpeg-devel' packages. Fire up YAST and see if there's one >for you to install... > >Rob > >Thanks. That worked, but now I have another problem: Making all in sdl make[4]: Entering directory `/home/mhaber/gambas-1.0.2/src/lib/sdl' /bin/sh ../../../libtool --mode=link gcc -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -o lib.gb.sdl.la -rpath /opt/gambas/lib/gambas -no-undefined main.losound.lo -lc -lpthread -lSDL -lSDL_mixer -lm grep: /usr/lib/libaa.la: No such file or directory /usr/bin/sed: can't read /usr/lib/libaa.la: No such file or directory libtool: link: `/usr/lib/libaa.la' is not a valid libtool archive make[4]: *** [lib.gb.sdl.la] Error 1 make[4]: Leaving directory `/home/mhaber/gambas-1.0.2/src/lib/sdl' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/mhaber/gambas-1.0.2/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/mhaber/gambas-1.0.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mhaber/gambas-1.0.2' make: *** [all] Error 2 > From sourceforge-raindog2 at ...94... Sat Jan 15 08:03:41 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 15 Jan 2005 02:03:41 -0500 Subject: [Gambas-user] Can't Make Gambas 1.0.2 In-Reply-To: <41E89B89.2060206@...798...> References: <20050115010410.74BED32A0D@...763...> <41E89B89.2060206@...798...> Message-ID: <200501150203.41837.sourceforge-raindog2@...94...> On Friday 14 January 2005 23:26, Micah B. Haber wrote: > >Thanks. That worked, but now I have another problem: > grep: /usr/lib/libaa.la: No such file or directory On my machine, that file is owned by libaa1-devel. Aalib is the "ASCII Art Library", which is one of the possible output modes of SDL (essentially, rendering everything to ASCII characters so you can view a picture on a terminal or whatever.) I don't suppose YAST has a "search for the package that contains this file", does it? That makes finding dependencies a lot easier when you're trying to build from sources. Rob From srikantux at ...626... Sat Jan 15 09:15:17 2005 From: srikantux at ...626... (Srikanta Prasanna) Date: Sat, 15 Jan 2005 13:45:17 +0530 Subject: [Gambas-user] Difference between Picture and Image? In-Reply-To: <200501130810.14314.sourceforge-raindog2@...94...> References: <41E6591E.2000409@...221...> <200501130810.14314.sourceforge-raindog2@...94...> Message-ID: <7f8e4a5a05011500152f3c1c9@...627...> Yeah! Image Magic project would be cool! I'm starting to go through Magic++ APIs. I feel I can take work on this as a starter :) Thanks! srikanta prasanna On Thu, 13 Jan 2005 08:10:14 -0500, Rob wrote: > On Thursday 13 January 2005 06:18, Eilert wrote: > > What is the difference between Image and Picture? > > To explain this difference, I first have to explain to you how > X11 (the graphics subsystem of Linux and almost every other > Unix) works a little bit. With X, your program can run on one > machine but have its window display on a machine somewhere else > on the Internet, if you want it to. This is so that you can > have one big fast server running many copies of one application, > and a bunch of cheap little terminals displaying that > application (basically, "thin clients", but they didn't use that > term at the time.) > > An Image is a graphic that lives in your program. As such, you > have more access to it and can do more stuff to it, like > stretch, fine rotate, etc. > > A Picture is a graphic that lives on your X display, whether it's > on the same machine or in Mongolia or whatever. So any > manipulation you do to this picture will happen over a network > link or a local pipe, and as such it's likely to be a lot > slower. > > In graphic-intensive apps, I have found myself converting between > Image and Picture quite a bit to use different features of each. > I wonder if Gtk has these issues with process-space graphics vs. > display-space ones, because it's confusing and a little > annoying, even though I understand why it has to be. Maybe an > ImageMagick component would help this somewhat. Hey Srikanta, > maybe that could be a cool first project for you :) > > To sum up, here's how you can think of them: Image is for > manipulation, Picture is for display. > > Rob > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From uwe.gottschling at ...20... Sat Jan 15 12:06:55 2005 From: uwe.gottschling at ...20... (Uwe Gottschling) Date: Sat, 15 Jan 2005 12:06:55 +0100 Subject: [Gambas-user] Slackware 10 with updated Xorg 6.8.1 Message-ID: <001c01c4faf2$53bd96e0$0100a8c0@...802...> Hello, i can't compile gambas 1.0.2 with Xorg 6.8.1 (compiled with make World, make install...). I get this message if i try to compile Gambas: g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/lib/qt-3.3.2/include/ -D_REENTRANT -I/opt/kde/include/ -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT CWebBrowser.lo -MD -MP -MF .deps/CWebBrowser.Tpo -c CWebBrowser.cpp -fPIC -DPIC -o .libs/CWebBrowser.o /bin/sh ../../../../../libtool --mode=link g++ -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -o lib.gb.qt.kde.html.la -rpath /opt/gambas/lib/gambas -no-undefined main.lo moc_main.lo moc_CWebBrowser.lo CWebBrowser.lo -L/usr/lib/qt-3.3.2/lib/ -lgcc_s -lstdc++ -lpthread -lqt-mt -L/opt/kde/lib/ -lkdecore -lkdeui -lDCOP -lkio -lkhtml -lkjs libtool: link: warning: `/usr/lib/./libstdc++.la' seems to be moved grep: /usr/X11R6/lib/libfontconfig.la: No such file or directory /usr/bin/sed: can't read /usr/X11R6/lib/libfontconfig.la: No such file or directory libtool: link: `/usr/X11R6/lib/libfontconfig.la' is not a valid libtool archive make[6]: *** [lib.gb.qt.kde.html.la] Fehler 1 make[6]: Leaving directory `/root/downloads/gambas-1.0.2/src/lib/qt/kde/html' make[5]: *** [all-recursive] Fehler 1 make[5]: Leaving directory `/root/downloads/gambas-1.0.2/src/lib/qt/kde' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/root/downloads/gambas-1.0.2/src/lib/qt' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/root/downloads/gambas-1.0.2/src/lib' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/root/downloads/gambas-1.0.2/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/root/downloads/gambas-1.0.2' make: *** [all] Fehler 2 root at ...801...:~/downloads/gambas-1.0.2# -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jim_Pishlo at ...803... Sat Jan 15 15:31:56 2005 From: Jim_Pishlo at ...803... (Jim Pishlo) Date: Sat, 15 Jan 2005 09:31:56 -0500 Subject: [Gambas-user] Method Overloading Message-ID: <200501150931.56394.Jim_Pishlo@...803...> Hello All. First off. Let me say. I think Gambas is a great thing, and so far shows a lot of promise. I have a question. Is there any way to do Method Overloading in Gambas? I've been through the documentation and can't seem to find anyting on the matter. -Jim Pishlo From dafyre at ...43... Sat Jan 15 16:39:57 2005 From: dafyre at ...43... (Brant Wells) Date: Sat, 15 Jan 2005 07:39:57 -0800 (PST) Subject: [Gambas-user] gCrypto2 -- with Attachments... Message-ID: <20050115153957.14024.qmail@...749...> Hi All: Sorry I've been away so long, but my pooter crashed again. Ha ha ha... anyhow in my absense, I've been able to compile some code that was submitted to the list by several people... The two attachments are the result... The gCrypto2-0.12.tar.gz is the source code for the gCrypto2 binary in the CryptoExample2-0.0.1.tar.gz archive. The Documentation is in the gCrypto2 archive... The Crypto example uses the USE functionality of the Gambas2 package... (I have been informed by Leo that the USE functionality is also available in Gambas 1.0.x... so this version *MAY* be compatible with the Gambas 1.0.x It contains coded for MD5 hashing, CRC-32,24,16 Checksums, Base64 and Radix64 Encoding and Decoding, and Blowfish Encryption & Decryption... Credits for the gCrypto2 module are in the gCrypto2's Readme.1st... Try it out and let me know if y'all have problems or what-not. Thanks! ~Brant __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail -------------- next part -------------- A non-text attachment was scrubbed... Name: CryptoExample2-0.0.1.tar.gz Type: application/x-gzip Size: 22196 bytes Desc: CryptoExample2-0.0.1.tar.gz URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gCrypto2-0.0.12.tar.gz Type: application/x-gzip Size: 30015 bytes Desc: gCrypto2-0.0.12.tar.gz URL: From ericbudd at ...407... Sat Jan 15 18:29:11 2005 From: ericbudd at ...407... (ericbudd at ...407...) Date: Sat, 15 Jan 2005 17:29:11 +0000 Subject: [Gambas-user] Net Socket timing issue? Message-ID: <3khj1l$g4e3m7@...804...> I tried your suggestion, which was interesting, because Ihad been concentrating on the "read" portion of the code. HoweverI am still having the problem. I did discover something interesting that may make it easier, tho... In my socket wrapper class, I have the following code on the MySocket_Read event: READ #sM, LastBuf, Lof(sM) frmMain.txtConsole.Text = frmMain.txtConsole.Text & LastBuf On the frmMain, the button which sends the command has the following code: sockMUSH.Write(ME.txtCommand.Text & Chr(10)) txtConsole.Selection(Len(txtConsole.Text), 0) ' this line moves to the bottom of the display area So the button is clicked, the command is written, the console is correctly updated, but not until AFTER the selection command. The code finishes executing before any data comes back on the port. Is there a way I can force the program to wait until a read has occurred and finished before continuing? Thanks so much! > > From: Daniel Campos > Date: 2005/01/15 Sat AM 01:08:50 GMT > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Net Socket timing issue? > > Eric Budd escribi?: > > > Hey guys-- first of all, GREAT job on Gambas-- I'm lovin' it :D > > > > I'm writing a minimal MUSH client to play around with some of the net > > stuff, but i'm running into a problem. > > > > Whien I send a command with my socket object to my local MUSH test > > server, it goes through fine. When I try to read immediately after > > writing, though, the buffer is not updated. > > > > I'm using the "Read" event to get data as follows: > > > > PUBLIC SUB mySocket_Read() > > READ #sM, LastBuf, Lof(sM) > > FullBuf = FullBuf & LastBuf > > frmBufrWatch.txtBuffer.Text = frmBufrWatch.txtBuffer.Text & LastBuf > > END > > > > When I write a command to the socket, tho: > > > > IF Len(Data) > 0 THEN > > WRITE #sM, Data & Chr(10) > > END IF > > > Try > > WRITE #sM, Data & Chr(10), Len(Data)+1 > > > > > Then try to read the data into a textbox: > > ME.txtConsole.Text = ME.txtConsole.Text & LastBuf > > > > It doesn't come up with the new data unless I force the program to do > > a Wait(1) before I read the "LastBuf" variable. If I Wait(1) right > > after the READ statement, it won't work-- just comes up with whatever > > was already in LastBuf. But the writing to > > frmBufrWatch.txtBuffer.Text always works, whether I wait or not. > > > > Any ideas on why this is happening, and how I can get responses from > > the server without having to put a Wait() in? > > Thanks! :) > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From grrussel at ...786... Sat Jan 15 18:57:07 2005 From: grrussel at ...786... (George Russell) Date: Sat, 15 Jan 2005 17:57:07 +0000 Subject: [Gambas-user] Compilation Failure(s) of Gambas 1.9.2 on OSX Message-ID: <41E95973.2020107@...786...> make install still fails on OSX for the core of gambas, configured as follows. Looking for .dylib.so is um, strange, since .dylib is .so for OSX. ./configure --enable-qt=no --includedir=/sw/include --enable-gettext=no --with-conv-includes=/sw/include --with-conv-libraries=/sw/lib --prefix=/sw --with-intl-includes=/sw/include --with-intl-libraries=/sw/lib --enable-net=no ; make Creating the library info files... gbi: /sw/lib/gambas2/lib.gb.dylib: dlcompat: file "/sw/lib/gambas2/lib.gb.dylib.so" not found make[2]: *** [install-exec-local] Error 1 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 Compilation fails for the gambas QtEditor in linking - see below for configure statement and error message. Perhaps a direct, explicit reference to libX11 is needed? I note that the dependence on Qt + X11 precludes it working directly with Qt/Mac as a native aqua i.e. non X11 application, although compilation with Qt/Mac could be achieved by eliminatingthe use of X11 and X11 non portable Qt functions. ./configure --with-qt-libraries=/sw/lib --with-qt-includes=/sw/include/qt --includedir=/sw/include --enable-gettext=no --with-conv-includes=/sw/include --with-conv-libraries=/sw/lib --prefix=/sw --with-intl-includes=/sw/include --with-intl-libraries=/sw/lib --enable-net=no g++ -dynamiclib -single_module -o .libs/lib.gb.qt.0.0.0.dylib .libs/moc_main.o .libs/main.o .libs/CFont.o .libs/CScreen.o .libs/moc_CWidget.o .libs/CWidget.o .libs/moc_CWindow.o .libs/CWindow.o .libs/moc_CButton.o .libs/CButton.o .libs/moc_CContainer.o .libs/CContainer.o .libs/moc_CLabel.o .libs/CLabel.o .libs/moc_CListBox.o .libs/CListBox.o .libs/moc_CTextBox.o .libs/CTextBox.o .libs/moc_CPictureBox.o .libs/CPictureBox.o .libs/moc_CMenu.o .libs/CMenu.o .libs/moc_CMouse.o .libs/CMouse.o .libs/moc_CKey.o .libs/CKey.o .libs/moc_CColor.o .libs/CColor.o .libs/CConst.o .libs/moc_CCheckBox.o .libs/CCheckBox.o .libs/moc_CFrame.o .libs/CFrame.o .libs/moc_CPanel.o .libs/CPanel.o .libs/moc_CRadioButton.o .libs/CRadioButton.o .libs/moc_CTreeView.o .libs/CTreeView.o .libs/moc_CGridView.o .libs/CGridView.o .libs/moc_CTextArea.o .libs/CTextArea.o .libs/moc_CTabStrip.o .libs/CTabStrip.o .libs/moc_CDialog.o .libs/CDialog.o .libs/moc_CPicture.o .libs/CPicture.o .libs/moc_CImage.o .libs/CImage.o .libs/moc_CDrawing.o .libs/CDrawing.o .libs/CClipboard.o .libs/CDraw.o .libs/moc_CTimer.o .libs/CTimer.o .libs/moc_CWatch.o .libs/CWatch.o .libs/moc_CScrollView.o .libs/CScrollView.o .libs/moc_CDrawingArea.o .libs/CDrawingArea.o .libs/moc_CProgress.o .libs/CProgress.o .libs/moc_CMessage.o .libs/CMessage.o .libs/moc_CPrinter.o .libs/CPrinter.o .libs/moc_CIconView.o .libs/CIconView.o -L/lib -L/usr/X11R6/lib -L/sw/lib -lstdc++ -lpthread /sw/lib/libqt-mt.dylib -install_name /sw/lib/gambas2/lib.gb.qt.0.dylib -compatibility_version 1 -current_version 1.0 ld: warning -L: directory name (/lib) does not exist ld: .libs/CWindow.o illegal reference to symbol: _XChangeProperty defined in indirectly referenced dynamic library /usr/X11R6/lib/libX11.6.dylib /usr/bin/libtool: internal link edit command failed make[5]: *** [lib.gb.qt.la] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 George-Russells-Computer:~/Desktop/gambas2-1.9.2 georgerussell$ From daniel.campos at ...338... Sat Jan 15 20:09:36 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 15 Jan 2005 20:09:36 +0100 Subject: [Gambas-user] Net Socket timing issue? In-Reply-To: <3khj1l$g4e3m7@...804...> References: <3khj1l$g4e3m7@...804...> Message-ID: <41E96A70.8040208@...338...> ericbudd at ...407... escribi?: >I tried your suggestion, which was interesting, because Ihad been concentrating on the "read" portion of the code. HoweverI am still having the problem. I did discover something interesting that may make it easier, tho... > >In my socket wrapper class, I have the following code on the MySocket_Read event: > > READ #sM, LastBuf, Lof(sM) > frmMain.txtConsole.Text = frmMain.txtConsole.Text & LastBuf > >On the frmMain, the button which sends the command has the following code: > > sockMUSH.Write(ME.txtCommand.Text & Chr(10)) > txtConsole.Selection(Len(txtConsole.Text), 0) ' this line moves to the bottom of the display area > > So the button is clicked, the command is written, the console is correctly updated, but not until AFTER the selection command. The code finishes executing before any data comes back on the port. > > Is there a way I can force the program to wait until a read has occurred and finished before continuing? > >Thanks so much! > > > > The Socket class is non-blocking, so the only way to wait is writting a loop: Do While Lof(sM)=0 WAIT (0.1) ' or the time you want :-) Loop Regards, D. Campos From gambas at ...1... Sat Jan 15 21:36:11 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 15 Jan 2005 21:36:11 +0100 Subject: [Gambas-user] Scaling Images or Pictures? In-Reply-To: <41E65743.8020104@...221...> References: <41E65743.8020104@...221...> Message-ID: <200501152136.11196.gambas@...1...> On Thursday 13 January 2005 12:10, Eilert wrote: > Hi, > > is it possible to scale the picture when I do > > Draw.Image > > or > > Draw.Picture > > ??? > > I only find a way to crop the picture. But when I want to print the > picture within a text page, for example, I will have to scale it to a > fixed size. The size the picture was scanned in dots will not be of use. > The same applies for a preview: the picture must be scaled to fit into > its place. > > Rolf > > Use the Stretch method of the Image class this way: Draw.Image(MyImage.Stretch(NewX, NewY)) Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Sat Jan 15 21:50:07 2005 From: karl.reinl at ...9... (Charlie) Date: Sat, 15 Jan 2005 21:50:07 +0100 Subject: [Gambas-user] a question about gb.db (on version 1.0.2) Message-ID: <41E981FF.1030008@...9...> Salut, i'v a problem, with gb.db. I didn't find how delete a record from a table ??? The only way I see actually, is an SQL-Statment. Or ?? Any hint wellcome. Amicalment Charlie From mstcrow5429 at ...798... Sat Jan 15 23:33:19 2005 From: mstcrow5429 at ...798... (Micah B. Haber) Date: Sat, 15 Jan 2005 17:33:19 -0500 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #1114 - 6 msgs In-Reply-To: <20050115154202.0977E33CCC@...763...> References: <20050115154202.0977E33CCC@...763...> Message-ID: <41E99A2F.60706@...798...> --__--__-- >Message: 2 >From: Rob >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] Can't Make Gambas 1.0.2 >Date: Sat, 15 Jan 2005 02:03:41 -0500 >Reply-To: gambas-user at lists.sourceforge.net > >On Friday 14 January 2005 23:26, Micah B. Haber wrote: > >>>Thanks. That worked, but now I have another problem: >>> >>grep: /usr/lib/libaa.la: No such file or directory >> > >On my machine, that file is owned by libaa1-devel. Aalib is the >"ASCII Art Library", which is one of the possible output modes >of SDL (essentially, rendering everything to ASCII characters so >you can view a picture on a terminal or whatever.) > >I don't suppose YAST has a "search for the package that contains >this file", does it? That makes finding dependencies a lot >easier when you're trying to build from sources. > >Rob > Aalib, an ASCII Art Library, is installed according to YAST2. So then I went and installed AAlib-devel, and it configured and maked correctly! So now I have a nicely compiled usable install of Gambas 1.0.2 on my Linux laptop. Thanks! From amon at ...715... Sun Jan 16 14:09:12 2005 From: amon at ...715... (Amon Forstmann) Date: Sun, 16 Jan 2005 14:09:12 +0100 Subject: [Gambas-user] Importing old projects In-Reply-To: <41E6F81A.9010409@...9...> References: <1105563666.18217.4.camel@...794...> <41E6F81A.9010409@...9...> Message-ID: <1105880953.4047.1.camel@...794...> That was not the problem... the .project file was missing. I forgot to backup hidden files ;) I used a new one and edited it, now everything works fine again. amon Am Donnerstag, den 13.01.2005, 23:37 +0100 schrieb Charlie: > Amon Forstmann schrieb: > > >Hi there, > > > >is it possible to import "old" projects done with one of the RCs ? > > > >The gambas logo isn't shown in the open project dialog in front of my > >old projects. > > > In your old project, there was not the possibillity to assigne a logo to > the project. OK;-) But you can now. > > > > >thx for help, > >amon > > > > > > > > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From fidojones at ...626... Sun Jan 16 20:21:20 2005 From: fidojones at ...626... (Lorenzo Tejera) Date: Sun, 16 Jan 2005 20:21:20 +0100 Subject: [Gambas-user] could some resend workspace-0.0.1.tar.gz example? Message-ID: <27ad0d1a050116112153db4d99@...627...> could some resend workspace-0.0.1.tar.gz example? I'm trying to user for my project but I don't undestand who to use it and I can't found the file. Please Thanks Lorenzo Tejera From fidojones at ...805... Sun Jan 16 20:26:17 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Sun, 16 Jan 2005 20:26:17 +0100 Subject: [Gambas-user] could some resend workspace-0.0.1.tar.gz example? Message-ID: <200501162026.18156.fidojones@...805...> could some resend workspace-0.0.1.tar.gz example? I'm trying to user for my project but I don't undestand who to use it and I can't found the file. Please Thanks Lorenzo Tejera From lordheavy at ...512... Sun Jan 16 21:29:00 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 16 Jan 2005 21:29:00 +0100 Subject: [Gambas-user] could some resend workspace-0.0.1.tar.gz example? In-Reply-To: <200501162026.18156.fidojones@...805...> References: <200501162026.18156.fidojones@...805...> Message-ID: <200501162129.01339.lordheavy@...512...> Le Dimanche 16 Janvier 2005 20:26, Lorenzo Tejera a ?crit?: > could some resend workspace-0.0.1.tar.gz example? > > I'm trying to user for my project but I don't undestand who to use it > and I can't found the file. > > Please > > Thanks > > Lorenzo Tejera Joined :) -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: workspace-0.0.1.tar.gz Type: application/x-tgz Size: 2615 bytes Desc: not available URL: From nut-lux at ...321... Sun Jan 16 23:26:37 2005 From: nut-lux at ...321... (Jose J Alfaro) Date: Sun, 16 Jan 2005 23:26:37 +0100 Subject: [Gambas-user] Segmentation Fault compiling Message-ID: <1105914397.22377.6.camel@...37...> Hi, I'm trying to compile Gambas 1.0.1 or Gambas 1.0.2 and I obtain a segmentation fault when it looks for external internationalization libraries. I compiled gambas-0.99.RC4 without problems I attach the output of configure Thanks -------------- next part -------------- checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for wait3 that fills in rusage... yes checking for getcwd... yes checking for gettimeofday... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtod... yes checking for strtol... yes checking for sysinfo... yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for main in -lm... yes checking for main in -lz... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for external internationalization library headers... /usr/include/ checking for external internationalization library libraries... From nut-lux at ...321... Sun Jan 16 23:46:38 2005 From: nut-lux at ...321... (Jose J Alfaro) Date: Sun, 16 Jan 2005 23:46:38 +0100 Subject: [Gambas-user] Segmentation Fault compiling In-Reply-To: <1105914397.22377.6.camel@...37...> References: <1105914397.22377.6.camel@...37...> Message-ID: <1105915598.6613.1.camel@...37...> El dom, 16-01-2005 a las 23:26 +0100, Jose J Alfaro escribi?: > Hi, > > I'm trying to compile Gambas 1.0.1 or Gambas 1.0.2 and I obtain a > segmentation fault when it looks for external internationalization > libraries. > > I compiled gambas-0.99.RC4 without problems > > I attach the output of configure It's strange: configure has worked great after rebooting my pc Thanks anyway From frankberg at ...390... Mon Jan 17 10:15:35 2005 From: frankberg at ...390... (Frank Berg) Date: Mon, 17 Jan 2005 10:15:35 +0100 Subject: [Gambas-user] create an form on runtime Message-ID: <000701c4fc75$1e354fc0$c6f0fea9@...602...> hi, 1.) i was try to create an form to runtime. the form is created, but the events are not received. 2.) events on button und labels are ok 3.) i can`t set the timer on the form its come the error "to many parameters" its seems to be an conflict between the timer function and the timer class what is wrong? frank -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Form1.class Type: application/octet-stream Size: 98 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Form1.form Type: application/octet-stream Size: 175 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Class1.class Type: application/octet-stream Size: 554 bytes Desc: not available URL: From christian.faurebouvard at ...357... Mon Jan 17 12:34:35 2005 From: christian.faurebouvard at ...357... (Christian Faure) Date: Mon, 17 Jan 2005 08:34:35 -0300 Subject: [Gambas-user] Re: create an form on runtime In-Reply-To: <000701c4fc75$1e354fc0$c6f0fea9@...602...> References: <000701c4fc75$1e354fc0$c6f0fea9@...602...> Message-ID: <200501170834.35363.christian.faurebouvard@...357...> El Lunes, 17 de Enero de 2005 06:15, Frank Berg escribi?: > hi, > > 1.) > i was try to create an form to runtime. > the form is created, but the events are not received. > > 2.) > events on button und labels are ok > > 3.) > i can`t set the timer on the form > its come the error "to many parameters" > its seems to be an conflict between the timer function and the timer class > > what is wrong? > > frank Hi, Event Click NOT EXISTS in Form object in Class1.TestForm() you can add: object.Attach( , ME , ) ------------ Class1 modified: --------------------- ' Gambas class file PRIVATE fo AS Form PRIVATE ti AS Timer PRIVATE TimerFlag AS Boolean PUBLIC SUB testForm() DIM x AS Integer fo=NEW form AS "myForm" fo.Height =200 fo.Width =300 fo.Caption = "New Form created by class" object.Attach(fo,ME,"myForm") ti=NEW Timer AS "myTimer" ti.Delay =5000 ti.Enabled =TRUE object.Attach(ti,ME,"myTimer") fo.Show fo.SetFocus END PUBLIC SUB myForm_DblClick() PRINT "receive an DblClick" END PUBLIC SUB myForm_Click() 'click not exists in form object PRINT "receive an Click" END PUBLIC SUB myForm_Resize() PRINT "form is resized" END PUBLIC SUB myForm_Close() PRINT "form is now closed" END PUBLIC SUB myTimer_Timer() PRINT "The timer is there" END ---------------------------------------------------------------- From pishloj at ...803... Mon Jan 17 14:10:52 2005 From: pishloj at ...803... (pishloj at ...803...) Date: Mon, 17 Jan 2005 08:10:52 -0500 (EST) Subject: [Gambas-user] Method Overloading (reprise) Message-ID: <50349.12.20.105.98.1105967452.squirrel@...806...> Is there any way to do method overloading in the current version of Gambas? I've been through the documentation, and can't seem to find anything about it. -Jim From bwells at ...475... Mon Jan 17 14:42:37 2005 From: bwells at ...475... (Brant Wells) Date: Mon, 17 Jan 2005 08:42:37 -0500 Subject: [Gambas-user] Method Overloading (reprise) In-Reply-To: <50349.12.20.105.98.1105967452.squirrel@...806...> References: <50349.12.20.105.98.1105967452.squirrel@...806...> Message-ID: <200501170842.37715.bwells@...475...> Hey Jim: What is method overloading?? (I dont' recall ever hearing that phrase before...) Thanks! ~Brant On Monday 17 January 2005 08:10 am, pishloj at ...803... wrote: > Is there any way to do method overloading in the current version of > Gambas? I've been through the documentation, and can't seem to find > anything about it. > > -Jim > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- ~Brant Wells, Network Administrator Toccoa Falls College Toccoa Falls, GA 30598 706-886-7299 x 5413 From lordheavy at ...512... Mon Jan 17 15:42:30 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 17 Jan 2005 15:42:30 +0100 Subject: [Gambas-user] Method Overloading (reprise) In-Reply-To: <200501170842.37715.bwells@...475...> References: <50349.12.20.105.98.1105967452.squirrel@...806...> <200501170842.37715.bwells@...475...> Message-ID: <200501171542.30222.lordheavy@...512...> Le Lundi 17 Janvier 2005 14:42, Brant Wells a ?crit?: > Hey Jim: > > What is method overloading?? (I dont' recall ever hearing that phrase > before...) > > Thanks! > ~Brant > with c++, method overloading meaning to define several methods with the same names but arguments are differents and interpreter choose the method to call from the type of arguments : public sub mymethod(toto as string) print "length : " & str(len(toto)) end sub mymethod(toto as integer) print "result : " & str(toto*2) end then if you call : mymethod("test") -> length : 4 mymethod(5) -> result : 10 But i think Gambas doesn't support overloading actually :) Regards, -- Laurent Carlier From julien at ...782... Mon Jan 17 15:53:39 2005 From: julien at ...782... (Julien Barbier) Date: Mon, 17 Jan 2005 15:53:39 +0100 Subject: [Gambas-user] Method Overloading (reprise) In-Reply-To: <200501170842.37715.bwells@...475...> References: <50349.12.20.105.98.1105967452.squirrel@...806...> <200501170842.37715.bwells@...475...> Message-ID: <1105973619.4069.9.camel@...783...> in c++ it's something like that : class machin { int truc(); int truc(int bazar); } It's when you re-define a method with other parameters. On Mon, 2005-01-17 at 14:42, Brant Wells wrote: > Hey Jim: > > What is method overloading?? (I dont' recall ever hearing that phrase > before...) > > Thanks! > ~Brant > > On Monday 17 January 2005 08:10 am, pishloj at ...803... wrote: > > Is there any way to do method overloading in the current version of > > Gambas? I've been through the documentation, and can't seem to find > > anything about it. > > > > -Jim > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- Julien Barbier IP SERVICES SPECIALIST Belgacom International Customer Services (ICS) ---------------------------------------------- AS6774 reply-to : noc at ...782... peering : peering at ...782... NOC Tel : +32 2/547.51.51 Option 1 - 3 www.belgacom.be/carrier -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.campos at ...338... Mon Jan 17 17:13:42 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 17 Jan 2005 17:13:42 +0100 Subject: [Fwd: Re: [Gambas-user] Method Overloading (reprise)] Message-ID: <41EBE436.8090807@...338...> -------------- next part -------------- An embedded message was scrubbed... From: Daniel Campos Subject: Re: [Gambas-user] Method Overloading (reprise) Date: Mon, 17 Jan 2005 16:45:59 +0100 Size: 1176 URL: From eilert-sprachen at ...221... Mon Jan 17 17:59:35 2005 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 17 Jan 2005 17:59:35 +0100 Subject: [Gambas-user] Highlighting text Message-ID: <41EBEEF7.9040206@...221...> Is there a way to highlight text by using different colours or fonts, for example in the TextArea? What about the GambasEditor? Can I change the list of key words so it highlights them? Rolf From bwells at ...475... Mon Jan 17 18:41:58 2005 From: bwells at ...475... (Brant Wells) Date: Mon, 17 Jan 2005 12:41:58 -0500 Subject: [Gambas-user] Method Overloading (reprise) In-Reply-To: <1105973619.4069.9.camel@...783...> References: <50349.12.20.105.98.1105967452.squirrel@...806...> <200501170842.37715.bwells@...475...> <1105973619.4069.9.camel@...783...> Message-ID: <200501171241.58720.bwells@...475...> Thanks for the explanations, y'all. I understand it... but couldn't that get confusing if you have two methods or functions with the same name?? Why not just do Sub mysub(myarg as variant) if isnumeric(myarg) then 'do something to the number else 'do something to the string end ??? ~Brant Wells, Network Administrator Toccoa Falls College Toccoa Falls, GA 30598 706-886-7299 x 5413 From gambas-users at ...790... Mon Jan 17 19:54:44 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Mon, 17 Jan 2005 18:54:44 +0000 Subject: [Gambas-user] Method Overloading (reprise) In-Reply-To: <200501171241.58720.bwells@...475...> References: <50349.12.20.105.98.1105967452.squirrel@...806...> <200501170842.37715.bwells@...475...> <1105973619.4069.9.camel@...783...> <200501171241.58720.bwells@...475...> Message-ID: <41EC09F4.3010209@...790...> Brant Wells wrote: > Thanks for the explanations, y'all. > > I understand it... but couldn't that get confusing if you have two methods or > functions with the same name?? I've never found it so, in any of the languages I've used it in. How could it be confusing? You just think of the parameter type list as part of the function name. > Why not just do > > Sub mysub(myarg as variant) > if isnumeric(myarg) then > 'do something to the number > else > 'do something to the string > end This can't be optimised at compile or link time, unlike overloaded functions. (ie, in C++, the linker knows exactly where the right function is, so the code that's generated is just a jump there, your way requires jumping to one function, and then code executed to do the same thing, so it's not as quick.) -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From gambasfr at ...11... Mon Jan 17 19:56:13 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 17 Jan 2005 19:56:13 +0100 Subject: [Gambas-user] Highlighting text In-Reply-To: <41EBEEF7.9040206@...221...> References: <41EBEEF7.9040206@...221...> Message-ID: <200501171956.13866.gambasfr@...11...> Le lundi 17 Janvier 2005 17:59, Eilert a ?crit?: > Is there a way to highlight text by using different colours or fonts, > for example in the TextArea? you can use some html tags in textview > > What about the GambasEditor? Can I change the list of key words so it > highlights them? in my knowledge... no you can't But it's a good idea for a source colorizer componant Fabien > > Rolf > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From frankberg at ...390... Mon Jan 17 21:13:17 2005 From: frankberg at ...390... (Frank Berg) Date: Mon, 17 Jan 2005 21:13:17 +0100 Subject: [Gambas-user] fonts Message-ID: <003501c4fcd0$fd5f60e0$c6f0fea9@...602...> hi, my next question is about fonts. how can i get the actuell pixel values of font.heigth and font.width (in same pixelvalue as ME.x and ME.y) so i can set an correct size to button or labels x=font.width("This is an teststring to see how many pixels this string are long") y=font.heigh("H") any ideas?? frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronstk at ...239... Mon Jan 17 23:54:09 2005 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 17 Jan 2005 23:54:09 +0100 Subject: [Gambas-user] Class to Read/Write INI files In-Reply-To: <200501121048.00946.gambas@...1...> References: <41E0A5AF.1060707@...776...> <000a01c4f888$3d140760$c6f0fea9@...602...> <200501121048.00946.gambas@...1...> Message-ID: <200501172354.09553.ronstk@...239...> On Wednesday 12 January 2005 10:48, Benoit Minisini wrote: | On Wednesday 12 January 2005 10:22, Frank Berg wrote: --8<----- | LINE INPUT reads the file until finding a newline character '\n' or the end of | file. The '\n' character is not returned. | | On Unix systems, lines are delimited with '\n', not '\r\n' like on Windows | (what a stupid idea). | | > and | > | > call_from = - --8<----- Regards, | That is not stupid at all. It is historical, \n as _newline_ did go to a new line and the character position was keep the same. The \r as _return_ was the carriage return to be able to bold printing by do it twice. Printer options in the past, for example the FX80 from epson, has a option switch to add a _return_ after receiving a _linefeed_ because it was logical to have it in normal _1 go_ printing. See a page as an pre printed order form with two columns 1 description field and cost and 1 price field per row. Go to the second column, print the count and the price, send backspaces to go to the start of the 2' column and do linefeed for net price. This way was more quick on the (very old now) printers in history to get nice tabular pre printed order forms. :) Now you must print spaces till you are at the 2' column what cost more characters than the backspaces. Printing to file results also in smaller files. It is more stupid the way _unix/linux_ does. Maybe more user friendly now a days with some mistake behavior. It is not the fault from printer manufacture, windows/linux/ user does print the whole form with the expensive inkjet and ink printers. Pre printer sheets are still cheaper than printing your self :). Back from tennerife with some salt :) Ron ps. job done but in april again for 4/6 weeks. From sourceforge-raindog2 at ...94... Tue Jan 18 02:45:27 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 17 Jan 2005 20:45:27 -0500 Subject: [Gambas-user] fonts In-Reply-To: <003501c4fcd0$fd5f60e0$c6f0fea9@...602...> References: <003501c4fcd0$fd5f60e0$c6f0fea9@...602...> Message-ID: <200501172045.27096.sourceforge-raindog2@...94...> On Monday 17 January 2005 15:13, Frank Berg wrote: > how can i get the actuell pixel values of font.heigth and > font.width (in same pixelvalue as ME.x and ME.y) so i can set > an correct size to button or labels That is device dependent (i.e. it's different between the screen and the printer) so you use Draw.TextHeight and Draw.TextWidth to get those values. I think you might have to have a Draw.Begin active when you call those methods. Rob From frankberg at ...390... Tue Jan 18 07:53:11 2005 From: frankberg at ...390... (Frank Berg) Date: Tue, 18 Jan 2005 07:53:11 +0100 Subject: [Gambas-user] Class to Read/Write INI files References: <41E0A5AF.1060707@...776...> <000a01c4f888$3d140760$c6f0fea9@...602...> <200501121048.00946.gambas@...1...> <200501172354.09553.ronstk@...239...> Message-ID: <001a01c4fd2a$6369fa40$c6f0fea9@...602...> hi, i was find my mistake.. 1.) i was read from an plain textfile, that i was edit with kwrite before edit with kwrite : all textlines was clean, after edit with kwrite all textline was addet an \r this can be deletet by killing 1 char from right, no problem.. \r = chr(13) 2.) the textfile i was use, come from the capisuite program i use as my telefon answer. this program add an new voice file with an textfile, and my iniFileRead shold read this file. there are lines like : [GLOBAL] call_from = "046122148" for user with call call_from = "-" for user without call i was read the string with LINE INPUT, and in the execute window i can see the variable with contens. "call_from = \"-\"\r" after kutting \r and split(s,"=") the value[1] contens are "\"-\"" the \" are now the ascii token for chr(34) = " after kutting all chr(34) from the value only "-" are shown and the last 2 " are now from gambas, to show, it is an string variable the variable self are now clean as - or 046122148 yes, linux is different to windows, but i`m lerning every day :-) frank > | LINE INPUT reads the file until finding a newline character '\n' or the > end of > | file. The '\n' character is not returned. > | > | On Unix systems, lines are delimited with '\n', not '\r\n' like on > Windows > | (what a stupid idea). > | > | > and > | > > | > call_from = - > --8<----- > Regards, > | > > That is not stupid at all. > > It is historical, \n as _newline_ did go to a new line and the > character position was keep the same. > The \r as _return_ was the carriage return to be able to bold printing > by do it twice. > > Printer options in the past, for example the FX80 from epson, > has a option switch to add a _return_ after receiving a _linefeed_ > because it was logical to have it in normal _1 go_ printing. > > See a page as an pre printed order form with two columns > 1 description field and cost and 1 price field per row. > Go to the second column, print the count and the price, send backspaces > to go to the start of the 2' column and do linefeed for net price. > > This way was more quick on the (very old now) printers in history > to get nice tabular pre printed order forms. :) > Now you must print spaces till you are at the 2' column > what cost more characters than the backspaces. > Printing to file results also in smaller files. > > It is more stupid the way _unix/linux_ does. > Maybe more user friendly now a days with some mistake behavior. > > It is not the fault from printer manufacture, windows/linux/ user does > print the whole form with the expensive inkjet and ink printers. > Pre printer sheets are still cheaper than printing your self :). > > Back from tennerife with some salt :) > > Ron > > ps. job done but in april again for 4/6 weeks. > From julien at ...782... Tue Jan 18 08:47:10 2005 From: julien at ...782... (Julien Barbier) Date: Tue, 18 Jan 2005 08:47:10 +0100 Subject: [Gambas-user] Method Overloading (reprise) In-Reply-To: <41EC09F4.3010209@...790...> References: <50349.12.20.105.98.1105967452.squirrel@...806...> <200501170842.37715.bwells@...475...> <1105973619.4069.9.camel@...783...> <200501171241.58720.bwells@...475...> <41EC09F4.3010209@...790...> Message-ID: <1106034430.17363.7.camel@...783...> Don't forget, in C/C++ and other stuff like this, you don't have a variant type ! (maybe in object oriented language, ok, with an Object class, but it's kindly different). Variant type is not the most optimized way to work with I think. Julien On Mon, 2005-01-17 at 19:54, Rob Kendrick wrote: > Brant Wells wrote: > > Thanks for the explanations, y'all. > > > > I understand it... but couldn't that get confusing if you have two methods or > > functions with the same name?? > > I've never found it so, in any of the languages I've used it in. How > could it be confusing? You just think of the parameter type list as > part of the function name. > > > Why not just do > > > > Sub mysub(myarg as variant) > > if isnumeric(myarg) then > > 'do something to the number > > else > > 'do something to the string > > end > > This can't be optimised at compile or link time, unlike overloaded > functions. (ie, in C++, the linker knows exactly where the right > function is, so the code that's generated is just a jump there, your way > requires jumping to one function, and then code executed to do the same > thing, so it's not as quick.) -------------- next part -------------- An HTML attachment was scrubbed... URL: From eilert-sprachen at ...221... Tue Jan 18 09:45:22 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 18 Jan 2005 09:45:22 +0100 Subject: [Gambas-user] Highlighting text In-Reply-To: <200501171956.13866.gambasfr@...11...> References: <41EBEEF7.9040206@...221...> <200501171956.13866.gambasfr@...11...> Message-ID: <41ECCCA2.6050600@...221...> Bodard Fabien schrieb: > Le lundi 17 Janvier 2005 17:59, Eilert a ?crit : > >>Is there a way to highlight text by using different colours or fonts, >>for example in the TextArea? > > > you can use some html tags in textview But in textview I can't edit the text, just view it, can I? > > >>What about the GambasEditor? Can I change the list of key words so it >>highlights them? > > in my knowledge... no you can't > > But it's a good idea for a source colorizer componant Or just add colorizing to TextArea. Or doesn't the qt component support this? Is there a qt component that would support such things? Otherwise, the Gambas editor component would be a good start for this. Isn't it Gambas, or is it C++? If it's Gambas, where can I find the source? Anyway, I'll start with a simple TextArea. It was just an idea to improve my program while converting it from VB to Gambas. Rolf From gambas at ...1... Tue Jan 18 09:55:00 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 18 Jan 2005 09:55:00 +0100 Subject: [Gambas-user] Method Overloading (reprise) In-Reply-To: <50349.12.20.105.98.1105967452.squirrel@...806...> References: <50349.12.20.105.98.1105967452.squirrel@...806...> Message-ID: <200501180955.00236.gambas@...1...> On Monday 17 January 2005 14:10, pishloj at ...803... wrote: > Is there any way to do method overloading in the current version of > Gambas? I've been through the documentation, and can't seem to find > anything about it. > > -Jim > There is no method overloading in Gambas. You can use optional arguments yet. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jan 18 10:04:05 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 18 Jan 2005 10:04:05 +0100 Subject: [Gambas-user] fonts In-Reply-To: <003501c4fcd0$fd5f60e0$c6f0fea9@...602...> References: <003501c4fcd0$fd5f60e0$c6f0fea9@...602...> Message-ID: <200501181004.05416.gambas@...1...> On Monday 17 January 2005 21:13, Frank Berg wrote: > hi, > > my next question is about fonts. > > how can i get the actuell pixel values of font.heigth and font.width (in > same pixelvalue as ME.x and ME.y) so i can set an correct size to button or > labels > > x=font.width("This is an teststring to see how many pixels this string are > long") y=font.heigh("H") > > any ideas?? > > frank What is the problem with Font.Width and Font.Height ? -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Tue Jan 18 20:43:16 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 18 Jan 2005 20:43:16 +0100 Subject: [Gambas-user] running gambas on Windows Server 2003 Message-ID: <200501182043.16066.Karl.Reinl@...9...> Salut, after reading an article in german c't magazin (2/2005) about an linux running on Windows, I tested it . The distributions called coLinux what means 'Cooperative Linux' . You install it under Windows and you run it under Windows. Via an X-Server for Windows you send your DISPLAY from the coLinux to the Windows X-Server and you ran gambas on Windows. No pb with QT or anything else. Like you can see on the screenshot, only the Maskot has a Problem , it shows the Titlebar. I worked with the IDE, compiled and ran compiled gambas programs. coLinux you find at http://www.colinux.org you find there a Wiki and a lot of distris pre-installedfor down loading. Even that is the first time for me, where I ran on Linux a Vmware-Windows which ran a Linux into. About, the attachment (couldn't it get smaller) For all those who have only a modem to put and get theire mails, me also, I have only a ISDN-modem which works about with 48000 k. Amicalment Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: GambusRunsWindows2.jpg Type: image/jpeg Size: 94299 bytes Desc: not available URL: From th.pfeffer at ...808... Tue Jan 18 21:04:23 2005 From: th.pfeffer at ...808... (Thorsten Pfeffer) Date: Tue, 18 Jan 2005 21:04:23 +0100 Subject: [Gambas-user] Problem when using forms Message-ID: <1106078663.6657.3.camel@...280...> hello, as soon as I am doing anything with forms, e.g. opening one from an example or creating a new one, I get the error message: [12] Not an object. At: FProperty.RefreshAll.109 Then I can only click OK and Gambas immediately shuts down completely. What can I do? I am using Suse 9.2, and Gambas 0.90 coming with the Suse distribution. Thanks for help, Thorsten -------------- next part -------------- An HTML attachment was scrubbed... URL: From Karl.Reinl at ...9... Tue Jan 18 23:06:01 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 18 Jan 2005 23:06:01 +0100 Subject: [Gambas-user] Bug: in gambas-1.0.2 ?? Message-ID: <200501182306.01959.Karl.Reinl@...9...> Salut, while preparing a gambas IDE with PrettyPrinter and a source-code Printer. Carsten Olsen, remarked that he can't see the ToolTip. I only had problems with the Tabs (see ToolTip) it makes funny things with the cursor, it jumps funny after formating the source, and by the way, what does see ToolTip means no ToolTip appears ? I had a look into the ToolTip is filled. But now I remarked, that I'v no tooltip at all in the IDE. Where is the problem ? In gambas or the translation or ..... Amicalment Charlie From sourceforge-raindog2 at ...94... Wed Jan 19 00:18:37 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 18 Jan 2005 18:18:37 -0500 Subject: [Gambas-user] Deletion of tabs from a TabStrip In-Reply-To: <41E80CE2.7010805@...790...> References: <41E5A154.6010002@...790...> <200501140931.39646.sourceforge-raindog2@...94...> <41E80CE2.7010805@...790...> Message-ID: <200501181818.37108.sourceforge-raindog2@...94...> On Friday 14 January 2005 13:18, Rob Kendrick wrote: > > Unfortunately, the tabs themselves aren't real controls and > > therefore don't automatically have a delete method. The > > underlying Qt control, QTabBar, does have a removeTab method > > and so it should be possible to add a .Remove or .Delete to > > the .Tab virtual class in Gambas. I'll look into it today > > and see if I can submit a patch against gambas 1.9.x. > That'd be great, thanks! On another point, is it possible to > create new widgets on a tab without having to first switch to > it? I've briefly played with this, but with little success. My bad, it turns out TabStrip is based on a QTabWidget, not a QTabBar. QTabBar is a more similar widget to what TabStrip does, but seems to be deprecated or something. QTabWidget uses a widget (in our case, a QPanel) for each tab, and while it's simple enough to remove the reference to that tab, I will need to patch the qt component to destroy the widget and all its contents, and I dunno how easy that is gonna be. It is definitely possible to add widgets to a tab in a QTabWidget control, but the way the TabStrip is implemented I'm not sure this is practical. When I have more time to hack at this, I'll see if I can do that. Hopefully this won't make it too difficult to develop the gtk version of the TabStrip :) Rob From stillj7388 at ...159... Wed Jan 19 04:30:50 2005 From: stillj7388 at ...159... (Jeff Stillinger) Date: Tue, 18 Jan 2005 19:30:50 -0800 Subject: [Gambas-user] Num Lock Key Message-ID: <41EDD46A.8020803@...159...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This may sound like a silly question. Upon start up of my program I would like the num lock key to be turned on. Can gambas do that? - -- Public Cypher Keys located at: pgp.mit.edu gpg --keyserver pgp.mit.edu --search-keys stillj7388 at ...159... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7dRquzr6OAHaKjMRApqZAJ9UuohIZ6r4/ZNKHOFd70XF5epimgCffYOS s/k7z0my0KiS/ZU4mfyiBxA= =zII8 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: stillj7388.vcf Type: text/x-vcard Size: 416 bytes Desc: not available URL: From gambas at ...1... Wed Jan 19 10:58:38 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 19 Jan 2005 10:58:38 +0100 Subject: [Gambas-user] running gambas on Windows Server 2003 In-Reply-To: <200501182043.16066.Karl.Reinl@...9...> References: <200501182043.16066.Karl.Reinl@...9...> Message-ID: <200501191058.38661.gambas@...1...> On Tuesday 18 January 2005 20:43, Charlie Reinl wrote: > Salut, > > after reading an article in german c't magazin (2/2005) about an linux > running on Windows, I tested it . > > The distributions called coLinux what means 'Cooperative Linux' . > You install it under Windows and you run it under Windows. > Via an X-Server for Windows you send your DISPLAY from the coLinux to the > Windows X-Server and you ran gambas on Windows. > No pb with QT or anything else. > > Like you can see on the screenshot, only the Maskot has a Problem , it > shows the Titlebar. > Because the window manager you use is not freedesktop compliant... But, hey, this may be a solution to those who want to run Gambas programs on Windows... Herk :-( -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jan 19 11:00:20 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 19 Jan 2005 11:00:20 +0100 Subject: [Gambas-user] Bug: in gambas-1.0.2 ?? In-Reply-To: <200501182306.01959.Karl.Reinl@...9...> References: <200501182306.01959.Karl.Reinl@...9...> Message-ID: <200501191100.20822.gambas@...1...> On Tuesday 18 January 2005 23:06, Charlie Reinl wrote: > Salut, > > while preparing a gambas IDE with PrettyPrinter and a source-code Printer. > Carsten Olsen, remarked that he can't see the ToolTip. > > I only had problems with the Tabs (see ToolTip) it makes funny things with > the cursor, it jumps funny after formating the source, and by the way, what > does see ToolTip means no ToolTip appears ? > > I had a look into the ToolTip is filled. > > But now I remarked, that I'v no tooltip at all in the IDE. > > Where is the problem ? In gambas or the translation or ..... > > > Amicalment > Charlie > There is an option in the IDE to hide the tooltips. Did you set it ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jan 19 10:59:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 19 Jan 2005 10:59:35 +0100 Subject: [Gambas-user] Problem when using forms In-Reply-To: <1106078663.6657.3.camel@...280...> References: <1106078663.6657.3.camel@...280...> Message-ID: <200501191059.35413.gambas@...1...> On Tuesday 18 January 2005 21:04, Thorsten Pfeffer wrote: > hello, > > as soon as I am doing anything with forms, e.g. opening one from an > example or creating a new one, I get the error message: > > [12] Not an object. > At: FProperty.RefreshAll.109 > > Then I can only click OK and Gambas immediately shuts down completely. > What can I do? > > I am using Suse 9.2, and Gambas 0.90 coming with the Suse distribution. > > Thanks for help, > Thorsten Don't use gambas packages from SuSE at the moment. Go to the Download page of the web site and follow the instructions... Regards, -- Benoit Minisini mailto:gambas at ...1... From pishloj at ...803... Wed Jan 19 14:10:02 2005 From: pishloj at ...803... (pishloj at ...803...) Date: Wed, 19 Jan 2005 08:10:02 -0500 (EST) Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #1119 - 6 msgs In-Reply-To: <20050118194529.B0607FAF0@...773...> References: <20050118194529.B0607FAF0@...773...> Message-ID: <38013.12.20.105.98.1106140202.squirrel@...806...> Thanks for the insight on Method overloading in Gambas. It'd be nice to have, but it isn't a show stopper for the project I'm working on. I'm really starting to love this language, keep up the great work! Jim Pishlo From bwells at ...475... Wed Jan 19 14:39:17 2005 From: bwells at ...475... (Brant Wells) Date: Wed, 19 Jan 2005 08:39:17 -0500 Subject: [Gambas-user] Method Overloading (reprise) In-Reply-To: <41EC09F4.3010209@...790...> References: <50349.12.20.105.98.1105967452.squirrel@...806...> <200501171241.58720.bwells@...475...> <41EC09F4.3010209@...790...> Message-ID: <200501190839.17769.bwells@...475...> Hey Rob: This is true about the code not being optimised. I'm not at all familiar with C++ or much of any other programming language... I'm a basic man all the way... Ha haha. It makes sense though, that there could be a notable speed increase with some type of method overloading... Would be nice to be able to tinker with it in Gambas... (I've Used VB 3 - 6 [cough, cough], and am unaware as to whether or not it supports method overloading...) See Ya ! ~Brant On Monday 17 January 2005 01:54 pm, Rob Kendrick wrote: > I've never found it so, in any of the languages I've used it in. How > could it be confusing? You just think of the parameter type list as > part of the function name. > > > Why not just do > > > > Sub mysub(myarg as variant) > > if isnumeric(myarg) then > > 'do something to the number > > else > > 'do something to the string > > end > > This can't be optimised at compile or link time, unlike overloaded > functions. (ie, in C++, the linker knows exactly where the right > function is, so the code that's generated is just a jump there, your way > requires jumping to one function, and then code executed to do the same > thing, so it's not as quick.) From ericbudd at ...407... Wed Jan 19 15:46:29 2005 From: ericbudd at ...407... (Eric Budd) Date: Wed, 19 Jan 2005 08:46:29 -0600 Subject: [Gambas-user] Net Socket timing issue? In-Reply-To: <41E96A70.8040208@...338...> References: <3khj1l$g4e3m7@...804...> <41E96A70.8040208@...338...> Message-ID: <41EE72C5.8060401@...407...> Thanks so much for your help! Sorry it took me a while to get back, been busy :P Your suggestion worked, for the most part. I put the while loop in on the socket _Read event. I also put in a loop in the write sub, waiting for the "HasRead" boolean value, since I know that I will have data immediately after a write. The code looks like this: Public Sub Write(Data as String) HasRead = False WRITE #sM, Data & Chr(10), Len(Data) + 1 WHILE HasRead = False Wait(0.1) WEND End Public SUB MySocket_Read() READ #sM, LastBuf, Lof(sM) WHILE Lof(sM) <> 0 Wait(0.1) WEND FullBuf = FullBuf & LastBuf HasRead = True End It works, except when the server returns a lot of data very fast (i.e. looking up help files and such); the client chops off bits of the returned data, but it's good enough for what I want to do right now, and it saves me having to write really rich socket-handling code :) Thanks again for your help! E. Budd Daniel Campos wrote: > ericbudd at ...407... escribi?: > >> I tried your suggestion, which was interesting, because Ihad been >> concentrating on the "read" portion of the code. HoweverI am still >> having the problem. I did discover something interesting that may >> make it easier, tho... >> >> In my socket wrapper class, I have the following code on the >> MySocket_Read event: >> >> READ #sM, LastBuf, Lof(sM) >> frmMain.txtConsole.Text = frmMain.txtConsole.Text & LastBuf >> >> On the frmMain, the button which sends the command has the following >> code: >> >> sockMUSH.Write(ME.txtCommand.Text & Chr(10)) >> txtConsole.Selection(Len(txtConsole.Text), 0) ' this line moves to >> the bottom of the display area >> >> So the button is clicked, the command is written, the console is >> correctly updated, but not until AFTER the selection command. The >> code finishes executing before any data comes back on the port. >> >> Is there a way I can force the program to wait until a read has >> occurred and finished before continuing? >> >> Thanks so much! >> >> >> >> > The Socket class is non-blocking, so the only way to wait is writting > a loop: > > Do While Lof(sM)=0 > WAIT (0.1) ' or the time you want :-) > Loop > > Regards, > > D. Campos > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas-users at ...790... Wed Jan 19 17:19:18 2005 From: gambas-users at ...790... (Rob Kendrick) Date: Wed, 19 Jan 2005 16:19:18 +0000 Subject: [Gambas-user] Deletion of tabs from a TabStrip In-Reply-To: <200501181818.37108.sourceforge-raindog2@...94...> References: <41E5A154.6010002@...790...> <200501140931.39646.sourceforge-raindog2@...94...> <41E80CE2.7010805@...790...> <200501181818.37108.sourceforge-raindog2@...94...> Message-ID: <41EE8886.5040606@...790...> Rob wrote: > > My bad, it turns out TabStrip is based on a QTabWidget, not a > QTabBar. QTabBar is a more similar widget to what TabStrip does, > but seems to be deprecated or something. QTabWidget uses a > widget (in our case, a QPanel) for each tab, and while it's > simple enough to remove the reference to that tab, I will need > to patch the qt component to destroy the widget and all its > contents, and I dunno how easy that is gonna be. Thanks for your efforts - I think it's an important ability to have in any case, especially if you're doing tabbed document browsing like some popular web browsers and text editors. -- Rob Kendrick PGP signed or encrypted mail welcome (Key ID: 3651D17A) From uwe.gottschling at ...20... Wed Jan 19 18:30:58 2005 From: uwe.gottschling at ...20... (Uwe Gottschling) Date: Wed, 19 Jan 2005 18:30:58 +0100 Subject: [Gambas-user] Slackware 10 with updated Xorg 6.8.1 Message-ID: <002801c4fe4c$a45fae00$0100a8c0@...802...> Hello, i can't compile gambas 1.0.2 with Xorg 6.8.1 (compiled with make World, make install...). I get this message if i try to compile Gambas: g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/lib/qt-3.3.2/include/ -D_REENTRANT -I/opt/kde/include/ -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -MT CWebBrowser.lo -MD -MP -MF .deps/CWebBrowser.Tpo -c CWebBrowser.cpp -fPIC -DPIC -o .libs/CWebBrowser.o /bin/sh ../../../../../libtool --mode=link g++ -g -O2 -pipe -Wall -fno-exceptions -g -Os -fno-omit-frame-pointer -o lib.gb.qt.kde.html.la -rpath /opt/gambas/lib/gambas -no-undefined main.lo moc_main.lo moc_CWebBrowser.lo CWebBrowser.lo -L/usr/lib/qt-3.3.2/lib/ -lgcc_s -lstdc++ -lpthread -lqt-mt -L/opt/kde/lib/ -lkdecore -lkdeui -lDCOP -lkio -lkhtml -lkjs libtool: link: warning: `/usr/lib/./libstdc++.la' seems to be moved grep: /usr/X11R6/lib/libfontconfig.la: No such file or directory /usr/bin/sed: can't read /usr/X11R6/lib/libfontconfig.la: No such file or directory libtool: link: `/usr/X11R6/lib/libfontconfig.la' is not a valid libtool archive make[6]: *** [lib.gb.qt.kde.html.la] Fehler 1 make[6]: Leaving directory `/root/downloads/gambas-1.0.2/src/lib/qt/kde/html' make[5]: *** [all-recursive] Fehler 1 make[5]: Leaving directory `/root/downloads/gambas-1.0.2/src/lib/qt/kde' make[4]: *** [all-recursive] Fehler 1 make[4]: Leaving directory `/root/downloads/gambas-1.0.2/src/lib/qt' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/root/downloads/gambas-1.0.2/src/lib' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/root/downloads/gambas-1.0.2/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/root/downloads/gambas-1.0.2' make: *** [all] Fehler 2 root at ...801...:~/downloads/gambas-1.0.2# -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl.reinl at ...9... Wed Jan 19 21:55:42 2005 From: karl.reinl at ...9... (Charlie) Date: Wed, 19 Jan 2005 21:55:42 +0100 Subject: [Gambas-user] running gambas on Windows Server 2003 References: <200501182043.16066.Karl.Reinl@...9...> <200501191058.38661.gambas@...1...> Message-ID: <41EEC94E.6020302@...9...> Benoit Minisini schrieb: >On Tuesday 18 January 2005 20:43, Charlie Reinl wrote: > > >>Salut, >> >>after reading an article in german c't magazin (2/2005) about an linux >>running on Windows, I tested it . >> >>The distributions called coLinux what means 'Cooperative Linux' . >>You install it under Windows and you run it under Windows. >>Via an X-Server for Windows you send your DISPLAY from the coLinux to the >>Windows X-Server and you ran gambas on Windows. >>No pb with QT or anything else. >> >>Like you can see on the screenshot, only the Maskot has a Problem , it >>shows the Titlebar. >> >> >> > >Because the window manager you use is not freedesktop compliant... > >But, hey, this may be a solution to those who want to run Gambas programs on >Windows... Herk :-( > > > stays H for B Amicalment Charlie From karl.reinl at ...9... Wed Jan 19 21:54:15 2005 From: karl.reinl at ...9... (Charlie) Date: Wed, 19 Jan 2005 21:54:15 +0100 Subject: [Gambas-user] Bug: in gambas-1.0.2 ?? References: <200501182306.01959.Karl.Reinl@...9...> <200501191100.20822.gambas@...1...> Message-ID: <41EEC8F7.6020303@...9...> Benoit Minisini schrieb: >On Tuesday 18 January 2005 23:06, Charlie Reinl wrote: > > >>Salut, >> >>while preparing a gambas IDE with PrettyPrinter and a source-code Printer. >>Carsten Olsen, remarked that he can't see the ToolTip. >> >> I only had problems with the Tabs (see ToolTip) it makes funny things with >>the cursor, it jumps funny after formating the source, and by the way, what >>does see ToolTip means no ToolTip appears ? >> >>I had a look into the ToolTip is filled. >> >>But now I remarked, that I'v no tooltip at all in the IDE. >> >>Where is the problem ? In gambas or the translation or ..... >> >> >>Amicalment >>Charlie >> >> >> > >There is an option in the IDE to hide the tooltips. Did you set it ? > > Found. Is that option a global or project option (it seams so) Amicalment Charlie > > From sourceforge-raindog2 at ...94... Thu Jan 20 00:04:44 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 19 Jan 2005 18:04:44 -0500 Subject: [Gambas-user] IDE bug in 1.9.2 Message-ID: <200501191804.44624.sourceforge-raindog2@...94...> On my Mandrake 10.0 machine (haven't tested it on 10.1) if you create a new form in 1.9.2 and drop a TabStrip on it, and then save the form, the TabStrip doesn't get saved. Gambas doesn't generate any error output, it just doesn't save the TabStrip entry in the .form file. I can create one manually using emacs, but then loading and saving the resulting form loses the TabStrip and all its contents. Can anyone else duplicate this behavior? Rob From na2492 at ...9... Thu Jan 20 00:12:50 2005 From: na2492 at ...9... (Charlie Reinl) Date: Thu, 20 Jan 2005 00:12:50 00100 Subject: [Gambas-user] IDE bug in 1.9.2 Message-ID: <41eee972.fd4.0@...9...> >On my Mandrake 10.0 machine (haven't tested it on 10.1) if you >create a new form in 1.9.2 and drop a TabStrip on it, and then >save the form, the TabStrip doesn't get saved. Gambas doesn't >generate any error output, it just doesn't save the TabStrip >entry in the .form file. I can create one manually using emacs, >but then loading and saving the resulting form loses the >TabStrip and all its contents. > >Can anyone else duplicate this behavior? > >Rob Salut Rob, made a new project, made a new form and troped a Tabstrip on it. After F5 I see it on the form. I closed all and reopend gambas and the project The TabStrip is still there. This is on gentoo with gambas-1.0.2 from scratch. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From na2492 at ...9... Thu Jan 20 00:19:46 2005 From: na2492 at ...9... (Charlie Reinl) Date: Thu, 20 Jan 2005 00:19:46 00100 Subject: [Gambas-user] IDE bug in 1.9.2 Message-ID: <41eeeb12.13c3.0@...9...> >>On my Mandrake 10.0 machine (haven't tested it on 10.1) if you >>create a new form in 1.9.2 and drop a TabStrip on it, and then >>save the form, the TabStrip doesn't get saved. Gambas doesn't >>generate any error output, it just doesn't save the TabStrip >>entry in the .form file. I can create one manually using emacs, >>but then loading and saving the resulting form loses the >>TabStrip and all its contents. >> >>Can anyone else duplicate this behavior? >> >>Rob > >Salut Rob, > >made a new project, made a new form >and troped a Tabstrip on it. >After F5 I see it on the form. >I closed all and reopend gambas and the project >The TabStrip is still there. >This is on gentoo with gambas-1.0.2 from scratch. > >Amicalment >Charlie > Sorry Rob, made it also with gambas-1.9.1 You are right, the TabStrib is NOT token. And losed after closing the project. Amicalment charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From fidojones at ...805... Thu Jan 20 01:42:51 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Thu, 20 Jan 2005 01:42:51 +0100 Subject: [Gambas-user] Probably BUG in ListBox event click in gambas 1.0.2 Message-ID: <200501200142.51220.fidojones@...805...> I think there is a probably bug in listbox event click in gambas 1.0.2. The example is: If you have some elements in the listbox, or only one is the same, and you click an item, the click event works fine, but if you click again in the same item that is selected, the listbox don't generate the event???? If you select other item that is not selected it works again. I think it's a bug ........ Lorenzo Tejera From sourceforge-raindog2 at ...94... Thu Jan 20 07:34:54 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 20 Jan 2005 01:34:54 -0500 Subject: [Gambas-user] frx busting code Message-ID: <200501200134.54113.sourceforge-raindog2@...94...> OK, I took another stab at busting open some .frx files tonight. Frx files are the binary resource files accompanying VB .frm files, most often containing icons and other pictures. The net result is, I have - a perl script that'll burst an frx file into a bunch of .dat files (you can use the file command to tell what kind of file each is) - a static Gambas function that, given a frm file and an offset into the accompanying frx file and a directory in which to dump the result, will extract one specific file from an frx. (Pictures are stored in .frm files as frxname.frx:FFFF where FFFF is the offset in hex.) I have about 20 .frx files locally from an assortment of old VB5/VB6 projects, and the above code seems pretty reliable so far. Please send me .frx files that it barfs on, along with the accompanying .frm file. I don't have VB locally but at this point I don't think I really need it. I am working on porting my old perl frm2form to gambas 1.9.x using gb.pcre, but that's as far as I go for tonight ;) Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: CExtractFrx.class Type: application/x-java Size: 1653 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: burstfrx Type: application/octet-stream Size: 350 bytes Desc: not available URL: From alain at ...809... Thu Jan 20 10:46:25 2005 From: alain at ...809... (Alain) Date: Thu, 20 Jan 2005 11:46:25 +0200 Subject: [Gambas-user] outb/inb access to hardware ports Message-ID: <20050120094400.M67675@...809...> Greetings and salutations, Fellow Gambas users, I was wondering whether gambas has an equivalent for inb/outb ? Can we read/write to hardware ports using gambas ? If not, is there a work-around ? Thanx a whole big bunch, Alain From budi at ...415... Thu Jan 20 11:17:05 2005 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Thu, 20 Jan 2005 17:17:05 +0700 Subject: [Gambas-user] outb/inb access to hardware ports In-Reply-To: <20050120094400.M67675@...809...> References: <20050120094400.M67675@...809...> Message-ID: <133863155.20050120171705@...415...> Hi Alain, Do you mean Serial Port ? If it's what you want you can learn it from the gambas sample of SPort. Budi Thursday, January 20, 2005, 4:46:25 PM, Anda Menulis: > Greetings and salutations, Fellow Gambas users, > I was wondering whether gambas has an equivalent for inb/outb ? > Can we read/write to hardware ports using gambas ? > If not, is there a work-around ? > Thanx a whole big bunch, > Alain > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Salam Hangat, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.campos at ...338... Thu Jan 20 11:27:40 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 20 Jan 2005 11:27:40 +0100 Subject: [Gambas-user] outb/inb access to hardware ports In-Reply-To: <20050120094400.M67675@...809...> References: <20050120094400.M67675@...809...> Message-ID: <41EF879C.9040401@...338...> Alain escribi?: >Greetings and salutations, Fellow Gambas users, > >I was wondering whether gambas has an equivalent for inb/outb ? >Can we read/write to hardware ports using gambas ? > >If not, is there a work-around ? > >Thanx a whole big bunch, > >Alain > > Linux o.s. cuts the direct access to hardware ports, may be you should read and write from special devices placed in /dev instead, and you can do it using the standard input/output methods... Regards, D. Campos > >------------------------------------------------------- >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From prabathbr at ...626... Fri Jan 21 02:20:13 2005 From: prabathbr at ...626... (Prabath Ranasinghe) Date: Thu, 20 Jan 2005 20:20:13 -0500 Subject: [Gambas-user] Using Modem on Gambas 1.0.1 Message-ID: <200501202020.13233.prabathbr@...626...> Hi Friends, I want to use my modem on Gambas 1.0.1 like on VB. We can use MsComm ActiveX to do this on VB. If anyone knows how to do this on Gambas, Please be kind to reply me. --Prabath. admin at ...810... -- From prabathbr at ...626... Fri Jan 21 03:00:23 2005 From: prabathbr at ...626... (Prabath Ranasinghe) Date: Thu, 20 Jan 2005 21:00:23 -0500 Subject: [Gambas-user] Using Serial and Parellel Ports on Gambas 1.0.1 Message-ID: <200501202100.23431.prabathbr@...626...> Dear Firends, I want to send signal and get response frommm RS-232 and LPT ports of my computer. For example,I want to switch on a relay using a command from my PC. Please be kind to reply me. --Prabath admin at ...810... -- http://www.hi5.com/i?l=C5MQO1N From daniel.campos at ...338... Thu Jan 20 16:28:03 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 20 Jan 2005 16:28:03 +0100 Subject: [Gambas-user] Using Modem on Gambas 1.0.1 In-Reply-To: <200501202020.13233.prabathbr@...626...> References: <200501202020.13233.prabathbr@...626...> Message-ID: <41EFCE03.7080309@...338...> Prabath Ranasinghe escribi?: >Hi Friends, > >I want to use my modem on Gambas 1.0.1 like on VB. >We can use MsComm ActiveX to do this on VB. > >If anyone knows how to do this on Gambas, >Please be kind to reply me. > >--Prabath. >admin at ...810... > > Use the "SerialPort" class from the gb.net component. Regards, D. Campos From daniel.campos at ...338... Thu Jan 20 16:29:27 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 20 Jan 2005 16:29:27 +0100 Subject: [Gambas-user] Using Serial and Parellel Ports on Gambas 1.0.1 In-Reply-To: <200501202100.23431.prabathbr@...626...> References: <200501202100.23431.prabathbr@...626...> Message-ID: <41EFCE57.4080703@...338...> Prabath Ranasinghe escribi?: >Dear Firends, > >I want to send signal and get response frommm RS-232 and LPT ports of my >computer. > >For example,I want to switch on a relay using a command from my PC. > >Please be kind to reply me. > >--Prabath >admin at ...810... > > To manage the parallel port you can directly open the port as a normal file (for example /dev/lp0 ) in order to read and write bytes from that source. Regards, D. Campos From daniel.campos at ...338... Thu Jan 20 17:02:43 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Thu, 20 Jan 2005 17:02:43 +0100 Subject: [Gambas-user] New article about gambas Message-ID: <41EFD623.3030803@...338...> http://free.tnc.edu.tw/modules/news/article.php?storyid=1326 Regards :-), D. Campos From eilert-sprachen at ...221... Thu Jan 20 18:15:40 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 20 Jan 2005 18:15:40 +0100 Subject: [Gambas-user] Current position while drawing Message-ID: <41EFE73C.4050101@...221...> Hi, is there a CurrentX and CurrentY like property for the DrawingArea and the Printer object? Or how would you solve this when you want to follow the drawing cursor position after printing/drawing text? Rolf From sourceforge-raindog2 at ...94... Thu Jan 20 18:32:32 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 20 Jan 2005 12:32:32 -0500 Subject: [Gambas-user] Current position while drawing In-Reply-To: <41EFE73C.4050101@...221...> References: <41EFE73C.4050101@...221...> Message-ID: <200501201232.32801.sourceforge-raindog2@...94...> On Thursday 20 January 2005 12:15, Eilert wrote: > is there a CurrentX and CurrentY like property for the > DrawingArea and the Printer object? > Or how would you solve this when you want to follow the > drawing cursor position after printing/drawing text? I usually just track that myself, adding to local currentx/currenty variables using Draw.TextHeight and Draw.TextWidth (or just adding the appropriate values if i'm drawing a box or whatever.) I agree that a "VB.Draw" class might be helpful ;) Rob From sourceforge-raindog2 at ...94... Thu Jan 20 18:36:40 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 20 Jan 2005 12:36:40 -0500 Subject: [Gambas-user] New article about gambas In-Reply-To: <41EFD623.3030803@...338...> References: <41EFD623.3030803@...338...> Message-ID: <200501201236.40694.sourceforge-raindog2@...94...> On Thursday 20 January 2005 11:02, Daniel Campos wrote: > http://free.tnc.edu.tw/modules/news/article.php?storyid=1326 I've been getting referred hits from Taiwanese articles like this one for a while... it looks like it came out on August 15, and refers to Gambas 0.97. (Can't read Taiwanese but I can see the numbers and letters ;) ) Rob From gambasfr at ...11... Thu Jan 20 19:07:53 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 20 Jan 2005 19:07:53 +0100 Subject: [Gambas-user] IDE bug in 1.9.2 In-Reply-To: <41eeeb12.13c3.0@...9...> References: <41eeeb12.13c3.0@...9...> Message-ID: <200501201907.53489.gambasfr@...11...> Le jeudi 20 Janvier 2005 01:19, Charlie Reinl a ?crit?: > >>On my Mandrake 10.0 machine (haven't tested it on 10.1) if you > >>create a new form in 1.9.2 and drop a TabStrip on it, and then > >>save the form, the TabStrip doesn't get saved. Gambas doesn't > >>generate any error output, it just doesn't save the TabStrip > >>entry in the .form file. I can create one manually using emacs, > >>but then loading and saving the resulting form loses the > >>TabStrip and all its contents. > >> > >>Can anyone else duplicate this behavior? > >> > >>Rob Right... i've lose 2 hour of work with that bug ... grrr Fabien From mike_keehan at ...679... Thu Jan 20 19:38:38 2005 From: mike_keehan at ...679... (Mike Keehan) Date: Thu, 20 Jan 2005 18:38:38 +0000 Subject: [Gambas-user] Using Serial and Parellel Ports on Gambas 1.0.1 In-Reply-To: <200501202100.23431.prabathbr@...626...> References: <200501202100.23431.prabathbr@...626...> Message-ID: <41EFFAAE.7040002@...679...> Prabath Ranasinghe wrote: > Dear Firends, > > I want to send signal and get response frommm RS-232 and LPT ports of my > computer. > > For example,I want to switch on a relay using a command from my PC. > > Please be kind to reply me. > > --Prabath > admin at ...810... Hi Prabath, One of the example programs uses serial comms, look for "Serial Port". Mike. From fidojones at ...805... Fri Jan 21 00:49:55 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Fri, 21 Jan 2005 00:49:55 +0100 Subject: [Gambas-user] Some sample code of a EAN 13 codebar generator Message-ID: <200501210049.55605.fidojones@...805...> Looking for a solution to generate EAN13 barcode in my application I found this web http://grandzebu.net/informatique/codbar-en/ean13.htm An I ported to gambas, very simple, the function is exactly with the author comments. I post here to the people we need it. Is NECESARY to install the EAN13.ttf windows.......ejem font who is include. Example attached..... Happy gambas Lorenzo Tejera -------------- next part -------------- A non-text attachment was scrubbed... Name: barcodegenerator-0.0.1.tar.gz Type: application/x-tgz Size: 4761 bytes Desc: not available URL: From whieber at ...812... Fri Jan 21 03:28:04 2005 From: whieber at ...812... (Walter C. Hieber) Date: Thu, 20 Jan 2005 21:28:04 -0500 Subject: [Gambas-user] Thanks and Here is a Gambas based program (YNS) Message-ID: <200501202128.05010.whieber@...812...> First I want to say thanks to all those who have created Gambas! Its great! I have a program for setting network settings called YNS for Your network settings. I have written it for Yoper but its GPL and I hope other will take it and improve upon it since I am not really a talented programmer. Some of the feature I havn't been able to master are using a pull down menu to select a choice and also getting the DnsClient funtion to work in muy app. I am hoping that someone will know what to do and maybe feel like sharing it with me. If nothing else maybe you can add this app to the growing number of those made in gambas. Thanks, Walter -------------- next part -------------- A non-text attachment was scrubbed... Name: YNSsource.tar.gz Type: application/x-tgz Size: 41424 bytes Desc: not available URL: From eilert-sprachen at ...221... Fri Jan 21 08:34:48 2005 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 21 Jan 2005 08:34:48 +0100 Subject: [Gambas-user] Current position while drawing In-Reply-To: <200501201232.32801.sourceforge-raindog2@...94...> References: <41EFE73C.4050101@...221...> <200501201232.32801.sourceforge-raindog2@...94...> Message-ID: <41F0B098.9080701@...221...> Rob schrieb: > On Thursday 20 January 2005 12:15, Eilert wrote: > >>is there a CurrentX and CurrentY like property for the >>DrawingArea and the Printer object? >>Or how would you solve this when you want to follow the >>drawing cursor position after printing/drawing text? > > > I usually just track that myself, adding to local > currentx/currenty variables using Draw.TextHeight and > Draw.TextWidth (or just adding the appropriate values if i'm > drawing a box or whatever.) I agree that a "VB.Draw" class > might be helpful ;) > Yes, but anyway - I just wanted to make sure I didn't miss anything :-) So it's Draw.TextHeight + 1 for the next Y-drawing position, isn't it? I'll have to make a drawing SUB or so which takes on the values and knows where to go by itself. I already made functions to calculate millimeters into pixels on screen and on printer, but I wonder if it will be so easy to get to the correct position in both cases - a typical printer may have 600 dpi, the screen about 96. So Draw.Height + 1 on the screen might look different from one pixel on the printer. Anyway, I'll have to find out, so let's start :-) Rolf From technoferret at ...598... Fri Jan 21 11:01:14 2005 From: technoferret at ...598... (Dave sharples) Date: Fri, 21 Jan 2005 10:01:14 +0000 Subject: [Gambas-user] Reading the return from a shell command Message-ID: <1106301674.26882.8.camel@...599...> Please excuse my ignorance but I'm new to gambas, I am trying to issue a shell command from gambas with a couple of arguments and use the return value in my app but I an struggling to get a grasp on how to do it. I want to issue a command similar to DOTHIS arg1 arg2 this would return Youranswer Something-Else and the only part of the return I want to use is 'Youranswer' and discard the rest. I think I have worked out how to issue the shell command but I am a bit stumped as to how to get and manipulate the return. Has anyone any pointers. Most greatful Dave From sourceforge-raindog2 at ...94... Fri Jan 21 15:58:19 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 21 Jan 2005 09:58:19 -0500 Subject: [Gambas-user] Reading the return from a shell command In-Reply-To: <1106301674.26882.8.camel@...599...> References: <1106301674.26882.8.camel@...599...> Message-ID: <200501210958.19217.sourceforge-raindog2@...94...> On Friday 21 January 2005 05:01, Dave sharples wrote: > I am trying to issue a shell command from gambas with a couple > of arguments and use the return value in my app but I an > struggling to get a grasp on how to do it. You need to use the Process_Read event and grab the data as it comes in. Sometimes that's inconvenient and you want to do it asynchronously, so I wrote the Backtick function, which you can find in Help somewhere, but here it is again: STATIC PUBLIC FUNCTION Backtick(cmd AS String) AS String DIM result AS String DIM s AS String result = "" s = Temp() SHELL cmd & " >" & s WAIT TRY result = file.Load(s) TRY KILL s RETURN result END It's called "Backtick" because it does more or less what the backtick (``) quotes do in the Unix shell and in perl. Rob From prabathbr at ...626... Sat Jan 22 04:11:19 2005 From: prabathbr at ...626... (Prabath Ranasinghe) Date: Fri, 21 Jan 2005 22:11:19 -0500 Subject: [Gambas-user] Re: Using Serial and Parellel Ports on Gambas 1.0.1 In-Reply-To: <200501202100.23431.prabathbr@...626...> References: <200501202100.23431.prabathbr@...626...> Message-ID: <200501212211.20098.prabathbr@...626...> Hi, Thank you for your reply, Where can I get some examples and documentation about it. --Prabath. admin at ...810... On Thursday 20 January 2005 21:00, Prabath Ranasinghe (Prabath Ranasinghe ) wrote: > Dear Firends, > > I want to send signal and get response frommm RS-232 and LPT ports of my > computer. > > For example,I want to switch on a relay using a command from my PC. > > Please be kind to reply me. > > --Prabath > admin at ...810... -- From technoferret at ...598... Fri Jan 21 17:37:55 2005 From: technoferret at ...598... (Dave sharples) Date: Fri, 21 Jan 2005 16:37:55 +0000 Subject: [Gambas-user] Reading the return from a shell command In-Reply-To: <200501210958.19217.sourceforge-raindog2@...94...> References: <1106301674.26882.8.camel@...599...> <200501210958.19217.sourceforge-raindog2@...94...> Message-ID: <1106325475.13215.6.camel@...599...> On Fri, 2005-01-21 at 14:58, Rob wrote: > On Friday 21 January 2005 05:01, Dave sharples wrote: > > I am trying to issue a shell command from gambas with a couple > > of arguments and use the return value in my app but I an > > struggling to get a grasp on how to do it. > > You need to use the Process_Read event and grab the data as it > comes in. Sometimes that's inconvenient and you want to do it > asynchronously, so I wrote the Backtick function, which you can > find in Help somewhere, but here it is again: > > STATIC PUBLIC FUNCTION Backtick(cmd AS String) AS String > DIM result AS String > DIM s AS String > result = "" > s = Temp() > SHELL cmd & " >" & s WAIT > TRY result = file.Load(s) > TRY KILL s > RETURN result > END > > It's called "Backtick" because it does more or less what the > backtick (``) quotes do in the Unix shell and in perl. > > Rob > Cheers Rob, I think you misinterpreted my original post, I had found your code as you say in the HELP, the problem I am having is that I can get the 'return' but I need seperate it so that I only have the first word of the returned string. e.g return = "CAT DOG MOUSE" I need to manipulate that so that I just have CAT Does that make sense ? From sourceforge-raindog2 at ...94... Fri Jan 21 17:48:29 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 21 Jan 2005 11:48:29 -0500 Subject: [Gambas-user] Reading the return from a shell command In-Reply-To: <1106325475.13215.6.camel@...599...> References: <1106301674.26882.8.camel@...599...> <200501210958.19217.sourceforge-raindog2@...94...> <1106325475.13215.6.camel@...599...> Message-ID: <200501211148.29214.sourceforge-raindog2@...94...> On Friday 21 January 2005 11:37, Dave sharples wrote: > I think you misinterpreted my original post, I had found > your code as you say in the HELP, the problem I am having is > that I can get the 'return' but I need seperate it so that I > only have the first word of the returned string. > e.g return = "CAT DOG MOUSE" > I need to manipulate that so that I just have CAT > Does that make sense ? Oh, sure. dim sa as new String[] ... sa = split("CAT DOG MOUSE", " ") print sa[0] > CAT Or if you want to do it more like the VB way... dim s as String ... s = left("CAT DOG MOUSE", instr("CAT DOG MOUSE", " ") - 1) print s > CAT Rob From technoferret at ...598... Fri Jan 21 18:09:07 2005 From: technoferret at ...598... (Dave sharples) Date: Fri, 21 Jan 2005 17:09:07 +0000 Subject: [Gambas-user] Reading the return from a shell command In-Reply-To: <200501211148.29214.sourceforge-raindog2@...94...> References: <1106301674.26882.8.camel@...599...> <200501210958.19217.sourceforge-raindog2@...94...> <1106325475.13215.6.camel@...599...> <200501211148.29214.sourceforge-raindog2@...94...> Message-ID: <1106327347.13215.8.camel@...599...> On Fri, 2005-01-21 at 16:48, Rob wrote: > Oh, sure. > > dim sa as new String[] > ... > sa = split("CAT DOG MOUSE", " ") > print sa[0] > > > CAT > > Or if you want to do it more like the VB way... > > dim s as String > ... > s = left("CAT DOG MOUSE", instr("CAT DOG MOUSE", " ") - 1) > print s > > > CAT Cheers Rob, I'll do it the Gambas way. :-) From leo.barnhoorn at ...246... Sat Jan 22 03:02:57 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sat, 22 Jan 2005 03:02:57 +0100 Subject: [Gambas-user] Possible to add 64-bit datatype??? Message-ID: <200501220302.57919.leo.barnhoorn@...246...> Hello Benoit, Is it possible to add 64-bit datatype and array to Gambas? &H428A2F98D728AE22 If it is possible then i can go on with calculations i'm making. I hope it is not an impossible request. Thanks, Regards, Leo. From budi at ...415... Sat Jan 22 04:39:17 2005 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Sat, 22 Jan 2005 10:39:17 +0700 Subject: [Gambas-user] CRC Code In-Reply-To: <200501220302.57919.leo.barnhoorn@...246...> References: <200501220302.57919.leo.barnhoorn@...246...> Message-ID: <17110527305.20050122103917@...415...> Hi All, Any have code to calculate CRC and verifiy if the CRC is valid in GAmbas ? Thanks Budi -------------- next part -------------- An HTML attachment was scrubbed... URL: From leo.barnhoorn at ...246... Sat Jan 22 05:14:20 2005 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sat, 22 Jan 2005 05:14:20 +0100 Subject: [Gambas-user] CRC Code In-Reply-To: <17110527305.20050122103917@...415...> References: <200501220302.57919.leo.barnhoorn@...246...> <17110527305.20050122103917@...415...> Message-ID: <200501220514.20955.leo.barnhoorn@...246...> Hello Budi, Here crc16, crc24 and crc32 Regards, Leo. On Saturday 22 January 2005 04:39, BUDI ARIEF GUSANDI wrote: > Hi All, > > Any have code to calculate CRC and verifiy if the CRC is valid in GAmbas ? > > Thanks > > Budi -------------- next part -------------- A non-text attachment was scrubbed... Name: crc.tar.gz Type: application/x-tgz Size: 14540 bytes Desc: not available URL: From budi at ...415... Sat Jan 22 05:20:37 2005 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Sat, 22 Jan 2005 11:20:37 +0700 Subject: [Gambas-user] CRC Code In-Reply-To: <200501220514.20955.leo.barnhoorn@...246...> References: <200501220302.57919.leo.barnhoorn@...246...> <17110527305.20050122103917@...415...> <200501220514.20955.leo.barnhoorn@...246...> Message-ID: <1636650485.20050122112037@...415...> Hi Leo, Thank you so much. Actually i just need CRC32 Only. But you give me more. Thanks A lot ;) Budi Saturday, January 22, 2005, 11:14:20 AM, Anda Menulis: > Hello Budi, > Here crc16, crc24 and crc32 > Regards, > Leo. > On Saturday 22 January 2005 04:39, BUDI ARIEF GUSANDI wrote: >> Hi All, >> Any have code to calculate CRC and verifiy if the CRC is valid in GAmbas ? >> Thanks >> Budi -- Salam Hangat, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From edamron at ...776... Sat Jan 22 06:34:12 2005 From: edamron at ...776... (Eric Damron) Date: Fri, 21 Jan 2005 21:34:12 -0800 Subject: [Gambas-user] MySQL Data Message-ID: <41F1E5D4.6010308@...776...> I'm writing a simple DVD collection database front end to MySQL in order to learn Gambas. I've noticed that when the user enters a title like "Hogan's Heros" an exception is thrown because of the apostrophe. I fixed this problem by sending all user inputs to a function that looks for this and returns ?\'? when it finds one. However, if the user enters a ?&? the same thing happens even if I convert it to ?\&? Does anyone know how to properly ?sanitize? user input to MySQL? Thanks. From paolo at ...813... Sat Jan 22 09:33:07 2005 From: paolo at ...813... (Paolo Saudin) Date: Sat, 22 Jan 2005 09:33:07 +0100 Subject: R: [Gambas-user] Re: Using Serial and Parellel Ports on Gambas 1.0.1 In-Reply-To: <200501212211.20098.prabathbr@...626...> Message-ID: <200501220838.j0M8cW009988@...814...> Hi, you can browse the mailing list for past discussions about this topic. Have then a look at the example in the gambas distribution 'opt/gambas/share/gambas/Networking/SerialPort' or at http://gbdas.sourceforge.net/ to get another working example. Paolo -----Messaggio originale----- Da: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] Per conto di Prabath Ranasinghe Inviato: sabato 22 gennaio 2005 4.11 A: gambas-user at lists.sourceforge.net Oggetto: [Gambas-user] Re: Using Serial and Parellel Ports on Gambas 1.0.1 Hi, Thank you for your reply, Where can I get some examples and documentation about it. --Prabath. admin at ...810... On Thursday 20 January 2005 21:00, Prabath Ranasinghe (Prabath Ranasinghe ) wrote: > Dear Firends, > > I want to send signal and get response frommm RS-232 and LPT ports of > my computer. > > For example,I want to switch on a relay using a command from my PC. > > Please be kind to reply me. > > --Prabath > admin at ...810... -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From moratorejp at ...494... Sat Jan 22 13:32:58 2005 From: moratorejp at ...494... (Moratore) Date: Sat, 22 Jan 2005 09:32:58 -0300 (ART) Subject: [Gambas-user] gambas Message-ID: <20050122123258.61863.qmail@...815...> confirm 531425 _______________________________________________________ Yahoo! Acesso Gr?tis - Instale o discador do Yahoo! agora. http://br.acesso.yahoo.com/ - Internet r?pida e gr?tis From blixtra at ...626... Sat Jan 22 13:58:41 2005 From: blixtra at ...626... (Chris Wilson) Date: Sat, 22 Jan 2005 13:58:41 +0100 Subject: [Gambas-user] MySQL Data In-Reply-To: <41F1E5D4.6010308@...776...> References: <41F1E5D4.6010308@...776...> Message-ID: <69dead7b05012204586b1ca0cf@...627...> I too would like to know how to deal with the '&' symbol. However, I'm not having a problem with 's. maybe because I'm converting everything from the gui from unicode to western european. For the & symbol I'm just catching it then warning that they can't be entered. Not exactly ideal. Chris On Fri, 21 Jan 2005 21:34:12 -0800, Eric Damron wrote: > I'm writing a simple DVD collection database front end to MySQL in order > to learn Gambas. I've noticed that when the user enters a title like > "Hogan's Heros" an exception is thrown because of the apostrophe. I > fixed this problem by sending all user inputs to a function that looks > for this and returns "\'" when it finds one. > > However, if the user enters a "&" the same thing happens even if I > convert it to "\&" Does anyone know how to properly "sanitize" user > input to MySQL? > > Thanks. > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lduperval at ...626... Sat Jan 22 16:57:35 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sat, 22 Jan 2005 10:57:35 -0500 Subject: [Gambas-user] Some usage questions Message-ID: <870c8dd2050122075721dc69b0@...627...> Hello, I'm a new Gambas user and these are my first impressions. There are certain things that I don't know how to do and I'd like a bit of help. Some may be impossible right now, so you can take the questions as suggestions instead. - How do you group elements? For example, I want many of my label/entry combinations to be considered as a single item. I can't figure out how to do this. - How do I distribute items that are grouped together? For example, if I select four buttons and align them in a row, how do I get them to be evenly spaced horizontally? - How do I insert multiple widgets of the same kind without clicking on the toolbox between each insertion? For example, I want to insert 12 check boxes. How do I do that? Thanks, L From lduperval at ...626... Sat Jan 22 16:58:18 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sat, 22 Jan 2005 10:58:18 -0500 Subject: [Gambas-user] Re: Some usage questions In-Reply-To: <870c8dd2050122075721dc69b0@...627...> References: <870c8dd2050122075721dc69b0@...627...> Message-ID: <870c8dd20501220758430775db@...627...> I forgot, I'm using 1.0.2 L On Sat, 22 Jan 2005 10:57:35 -0500, Laurent Duperval wrote: > Hello, > > I'm a new Gambas user and these are my first impressions. There are > certain things that I don't know how to do and I'd like a bit of help. > Some may be impossible right now, so you can take the questions as > suggestions instead. > From nigel at ...38... Sun Jan 23 12:15:08 2005 From: nigel at ...38... (nigel at ...38...) Date: Sun, 23 Jan 2005 12:15:08 +0100 (CET) Subject: [Gambas-user] MySQL Data Message-ID: <21178976.1106478908112.JavaMail.www@...796...> Eric, Could you list your code - I have no problems with entering the characters listed in the datamanager or in the simple program that I use for testing the database component. Nigel > Message date : Jan 22 2005, 05:36 AM > From : "Eric Damron" > To : "Gambas Mail List" > Copy to : > Subject : [Gambas-user] MySQL Data > > I'm writing a simple DVD collection database front end to MySQL in order > to learn Gambas. I've noticed that when the user enters a title like > "Hogan's Heros" an exception is thrown because of the apostrophe. I > fixed this problem by sending all user inputs to a function that looks > for this and returns ?\'? when it finds one. > > However, if the user enters a ?&? the same thing happens even if I > convert it to ?\&? Does anyone know how to properly ?sanitize? user > input to MySQL? > > Thanks. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From lduperval at ...626... Sun Jan 23 16:31:51 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sun, 23 Jan 2005 10:31:51 -0500 Subject: [Gambas-user] Tracking changes in the interface Message-ID: <870c8dd205012307315ee0b4d3@...627...> Hi, I'm creating a database form and I'd like to set a "dirty" flag whenever one of the fields is changed. The dirty flag is to ask whether to change a record that has been modified. Is there a way to do this for all my form elements without creating a method for each of them? Thanks, L From lduperval at ...626... Sun Jan 23 17:40:29 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sun, 23 Jan 2005 11:40:29 -0500 Subject: [Gambas-user] Some more questions Message-ID: <870c8dd2050123084076f18dd8@...627...> Hi, In text areas, how can I specify the character set to use? is it possible? Also, are there any plans to change the extension of the class files? .class is already the name for Java compiled classes. I have automated scripts that I sometimes run to find and remove .class files from a given directory. Now it causes me some concern... Thanks, L From daniel.campos at ...338... Sun Jan 23 19:23:47 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Sun, 23 Jan 2005 19:23:47 +0100 Subject: [Gambas-user] Some more questions In-Reply-To: <870c8dd2050123084076f18dd8@...627...> References: <870c8dd2050123084076f18dd8@...627...> Message-ID: <41F3EBB3.50809@...338...> Laurent Duperval escribi?: >Hi, > >In text areas, how can I specify the character set to use? is it possible? > > Gambas uses UTF-8 internally, so you can use the Conv$ function in order to convert, retireve and display data from a TextArea... >Also, are there any plans to change the extension of the class files? >.class is already the name for Java compiled classes. I have automated >scripts that I sometimes run to find and remove .class files from a >given directory. Now it causes me some concern... > > > May be you should exclude your Gambas folders from these scripts, it is better that changing a whole programming environment for a particular needing :-)) Regards, D. Campos From lduperval at ...626... Sun Jan 23 23:28:12 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sun, 23 Jan 2005 17:28:12 -0500 Subject: [Gambas-user] Some more questions In-Reply-To: <41F3EBB3.50809@...338...> References: <870c8dd2050123084076f18dd8@...627...> <41F3EBB3.50809@...338...> Message-ID: <870c8dd205012314285ef9453d@...627...> On Sun, 23 Jan 2005 19:23:47 +0100, Daniel Campos wrote: > Gambas uses UTF-8 internally, so you can use the Conv$ function in order > to convert, retireve and display data from a TextArea... > Hmmm.... Ok, let me figure out what the problem is. I have data in a Postgres database and it reads properly in Vim (which uses UTF-8, I think) but in a TextArea, the accented characters are replaced by two blocks. Maybe it's stored in Unicode or UTF-16. > May be you should exclude your Gambas folders from these scripts, it is > better that > changing a whole programming environment for a particular needing :-)) > True. But it's unfortunate that an extension that has been used for almost 10 years has been used for a new project. :-) Thanks for the good work, L From oystein at ...816... Mon Jan 24 00:29:07 2005 From: oystein at ...816... (Øystein Selbekk) Date: Mon, 24 Jan 2005 0:29:07 +0100 Subject: [Gambas-user] Code issue - dynamic form creation Message-ID: Hi.... Im a Gambas Newbie, and an really old VB dev. Im trying the following: Dynamic creation of forms like this: dim DynNewFrm as new MyFrm DynNewFrm.show Works Great! When my code has done this 2 or 3 times, i would like to write data to say form nr 2. This form has a special public ID ex. MyFrm.MyID=5. In VB i do like this: for i = 0 to forms.count -1 if forms(i).name = "MyFrm" then if forms(i).MyID = 5 then forms(i).MyOtherData="This is the one!" end if end if next i I cant seem to find a forms collection in Gambas.... How do i solve this? Anyways: So far Gambas is really impressing! Gooooooood job everyone! Regards Oystein Selbekk From edamron at ...776... Mon Jan 24 01:22:55 2005 From: edamron at ...776... (Eric Damron) Date: Sun, 23 Jan 2005 16:22:55 -0800 Subject: [Gambas-user] MySQL Data In-Reply-To: <21178976.1106478908112.JavaMail.www@...796...> References: <21178976.1106478908112.JavaMail.www@...796...> Message-ID: <41F43FDF.7010908@...776...> nigel at ...38... wrote: >Eric, > >Could you list your code - I have no problems with entering the characters listed in the datamanager or in the simple program that I use for testing the database component. > >Nigel > > > >>Message date : Jan 22 2005, 05:36 AM >>From : "Eric Damron" >>To : "Gambas Mail List" >>Copy to : >>Subject : [Gambas-user] MySQL Data >> >>I'm writing a simple DVD collection database front end to MySQL in order >>to learn Gambas. I've noticed that when the user enters a title like >>"Hogan's Heros" an exception is thrown because of the apostrophe. I >>fixed this problem by sending all user inputs to a function that looks >>for this and returns ?\'? when it finds one. >> >>However, if the user enters a ?&? the same thing happens even if I >>convert it to ?\&? Does anyone know how to properly ?sanitize? user >>input to MySQL? >> >>Thanks. >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > > > I've included a simple example project. To use it: Create a directory and copy it to the directory. untar it: tar xfv test.tar Create a MySQL database called 'test' Create a single table called DATA DATA has two files: id - primary key, Integer, Auto Increment description - VARCHAR(255) Run the program and enter some data like "John's" Then try "Jane & Tarzan" I can use the escape character "\" to allow data like "John's" but it doesn't work with "&" -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tar Type: application/x-tar Size: 10240 bytes Desc: not available URL: From daniel.campos at ...338... Mon Jan 24 10:39:46 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 24 Jan 2005 10:39:46 +0100 Subject: [Gambas-user] Some more questions In-Reply-To: <870c8dd205012314285ef9453d@...627...> References: <870c8dd2050123084076f18dd8@...627...> <41F3EBB3.50809@...338...> <870c8dd205012314285ef9453d@...627...> Message-ID: <41F4C262.6050203@...338...> Laurent Duperval escribi?: >On Sun, 23 Jan 2005 19:23:47 +0100, Daniel Campos > wrote: > > >>Gambas uses UTF-8 internally, so you can use the Conv$ function in order >>to convert, retireve and display data from a TextArea... >> >> >> > >Hmmm.... Ok, let me figure out what the problem is. I have data in a >Postgres database and it reads properly in Vim (which uses UTF-8, I >think) but in a TextArea, the accented characters are replaced by two >blocks. Maybe it's stored in Unicode or UTF-16. > > > Yes, usually when there are two "black blocks" per each character the codification is UTF-16, so you could do: TextArea1.Text=Conv(Data,"UTF-16","UTF-8") Regards, D. Campos From gambasfr at ...11... Mon Jan 24 13:38:26 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 24 Jan 2005 13:38:26 +0100 Subject: [Gambas-user] Code issue - dynamic form creation In-Reply-To: References: Message-ID: <200501241338.26861.gambasfr@...11...> Le lundi 24 Janvier 2005 00:29, ?ystein Selbekk a ?crit?: > Hi.... Im a Gambas Newbie, and an really old VB dev. > Im trying the following: > Dynamic creation of forms like this: > dim DynNewFrm as new MyFrm > DynNewFrm.show > Works Great! > When my code has done this 2 or 3 times, i would like to write data to say > form nr 2. This form has a special public ID ex. MyFrm.MyID=5. In VB i do > like this: > for i = 0 to forms.count -1 > if forms(i).name = "MyFrm" then > if forms(i).MyID = 5 then > forms(i).MyOtherData="This is the one!" > end if > end if > next i > > I cant seem to find a forms collection in Gambas.... How do i solve this? > Anyways: So far Gambas is really impressing! Gooooooood job everyone! > > Regards Oystein Selbekk > You need to use a collection or an object array like Private frmArray as New Object[] Public sub Generateform() dim i as integer dim tmpForm as Form For i = 0 to 5 tmpform = New MyForm frmArray.add(tmpForm) next end Public Function GetFormTitle(id as integer) as String Return frmArray[id].Text end Fabien Bodard From mdumm at ...647... Mon Jan 24 16:24:43 2005 From: mdumm at ...647... (Maurice Dumais) Date: Mon, 24 Jan 2005 10:24:43 -0500 Subject: [Gambas-user] Some usage questions Message-ID: <41F5133B.4020309@...647...> Laurent Duperval wrote: "How do I insert multiple widgets of the same kind...." To do so: - Insert, in the usual way, ont widget in your container (Container can be a form, a panel, a frame...etc.) - Right-click on it, from the pop-up menu, click on 'Copy'. - Then somewhere within the container, right-click again and click on 'Paste'. The new object will appear in the upper left corner of the container. - Drag it where needed in the container and right-click for other ones in the same way (this time, using paste only). Regards M. Dumais From lduperval at ...626... Mon Jan 24 18:16:17 2005 From: lduperval at ...626... (Laurent Duperval) Date: Mon, 24 Jan 2005 12:16:17 -0500 Subject: [Gambas-user] Some usage questions In-Reply-To: <41F5133B.4020309@...647...> References: <41F5133B.4020309@...647...> Message-ID: <870c8dd205012409169c5ba50@...627...> On Mon, 24 Jan 2005 10:24:43 -0500, Maurice Dumais wrote: > To do so: > - Insert, in the usual way, ont widget in your container (Container can > be a form, a panel, a frame...etc.) > - Right-click on it, from the pop-up menu, click on 'Copy'. That's what I ended up doing. I thought there would be another way. I know that (some) other tools allow you to Ctrl-Click or Shit-Click a widget and you can then insert as many as you need. Thanks, L From na2492 at ...9... Mon Jan 24 21:53:49 2005 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 24 Jan 2005 21:53:49 00100 Subject: [Gambas-user] Some usage questions Message-ID: <41f5605d.333a.0@...9...> >On Mon, 24 Jan 2005 10:24:43 -0500, Maurice Dumais wrote: >> To do so: >> - Insert, in the usual way, ont widget in your container (Container can >> be a form, a panel, a frame...etc.) >> - Right-click on it, from the pop-up menu, click on 'Copy'. > >That's what I ended up doing. I thought there would be another way. I >know that (some) other tools allow you to Ctrl-Click or Shit-Click a >widget and you can then insert as many as you need. > > >Thanks, > >L Salut, how do you 'Shit-Click' ?? ;-) Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From oystein at ...816... Mon Jan 24 23:06:37 2005 From: oystein at ...816... (Øystein Selbekk) Date: Mon, 24 Jan 2005 23:06:37 +0100 Subject: [Gambas-user] Maybe braindead but.... Message-ID: Hi! Already got good help here..... But im unable to reply on cases posted by me or others... Tried to post help trigger but no good info there... So: How do i reply on a posting? Regards Oystein Selbekk From sourceforge-raindog2 at ...94... Tue Jan 25 01:26:44 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 24 Jan 2005 19:26:44 -0500 Subject: [Gambas-user] Maybe braindead but.... In-Reply-To: References: Message-ID: <200501241926.44338.sourceforge-raindog2@...94...> On Monday 24 January 2005 17:06, ?ystein Selbekk wrote: > Already got good help here..... But im unable to reply on > cases posted by me or others... Tried to post help trigger but > no good info there... So: How do i reply on a posting? > Regards Oystein Selbekk That depends on your mail program. Since your mail program is coming across as "SelbekkWebMail", I might suggest you look at your own code ;) Rob From ronstk at ...239... Tue Jan 25 02:51:25 2005 From: ronstk at ...239... (Ron Onstenk) Date: Tue, 25 Jan 2005 02:51:25 +0100 Subject: [Gambas-user] Maybe braindead but.... In-Reply-To: References: Message-ID: <200501250251.25329.ronstk@...239...> On Monday 24 January 2005 23:06, ?ystein Selbekk wrote: | Hi! | Already got good help here..... | But im unable to reply on cases posted by me or others... | Tried to post help trigger but no good info there... | So: How do i reply on a posting? | | Regards Oystein Selbekk | Same question as how to open the trunk of my car :D We need to know what email program you use to know how to do and explain it to you. In almost all cases the _reply_, _reply all_ and _forward_ of mail is at least in an email program. With using kmail or outlook, the right mouse button present a menu. I expect Firebird is the same. A second place is the menu bar under 'message' has a choice to do. Of course the English language here used, Norway language is unknown to me. :) Using webmail it is more complex but on the page you read your mail there should be also a link for _reply_ at least. Many providers are using a inhouse build email program to be able to add advertisements. You have to look at there site, how to use webmail. Greets, Ron From lduperval at ...626... Tue Jan 25 04:04:02 2005 From: lduperval at ...626... (Laurent Duperval) Date: Mon, 24 Jan 2005 22:04:02 -0500 Subject: [Gambas-user] Some usage questions In-Reply-To: <41f5605d.333a.0@...9...> References: <41f5605d.333a.0@...9...> Message-ID: <870c8dd205012419041bc4866c@...627...> On Mon, 24 Jan 2005 21:53:49 00100, Charlie Reinl wrote: > Salut, > > how do you 'Shit-Click' ?? > > ;-) > Ooops.... :-) L From technoferret at ...598... Tue Jan 25 09:47:51 2005 From: technoferret at ...598... (Dave sharples) Date: Tue, 25 Jan 2005 08:47:51 +0000 Subject: [Gambas-user] Some usage questions In-Reply-To: <41f5605d.333a.0@...9...> References: <41f5605d.333a.0@...9...> Message-ID: <1106642871.6095.29.camel@...599...> On Mon, 2005-01-24 at 20:53, Charlie Reinl wrote: > Salut, > > how do you 'Shit-Click' ?? > > ;-) > > Use Microsoft Windows LOL From gambas at ...1... Tue Jan 25 11:02:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Jan 2005 11:02:19 +0100 Subject: [Gambas-user] IDE bug in 1.9.2 In-Reply-To: <200501191804.44624.sourceforge-raindog2@...94...> References: <200501191804.44624.sourceforge-raindog2@...94...> Message-ID: <200501251102.19600.gambas@...1...> On Thursday 20 January 2005 00:04, Rob wrote: > On my Mandrake 10.0 machine (haven't tested it on 10.1) if you > create a new form in 1.9.2 and drop a TabStrip on it, and then > save the form, the TabStrip doesn't get saved. Gambas doesn't > generate any error output, it just doesn't save the TabStrip > entry in the .form file. I can create one manually using emacs, > but then loading and saving the resulting form loses the > TabStrip and all its contents. > > Can anyone else duplicate this behavior? > > Rob > > There is a bug in the interpreter that didn't have any consequence as long as I didn't implement virtual method dispatching! I will try to fix it for 1.9.3 :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jan 25 11:06:30 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Jan 2005 11:06:30 +0100 Subject: [Gambas-user] Possible to add 64-bit datatype??? In-Reply-To: <200501220302.57919.leo.barnhoorn@...246...> References: <200501220302.57919.leo.barnhoorn@...246...> Message-ID: <200501251106.30359.gambas@...1...> On Saturday 22 January 2005 03:02, Leo Barnhoorn wrote: > Hello Benoit, > > Is it possible to add 64-bit datatype and array to Gambas? > > &H428A2F98D728AE22 > > If it is possible then i can go on with calculations i'm making. > > I hope it is not an impossible request. > > Thanks, > > Regards, > Leo. > This is planed, but not now :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jan 25 11:11:07 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Jan 2005 11:11:07 +0100 Subject: [Gambas-user] MySQL Data In-Reply-To: <41F1E5D4.6010308@...776...> References: <41F1E5D4.6010308@...776...> Message-ID: <200501251111.07659.gambas@...1...> On Saturday 22 January 2005 06:34, Eric Damron wrote: > I'm writing a simple DVD collection database front end to MySQL in order > to learn Gambas. I've noticed that when the user enters a title like > "Hogan's Heros" an exception is thrown because of the apostrophe. I > fixed this problem by sending all user inputs to a function that looks > for this and returns ?\'? when it finds one. > > However, if the user enters a ?&? the same thing happens even if I > convert it to ?\&? Does anyone know how to properly ?sanitize? user > input to MySQL? > > Thanks. > A old VB user yet :-) ? To avoid these problems, you should use the substitute features of Exec(), Find() and Edit() methods. For example, instead of writing this in your code: strSQL = "insert into DATA ( description ) VALUES ( '" & strTextBox & "' )" Message("SQL = " & strSQL) rsRecord = hConnection.Exec( strSQL) Write: rsRecord = hConnection.Exec("insert into DATA ( description ) VALUES (&1)", strTextBox) The gambas database component will carefully deals with escape characters so that the syntax of the query is correct, whatever database server you use. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jan 25 11:14:57 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Jan 2005 11:14:57 +0100 Subject: [Gambas-user] Some more questions In-Reply-To: <41F4C262.6050203@...338...> References: <870c8dd2050123084076f18dd8@...627...> <870c8dd205012314285ef9453d@...627...> <41F4C262.6050203@...338...> Message-ID: <200501251114.57800.gambas@...1...> On Monday 24 January 2005 10:39, Daniel Campos wrote: > Laurent Duperval escribi?: > >On Sun, 23 Jan 2005 19:23:47 +0100, Daniel Campos > > > > wrote: > >>Gambas uses UTF-8 internally, so you can use the Conv$ function in order > >>to convert, retireve and display data from a TextArea... > > > >Hmmm.... Ok, let me figure out what the problem is. I have data in a > >Postgres database and it reads properly in Vim (which uses UTF-8, I > >think) but in a TextArea, the accented characters are replaced by two > >blocks. Maybe it's stored in Unicode or UTF-16. > > Yes, usually when there are two "black blocks" per each character > the codification is UTF-16, so you could do: > > TextArea1.Text=Conv(Data,"UTF-16","UTF-8") > > Regards, > > D. Campos > > Connection.Charset will (normally) tell you what charset is used by your database. GUI widgets use Desktop.Charset. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jan 25 11:17:20 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 25 Jan 2005 11:17:20 +0100 Subject: [Gambas-user] Code issue - dynamic form creation In-Reply-To: References: Message-ID: <200501251117.20762.gambas@...1...> On Monday 24 January 2005 00:29, ?ystein Selbekk wrote: > Hi.... Im a Gambas Newbie, and an really old VB dev. > Im trying the following: > Dynamic creation of forms like this: > dim DynNewFrm as new MyFrm > DynNewFrm.show > Works Great! > When my code has done this 2 or 3 times, i would like to write data to say > form nr 2. This form has a special public ID ex. MyFrm.MyID=5. In VB i do > like this: > for i = 0 to forms.count -1 > if forms(i).name = "MyFrm" then > if forms(i).MyID = 5 then > forms(i).MyOtherData="This is the one!" > end if > end if > next i > > I cant seem to find a forms collection in Gambas.... How do i solve this? > Anyways: So far Gambas is really impressing! Gooooooood job everyone! > > Regards Oystein Selbekk > DIM hWindow AS Window DIM hMyFrm AS MyFrm FOR EACH hWindow IN Windows IF Object.Type(hWindow) = "MyFrm" THEN hMyFrm = hWindow IF hMyFrm.MyID = 5 THEN ... ENDIF ENDIF NEXT Regards, -- Benoit Minisini mailto:gambas at ...1... From technoferret at ...598... Tue Jan 25 12:41:50 2005 From: technoferret at ...598... (Dave sharples) Date: Tue, 25 Jan 2005 11:41:50 +0000 Subject: [Gambas-user] MySQL Data In-Reply-To: <200501251111.07659.gambas@...1...> References: <41F1E5D4.6010308@...776...> <200501251111.07659.gambas@...1...> Message-ID: <1106653310.6095.32.camel@...599...> On Tue, 2005-01-25 at 10:11, Benoit Minisini wrote: > On Saturday 22 January 2005 06:34, Eric Damron wrote: > > I > > fixed this problem by sending all user inputs to a function that looks > > for this and returns ?\'? when it finds one. > > Thats exactly what I'm looking for, You couldn't post the function code could you, I've been messing about trying to do this for what seems like days. Cheers From technoferret at ...598... Tue Jan 25 13:18:52 2005 From: technoferret at ...598... (Dave sharples) Date: Tue, 25 Jan 2005 12:18:52 +0000 Subject: [Gambas-user] MySQL Data In-Reply-To: <1106653310.6095.32.camel@...599...> References: <41F1E5D4.6010308@...776...> <200501251111.07659.gambas@...1...> <1106653310.6095.32.camel@...599...> Message-ID: <1106655532.28982.0.camel@...599...> On Tue, 2005-01-25 at 11:41, Dave sharples wrote: > On Tue, 2005-01-25 at 10:11, Benoit Minisini wrote: > > On Saturday 22 January 2005 06:34, Eric Damron wrote: > > > I > > > fixed this problem by sending all user inputs to a function that looks > > > for this and returns ?\'? when it finds one. > > > > > Thats exactly what I'm looking for, You couldn't post the function code > could you, I've been messing about trying to do this for what seems like > days. > > Cheers It's OK, I don't need the function, I've finally solved it. :-) From fidojones at ...805... Tue Jan 25 19:55:40 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Tue, 25 Jan 2005 19:55:40 +0100 Subject: [Gambas-user] To Benoit Minisini there is a Probably BUG in ListBox event click in gambas 1.0.2? Message-ID: <200501251955.40307.fidojones@...805...> I think there is a probably bug in listbox event click in gambas 1.0.2. The example is: If you have some elements in the listbox, or only one is the same, and you click an item, the click event works fine, but if you click again in the same item that is selected, the listbox don't generate the event???? If you select other item that is not selected it works again. I think it's a bug becasue if you select something instead if select already or not I should generate the event no? Lorenzo Tejera From joseleopoldo1792 at ...467... Tue Jan 25 21:38:01 2005 From: joseleopoldo1792 at ...467... (Igor Sosa Mayor) Date: Tue, 25 Jan 2005 21:38:01 +0100 Subject: [Gambas-user] MySQL Data In-Reply-To: <1106655532.28982.0.camel@...599...> References: <41F1E5D4.6010308@...776...> <1106653310.6095.32.camel@...599...> <1106655532.28982.0.camel@...599...> Message-ID: <200501252138.01687.joseleopoldo1792@...467...> > > Thats exactly what I'm looking for, You couldn't post the function code > > could you, I've been messing about trying to do this for what seems like > > days. > > > > Cheers > > It's OK, I don't need the function, I've finally solved it. :-) But I'd need the function, couldn't you post the code, could you? From ivansb2003 at ...494... Tue Jan 25 23:35:52 2005 From: ivansb2003 at ...494... (Ivan Brasilico) Date: Tue, 25 Jan 2005 19:35:52 -0300 (ART) Subject: [Gambas-user] Compilation problems Message-ID: <20050125223552.14102.qmail@...819...> Hi everybody. I'm trying to compile Gambas in a fresh installed Conectiva 10 Box. I'm not very used to installing from source. I got the following error: checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. # gcc --version gcc (GCC) 3.3.3 (release) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Can anybody help? Following, the complete ./configure output: Very Pleased! checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... none checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for wait3 that fills in rusage... yes checking for getcwd... yes checking for gettimeofday... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtod... yes checking for strtol... yes checking for sysinfo... yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. [root at ...818... gambas-1.0.2]# ./configure checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... none checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for working strcoll... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for wait3 that fills in rusage... yes checking for getcwd... yes checking for gettimeofday... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtod... yes checking for strtol... yes checking for sysinfo... yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. ===== Ivan da Silva Bras?lico Santos-SP Bras?lia-DF (61) 412-7380 Skype: ivansb2004 Wikipedia: ivansb Conhe?a a wikipedia: http://pt.wikipedia.org __________________________________________________ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ From oystein at ...816... Wed Jan 26 00:10:37 2005 From: oystein at ...816... (Øystein Selbekk) Date: Wed, 26 Jan 2005 0:10:37 +0100 Subject: [Gambas-user] RE: Maybe braindead but.... Message-ID: Well, im not that stupid doh...... I meant more along wich adresse to reply to.... I know how to press reply on my email app..... If this one goes through i acutally did understood.... :-) Regards Oystein Selbekk From dave at ...772... Wed Jan 26 09:33:11 2005 From: dave at ...772... (Dave Sharples) Date: Wed, 26 Jan 2005 08:33:11 +0000 Subject: [Gambas-user] MySQL Data In-Reply-To: <200501252138.01687.joseleopoldo1792@...467...> References: <41F1E5D4.6010308@...776...> <1106653310.6095.32.camel@...599...> <1106655532.28982.0.camel@...599...> <200501252138.01687.joseleopoldo1792@...467...> Message-ID: <1106728391.28982.9.camel@...599...> On Tue, 2005-01-25 at 20:38, Igor Sosa Mayor wrote: > > > Thats exactly what I'm looking for, You couldn't post the function code > > > could you, I've been messing about trying to do this for what seems like > > > days. > > > > > > Cheers > > > > It's OK, I don't need the function, I've finally solved it. :-) > > But I'd need the function, couldn't you post the code, could you? > This is the function I used to replace all spaces in a string with \space. PUBLIC FUNCTION ReplaceSpaces (x AS String) AS String DIM GiveItBack AS String GiveItBack = Replace$ ( x , " " , "\\ " ) RETURN GiveItBack END To call it ReturnString = ReplaceSpaces(StringToManipulate) There may be a cleaner way but this worked for me. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- ----------------------- Dave Sharples Evaluations Engineer Time Group Ltd ----------------------- From lordheavy at ...512... Wed Jan 26 10:47:29 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 26 Jan 2005 10:47:29 +0100 Subject: [Gambas-user] Compilation problems In-Reply-To: <20050125223552.14102.qmail@...819...> References: <20050125223552.14102.qmail@...819...> Message-ID: <200501261047.30836.lordheavy@...512...> Le Mardi 25 Janvier 2005 23:35, Ivan Brasilico a ?crit?: > checking for style of include used by make... none > checking dependency style of gcc... none > checking how to run the C preprocessor... gcc -E > checking for g++... no It seems you've got a problem with your gcc install ! at home : gcc -v bash-2.05b$ gcc -v Lecture des sp?cification ? partir de /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs Configur? avec: /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-libgcj --enable-languages=c,c++,f77 Mod?le de thread: posix version gcc 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) Regards, -- Laurent Carlier From gambas at ...1... Wed Jan 26 11:01:15 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 26 Jan 2005 11:01:15 +0100 Subject: [Gambas-user] To Benoit Minisini there is a Probably BUG in ListBox event click in gambas 1.0.2? In-Reply-To: <200501251955.40307.fidojones@...805...> References: <200501251955.40307.fidojones@...805...> Message-ID: <200501261101.15749.gambas@...1...> On Tuesday 25 January 2005 19:55, Lorenzo Tejera wrote: > I think there is a probably bug in listbox event click in gambas 1.0.2. The > example is: > > If you have some elements in the listbox, or only one is the same, and you > click an item, the click event works fine, but if you click again in the > same item that is selected, the listbox don't generate the event???? > > If you select other item that is not selected it works again. > > I think it's a bug becasue if you select something instead if select > already or not I should generate the event no? > > > Lorenzo Tejera > It is not a bug, it is a feature :-) But I must admit that I don't remember why I did that... Maybe because Qt forbids deleting items during the event you need, but allows it during the event I chose. I will try to change that in the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From fidojones at ...805... Wed Jan 26 11:21:38 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Wed, 26 Jan 2005 11:21:38 +0100 Subject: [Gambas-user] To Benoit Minisini there is a Probably BUG in ListBox event click in gambas 1.0.2? Message-ID: <200501261121.38715.fidojones@...805...> Ok, and could be posible to add some TableView capabilites to Grid like headers single seleted :D could be good features. I don't know if grid is so powerful like tableview, I'm starting to use it :D. Or someone could send me and example of TableView use, I'm a bit confused with it. Thanks Lorenzo Tejera On Wed, 26 Jan 2005 11:01:15 +0100, Benoit Minisini wrote: > On Tuesday 25 January 2005 19:55, Lorenzo Tejera wrote: > > I think there is a probably bug in listbox event click in gambas 1.0.2. The > > example is: > > > > If you have some elements in the listbox, or only one is the same, and you > > click an item, the click event works fine, but if you click again in the > > same item that is selected, the listbox don't generate the event???? > > > > If you select other item that is not selected it works again. > > > > I think it's a bug becasue if you select something instead if select > > already or not I should generate the event no? > > > > > > Lorenzo Tejera > > > > It is not a bug, it is a feature :-) > > But I must admit that I don't remember why I did that... Maybe because Qt > forbids deleting items during the event you need, but allows it during the > event I chose. > > I will try to change that in the next version. > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From assistenza at ...820... Wed Jan 26 11:45:46 2005 From: assistenza at ...820... (Assistenza) Date: Wed, 26 Jan 2005 11:45:46 +0100 Subject: [Gambas-user] bug Message-ID: Hi everybody, I have compiled gambas under debian and i haven't received errors. But under linux Reh Hat 9 I had problems: I have followed the icstruction in the README.REDHAT file. When i use ./configure comman all is ok. But when i use the make command i have problems. In the output.txt file there is the result of this comman ./configure; make; make install ) > output.txt 2>&1 Please help me!! (sorry for my english but i'm Italian) my e-mail is:assistenza at ...820... thanks a lot mario -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From scatman_ at ...17... Wed Jan 26 12:12:05 2005 From: scatman_ at ...17... (scatman) Date: Wed, 26 Jan 2005 12:12:05 +0100 Subject: [Gambas-user] bug In-Reply-To: References: Message-ID: <200501261212.05238.scatman_@...17...> Am Mittwoch, 26. Januar 2005 11:45 schrieb Assistenza: Hi, > I have compiled gambas under debian and i haven't received errors. > But under linux Reh Hat 9 I had problems: > I have followed the icstruction in the README.REDHAT file. > When i use ./configure comman all is ok. > But when i use the make command i have problems. > In the output.txt file there is the result of this comman > ./configure; make; make install ) > output.txt 2>&1 CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory Install libxml2-dev -- scatman From w at ...731... Wed Jan 26 13:03:13 2005 From: w at ...731... (Ing. Vincenzo Virgilio) Date: Wed, 26 Jan 2005 13:03:13 +0100 Subject: [Gambas-user] Re: Assistenza In-Reply-To: <200501261402.j0QE2par002487@...821...> References: <200501261402.j0QE2par002487@...821...> Message-ID: <41F78701.1010408@...731...> Hi Mario! For everybody that doesn't feel comfortable with english there are national ML! You can subcribe the Italian ML and we will try to help you there. Vincenzo From daniel.campos at ...338... Wed Jan 26 15:02:41 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 26 Jan 2005 15:02:41 +0100 Subject: [Gambas-user] Just a screenshot Message-ID: <41F7A301.20906@...338...> Hi: This is a screenshot that shows GTK+ with the beautiful "human" theme. This is clean, simple, and beautiful! Regards, D. Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: gtk.png Type: image/png Size: 38085 bytes Desc: not available URL: From na2492 at ...9... Wed Jan 26 15:36:01 2005 From: na2492 at ...9... (Charlie Reinl) Date: Wed, 26 Jan 2005 15:36:01 00100 Subject: [Gambas-user] gambas in german press Message-ID: <41f7aad1.1649.0@...9...> Salut , the attached article is from german c't (in german) Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- PKVt:2??19 mimetypeapplication/vnd.sun.xml.writerPKVt:2 content.xml?\KS;?????<*??c&?pHQ! ?????????? I?????lg{WY l??al?m?I?-gAh?? ??w ?/~???"RQ????Y?p_?????'v????O/??y|???WH?!???@?ID??}?5???? ?? #?v??1??S1G???v.;(?????q?W?,de??@???y?a?\=?z????s?`F?????-Dyu?\<??.??7Ky??h?~??????4?%?4?B??????:?o?????B?F`?>_?x??3?`???RV???m??FT????m?g??E ?} ??9??W??/"??P(2?G?? ??x?Y??? ???)?3)??;? ?? ???Bcb?}??+,iJ?%??Y??} ??? 0??z??p??????AY?}??????N$?, K??P?Q? ?_3U?wlJl?n?}f/A????7/???T????;,??d\?????p?? '????S#ONNL??12?O8"?$??E4?L?^??? ?y???l?c"??J ?XB???/?? ?6#!D5????~d?uH?????V-?R[WhXk???2A???P ??-P?'x.?:Eo???2???fq*?~Zrp??2?1?{ ,?????/?%??yu?oH??t?tOc???b^???F??Xc?rb?s? ??[??.3?Q?? ????(M??@?7RZ??"??(`?' 4?':?1%?F???K?8F?l?????s??m???O?Dj????x^+7??Hs(3R?C)Ql ??k"V? ?? EuZ~????6(v?J?;???L?-Yq??P? ????f??a?wga???#Y???p?B`?~?* ?? ;nX?p?????????\????UM???f%???4v?J?????-?o?x?J1???~?mX?a!????da{?? !?U+v?v?ZA???V? ?A???{C????7 v??mV+t?? 4?G? ??S??j??V?[????~?S~F??7?gL XT????o?/E2?,?n???>??H?????u??x?9????y??7?Q???????????????R?N???Mk_0!?????????,?X#???JFJ?*??0\?H?9K#moE?J??+?d%#????7?????w"?D?? :?R?????t???q??????,??P??3????K'??A? C?????/? ??{?Q?e?9?N?????u] ?c????p\??h?Q ?n????sr?T%??C??>?+??Z?H7Ga_q=????aU^? E`???4???JHN??[0 1L up-?  ]"Cv????AGT?H??A)?"?;?M? ?z?s?"???0?C-??v????????&?m ?{??{????.?? VFC??1?e??2?_?1??4L9?r?w? [?H??? 8 ???z?????@ ???a???b???? ?????M???@?9~??>?&C!?????zo9H&*qTd?R?+ ?.??: ` ??6 ?to?$!?&+>E??? B???ht!B=????????GI??w?<? ?Y?u?,Q9??"??:??0O>? ?}?A?0> ?7???2 ?R ?4??2?j??9? ??d0???]O?1????(????f ~??6??J?Z??L=?E 1H?M??Y^?|?f?"?#FIO??CB? )p???3t???pn??1kk?Uq?w_???C4???FqV??}?t3X ,????n????(?,???>8?M8??k{9? ??%V?3 ???2?YI??Nf????"?T??y?^#?????N2?a;?????^?v?????? ?C??b?@?. ??????b??_?lGCt?? ?Z?s????w?????5 6?6?J??{?? 3?n???qE?O??$F?B?? ^C`"?R5???z?????h??a'???P????-? ?~??,????mC?0*F?~{{f???Y?&?????/2???H'X???????n?1????wp????K(?t? ? ??Q??HfC??!Cw??????L?Z?5?%k??v?I?1b?P??????A??X?+???v?? ??e?y???-?|??A????????V???y??? ?? ?i?izM????f6F??~?n??eNFXj???W???}N?Q?? ? ?5??6e??1w ? ?*???_ PH%T??o?%H?????$?7 j??????|????J?%f??\???s?????PK???? ?EPKVt:2 styles.xml?Z[o?6~???Tto?d'i?,N?5MQ m?5Y?GZ?ln)?? ????%??d??6 [?5??s?w/????,?VDH????B?#,?1e???p???W?]~}???????[R??B?d??x4y??????!?~0L?6? #?????@???]?K ?V?G5@?2, 0???*7?AA??(?????Y3\??P???~$??*?,z????B[r?(`???C??[G?S?5 ?ztWDU. ?}?6e?*?}j????Q?Z??q>????)]0?5}?1??(eA? R?L??q??? `4??H??]?I+ H?]`?S??V ??y??=????????? ??n???????t M? ?-??x? ?r?U?z???f=>???8Wm?? B???W? ?{_Y?1?6B??H????DPI ????W? ???PL? /??V???%????Fx????2|???G?????_?????l{?{?w~?F=P?????????u#???? ?????A?`???d?=??????????? }=j??Q?? 5??Q????==j?8?? ?20??`? R5??.J?o?=vS7o{+??Dm????Z?o?u?=?lj{U???bux???yB??X=*?????=??$??K??t:mZ?+ ??&\u+?d?E?d?Ft?~?????Yu?4BV`h ?2,??l??<? i? ?????&?hj??{K?LG????)?9?????? ?2?9???'??S???+1?????? l?? ?W? -??[??(T?.D??'?.? ?&;j?[ ?q??oZ?????3??????9I?z?x????c*s??????yl '?o,*?$?M??K8 ??M8?% jh?9 ;08?\??????) 3;e?????S??????[???';?!hG? :e??`??*??Tb5?4 ???L??V[???=p?f??gPKdtx?? PKVt:2`? ?PPmeta.xml OpenOffice.org 1.1.1 (Win32)2005-01-26T10:27:26Karl Reinl2005-01-26T15:34:42en-AU2PT14M57SPKVt:2 settings.xml?Y?n?F}?W(D ?He?r /?P??T?%K?R?aD?%?? 1 Z????I??-?m?5I?^?????"~?CJrY?]R?>p ?;sy?? ??6?ZlC?h????D2VTT??V???4w5?????r??Y?????*?Y?f "7 ?l?+???R:??y~Y?h?7?I??3?L?{???c?x>????.??B.9???f?????y?F?>?????o?$?????5?{???h?d|??kLxc ???{?*c??V?????????v2????s??=??Ja?]O?w?:[?? '???????56^$??????}?=Q???Ss?i????6 ?< v]Uhmnbrj*?T????&'??/?pc*?B`?P*k .? 4r ?????? ?BD?r??%I???X?#???? W??P9m???{????I??T J\?$]? a?~?$L\ j?.??? B"?d ????{??Yy?+~~??J?)?0??>T??3SB0??? i??j??? ?2?d8?0 X2JP?2 J??|y???:??????b??"k??$???B??(@@03(?@>?&)1?d?? ]?n ?g,?g????:??????s?TTE???H???-'4?Y?5A???{???i$?MW???B@?Dh??z?????`UE?c????G?|:6?????9~v?W???c=?X?????O???m???C??m[wm?;????~???l????}??>|d>??^?Gm???????n;??N??????~wZ????v????S???i???_8? ;??8????,R?X???????? ???????????u??????????????8??N???~??~??~ ??k8}?N??N????#gq?JL7??+Q??]6??`]??yB?e??+??9?G! 1??XM?x?WY!??? ????$?`"w???&??/ ???????R$C???g)F???j?2/4e????__?Y\kJ?iaqscI?w??bF|?6%???Dj??h?7t]?bB???)Q???1??????????i1%o,h?????AN.?DZ^? ????????l???b??.^?,????b??? ? ?R?\v???b?b??7? ??[?(??6T?liurM??S6O?_)g?j?W=??%???~{7??)"??W?????Q???U? ?`? ?S??D?J`?u???(?a#?\???? ??]m???"u??/ A??*???djz_=??JS???%%??6????HPLB??\?r?{,a??~????Y7D?????-?>???j?qE???y6#??4???@?_???ns?mnE?JF T???F??6QDZ?,3?(a,l?P?b- ?zM?#?????'?U~i?d?E?s???? )c??{{?&??Z?l??c??;????%`9k?eMY2?H?????e?0??*?&?m?????c?  ?????4?? +???:??.??)??38?/PK?IG~?? PKVt:2META-INF/manifest.xml???j?0??O??n???;??)???3t?9????i??U? d d???w?????k??z??Ia!cd*[ksHa_?E??^=%?Y?-?????? y^NQ?7?[b???M?+??? fe&>??`#??@??$k?!??fe??????-m?????????YjtK?????*??Q ??VW????dj?#?P??k? ??fh??)>???w??????'??tf o??5 ????P????8???g%????? ^-??PKG??PKVt:2??19 mimetypePKVt:2???? ?E Dcontent.xmlPKVt:2dtx?? ~ styles.xmlPKVt:2`? ?PP?meta.xmlPKVt:2?IG~?? settings.xmlPKVt:2G?? META-INF/manifest.xmlPKZ[ From daniel.campos at ...338... Wed Jan 26 16:29:37 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 26 Jan 2005 16:29:37 +0100 Subject: [Gambas-user] gambas in german press In-Reply-To: <41f7aad1.1649.0@...9...> References: <41f7aad1.1649.0@...9...> Message-ID: <41F7B761.80903@...338...> Charlie Reinl escribi?: >Salut , > >the attached article is from german c't (in german) > >Amicalment >Charlie >* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > To help translating it with google: " Benoit Minisini hat die Version 1.0 seiner Gambas genannten grafischen BASIC-Entwicklungs-umgebung ver?ffentlicht. Bei diesem BASIC handelt es sich um einen Dialekt mit Erweiterungen um Objektorientierung. Gambasweist viele Parallelen zu Microsoft Visual Basic auf, der Entwick ler betont jedoch, dass es sich nicht um einen Klon handelt. So verhalten sich etwa die Imple mentierungen von Str$(), VaIQ oder CStr() anders als bei VB,Steuerelemente sind als private deklariert, im Break-Modus lassen sich keine ?nderungen am Code vornehmen, einfache Datentypen wie Integer oder String k?nnen nur als Wert, aber nicht als Verweis (by reference) an Funktionen ?bergeben werden. Die Gambas-Dokumentation verr?t die Details der Unterschiede. F?r kommende Versionen plant Minisini zahlreiche Erweite rungen einzuf?hren,etwa per libxml2 realisierte XML-Funktionen, Perl-kompatible regul?re Ausdr?cke, persistente Objekte oder die Unterst?tzung f?r GTK+ zur Programmierung grafischer Bedienoberfl?chen. Bislang l?sst sich f?r Gambas-Applikationen nur das C++-Framework Qt der norwegischen Softwareschmiede Trolltech verwenden. Die Entwicklungsumgebung liegt im Quell code zur Kompilierung unter Linux vor. F?r diverse Distributionen (zum Beispiel Debian Sarge, Fedora Core 2, Gentoo oder Suse) stehen Bin?rpakete bereit. " Regards, D. Campos From LACKKD at ...674... Wed Jan 26 18:56:44 2005 From: LACKKD at ...674... (Kevin Devenport Lackey) Date: Wed, 26 Jan 2005 10:56:44 -0700 Subject: [Gambas-user] Hi-lighting selected row in grid view In-Reply-To: <41F7B761.80903@...338...> Message-ID: Is there any way to hi-light the currently selected row in a grid view? Thanks! Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From rasc at ...17... Wed Jan 26 19:13:36 2005 From: rasc at ...17... (Ralf Schuchardt) Date: Wed, 26 Jan 2005 19:13:36 +0100 Subject: [Gambas-user] gambas in german press In-Reply-To: <41F7B761.80903@...338...> References: <41f7aad1.1649.0@...9...> <41F7B761.80903@...338...> Message-ID: <20050126191336.52ecd75a@...620...> On Wed, 26 Jan 2005 16:29:37 +0100 Daniel Campos wrote: > Charlie Reinl escribi?: > > >Salut , > > > >the attached article is from german c't (in german) > > > >Amicalment > >Charlie > >* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > > > To help translating it with google: Nah, here is my translation. It's not word by word and my english is far from perfect, but it should catch the meaning. "Benoit Minisini has published version 1.0 of his BASIC development environment "Gambas". It's a BASIC dialect with object oriented extensions. Gambas is similar to Microsofts Visual Basic, but according to the developer not a clone. For example Str$(), Val or CStr() behave differently, controls are declared private, in break mode no changes in the code are possible and simple types like Integer or String only can be passed by value (and not by reference). The differences are mentioned in the docs. For future versions Minisini plans numerous extensions, e.g. xml functions via libxml2, perl compatible regular expressions, persistent objects or support for GTK+ GUI programming. Until then Gambas applications have to use Trolltechs C++ framework Qt. The development environment can be compiled from source code for Linux. Binary packages are available for some distributions like Debian Sarge, Fedora Core 2, Gentoo or Suse." Ralf From sourceforge-raindog2 at ...94... Wed Jan 26 19:18:42 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 26 Jan 2005 13:18:42 -0500 Subject: [Gambas-user] gambas in german press In-Reply-To: <41F7B761.80903@...338...> References: <41f7aad1.1649.0@...9...> <41F7B761.80903@...338...> Message-ID: <200501261318.42157.sourceforge-raindog2@...94...> On Wednesday 26 January 2005 10:29, Daniel Campos wrote: > To help translating it with google: > " Benoit Minisini hat die Version 1.0 seiner Gambas genannten Or by a human, for a still-imperfect but probably more readable version :) Benoit Minisini has published version 1.0 of his Gambas graphical BASIC development environment. With this BASIC you use a dialect with object-oriented extensions. Gambas has many parallels to Microsoft Visual Basic, but the author insists it's not meant as a clone. So, for example, the implementations of Str$(), Val() or CStr() behave differently than with VB, controls are defined as private, in Break Mode you can't make changes to the code, and simple data types like Integer or Strings can only be passed into functions by value, but not by reference. The Gambas documentation reveals the details of these differences. In coming versions, Minisini plans to introduce several extensions, such as libxml2-provided XML functions, Perl-compatible regular expressions, persistent objects or GTK+ support for programming graphical user interfaces. So far, you can use only the C++ framework Qt by the Norwegian company Trolltech for Gambas applications. The development environment is available for compiling under Linux. Binary packages are available for different distrbutions (for example, Debian Sarge, Fedora Core 2, Gentoo or Suse.) Rob From fidojones at ...805... Wed Jan 26 19:42:46 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Wed, 26 Jan 2005 19:42:46 +0100 Subject: [Gambas-user] some examples code for every gambin boy :D Message-ID: <200501261942.46393.fidojones@...805...> I know a lot of people like me is searching for some examples code, I released here my project, it's a alpha version a lot of things are working very very bad, but it could help to gambas developers. There are examples of MDI , TableView, ListBox with and ID reference, and codebar codes. To use it please create "tiendagest" data base, tiendagest.sql is include in tgz , and if you want to view code bar include the EAN13.ttf in your kde. Happy GAMBAS Lorenzo Tejera -------------- next part -------------- A non-text attachment was scrubbed... Name: tiendagest-0.0.7.tar.gz Type: application/x-tgz Size: 56836 bytes Desc: not available URL: From fidojones at ...805... Wed Jan 26 20:52:18 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Wed, 26 Jan 2005 20:52:18 +0100 Subject: [Gambas-user] Re: some examples code for every gambin boy :D In-Reply-To: <200501261942.46393.fidojones@...805...> References: <200501261942.46393.fidojones@...805...> Message-ID: <200501262052.18098.fidojones@...805...> Sorry I lose it, if some want to download this code from my web tiendagest-0.0.7.tar.gz is there http://www.fidojones.com El Mi?rcoles, 26 de Enero de 2005 19:42, escribi?: > some examples code for every gambin boy :D From daniel.campos at ...338... Wed Jan 26 22:34:31 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Wed, 26 Jan 2005 22:34:31 +0100 Subject: [Gambas-user] Re: some examples code for every gambin boy :D In-Reply-To: <200501262052.18098.fidojones@...805...> References: <200501261942.46393.fidojones@...805...> <200501262052.18098.fidojones@...805...> Message-ID: <41F80CE7.5090100@...338...> Lorenzo Tejera escribi?: >Sorry I lose it, if some want to download this code from my web > > >tiendagest-0.0.7.tar.gz is there http://www.fidojones.com > >El Mi?rcoles, 26 de Enero de 2005 19:42, escribi?: > > Could you resize the labels in the splash screen? The text is too wide... Regards, D. Campos >>some examples code for every gambin boy :D >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >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: tiendagest.png Type: image/png Size: 22721 bytes Desc: not available URL: From olivierthiery at ...402... Thu Jan 27 00:34:28 2005 From: olivierthiery at ...402... (Olivier THIERY) Date: Thu, 27 Jan 2005 00:34:28 +0100 Subject: [Gambas-user] Arrange containers Message-ID: <41F82904.5020009@...402...> Hello all, This is my first post here, so hi everyone :-) I've been playing a bit with Gambas since version 1.0 is out, just to learn how to use the different components. And I do have a question now. Let's imagine I drop a Frame (which inherits Container) on a Form (which inherits Window), and then a Button on the Frame. I can set the Arrangement property of the Form to "Fill", which will cause the Frame to automatically fill the whole available space even if I resize the Form. Yet there is no Arrangement property to the Frame that I could set to "Fill" to have the Button fill the Frame space. Do I have to resize the button manually ? Or can I link the frame with a Box just like I can use a wxStaticBoxSizer with wxPython (that is mostly like a box with a Frame around) ? Thanks, Olviier Thiery From edamron at ...776... Thu Jan 27 03:04:49 2005 From: edamron at ...776... (Eric Damron) Date: Wed, 26 Jan 2005 18:04:49 -0800 Subject: [Gambas-user] MySQL Data In-Reply-To: <200501251111.07659.gambas@...1...> References: <41F1E5D4.6010308@...776...> <200501251111.07659.gambas@...1...> Message-ID: <41F84C41.7020607@...776...> Benoit Minisini wrote: >On Saturday 22 January 2005 06:34, Eric Damron wrote: > > >>I'm writing a simple DVD collection database front end to MySQL in order >>to learn Gambas. I've noticed that when the user enters a title like >>"Hogan's Heros" an exception is thrown because of the apostrophe. I >>fixed this problem by sending all user inputs to a function that looks >>for this and returns ?\'? when it finds one. >> >>However, if the user enters a ?&? the same thing happens even if I >>convert it to ?\&? Does anyone know how to properly ?sanitize? user >>input to MySQL? >> >>Thanks. >> >> >> > >A old VB user yet :-) ? > >To avoid these problems, you should use the substitute features of Exec(), >Find() and Edit() methods. > >For example, instead of writing this in your code: > > strSQL = "insert into DATA ( description ) VALUES ( '" & strTextBox & "' )" > > Message("SQL = " & strSQL) > rsRecord = hConnection.Exec( strSQL) > >Write: > > rsRecord = hConnection.Exec("insert into DATA ( description ) VALUES (&1)", >strTextBox) > >The gambas database component will carefully deals with escape characters so >that the syntax of the query is correct, whatever database server you use. > >Regards, > > > Thanks! Does the substitute features of Exec() have any limitations that I should know about? In the following line I get an error message: hConnection.Exec("insert into DISC (title, rating_id, note, genre_primary, genre_secondary, format_code) values (&1, &2, &3, &4, &5)", strTitle, strRatingID, strNote, strGenrePrimary, strGenreSecondary, strFormatCode) The message is "Query failed: Unknown column 'W' in 'field list' As you can see there is no 'W' in the field list. 'W' is the data being sent in to 'format_code' (It stands for Wide Screen) If I enter a DVD and set the format code to "S"tandard I get the error "Query failed: Unknown column 'S' in 'field list' BTW format_code is a valid field in the database. Any ideas?? Thanks From picander78 at ...325... Thu Jan 27 15:30:22 2005 From: picander78 at ...325... (Marco Gusy) Date: Thu, 27 Jan 2005 15:30:22 +0100 Subject: [Gambas-user] Feature wish In-Reply-To: <200501261121.38715.fidojones@...805...> References: <200501261121.38715.fidojones@...805...> Message-ID: <200501271530.23372.picander78@...325...> Alle 11:21, mercoled? 26 gennaio 2005, Lorenzo Tejera ha scritto: > Or someone could send me and example of TableView use, I'm a bit confused > with it. I add my wish to have individual grid cells (gridview) backcolor... it would be great! Marco Gusy From nigel at ...38... Thu Jan 27 16:00:52 2005 From: nigel at ...38... (nigel at ...38...) Date: Thu, 27 Jan 2005 16:00:52 +0100 (CET) Subject: [Gambas-user] MySQL Data Message-ID: <16967497.1106838052386.JavaMail.www@...718...> Eric, Should there be an &6 in the statement...there seems to be 6 parameters. Nigel > Message date : Jan 27 2005, 01:41 PM > From : "Eric Damron" > To : gambas-user at lists.sourceforge.net > Copy to : > Subject : Re: [Gambas-user] MySQL Data > Benoit Minisini wrote: > > >On Saturday 22 January 2005 06:34, Eric Damron wrote: > > > > > >>I'm writing a simple DVD collection database front end to MySQL in order > >>to learn Gambas. I've noticed that when the user enters a title like > >>"Hogan's Heros" an exception is thrown because of the apostrophe. I > >>fixed this problem by sending all user inputs to a function that looks > >>for this and returns ?\'? when it finds one. > >> > >>However, if the user enters a ?&? the same thing happens even if I > >>convert it to ?\&? Does anyone know how to properly ?sanitize? user > >>input to MySQL? > >> > >>Thanks. > >> > >> > >> > > > >A old VB user yet :-) ? > > > >To avoid these problems, you should use the substitute features of Exec(), > >Find() and Edit() methods. > > > >For example, instead of writing this in your code: > > > > strSQL = "insert into DATA ( description ) VALUES ( '" & strTextBox & "' )" > > > > Message("SQL = " & strSQL) > > rsRecord = hConnection.Exec( strSQL) > > > >Write: > > > > rsRecord = hConnection.Exec("insert into DATA ( description ) VALUES (&1)", > >strTextBox) > > > >The gambas database component will carefully deals with escape characters so > >that the syntax of the query is correct, whatever database server you use. > > > >Regards, > > > > > > > Thanks! Does the substitute features of Exec() have any limitations > that I should know about? In the following line I get an error message: > hConnection.Exec("insert into DISC (title, rating_id, note, > genre_primary, genre_secondary, format_code) values (&1, &2, &3, &4, > &5)", strTitle, strRatingID, strNote, strGenrePrimary, > strGenreSecondary, strFormatCode) > > The message is "Query failed: Unknown column 'W' in 'field list' > > As you can see there is no 'W' in the field list. 'W' is the data being > sent in to 'format_code' (It stands for Wide Screen) If I enter a DVD > and set the format code to "S"tandard I get the error "Query failed: > Unknown column 'S' in 'field list' > > BTW format_code is a valid field in the database. Any ideas?? > > Thanks > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -------------- next part -------------- An HTML attachment was scrubbed... URL: From pat at ...823... Thu Jan 27 16:06:38 2005 From: pat at ...823... (Pat Collins) Date: Thu, 27 Jan 2005 10:06:38 -0500 Subject: [Gambas-user] MySQL Data In-Reply-To: <41F84C41.7020607@...776...> References: <41F1E5D4.6010308@...776...> <200501251111.07659.gambas@...1...> <41F84C41.7020607@...776...> Message-ID: <20050127150638.GF15380@...823...> On Wed, Jan 26, 2005 at 06:04:49PM -0800, Eric Damron wrote: > Thanks! Does the substitute features of Exec() have any limitations > that I should know about? In the following line I get an error message: > hConnection.Exec("insert into DISC (title, rating_id, note, > genre_primary, genre_secondary, format_code) values (&1, &2, &3, &4, > &5)", strTitle, strRatingID, strNote, strGenrePrimary, > strGenreSecondary, strFormatCode) > Your insert is broken. You are tring to insert 5 values into 6 columns. -- Pat Collins http://www.linuxcolumbus.com From scatman_ at ...17... Thu Jan 27 18:09:55 2005 From: scatman_ at ...17... (scatman) Date: Thu, 27 Jan 2005 18:09:55 +0100 Subject: [Gambas-user] little Bug in Gambas ? Message-ID: <200501271809.55797.scatman_@...17...> Hello, if i make a Executable with the Project Name is allready fine. But, if i rename the Executable to Compile, the Exe will bigger and bigger from Compile to Compile. -- scatman From lordheavy at ...512... Thu Jan 27 21:34:57 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 27 Jan 2005 21:34:57 +0100 Subject: [Gambas-user] Re: some examples code for every gambin boy :D In-Reply-To: <200501262052.18098.fidojones@...805...> References: <200501261942.46393.fidojones@...805...> <200501262052.18098.fidojones@...805...> Message-ID: <200501272134.57909.lordheavy@...512...> Le Mercredi 26 Janvier 2005 20:52, Lorenzo Tejera a ?crit?: > Sorry I lose it, if some want to download this code from my web > > > tiendagest-0.0.7.tar.gz is there http://www.fidojones.com > > El Mi?rcoles, 26 de Enero de 2005 19:42, escribi?: > > some examples code for every gambin boy :D > Thank you for the code. You can take an account and post your code at http://gambas.magic-systems.net/ Regards, -- Laurent Carlier From bpnowhere at ...402... Thu Jan 27 23:06:11 2005 From: bpnowhere at ...402... (bp) Date: Thu, 27 Jan 2005 23:06:11 +0100 Subject: [Gambas-user] gambas inheritance en protected members Message-ID: <41F965D3.2090105@...402...> hello, I don't really understand how gambas inheritance works. I try to write this : A first class with one member and one method which is named 'father' ' Gambas class file father PUBLIC myvar AS Integer PUBLIC FUNCTION test(var AS Integer) AS Boolean RETURN FALSE END A second class named "son" which inherits from the first one ' Gambas class file INHERITS father PUBLIC FUNCTION test (var AS Integer) AS Boolean RETURN ( var = myvar) END And the compilation aborts on the second class on myvar. Can you help me ? bp From fidojones at ...805... Thu Jan 27 23:23:30 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Thu, 27 Jan 2005 23:23:30 +0100 Subject: [Gambas-user] to Benoit Minisini - silly message Unexpected null receiver Message-ID: <200501272323.30983.fidojones@...805...> I think you know, if you use TableView in a form when form close it print this message in console, I don't know if it could break anything along time. QApplication::postEvent: Unexpected null receiver From sourceforge-raindog2 at ...94... Fri Jan 28 05:03:07 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 27 Jan 2005 23:03:07 -0500 Subject: [Gambas-user] Here you go: ImportVBProject Message-ID: <200501272303.07669.sourceforge-raindog2@...94...> OK, I always said once gambas had a pcre component I could port frm2form over to Gambas. I have now done that, and while I was at it, I made it so you can import an entire project (.vbp file plus .frm files) all at once into a new Gambas project, and integrated a little bit of .frx decoding. You need the last version of my pcre component, which I posted on Tuesday on gambas-devel. Also... IT WILL NOT TRANSLATE ANY CODE, JUST THE FORM DESIGNS. Once more for my fellow Americans: NO CODE WILL BE TRANSLATED. YOU HAVE TO DO THAT YOURSELF. Here's the changelog, to give you an idea of what it does.... 0.0.7 - 2005-01-27 - First public release. - Imports forms into existing projects. - Also imports entire projects. - Converts NO CODE, only form designs. Code is copied over and commented out. - Not all properties of all controls are supported. - Unknown controls are converted to PictureBox as in VB. - Attempts to convert user-created controls (.ctl) as forms. - Generates code in Form_Open to fake VB's control array feature. - Attempts to extract graphics from .frx files. - If netpbm and ImageMagick are installed, converts extracted .ico files to .png files. - If you have trouble compiling the resulting project, open each converted form, move it a little to mark it as dirty, and save it again. Trust me on this :-) Bug reports please! Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: ImportVBProject-0.0.7.tar.gz Type: application/x-tgz Size: 16483 bytes Desc: not available URL: From technoferret at ...598... Fri Jan 28 09:35:47 2005 From: technoferret at ...598... (Dave sharples) Date: Fri, 28 Jan 2005 08:35:47 +0000 Subject: [Gambas-user] Package Dependancies Message-ID: <1106901347.15347.17.camel@...599...> I have written a small program and packaged it as a .deb using the packaging wizard. When I come to install it on a system without Gambas it installs fine but obviously wont run because of the missing runtime library. What I need to know is how do I tell the .deb package that it has a dependancy on the runtime and therefore to install the runtime from the .deb repository. I also have a second related problem that in that in the official debian repository the runtime files are packaged as 'gambas-runtime' but in the Linspire (debian based) repository the runtime is packaged as 'libgambas0'. So I have to tell the .deb to depend on one or the other of these packages. Can any debian guru's help me out. Cheers Dave From csorda at ...69... Fri Jan 28 12:34:44 2005 From: csorda at ...69... (csorda@libero.it) Date: Fri, 28 Jan 2005 12:34:44 +0100 Subject: [Gambas-user] (no subject) Message-ID: Greetings and saluti da Carlo. Gambas is a great software. Congratulation. I have some question for you: 1) I have a binary file like that C struct mapping: typedef struct myRecord{ char sync[2]; char type[4]; char quality; char time[9]; char source[2]; float x; //4 byte float y; } DOMessage; Can you give me a sample to convert this in GAMBAS? and when I read a float (4 byte) value from binary file in GAMBAS I have problem becouse float is 8 byte len. What can i do for read float len 4 byte? 2) I evaluating a tool for develop a GUI and a Mathematical engine for a critical application in Space Engeneer sector. Do you thing GAMBAS is enough stable to develop critical application for read information from serial port, calculate vector operation, display information and send command to another serial port? Thanks in advance. See you soon. ____________________________________________________________ 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it From igor.furlan at ...626... Fri Jan 28 15:25:53 2005 From: igor.furlan at ...626... (Primorec) Date: Fri, 28 Jan 2005 06:25:53 -0800 Subject: [Gambas-user] Re: Instalation problems in GAMBAS In-Reply-To: <20050128125144.493.qmail@...824...> References: <20050128125144.493.qmail@...824...> Message-ID: <54728e74050128062567aac0dc@...627...> Please read the file README.REDHAT. It is a part of the distribution On Fri, 28 Jan 2005 12:51:44 +0000 (GMT), siva g wrote: > Hai Sir, > I am siva kumar from hyderabad. > I want to install GAMBAS-1.0.2 on my redhat9 > linux operating system and my version is 2.4.6. > Please specify What are the packages needed before > installing GAMBAS and also specify sites to get that > packages. > Please mention the instructions to install the > GAMBAS and its mandatory packages. > i hope that getting reply from u. > Thank you sir, > Siva. > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Easier than ever with enhanced search. Learn more. > http://info.mail.yahoo.com/mail_250 > From csorda at ...69... Fri Jan 28 15:29:07 2005 From: csorda at ...69... (csorda@libero.it) Date: Fri, 28 Jan 2005 15:29:07 +0100 Subject: [Gambas-user] Float 4 byte size in bin mode Message-ID: Greetings and saluti da Carlo. Gambas is a great software. Congratulation. I have some question for you: 1) I have a binary file like that C struct mapping: typedef struct myRecord{ char sync[2]; char type[4]; char quality; char time[9]; char source[2]; float x; //4 byte float y; } DOMessage; Can you give me a sample to convert this in GAMBAS? and when I read a float (4 byte) value from binary file in GAMBAS I have problem becouse float is 8 byte len. What can i do for read float len 4 byte? 2) I evaluating a tool for develop a GUI and a Mathematical engine for a critical application in Space Engeneer sector. Do you thing GAMBAS is enough stable to develop critical application for read information from serial port, calculate vector operation, display information and send command to another serial port? Thanks in advance. See you soon. ____________________________________________________________ 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it From oystein at ...816... Fri Jan 28 15:41:30 2005 From: oystein at ...816... (Øystein Selbekk) Date: Fri, 28 Jan 2005 15:41:30 +0100 Subject: [Gambas-user] Distributing software made with Gambas Message-ID: Hi! Does anyone know if it is possible to run a Gambas app on another machine without having to install Gambas on it? Couldnt find any docs on that on the Gambas web site.... I am trying to distribute it to a debian distro called skolelinux, wich is a thin client solution for schools. Regards Oystein Selbekk From sourceforge-raindog2 at ...94... Fri Jan 28 16:48:00 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 28 Jan 2005 10:48:00 -0500 Subject: [Gambas-user] 1.9.2 IDE causes SEGV when FMain is saved Message-ID: <200501281048.00496.sourceforge-raindog2@...94...> If I do the following in a copy of the IDE, gbx2 will segv. I have attached gdb output including what appears to be a useless backtrace. 1. Start gambas2 (whether as "gambas2" or as "gbx -x /usr/bin/gambas2") 2. Open a copy of the IDE 3. Open form FMain 4. Mark FMain as dirty, e.g. by moving it 5. Press Control-S to save the form Boom, segmentation fault, gambas2 goes away. FMain.form is also gone, having already been renamed to FMain.form~. The location of the crash in gbx2 appears to be: EXEC_enter () at gbx_exec.c:291 291 func = &class->load->func[EXEC.index]; Vanilla build of Gambas2 1.9.2 from my own RPMs under Mandrake 10.1. Rob -------------- next part -------------- (gdb) run Starting program: /usr/bin/gbx2 -x /usr/bin/gambas2 Detaching after fork from child process 2801. Program received signal SIGSEGV, Segmentation fault. EXEC_enter () at gbx_exec.c:291 291 func = &class->load->func[EXEC.index]; (gdb) bt #0 EXEC_enter () at gbx_exec.c:291 #1 0x0804d058 in EXEC_function_real (keep_ret_value=1 '\001') at gbx_exec.c:542 #2 0x0804e041 in EXEC_push_unknown () at gbx_exec_push.c:276 #3 0x0804eac7 in EXEC_loop () at gbx_exec_loop.c:621 #4 0x0804d099 in EXEC_function_real (keep_ret_value=1 '\001') at gbx_exec.c:550 #5 0x08059f86 in GB_Raise (event_id=0, nparam=0) at gbx_api.c:437 #6 0x40ce87bc in ?? () #7 0x082be470 in ?? () #8 0x00000000 in ?? () #9 0x00000000 in ?? () #10 0x00000001 in ?? () #11 0x00000002 in ?? () #12 0xbfffeda0 in ?? () #13 0x08052f1e in EVENT_check_post () at gbx_event.c:176 #14 0x08052f1e in EVENT_check_post () at gbx_event.c:176 #15 0x40cdaa9b in ?? () #16 0x40d0af1c in ?? () #17 0xbfffedc4 in ?? () #18 0x40cda2b6 in ?? () #19 0x40d0c160 in ?? () #20 0x40705aa8 in ?? () #21 0x081290c0 in ?? () #22 0xbfffee2c in ?? () #23 0x0823c080 in ?? () #24 0x4029f708 in ?? () #25 0x40d0c160 in ?? () #26 0x00000002 in ?? () #27 0xbfffee2c in ?? () #28 0x405e370c in ?? () #29 0x0806dbb4 in ?? () #30 0x40705aa8 in ?? () #31 0x00000000 in ?? () #32 0x08128e38 in ?? () #33 0x08128e38 in ?? () #34 0xbfffee40 in ?? () #35 0x0823c080 in ?? () #36 0x4023477c in ?? () #37 0x083a2220 in ?? () #38 0x08128e60 in ?? () ---Type to continue, or q to quit--- #39 0x08128e38 in ?? () #40 0x40705aa8 in ?? () #41 0xbfffee54 in ?? () #42 0xbfffee2c in ?? () #43 0x0823c080 in ?? () #44 0x405e38bd in ?? () #45 0x08128e38 in ?? () #46 0x0823c080 in ?? () #47 0xbfffee2c in ?? () #48 0x00000030 in ?? () #49 0x407126c4 in ?? () #50 0x00000000 in ?? () #51 0x00000000 in ?? () #52 0x4029cff7 in ?? () #53 0x40629f8a in ?? () #54 0x40710bd0 in ?? () #55 0x083a2220 in ?? () #56 0x40705aa8 in ?? () #57 0x0839c2a0 in ?? () #58 0x08128e38 in ?? () #59 0x08128e10 in ?? () #60 0x405e3920 in ?? () #61 0x08128e38 in ?? () #62 0x00000003 in ?? () #63 0x00000000 in ?? () #64 0x40705aa8 in ?? () #65 0x08128e38 in ?? () #66 0x08128e38 in ?? () #67 0x08128e10 in ?? () #68 0x402baee4 in ?? () #69 0x08128e38 in ?? () #70 0x08128e60 in ?? () #71 0x0000007f in ?? () #72 0x4022c5a2 in ?? () #73 0x0839c2a0 in ?? () #74 0x00000000 in ?? () #75 0xbffff05c in ?? () #76 0x40705aa8 in ?? () #77 0x40705aa8 in ?? () ---Type to continue, or q to quit--- #78 0x08128e10 in ?? () #79 0x08128e38 in ?? () #80 0x402c2b14 in ?? () #81 0x08128e38 in ?? () #82 0x00000000 in ?? () #83 0xbfffeeec in ?? () #84 0x40705aa8 in ?? () #85 0x40705aa8 in ?? () #86 0x08133e38 in ?? () #87 0xbffff0ec in ?? () #88 0x4023a015 in ?? () #89 0x08128e10 in ?? () #90 0xbffff0ec in ?? () #91 0xbffff0ec in ?? () #92 0x40a5b8b3 in ?? () #93 0x0808ff40 in ?? () #94 0x4070efb4 in ?? () #95 0xbfffeeec in ?? () #96 0x00d5fb3d in ?? () #97 0x081330f0 in ?? () #98 0x00000000 in ?? () #99 0x003fffff in ?? () #100 0x402d242f in ?? () #101 0x00000000 in ?? () #102 0x00000000 in ?? () #103 0x00000000 in ?? () #104 0x40705aa8 in ?? () #105 0x08128e10 in ?? () #106 0x00000001 in ?? () #107 0x00000000 in ?? () #108 0x4023a1e3 in ?? () #109 0x0808f870 in ?? () #110 0x08128e10 in ?? () #111 0xbffff0ec in ?? () #112 0x401c25ad in ?? () #113 0x082bf7b0 in ?? () #114 0x02e01895 in ?? () #115 0x000000f8 in ?? () #116 0x40705aa8 in ?? () ---Type to continue, or q to quit--- #117 0x08152420 in ?? () #118 0x4079d481 in ?? () #119 0xbffff24c in ?? () #120 0x40705aa8 in ?? () #121 0x00000027 in ?? () #122 0x08152420 in ?? () #123 0xbffff24c in ?? () #124 0x401cf947 in ?? () #125 0x08152420 in ?? () #126 0xbffff24c in ?? () #127 0x00000000 in ?? () #128 0x00000000 in ?? () #129 0x00000000 in ?? () #130 0x00000000 in ?? () #131 0x00000000 in ?? () #132 0x00000000 in ?? () #133 0x3ff00000 in ?? () #134 0x0839c9b0 in ?? () #135 0x00000000 in ?? () #136 0x0808f870 in ?? () #137 0x40855b20 in ?? () #138 0x40855218 in ?? () #139 0x40855b20 in ?? () #140 0x0000000c in ?? () #141 0xbfffefc4 in ?? () #142 0x4079baf9 in ?? () #143 0x40855b20 in ?? () #144 0x0000000c in ?? () #145 0x3ff00000 in ?? () #146 0x00000000 in ?? () #147 0x0839c9b8 in ?? () #148 0x40c114b0 in ?? () #149 0x0000000c in ?? () #150 0x0837aa40 in ?? () #151 0xbfffeff4 in ?? () #152 0x40beccee in ?? () #153 0x0000000c in ?? () #154 0x00000000 in ?? () #155 0x00000000 in ?? () ---Type to continue, or q to quit--- #156 0x40578969 in ?? () #157 0x00000000 in ?? () #158 0x02e00250 in ?? () #159 0x081d51f8 in ?? () #160 0x40705aa8 in ?? () #161 0x0837aa40 in ?? () #162 0x0837aa40 in ?? () #163 0x40705aa8 in ?? () #164 0x40576097 in ?? () #165 0x00000000 in ?? () #166 0x4063fe94 in ?? () #167 0x00000182 in ?? () #168 0x40705aa8 in ?? () #169 0x0837aa40 in ?? () #170 0x0837aa40 in ?? () #171 0x08129130 in ?? () #172 0x405761f2 in ?? () #173 0x08129130 in ?? () #174 0x0837aa40 in ?? () #175 0x0839e218 in ?? () #176 0x40855b20 in ?? () #177 0x40855218 in ?? () #178 0x40855b20 in ?? () #179 0x0839c9b8 in ?? () #180 0x40705aa8 in ?? () #181 0x00000000 in ?? () #182 0x0837aa40 in ?? () #183 0x00000000 in ?? () #184 0x4022c62b in ?? () #185 0x08129130 in ?? () #186 0x00000000 in ?? () #187 0x0837aa40 in ?? () #188 0x40beb871 in ?? () #189 0x0839c9b8 in ?? () #190 0x40705aa8 in ?? () #191 0x0837aa4c in ?? () #192 0x40705aa8 in ?? () #193 0xbffff0ec in ?? () #194 0x00000001 in ?? () ---Type to continue, or q to quit--- #195 0x00000000 in ?? () #196 0x4022d218 in ?? () #197 0x0808f870 in ?? () #198 0x08128e10 in ?? () #199 0xbffff0ec in ?? () #200 0x40576bce in ?? () #201 0x40705aa8 in ?? () #202 0x4070fc5c in ?? () #203 0xbffff24c in ?? () #204 0x40559002 in ?? () #205 0x080ffc60 in ?? () #206 0xbffff24c in ?? () #207 0xbffff2e0 in ?? () #208 0x4023b085 in ?? () #209 0x0806f3d0 in ?? () #210 0x080f2d10 in ?? () #211 0xbffff0dc in ?? () #212 0x406d4568 in ?? () #213 0xbffff0ec in ?? () #214 0xbffff0e4 in ?? () #215 0x0837aa44 in ?? () #216 0x405dbc9c in ?? () #217 0x0837aa40 in ?? () #218 0x00000001 in ?? () #219 0x00000000 in ?? () #220 0x00804b4e in ?? () #221 0x41fa5b05 in ?? () #222 0x000ebd13 in ?? () #223 0x41fa5b05 in ?? () #224 0x000ebd13 in ?? () #225 0x406d4568 in ?? () #226 0x00000001 in ?? () #227 0xbffff114 in ?? () #228 0x00000080 in ?? () #229 0x0000000c in ?? () #230 0x0808ef60 in ?? () #231 0x0000000b in ?? () #232 0x40705aa8 in ?? () #233 0x00000000 in ?? () ---Type to continue, or q to quit--- #234 0x00000000 in ?? () #235 0x0000000b in ?? () #236 0x401e3d7a in ?? () #237 0x0808ef60 in ?? () #238 0x0808f3e0 in ?? () #239 0x0808f564 in ?? () #240 0x0808f6e8 in ?? () #241 0x40710b9c in ?? () #242 0x00000000 in ?? () #243 0x00000000 in ?? () #244 0x00000000 in ?? () #245 0x00000000 in ?? () #246 0x00000000 in ?? () #247 0x00000000 in ?? () #248 0x00000000 in ?? () #249 0x00000000 in ?? () #250 0x00000000 in ?? () #251 0x00000000 in ?? () #252 0x00000000 in ?? () #253 0x00000000 in ?? () #254 0x00000000 in ?? () #255 0x00000000 in ?? () #256 0x00000000 in ?? () #257 0x00000000 in ?? () #258 0x00000000 in ?? () #259 0x00000000 in ?? () #260 0x40710b9c in ?? () #261 0x01000000 in ?? () #262 0x00000001 in ?? () #263 0x0808ef60 in ?? () #264 0x00000000 in ?? () #265 0x00000000 in ?? () #266 0x00000000 in ?? () #267 0x00000000 in ?? () #268 0x00000000 in ?? () #269 0x00000000 in ?? () #270 0x00000000 in ?? () #271 0x00000000 in ?? () #272 0x00000000 in ?? () ---Type to continue, or q to quit--- #273 0x00000000 in ?? () #274 0x00000000 in ?? () #275 0xbffff330 in ?? () #276 0x000aa306 in ?? () #277 0x000aa306 in ?? () #278 0xbffff228 in ?? () #279 0x40007466 in do_lookup_x (undef_name=0x40d0c160 "h??@ ", hash=1081105064, ref=0x81290c0, result=0xbfffee2c, scope=0x0, i=1076492040, version=0x40d0af1c, flags=2, skip=0xbfffee2c, type_class=1079916300) at do-lookup.h:92 Previous frame inner to this frame (corrupt stack?) (gdb) From lduperval at ...626... Fri Jan 28 18:48:43 2005 From: lduperval at ...626... (Laurent Duperval) Date: Fri, 28 Jan 2005 12:48:43 -0500 Subject: [Gambas-user] Distributing software made with Gambas In-Reply-To: References: Message-ID: <870c8dd205012809483b1e05e7@...627...> Waht about saving an executable? Isn't that what it's supposed to do? L From sourceforge-raindog2 at ...94... Fri Jan 28 20:34:30 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 28 Jan 2005 14:34:30 -0500 Subject: [Gambas-user] Distributing software made with Gambas In-Reply-To: References: Message-ID: <200501281434.30419.sourceforge-raindog2@...94...> On Friday 28 January 2005 09:41, ?ystein Selbekk wrote: > Does anyone know if it is possible to run a Gambas app on > another machine without having to install Gambas on it? Nope, it's not. Gambas needs the Gambas interpreter installed, plus whatever components you need in your desired program. You should try the packaging wizard. > Couldnt find any docs on that on the Gambas web site.... I am > trying to distribute it to a debian distro called skolelinux, > wich is a thin client solution for schools. The packaging wizard will apparently generate .deb files for use with debian. Not being a debian person, I don't know how well this works. Rob From LACKKD at ...674... Fri Jan 28 19:02:48 2005 From: LACKKD at ...674... (Kevin Devenport Lackey) Date: Fri, 28 Jan 2005 11:02:48 -0700 Subject: [Gambas-user] Inserting data into a tableview In-Reply-To: Message-ID: How do I insert data into a tableview....? I tried using syntax like the gridview but I hit a read only problem. example code tblView[1,1].Text = "test" Results in .TableViewCell.Text is read only. Thanks! Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From edamron at ...776... Sat Jan 29 02:36:34 2005 From: edamron at ...776... (Eric Damron) Date: Fri, 28 Jan 2005 17:36:34 -0800 Subject: [Gambas-user] MySQL Data In-Reply-To: <41F84C41.7020607@...776...> References: <41F1E5D4.6010308@...776...> <200501251111.07659.gambas@...1...> <41F84C41.7020607@...776...> Message-ID: <41FAE8A2.4090800@...776...> Sorry the line actually is: hConnection.Exec("insert into DISC (title, rating_id, note, genre_primary, genre_secondary, format_code) values (&1, &2, &3, &4, &5, &6)", strTitle, strRatingID, strNote, strGenrePrimary, strGenreSecondary, strFormatCode) And the error I get is as described in my last message. From alessandro.bottoni at ...122... Sat Jan 29 09:51:00 2005 From: alessandro.bottoni at ...122... (alessandro bottoni) Date: Sat, 29 Jan 2005 09:51:00 +0100 Subject: [Gambas-user] DCOP, LDAP and iCalendar support? Message-ID: <200501290951.01214.alessandro.bottoni@...122...> I'm evaluating the possibility to develop a small (but quite complex) network application with Gambas. Does anybody know if Gambas supports the following technologies? DCOP: does Gambas has any way to communicate with KDE applications via DCOP (or D-Bus)? I have to "talk" to Korganizer and Kmail. LDAP: does Gambas has any library for reading and writing LDAP records at an attribute level? I have the need to add, modify and remove the e-mail accounts of a LDAP-based address book. I'm particularly concerned about the possibility to change an existing account because many LDAP libraries seems to lack this feature. They can just add or remove a whole account (at the record level). iCalendar (vCalendar): does Gambas has any library for reading and writing a shared (server-based) iCalendar or vCalendar at the individual event level? Many thanks in advance for your attention ------------------------------------ Alessandro Bottoni From daniel.campos at ...338... Sat Jan 29 10:28:35 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Sat, 29 Jan 2005 10:28:35 +0100 Subject: [Gambas-user] DCOP, LDAP and iCalendar support? In-Reply-To: <200501290951.01214.alessandro.bottoni@...122...> References: <200501290951.01214.alessandro.bottoni@...122...> Message-ID: <41FB5743.6030805@...338...> alessandro bottoni escribi?: >I'm evaluating the possibility to develop a small (but quite complex) network >application with Gambas. Does anybody know if Gambas supports the following >technologies? > >DCOP: does Gambas has any way to communicate with KDE applications via DCOP >(or D-Bus)? I have to "talk" to Korganizer and Kmail. > > Gambas can use DCOP using the gb.qt.kde component: http://www.binara.com/gambas-wiki/static/Gambas/GbQtKde.html >LDAP: does Gambas has any library for reading and writing LDAP records at an >attribute level? I have the need to add, modify and remove the e-mail accounts >of a LDAP-based address book. I'm particularly concerned about the >possibility to change an existing account because many LDAP libraries seems >to lack this feature. They can just add or remove a whole account (at the >record level). > > There's not LDAP component, however here's a sample program using LDAP: http://forja.linex.org/project/showfiles.php?group_id=14&release_id=108 >iCalendar (vCalendar): does Gambas has any library for reading and writing a >shared (server-based) iCalendar or vCalendar at the individual event level? > > > I don't know about this... Regards, D. Campos >Many thanks in advance for your attention > >------------------------------------ >Alessandro Bottoni > > >------------------------------------------------------- >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From gambasfr at ...11... Sat Jan 29 16:20:09 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 29 Jan 2005 16:20:09 +0100 Subject: [Gambas-user] gambas inheritance en protected members In-Reply-To: <41F965D3.2090105@...402...> References: <41F965D3.2090105@...402...> Message-ID: <200501291620.10064.gambasfr@...11...> Le jeudi 27 Janvier 2005 23:06, bp a ?crit?: > hello, > > I don't really understand how gambas inheritance works. > I try to write this : > > A first class with one member and one method which is named 'father' > > ' Gambas class file father > PUBLIC myvar AS Integer > PUBLIC FUNCTION test(var AS Integer) AS Boolean > RETURN FALSE > END > > A second class named "son" which inherits from the first one > > ' Gambas class file > INHERITS father > PUBLIC FUNCTION test (var AS Integer) AS Boolean RETURN ( var = Me.myvar) <==== correction > END > > And the compilation aborts on the second class on myvar. > > Can you help me ? > > bp > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Fabien Bodard From na2492 at ...9... Sat Jan 29 18:51:01 2005 From: na2492 at ...9... (Charlie Reinl) Date: Sat, 29 Jan 2005 18:51:01 00100 Subject: [Gambas-user] Inserting data into a tableview Message-ID: <41fbcd05.1c04.0@...9...> >How do I insert data into a tableview....? I tried using syntax like the >gridview but I hit a read only problem. > >example code > >tblView[1,1].Text = "test" > > > >Results in .TableViewCell.Text is read only. > >Thanks! >Kevin > Salut Kevin, I attached you an example for TableView, other you find in the gambas-database-manager. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- A non-text attachment was scrubbed... Name: XTableView-0.0.12.tar.gz Type: application/x-tgz Size: 30178 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Sat Jan 29 21:06:26 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 29 Jan 2005 15:06:26 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE Message-ID: <200501291506.26588.sourceforge-raindog2@...94...> Fakebas is a modified version of the Gambas IDE that uses an MDI workspace for the forms and code editor windows, and has the toolbox, project explorer, console and properties arranged around the outer edge of the main window using splitters so you can resize them as you like. This is not as flexible as, for example, an app like VB6 with dockable tool windows for all those things, but this is also just the first release ;) The next thing I will be doing is some kind of window list for the MDI windows, since they can easily become unmanageable if you just use the built in minimize/maximize stuff. But right now I need to go out and do some errands. Here is a screenshot and a link to the entry on my homepage for the project (since it's over a meg, I can't simply attach it.) I imagine there are lots of deadly bugs in there waiting to eat your projects, so please post your findings. I'd also like suggestions for a name, since it can't be called "gambas-anything" for fear of confusing people. I was going to name it "billybas" but that was even lamer than "fakebas", and besides, the IDE doesn't sing yet. This IDE is for the 1.x series, not the unstable series, and requires Gambas 1.0.2. http://www.kudla.org/index.php?wl_mode=more&wl_eid=71 Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: fakebas003.png Type: image/png Size: 84090 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Sat Jan 29 21:24:27 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 29 Jan 2005 15:24:27 -0500 Subject: [Gambas-user] bug in packaging wizard of 1.0.2 Message-ID: <200501291524.27082.sourceforge-raindog2@...94...> When you make a package of a Gambas project in 1.0.2, it adds the following dependencies to your package: gambas-runtime >= 0.95 gambas-runtime <= 1.0 gambas-gb-debug >= 0.95 gambas-gb-debug <= 1.0 gambas-gb-qt >= 0.95 gambas-gb-qt <= 1.0 gambas-gb-qt-editor >= 0.95 gambas-gb-qt-editor <= 1.0 gambas-gb-qt-ext >= 0.95 gambas-gb-qt-ext <= 1.0 which of course means that the package can't be installed under gambas 1.0.2. Oops... Rob From eeller at ...826... Sun Jan 30 00:32:03 2005 From: eeller at ...826... (Eldon Eller) Date: Sat, 29 Jan 2005 15:32:03 -0800 Subject: [Gambas-user] Cannot open form Message-ID: <41FC1CF3.5000502@...826...> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: C:\Documents and Settings\EEE\My Documents\Forms\sig.jpg Type: image/jpeg Size: 1436 bytes Desc: not available URL: From bachi143rain at ...83... Sun Jan 30 08:31:14 2005 From: bachi143rain at ...83... (ravichandra thamidapati) Date: Sun, 30 Jan 2005 07:31:14 +0000 (GMT) Subject: [Gambas-user] help need Message-ID: <20050130073114.33760.qmail@...827...> HELLO, MY NAME IS BACHI.I AM WORKING ON LINUX DEVELOPMENT.IAM GETTING ERRORS WHEN INSTALLING GAMBAS ON FEDEROCORE1. PLZ SPECIFY THE INSTALLATION PROCESS OF GOMBAS. I AM EAGERLY WAITING FOR UR REPLY. URS BACHI ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony From igor.furlan at ...626... Sun Jan 30 08:55:05 2005 From: igor.furlan at ...626... (Primorec) Date: Sat, 29 Jan 2005 23:55:05 -0800 Subject: [Gambas-user] help need In-Reply-To: <20050130073114.33760.qmail@...827...> References: <20050130073114.33760.qmail@...827...> Message-ID: <54728e74050129235548badfdc@...627...> http://gambas.sourceforge.net/compilation.html On Sun, 30 Jan 2005 07:31:14 +0000 (GMT), ravichandra thamidapati wrote: > HELLO, > MY NAME IS BACHI.I AM WORKING ON LINUX > DEVELOPMENT.IAM GETTING ERRORS WHEN INSTALLING GAMBAS > ON FEDEROCORE1. > PLZ SPECIFY THE INSTALLATION PROCESS OF > GOMBAS. > I AM EAGERLY WAITING FOR UR REPLY. > URS BACHI > > ________________________________________________________________________ > Yahoo! India Matrimony: Find your life partner online > Go to: http://yahoo.shaadi.com/india-matrimony > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lduperval at ...626... Sun Jan 30 17:30:04 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sun, 30 Jan 2005 11:30:04 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501291506.26588.sourceforge-raindog2@...94...> References: <200501291506.26588.sourceforge-raindog2@...94...> Message-ID: <870c8dd2050130083056045ed8@...627...> On Sat, 29 Jan 2005 15:06:26 -0500, Rob wrote: > I imagine there are lots of deadly bugs in there waiting to eat > your projects, so please post your findings. I tried it for thirty seconds. I have a connection in my form, so I pressed on ".Charset" and when I did, fakebas crashed saying there was a difference between the form type it was expecting and the one it found. Unfortunately, I couldn't cut'n'paste the message. Does Gambas log error messages to a file somewhere? It my be nice to log error from within the ide in a .gambas_errors.log file in the projects directory. > I'd also like > suggestions for a name, since it can't be called Gambino? L From lduperval at ...626... Sun Jan 30 17:52:19 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sun, 30 Jan 2005 11:52:19 -0500 Subject: [Gambas-user] UI improvement Message-ID: <870c8dd205013008526ed8b091@...627...> Hi, When I press Enter after choosing a value from a drop down list for completion (for example, in a DIM command, if I type Inte) a newline is inserted in my code. I find this counter-intuitive and doesn't match what other IDEs do. I would expect that pressing Enter would complete the word then place the cursor after the end of the word. Can this behaviour be modified? L From sourceforge-raindog2 at ...94... Sun Jan 30 18:56:35 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 30 Jan 2005 12:56:35 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <870c8dd2050130083056045ed8@...627...> References: <200501291506.26588.sourceforge-raindog2@...94...> <870c8dd2050130083056045ed8@...627...> Message-ID: <200501301256.36043.sourceforge-raindog2@...94...> On Sunday 30 January 2005 11:30, Laurent Duperval wrote: > I tried it for thirty seconds. I have a connection in my form, > so I pressed on ".Charset" and when I did, fakebas crashed > saying there was a difference between the form type it was > expecting and the one it found. Unfortunately, I couldn't > cut'n'paste the message. Yeah, already found and fixed that one.... in the autocompletion code, instead of using Me.Parent.FEditor, Benoit used Me.Window.FEditor, which in an MDI situation won't work. I hope to have another version ready today. > > I'd also like > > suggestions for a name, since it can't be called > > Gambino? Not so bad.... it'd be hard to find on Google though ;) Rob From ronstk at ...239... Sun Jan 30 19:06:10 2005 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 30 Jan 2005 19:06:10 +0100 Subject: [Gambas-user] UI improvement In-Reply-To: <870c8dd205013008526ed8b091@...627...> References: <870c8dd205013008526ed8b091@...627...> Message-ID: <200501301906.10190.ronstk@...239...> On Sunday 30 January 2005 17:52, Laurent Duperval wrote: | Hi, | | When I press Enter after choosing a value from a drop down list for | completion (for example, in a DIM command, if I type Inte) a | newline is inserted in my code. I find this counter-intuitive and | doesn't match what other IDEs do. I would expect that pressing Enter | would complete the word then place the cursor after the end of the | word. | | Can this behaviour be modified? | | L | I agree after using VB many years the way gambas is doing the opening of the box and acting on key presses I lost my appetize to use it. VB6 uses the tab key to expand to full word if it is unique The same behavior as bash is doing. Also a way to open the dropdown list with the ALT key, pointed at the first match in the list with the typed characters as find. Also the ME. object as object if none given can be nice. Here if no char given a ALT opens a box with the controls and procedures with the global vars, and maybe the local procedure vars, to choice from. Else if any characters are given the matching 'names' starting with it. DIM mystring AS Integer if I change the name found (integer) or accidently choice the wrong one I have to delete back till no space after 'AS' and type a space to open. More friendly would be backspace in the name and press ALT to make a new choice, ie String, and the word is replaced by the new choice. The way works like bash, type a few characters and press ALT, select a placed widget, enter a dot and 'te' + ALT and get textbox1.text as result. Even the dot can be automatic in appropriate conditions. May be for the TODO2 list? Greets Ron From ronstk at ...239... Sun Jan 30 19:33:02 2005 From: ronstk at ...239... (Ron Onstenk) Date: Sun, 30 Jan 2005 19:33:02 +0100 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501291506.26588.sourceforge-raindog2@...94...> References: <200501291506.26588.sourceforge-raindog2@...94...> Message-ID: <200501301933.02718.ronstk@...239...> On Saturday 29 January 2005 21:06, Rob wrote: | Fakebas is a modified version of the Gambas IDE that uses an MDI Great job Rob, I still haven't tried yet :(. I hope Benoit can/will add it in the native version in the future. I dislike any way the tabbed document like kate and quanda does. That way you can't have one of the other documents visible to use as reminder in the document under construction, as can done at the moment with the standard IDE and your IDE-MDI version. The side by side view is more helpfull. I hope the document windows are on upmost top. In Kdevelop they are at bottom and hides behind the toolbox and document. Maximizing should use the whole area and not the little remaining hole between the docked windows. Or are the (KDE) developers using a 40 inch monitor to have space for the code document window? | your projects, so please post your findings. I'd also like | suggestions for a name, since it can't be called robas ?? Means rob(s) and bas(ic) :=) | "gambas-anything" for fear of confusing people. I was going to | name it "billybas" but that was even lamer than "fakebas", and | besides, the IDE doesn't sing yet. | | This IDE is for the 1.x series, not the unstable series, and | requires Gambas 1.0.2. | | http://www.kudla.org/index.php?wl_mode=more&wl_eid=71 | | Rob | | ps. My name is Ron(ald) Onstenk so my initials are ro too. 8=) I like Gambino as suggested by Laurent also, better then mine, and google search for gamb will find it. From lduperval at ...626... Sun Jan 30 23:04:25 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sun, 30 Jan 2005 17:04:25 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501301933.02718.ronstk@...239...> References: <200501291506.26588.sourceforge-raindog2@...94...> <200501301933.02718.ronstk@...239...> Message-ID: <870c8dd205013014046efb3a38@...627...> On Sun, 30 Jan 2005 19:33:02 +0100, Ron Onstenk wrote: > I like Gambino as suggested by Laurent also, better then mine, > and google search for gamb will find it. > But you have to contend with this: http://www.gambino.com/ L From sourceforge-raindog2 at ...94... Sun Jan 30 23:47:33 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 30 Jan 2005 17:47:33 -0500 Subject: [Gambas-user] fakebas strikes again (0.0.6) Message-ID: <200501301747.33798.sourceforge-raindog2@...94...> fakebas is an MDI (one big window) version of the Gambas IDE. This time I made the following changes: * Sun Jan 30 2005 Rob Kudla 0.0-6 - added FSubWindowMgr class and form to act as taskbar - added window menu, hidden unless forms/classes are open - shrink properties window and console when editing code - fixed bug in code completion - save more layout information in Settings - made its look a little more distinct from normal gambas - removed F2 = Rename Form shortcut to enable F2 = Context Help Ron, here is a shrunken screenshot showing the feature you requested ;) After fixing that code completion bug, I have done all my development of fakebas using fakebas. So there shouldn't be any glaring show-stoppers this time at least. The URL is still: http://www.kudla.org/index.php?wl_mode=more&wl_eid=71 Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: fakebas006-2-sml.jpg Type: image/jpeg Size: 18816 bytes Desc: not available URL: From lduperval at ...626... Mon Jan 31 02:28:28 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sun, 30 Jan 2005 20:28:28 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501301256.36043.sourceforge-raindog2@...94...> References: <200501291506.26588.sourceforge-raindog2@...94...> <870c8dd2050130083056045ed8@...627...> <200501301256.36043.sourceforge-raindog2@...94...> Message-ID: <870c8dd2050130172830d7ff6e@...627...> On Sun, 30 Jan 2005 12:56:35 -0500, Rob wrote: > On Sunday 30 January 2005 11:30, Laurent Duperval wrote: > > I tried it for thirty seconds. I have a connection in my form, > > so I pressed on ".Charset" and when I did, fakebas crashed > > saying there was a difference between the form type it was > > Yeah, already found and fixed that one.... in the autocompletion I still get it with 0.06 if I type Message.Info( L From sourceforge-raindog2 at ...94... Mon Jan 31 02:43:42 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 30 Jan 2005 20:43:42 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <870c8dd2050130172830d7ff6e@...627...> References: <200501291506.26588.sourceforge-raindog2@...94...> <200501301256.36043.sourceforge-raindog2@...94...> <870c8dd2050130172830d7ff6e@...627...> Message-ID: <200501302043.42374.sourceforge-raindog2@...94...> On Sunday 30 January 2005 20:28, Laurent Duperval wrote: > > Yeah, already found and fixed that one.... in the > > autocompletion > I still get it with 0.06 if I type > Message.Info( That's not autocompletion, that's a function signature ;) Surprised I didn't run into that one myself. But, found, fixed, new version posted. Thanks for posting these bug reports. Rob From lduperval at ...626... Mon Jan 31 04:01:25 2005 From: lduperval at ...626... (Laurent Duperval) Date: Sun, 30 Jan 2005 22:01:25 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501302043.42374.sourceforge-raindog2@...94...> References: <200501291506.26588.sourceforge-raindog2@...94...> <200501301256.36043.sourceforge-raindog2@...94...> <870c8dd2050130172830d7ff6e@...627...> <200501302043.42374.sourceforge-raindog2@...94...> Message-ID: <870c8dd205013019016687a3cf@...627...> On Sun, 30 Jan 2005 20:43:42 -0500, Rob wrote: > That's not autocompletion, that's a function signature ;) Ok. :-) > Surprised I didn't run into that one myself. But, found, fixed, > new version posted. Thanks for posting these bug reports. > The page still links to .0.6. L > Rob > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From phiber at ...618... Mon Jan 31 04:03:07 2005 From: phiber at ...618... (phiber) Date: Mon, 31 Jan 2005 04:03:07 +0100 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501291506.26588.sourceforge-raindog2@...94...> References: <200501291506.26588.sourceforge-raindog2@...94...> Message-ID: <1107140587.26983.4.camel@...40...> What about 'gambitas'? xD It's the spanish diminutive of gambas. Uhm, 'langostinos' could also be good since they're very similar to the gambas xD http://images.google.es/images?q=langostino&hl=es&lr=&client=firefox&rls=org.mozilla:en-US:unofficial&sa=N&tab=wi On Sat, 2005-01-29 at 15:06 -0500, Rob wrote: > I'd also like suggestions for a name From sourceforge-raindog2 at ...94... Mon Jan 31 04:23:35 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 30 Jan 2005 22:23:35 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <870c8dd205013019016687a3cf@...627...> References: <200501291506.26588.sourceforge-raindog2@...94...> <200501302043.42374.sourceforge-raindog2@...94...> <870c8dd205013019016687a3cf@...627...> Message-ID: <200501302223.35803.sourceforge-raindog2@...94...> On Sunday 30 January 2005 22:01, Laurent Duperval wrote: > The page still links to .0.6. Forgot to save.... that's what I get for fixing bugs and watching TV at the same time :) Rob From srikantux at ...626... Mon Jan 31 05:48:09 2005 From: srikantux at ...626... (Srikanta Prasanna) Date: Mon, 31 Jan 2005 10:18:09 +0530 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501291506.26588.sourceforge-raindog2@...94...> References: <200501291506.26588.sourceforge-raindog2@...94...> Message-ID: <7f8e4a5a05013020486c4fbc91@...627...> Hi, On Sat, 29 Jan 2005 15:06:26 -0500, Rob wrote: > your projects, so please post your findings. I'd also like > suggestions for a name, since it can't be called > "gambas-anything" for fear of confusing people. I was going to > name it "billybas" but that was even lamer than "fakebas", and > besides, the IDE doesn't sing yet. How about "Robbas" ?? ;-)) srikanta From igor.furlan at ...626... Mon Jan 31 05:59:04 2005 From: igor.furlan at ...626... (Primorec) Date: Sun, 30 Jan 2005 20:59:04 -0800 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <7f8e4a5a05013020486c4fbc91@...627...> References: <200501291506.26588.sourceforge-raindog2@...94...> <7f8e4a5a05013020486c4fbc91@...627...> Message-ID: <54728e740501302059459415c3@...627...> linbas (=LINuxBASic) On Mon, 31 Jan 2005 10:18:09 +0530, Srikanta Prasanna wrote: > Hi, > > On Sat, 29 Jan 2005 15:06:26 -0500, Rob wrote: > > your projects, so please post your findings. I'd also like > > suggestions for a name, since it can't be called > > "gambas-anything" for fear of confusing people. I was going to > > name it "billybas" but that was even lamer than "fakebas", and > > besides, the IDE doesn't sing yet. > > How about "Robbas" ?? ;-)) > > srikanta > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From budi at ...415... Mon Jan 31 06:17:57 2005 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Mon, 31 Jan 2005 12:17:57 +0700 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <1107140587.26983.4.camel@...40...> References: <200501291506.26588.sourceforge-raindog2@...94...> <1107140587.26983.4.camel@...40...> Message-ID: <1806809207.20050131121757@...415...> Hi phiber, So many SHRIMPs There ;) Budi Monday, January 31, 2005, 10:03:07 AM, Anda Menulis: > What about 'gambitas'? xD > It's the spanish diminutive of gambas. Uhm, 'langostinos' could also be > good since they're very similar to the gambas xD > http://images.google.es/images?q=langostino&hl=es&lr=&client=firefox&rls=org.mozilla:en-US:unofficial&sa=N&tab=wi > On Sat, 2005-01-29 at 15:06 -0500, Rob wrote: >> I'd also like suggestions for a name > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Salam Hangat, BUDI mailto:budi at ...415... -------------- next part -------------- An HTML attachment was scrubbed... URL: From budi at ...415... Mon Jan 31 06:19:29 2005 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Mon, 31 Jan 2005 12:19:29 +0700 Subject: [Gambas-user] Version Naming In-Reply-To: <54728e740501302059459415c3@...627...> References: <200501291506.26588.sourceforge-raindog2@...94...> <7f8e4a5a05013020486c4fbc91@...627...> <54728e740501302059459415c3@...627...> Message-ID: <537298059.20050131121929@...415...> Hi all, Just a question, how's gambas version naming ? i dont understand...1.0.x and there's also 1.9.x ? Thanks Budi -------------- next part -------------- An HTML attachment was scrubbed... URL: From lduperval at ...626... Mon Jan 31 06:25:27 2005 From: lduperval at ...626... (Laurent Duperval) Date: Mon, 31 Jan 2005 00:25:27 -0500 Subject: [Gambas-user] Aligning widgets Message-ID: <870c8dd205013021258b6940d@...627...> HI, Is there a better way to align widgets into rows and columns than doing it manually? Something like an editable grid layout? L From oxleyd at ...699... Mon Jan 31 09:53:40 2005 From: oxleyd at ...699... (Daniel Oxley) Date: Mon, 31 Jan 2005 09:53:40 +0100 Subject: [Gambas-user] fakebas strikes again (0.0.6) In-Reply-To: <200501301747.33798.sourceforge-raindog2@...94...> Message-ID: <20050131085726.2AB113731A@...700...> Cool! I was kinda hoping you'd redo this!!! ;-) -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 30 January 2005 23:48 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] fakebas strikes again (0.0.6) fakebas is an MDI (one big window) version of the Gambas IDE. This time I made the following changes: * Sun Jan 30 2005 Rob Kudla 0.0-6 - added FSubWindowMgr class and form to act as taskbar - added window menu, hidden unless forms/classes are open - shrink properties window and console when editing code - fixed bug in code completion - save more layout information in Settings - made its look a little more distinct from normal gambas - removed F2 = Rename Form shortcut to enable F2 = Context Help Ron, here is a shrunken screenshot showing the feature you requested ;) After fixing that code completion bug, I have done all my development of fakebas using fakebas. So there shouldn't be any glaring show-stoppers this time at least. The URL is still: http://www.kudla.org/index.php?wl_mode=more&wl_eid=71 Rob From David.Edmiston at ...828... Mon Jan 31 11:22:20 2005 From: David.Edmiston at ...828... (David Edmiston) Date: Mon, 31 Jan 2005 10:22:20 +0000 Subject: [Gambas-user] Same problem as MJ in late Nov 2004.... Message-ID: On Tuesday 30 November 2004 11:37, MJ wrote: > CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory Rob wrote... You"re missing the libxml headers. In Mandrake, the package you would need is libxml2-devel. I think this became necessary in RC2 or RC3. Rob Rob et al... I get the same compilation error messages exactly, except that I have libxml-devel installed in my RH9 system Ideas? David Edmiston From mrvanes at ...626... Mon Jan 31 11:35:08 2005 From: mrvanes at ...626... (Martin van Es) Date: Mon, 31 Jan 2005 11:35:08 +0100 Subject: [Gambas-user] Fill ColumnView Message-ID: Hi, Hello everybody! My name is Martin and am probably one of the many Gambas users triggered by the 1.0 release posting on /. :) Since then it has fascinated me and I'm very eager to write my own simple but efficient bookkeeping tool which was long needed... :) My programming experience is a bit of Basic (long time ago, C64, M$ macro's), Pascal, C, C++, assembler, and lately most of my programming (99%) is in PHP. I like the fast development cycle of PHP and think to have found that in Gambas as well. I found a lot of answers to my questions in this list allready, but 1 thing struck me as very inconvenient and I just wanted to know if its realy the only solution: I like the ColumnView class for it's ability to show (or not show) a lot of info at a glance and the hierarchical capabilities. Filling a ColumnView row however seems to be a bit cumbersome to say the least. This is what I do at the moment as a trial before kicking in the database code. PUBLIC SUB Populate_Income_ClientView() client AS String[] i AS Integer WITH ClientView client = ["FooBar", "John Doe", "555-345678", "1"] .Add("1", client[0]) FOR i = 1 TO 3 ClientView["1"][i] = client[i] NEXT END WITH END What I'm really curious of is, if it's possible to skip the for-next loop to fill the columns? Is there any array.copy() like method or function to quickly and efficiently copy the contents of given array (and later, db result) into the columns? Last but not least: Thanks to Benoit et al., for making this great tool publicly available! Regards, Martin -- if but was any useful, it would be a logic operator From na2492 at ...9... Mon Jan 31 13:04:06 2005 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 31 Jan 2005 13:04:06 00100 Subject: [Gambas-user] Version Naming Message-ID: <41fe1eb6.6951.0@...9...> >Hi all, > >Just a question, how's gambas version naming ? i dont understand...1.0.x and there's also 1.9.x ? > >Thanks > >Budi > Salut Budi, 1.0.x is the stable version 1.9.x is the future gambas-2 Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From sourceforge-raindog2 at ...94... Mon Jan 31 14:48:49 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 31 Jan 2005 08:48:49 -0500 Subject: [Gambas-user] Version Naming In-Reply-To: <537298059.20050131121929@...415...> References: <200501291506.26588.sourceforge-raindog2@...94...> <54728e740501302059459415c3@...627...> <537298059.20050131121929@...415...> Message-ID: <200501310848.49266.sourceforge-raindog2@...94...> On Monday 31 January 2005 00:19, BUDI ARIEF GUSANDI wrote: > Just a question, how's gambas version naming ? i dont > understand...1.0.x and there's also 1.9.x ? 1.0.x is the stable release, 1.9.x is the unstable development series leading up to 2.0. 1.0.x will not change except for bug fixes and maybe an occasional backported component, 1.9.x may completely change with every release just like the 0.x series did. Rob From sourceforge-raindog2 at ...94... Mon Jan 31 14:51:22 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 31 Jan 2005 08:51:22 -0500 Subject: [Gambas-user] Same problem as MJ in late Nov 2004.... In-Reply-To: References: Message-ID: <200501310851.22713.sourceforge-raindog2@...94...> On Monday 31 January 2005 05:22, David Edmiston wrote: > Rob et al... I get the same compilation error messages > exactly, except that I have libxml-devel installed in my RH9 > system Do you have a file called xmlwriter.h anywhere on your system, preferably somewhere in /usr/include under a subdirectory called libxml? If not, is there any way in Red Hat to find a package based on a filename? (in Mandrake, the command is called 'urpmf' but I'm pretty sure it's Mandrake-specific.) Rob From sourceforge-raindog2 at ...94... Mon Jan 31 14:58:20 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 31 Jan 2005 08:58:20 -0500 Subject: [Gambas-user] Fill ColumnView In-Reply-To: References: Message-ID: <200501310858.20178.sourceforge-raindog2@...94...> On Monday 31 January 2005 05:35, Martin van Es wrote: > What I'm really curious of is, if it's possible to skip the > for-next loop to fill the columns? Is there any array.copy() > like method or function to quickly and efficiently copy the > contents of given array (and later, db result) into the > columns? Someone's working on data-bound controls for version 2, but you're right, populating the columns of a ColumnView is tedious. I actually do it in a yet more cumbersome way: (having dimmed cv as columnview, r as result) cv.Add(r["id"], r["name"]) cv[r["id"]][1] = r["address"] cv[r["id"]][2] = r["city"] etc.... I would think that adding an .AddArray method to ColumnView wouldn't be too hard. I'll have to see if I have time to try that this week. Rob From pvera at ...729... Mon Jan 31 15:24:39 2005 From: pvera at ...729... (Pablo Vera) Date: Mon, 31 Jan 2005 08:24:39 -0600 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <7f8e4a5a05013020486c4fbc91@...627...> References: <200501291506.26588.sourceforge-raindog2@...94...> <7f8e4a5a05013020486c4fbc91@...627...> Message-ID: <41FE3FA7.7080907@...729...> Robbas sounds like "robas" (with just one b), which means "you steal" in spanish. Not a good idea. Saludos, Pablo _____________________________________________________________________ Srikanta Prasanna wrote: > > How about "Robbas" ?? ;-)) > > srikanta > From na2492 at ...9... Mon Jan 31 15:53:41 2005 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 31 Jan 2005 15:53:41 00100 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE Message-ID: <41fe4675.2df7.0@...9...> >Robbas sounds like "robas" (with just one b), which means "you steal" in >spanish. Not a good idea. > >Saludos, >Pablo >_____________________________________________________________________ > >Srikanta Prasanna wrote: >> >> How about "Robbas" ?? ;-)) >> >> srikanta >> Salut, gambasMDI Rob's IDE for gambas MDI-IDE for gambas YAGIDE (Yet Another Gambas IDE) Salut Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From David.Edmiston at ...828... Mon Jan 31 15:57:27 2005 From: David.Edmiston at ...828... (David Edmiston) Date: Mon, 31 Jan 2005 14:57:27 +0000 Subject: [Gambas-user] Same problem as MJ in late Nov 2004.... Message-ID: First tried to get 0.99.RC3 going.... Same prob. Now trying 1.0.1 .. still same problem I tried a locate for xmlwriter.h -it's in /usr/local/include and also /gambas/gambas-0.99.RC3/src/lib/xml/libxml Living in hope. Thanks for your interest, everyone David Edmiston >>> sourceforge-raindog2 at ...94... 01/31/05 01:51pm >>> On Monday 31 January 2005 05:22, David Edmiston wrote: > Rob et al... I get the same compilation error messages > exactly, except that I have libxml-devel installed in my RH9 > system Do you have a file called xmlwriter.h anywhere on your system, preferably somewhere in /usr/include under a subdirectory called libxml? If not, is there any way in Red Hat to find a package based on a filename? (in Mandrake, the command is called 'urpmf' but I'm pretty sure it's Mandrake-specific.) Rob ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Mon Jan 31 16:00:26 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 31 Jan 2005 10:00:26 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <41FE3FA7.7080907@...729...> References: <200501291506.26588.sourceforge-raindog2@...94...> <7f8e4a5a05013020486c4fbc91@...627...> <41FE3FA7.7080907@...729...> Message-ID: <200501311000.26040.sourceforge-raindog2@...94...> On Monday 31 January 2005 09:24, Pablo Vera wrote: > Robbas sounds like "robas" (with just one b), which means "you > steal" in spanish. Not a good idea. Ha! Kind of ironically appropriate considering the intent of fakebas is to come closer to the MDI style of VB5/6.... I like "linbas" best, but it seems like it might be a little arrogant on my part to imply that my IDE is "LINux BASic". I wonder if the Linspire guys will take fakebas and come up with their own name that comes dangerously close to infringing on the VB or Visual Basic trademarks. Rob From srikantux at ...626... Mon Jan 31 16:18:13 2005 From: srikantux at ...626... (Srikanta Prasanna) Date: Mon, 31 Jan 2005 20:48:13 +0530 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <41FE3FA7.7080907@...729...> References: <200501291506.26588.sourceforge-raindog2@...94...> <7f8e4a5a05013020486c4fbc91@...627...> <41FE3FA7.7080907@...729...> Message-ID: <7f8e4a5a050131071859daa564@...627...> Hi, On Mon, 31 Jan 2005 08:24:39 -0600, Pablo Vera wrote: > Robbas sounds like "robas" (with just one b), which means "you steal" in > spanish. Not a good idea. Ok then, how about : GRIM : GRIMs Rob's Innovative MDI ( I == Innovative, Intersting, Intriguing, etc :) (but did that become more of a tounge-twister ?? ;)) srikanta From daniel.campos at ...338... Mon Jan 31 16:36:28 2005 From: daniel.campos at ...338... (Daniel Campos) Date: Mon, 31 Jan 2005 16:36:28 +0100 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <7f8e4a5a050131071859daa564@...627...> References: <200501291506.26588.sourceforge-raindog2@...94...> <7f8e4a5a05013020486c4fbc91@...627...> <41FE3FA7.7080907@...729...> <7f8e4a5a050131071859daa564@...627...> Message-ID: <41FE507C.3000109@...338...> Srikanta Prasanna escribi?: >Hi, > >On Mon, 31 Jan 2005 08:24:39 -0600, Pablo Vera wrote: > > >>Robbas sounds like "robas" (with just one b), which means "you steal" in >>spanish. Not a good idea. >> >> >Ok then, how about : >GRIM : GRIMs Rob's Innovative MDI ( I == Innovative, Intersting, >Intriguing, etc :) >(but did that become more of a tounge-twister ?? ;)) > > > May be ATNIAD (A thousand names in a Day?) From lbaudio at ...172... Mon Jan 31 16:37:41 2005 From: lbaudio at ...172... (LB Audio) Date: Mon, 31 Jan 2005 13:37:41 -0200 (Horário brasileiro de verão) Subject: [Gambas-user] fakebas strikes again (0.0.6) References: <200501301747.33798.sourceforge-raindog2@...94...> Message-ID: <41FE50C5.000001.02624@...745...> Problem in execution of gambas fakebas Error message: "unknown symbol ToolBox Box" -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Mon Jan 31 16:46:02 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 31 Jan 2005 10:46:02 -0500 Subject: [Gambas-user] fakebas strikes again (0.0.6) In-Reply-To: <41FE50C5.000001.02624@...745...> References: <200501301747.33798.sourceforge-raindog2@...94...> <41FE50C5.000001.02624@...745...> Message-ID: <200501311046.02753.sourceforge-raindog2@...94...> On Monday 31 January 2005 10:37, LB Audio wrote: > Problem in execution of gambas fakebas > Error message: > "unknown symbol ToolBox Box" I can't duplicate your problem. What Linux distribution and version are you using? What version of Gambas do you have installed? What version of fakebas? Does anyone else have this error? Toolboxbox is just a vbox (or hbox, I forget which) into which I put the toolbox window, so for it to not be working I'd think you were missing the Qt component or something. Rob From sourceforge-raindog2 at ...94... Mon Jan 31 16:58:10 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 31 Jan 2005 10:58:10 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <41FE507C.3000109@...338...> References: <200501291506.26588.sourceforge-raindog2@...94...> <7f8e4a5a050131071859daa564@...627...> <41FE507C.3000109@...338...> Message-ID: <200501311058.10834.sourceforge-raindog2@...94...> On Monday 31 January 2005 10:36, Daniel Campos wrote: > Srikanta Prasanna escribi?: > >Hi, > > > >On Mon, 31 Jan 2005 08:24:39 -0600, Pablo Vera wrote: > >>Robbas sounds like "robas" (with just one b), which means > >> "you steal" in spanish. Not a good idea. > > > >Ok then, how about : > >GRIM : GRIMs Rob's Innovative MDI ( I == Innovative, > > Intersting, Intriguing, etc :) > >(but did that become more of a tounge-twister ?? ;)) > > May be ATNIAD (A thousand names in a Day?) Hey, I haven't changed it at all yet, and I hope to only do it once ;) I like GRIM because I like recursive acronyms (but in the case of my company, Binara Is Not A Recursive Acronym!) Maybe I'd name it GRIMBas, for Grimbas: Rob's Imitative MDI BASic. But I'll stick with fakebas for a couple more versions anyway. The fun part will be when I try to recreate all my changes in the Gambas 2 IDE. Rob From sourceforge-raindog2 at ...94... Mon Jan 31 16:42:46 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 31 Jan 2005 10:42:46 -0500 Subject: [Gambas-user] JDW's libraries Message-ID: <200501311042.46886.sourceforge-raindog2@...94...> I was looking for the Gambas freshmeat page this morning and came across this fellow's String and Math libraries for Gambas. JDW, if you are on the list, thanks for making these available; I haven't tried them yet but I'm glad to see more hits for Gambas on freshmeat ;) http://www.jkci.biz/jdwopen/display.php?qtbl=dls&qcat=app&qmode=summary Rob From LACKKD at ...674... Mon Jan 31 17:39:23 2005 From: LACKKD at ...674... (Kevin Devenport Lackey) Date: Mon, 31 Jan 2005 09:39:23 -0700 Subject: [Gambas-user] Inserting data into a tableview In-Reply-To: <41fbcd05.1c04.0@...9...> Message-ID: Charlie, Thanks.! I did find the correct examples in the Gambas examples and got it working. Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From mauriziopz at ...626... Mon Jan 31 18:25:10 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Mon, 31 Jan 2005 18:25:10 +0100 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501311058.10834.sourceforge-raindog2@...94...> References: <200501291506.26588.sourceforge-raindog2@...94...> <7f8e4a5a050131071859daa564@...627...> <41FE507C.3000109@...338...> <200501311058.10834.sourceforge-raindog2@...94...> Message-ID: I like fakebas why don't keep it? -- Maurizio From sourceforge-raindog2 at ...94... Mon Jan 31 18:43:39 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 31 Jan 2005 12:43:39 -0500 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: References: <200501291506.26588.sourceforge-raindog2@...94...> <200501311058.10834.sourceforge-raindog2@...94...> Message-ID: <200501311243.39242.sourceforge-raindog2@...94...> On Monday 31 January 2005 12:25, Maurizio Pozzobon wrote: > I like fakebas why don't keep it? It's entirely possible that I will, if other names don't tickle my fancy :) Rob From m_isaac at ...689... Mon Jan 31 20:55:38 2005 From: m_isaac at ...689... (Michael Isaac) Date: Mon, 31 Jan 2005 11:55:38 -0800 Subject: [Gambas-user] Introducing fakebas, an MDI Gambas IDE In-Reply-To: <200501311243.39242.sourceforge-raindog2@...94...> References: <200501291506.26588.sourceforge-raindog2@...94...> <200501311058.10834.sourceforge-raindog2@...94...> <200501311243.39242.sourceforge-raindog2@...94...> Message-ID: <41FE8D3A.7010702@...689...> Since you didnt acually write a new basic just an IDE... now about RIDE? Rob's IDE? Simple I think, and fitting. Rob wrote: >On Monday 31 January 2005 12:25, Maurizio Pozzobon wrote: > > >>I like fakebas why don't keep it? >> >> > >It's entirely possible that I will, if other names don't tickle >my fancy :) > >Rob > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From ronstk at ...239... Mon Jan 31 21:20:58 2005 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 31 Jan 2005 21:20:58 +0100 Subject: [Gambas-user] Same problem as MJ in late Nov 2004.... In-Reply-To: References: Message-ID: <200501312120.58197.ronstk@...239...> On Monday 31 January 2005 11:22, David Edmiston wrote: | On Tuesday 30 November 2004 11:37, MJ wrote: | > CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory | | Rob wrote... | | You"re missing the libxml headers. In Mandrake, the package you | would need is libxml2-devel. I think this became necessary in | RC2 or RC3. | | Rob | | | Rob et al... I get the same compilation error messages exactly, except | that I have libxml-devel installed in my RH9 system | | Ideas? | | David Edmiston | | Oeps, compile does not go OK. Sorry if it is to long but this was under my pen. Found this problem too. libxml-devel is installed ********************************************************************************************* Making all in xml make[4]: Entering directory `/usr/local/src/gambas2-1.9.2/src/lib/xml' Making all in libxml make[5]: Entering directory `/usr/local/src/gambas2-1.9.2/src/lib/xml/libxml' Making all in xslt make[6]: Entering directory `/usr/local/src/gambas2-1.9.2/src/lib/xml/libxml/xslt' if /bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2 -g -O2 -pipe -Wall -fno-strict-aliasing -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 ----8<---------- make[6]: Leaving directory `/usr/local/src/gambas2-1.9.2/src/lib/xml/libxml/xslt' Making all in rpc make[6]: Entering directory `/usr/local/src/gambas2-1.9.2/src/lib/xml/libxml/rpc' if /bin/sh ../../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I../../../../../src/share -I/usr/include/libxml2 -g -O2 -pipe -Wall -fno-strict-aliasing -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 -------8<-------- XmlRpc.c -fPIC -DPIC -o .libs/CXmlRpc.o CXmlRpc.c:31:30: libxml/xmlwriter.h: No such file or directory CXmlRpc.c: In function `CXMLRPC_Call': CXmlRpc.c:119: error: `xmlTextWriterPtr' undeclared (first use in this function) -----8<------ make[1]: Leaving directory `/usr/local/src/gambas2-1.9.2' make: *** [all] Error 2 ********************************************************************************************* GB_COMPONENT_PKG_CONFIG( libxml, LIBXML, [XML parser component], [libxml], libxml-2.0) dnl GB_COMPONENT( dnl libxml, dnl LIBXML, dnl [XML parser component], dnl [GB_FIND(libxml, /usr/local/lib /usr/local /opt /usr/lib /usr, include/libxml* include)], dnl [GB_FIND(libxml2.$SHLIBEXT, /usr/local /opt /usr, lib)], dnl [$C_LIB $THREAD_LIB -lxml2 -lm], dnl [$THREAD_INC]) GB_COMPONENT( xslt, XSLT, [XSLT/XML parser component], [xslt], [GB_FIND(libxslt, /usr/local/lib /usr/local /opt /usr/lib /usr, include/libxml* include/libxsl t* include)], [GB_FIND(libxslt.$SHLIBEXT, /usr/local /opt /usr, lib)], [$LIBXML_LIB -lxslt]) dnl ---- Perl Compatible Regular Expression component ********************************************************************************************* By the change to use GB_COMPONENT_PKG_CONFIG the include is broken. libxml provides "xml2-config" and that is pointing to the correct include path SuSE system has it in /usr/bin for the distributed rpm's. If the provided version, curl in 8.2, is to old then the user add the newer version in /usr/local and the "xml2-config" is in /usr/local/bin for new development. The "/usr/bin/xml2-config" is for distributed rpm's world wide. Gambas version 1.0.2 uses the "xml2-config" one and compiles OK. 1.9.2 does not. GB_COMPONENT_PKG_CONFIG should look in "/usr/local/bin" first, then in "/usr" for a "xxxxx-config" executable, if not found then the /usr/pkgconfig system can be safe used. /usr/local/lib/pkgconfig can also exist and must be used before /usr/lib/pkgconfig to manage updates from pkgconfig. This is in respect that packages compiled with prefix=/usr/local and creates the pkgconfig xxxxx.pc file put it in /usr/local/lib/pkgconfig as is done by i.e. 'fluidsynth' instead of /usr/lib/pkgconfig. I beleave that a xxxx-config, is the most correct one, however the pkgconfig is overall more informative and have advantages above the xxxx-config. There are packages providing none, xxx-config, xxxxx.pc or both systems. For the XML component it is the 'xmlwriter.h' that is missing in the old SuSE 8.2 package and a update of the systems xml2 breaks the other packages from SuSE, Yast depends on the old one. It stopped working after xml2 update in /usr/lib and was repaired by installing the original and the updated for gambas in /usr/local/lib. No dll hell anymore but a lib hell instead with linux :=) terminator: # pkg-config --modversion libxml-2.0 2.5.11 terminator: # pkg-config --cflags libxml-2.0 -I/usr/include/libxml2 ** ** the orginal provided by SuSE 8.2 !! * terminator: # xml2-config --version 2.6.13 terminator: # xml2-config --prefix /usr/local ** ** this is the file in /usr/local/bin instead the original in /usr/bin !! ** terminator: # pkg-config --define-variable=prefix=/usr --cflags libxml-2.0 -I/usr/include/libxml2 terminator: # pkg-config --define-variable=prefix=/usr/local --cflags libxml-2.0 -I/usr/local/include/libxml2 terminator: # pkg-config --define-variable=prefix=/usr --modversion libxml-2.0 2.5.11 terminator: # pkg-config --define-variable=prefix=/usr/local --modversion libxml-2.0 2.5.11 ** ** this is modifying the /usr to /usr/local OK, but version is wrong ** Several tests told me pkg-config is only working on the /usr/lib and not /usr/local/lib and disregards local updates from user (sysadmin).! using the following script: #!/bin/sh cd gambas2-1.9.2 ./reconf ./configure --prefix=/opt \ --enable-libxml \ --with-include-xml=/usr/local/include \ --with-lib-xml=/usr/local/lib \ --enable-xslt \ --with-xslt-includes=/usr/include \ --with-xslt-libraries=/usr/lib \ make gives still the error. In config.log : configure:#####: checking for XML parser.... with pkg-config and LIBXML_DIR='libxml' LIBXML_INC='-I/usr/include/libxml2 ' LIBXML_LIB='-lxml2 -lptread -lz -lm' XSLT_DIR='xslt' XSLT_INC=' -I/usr/include' XSLT_LIB=' -L/usr/lib -lxml2 -lptread -lz -lm -lxslt' XSLT_PATH='/usr/lib/..' I can't use XML now, in gambas2 but it works in gambas1 :( pkg-config is not a good idea after all, I think. --------- Ron O From ronstk at ...239... Mon Jan 31 21:32:19 2005 From: ronstk at ...239... (Ron Onstenk) Date: Mon, 31 Jan 2005 21:32:19 +0100 Subject: [Gambas-user] Same problem as MJ in late Nov 2004.... In-Reply-To: <200501312120.58197.ronstk@...239...> References: <200501312120.58197.ronstk@...239...> Message-ID: <200501312134.03622.ronstk@...239...> Redo in configure.in the pkg part for xml to the orginal code did compile OK Now running gambas2...... :) Ron O From neutron at ...830... Mon Jan 31 21:44:53 2005 From: neutron at ...830... (neutron) Date: Mon, 31 Jan 2005 21:44:53 +0100 Subject: [Gambas-user] cannot start new project Message-ID: <41FE98C5.5060804@...830...> Hello Gambas Guru's! My name is Attila, and I am a very-very beginner. I succeeded to make some very trivial programs in Visual C, and want to learn Gambas on Linux. I have SuSe 9.1 which contains Gambas 0.9. I read a short statring article at http://www.linuxfocus.org/English/March2004/article329.shtml . I tried to follow the instructions, but at the very beginning, when I want to create the first form as a startup class and hit OK, I receive the message: [12] Not an object At: FProperty.RefreshAll.109. I have one single botton: OK. Hitting it, Gambas ends. Can you help a newbie, please? Attila From gambasfr at ...11... Mon Jan 31 23:07:46 2005 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 31 Jan 2005 23:07:46 +0100 Subject: [Gambas-user] Why i'm not for the MDI gambas IDE Message-ID: <200501312307.46551.gambasfr@...11...> -------------- next part -------------- A non-text attachment was scrubbed... Name: capture22.png Type: image/png Size: 106783 bytes Desc: not available URL: