From nigel at ...38... Fri Jul 1 11:43:51 2005 From: nigel at ...38... (nigel at ...38...) Date: Fri, 1 Jul 2005 11:43:51 +0200 (CEST) Subject: [Gambas-user] Problems with DB access Message-ID: <3727927.1120211031701.JavaMail.www@...1027...> Neil, Hopefully you already have this solved. If not then the following syntax etc. should be used. query = "id = &1 " rwResult = hConnection.Edit(table, query, roResult["id"]) and then you should be able to update the record. Nigel > Message date : Jun 28 2005, 09:11 PM > From : "neil lewis" > To : "Gambas User" > Copy to : > Subject : [Gambas-user] Problems with DB access > > Hello everyone, > > I've just started experimenting with using Gambas to access a MySQL > database, so please excuse me if this has already been covered. I've not > been able to find any mention of it in the lists. > > As a first experiment, I built a form which connects to a remote > database on my lan. I have no problems querying the database and > displaying the results, so long as I use a query in the form > > roResult = hConnection.Exec(query) > > However, this only gives me read only access. For read/write access, I > have trying to use a query in the form > > rwResult = hConnection.Edit(table, query) > > But so far, with no success. > > The help info only shows an example which it says doesn't work and asks > for a working example to be submitted. This I will be happy to do, as > soon as I have one! > > The relevant portion of my code is below. I'd very much appreciate some > suggestions on how to resolve this. > > Thanks in anticipation! > > Neil Lewis. > > --------------------------------------------------------------------------------------------------------------------- > 'Global variable decalarations > > server AS String 'server URL > database AS String 'name of database on server > client_table AS String 'name of clients table > order_table AS String 'name of orders table > hConnection AS Connection 'connection handle for database > roResult AS Result 'result array of read-only query > > PUBLIC SUB _new() > > hConnection = NEW Connection > server = "fileserver" > database = "gibsons" > client_table = "clients" > order_table = "orders" > > WITH hConnection > .Type = "mysql" > .Host = server > .Login = "" > .Password = "" > .Name = database > END WITH > > > hConnection.Open > > CATCH > Message.Error(Error.Text) > > END > > PUBLIC SUB ButtonQuery_Click() > > DIM query AS String > > IF TextBoxSearch.Text = "" THEN RETURN > > query = "select id, firstname, lastname, building, street, area, city, > postcode from " & client_table & " where lastname = \"" & > TextBoxSearch.Text & "\"" > roResult = hConnection.Exec(query) > > IF roResult.Available = FALSE THEN > Message("No matching records found") > RETURN > ENDIF > > ShowRecord > > END > > PUBLIC SUB ShowRecord() > > DIM new_address AS String > > LCDNumberIndex.Value = roResult.index + 1 > LCDNumberCount.Value = roResult.Count > TextBoxFirstName.Text = roResult ["firstname"] > TextBoxLastName.Text = roResult ["lastname"] > TextAreaAddress.Text = roResult["building"] & "\n" & > roResult["street"] & "\n" & roResult["area"] & "\n" & roResult["city"] > TextBoxPostcode.Text = roResult ["postcode"] > > END > > PUBLIC SUB ButtonUpdate_Click() > > DIM rwResult AS Result > DIM query AS String > DIM table AS String > DIM field AS String > > table = "clients" > field = "address" > query = "select address where id = " & roResult["id"] > > hConnection.Begin() > > rwResult = hConnection.Edit(table, query) > IF NOT (rwResult.Available) THEN > Message.Warning("No result available") > RETURN > ENDIF > rwResult!address = TextAreaAddress.Text > rwResult.Update > > hConnection.Commit() > > END > > PUBLIC SUB ButtonBack_Click() > > IF NOT (roResult.MovePrevious()) THEN RETURN > > ShowRecord > > END > > PUBLIC SUB Next_Click() > > IF NOT (roResult.MoveNext()) THEN RETURN > > ShowRecord > > END > > PUBLIC SUB ButtonStop_Click() > > ME.Close > > END > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > 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 gambas at ...1... Fri Jul 1 18:07:58 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 1 Jul 2005 18:07:58 +0200 Subject: [Gambas-user] gb.net.curl 050626 In-Reply-To: <42BEC598.9020506@...282...> References: <42BEC598.9020506@...282...> Message-ID: <200507011808.00782.gambas@...1...> On Sunday 26 June 2005 17:11, Daniel Campos wrote: > Component gb.net.curl - Version 050626 > > Hi all: > > I've updated the gb.net.curl component, so it is able to compile with > gcc-4.0. Users from the new version of Fedora and Mandrake Cooker > will be able to compile this component now. > > You can find and download it at: > > http://gambas.gnulinex.org/net > > Regards, > > D. Campos > > Thanks. -- Benoit Minisini mailto:gambas at ...1... From cloroetilo at ...626... Sat Jul 2 01:26:02 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Sat, 02 Jul 2005 01:26:02 +0200 Subject: [Gambas-user] Question about versions Message-ID: <1120260362.5579.4.camel@...37...> Hi there!! I have a nice question... I'm building a little program with gambas 1.9.3. I use EXEC and SHELL and I red that the implementation of them has changed since version 1.9.9. So, I have to build a version of my program to run with gambas <1.9.9 and another one form gambas>=1.9.9???? Anyway, I won't be able to distribute my application for the moment because it's impossible for me to build a package from gambas. I always get error when trying to. I have tried with 1.9.3 and 1.9.9 version on Debian sarge.... Thank you all ladies and gentlemen! -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From danielcampos at ...282... Sat Jul 2 01:55:03 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 02 Jul 2005 01:55:03 +0200 Subject: [Gambas-user] Question about versions In-Reply-To: <1120260362.5579.4.camel@...37...> References: <1120260362.5579.4.camel@...37...> Message-ID: <42C5D7D7.5090108@...282...> PaquitoSoft escribi?: >Hi there!! > >I have a nice question... >I'm building a little program with gambas 1.9.3. I use EXEC and SHELL >and I red that the implementation of them has changed since version >1.9.9. >So, I have to build a version of my program to run with gambas <1.9.9 >and another one form gambas>=1.9.9???? > > Yes, shell and exec syntax has changed, try this little conversion program: http://www.binara.com/gambas-wiki/bin/view/Gambas/ChangeProcessSyntax And yes, you'll need to write different code for both versions! gambas-1.9.x is under heavy developement so programs written on this version should be heavy mantained. >Anyway, I won't be able to distribute my application for the moment >because it's impossible for me to build a package from gambas. I always >get error when trying to. I have tried with 1.9.3 and 1.9.9 version on >Debian sarge.... > > I think packaging is still broken in the developement version... :-(( >Thank you all ladies and gentlemen! > > > > Regards, D. Campos From danielcampos at ...282... Sat Jul 2 19:10:06 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 02 Jul 2005 19:10:06 +0200 Subject: [Gambas-user] gb.gtk updated Message-ID: <42C6CA6E.5080602@...282...> Hi: 050702 - Alpha http://gambas.gnulinex.org/gtk * NEW: ScrollView properties and methods fully implemented. * FIXED: Button font handling improved: more compatibility with gb.qt * FIXED: "fg" and "bg" widgets pointers removed from gControl (8 bytes less used per widget) * NEW: Image.Save, Picture.Save, Picture.Flush, Picture._put, Picture._get methods implemented. * FIXED: ListView.BackGround not works corretly. * NEW: Mouse.Move method implemented. * NEW: Picture.Clear method implemented. * NEW: Window and Form can have a parent now. * NEW: ScrollBar and Slider properties and methods are fully implemented now. Regards, D. Campos From m_isaac at ...689... Sat Jul 2 20:58:45 2005 From: m_isaac at ...689... (Michael Isaac) Date: Sat, 02 Jul 2005 11:58:45 -0700 Subject: [Gambas-user] Re: Maybe a weird question In-Reply-To: <200506301231.50790.njmurphy1@...734...> References: <200506301231.50790.njmurphy1@...734...> Message-ID: <42C6E3E5.6010507@...689...> Joseph, All of that was very well stated. I fully agree with you and I think your insight is spot on. Ive been an avid Slackware user ever since Red Hat 8 left a bad taste in my mouth due to several issues with the RPM system. At that time I had only used Red Hat and never experienced a distribution that required real user intervention to configure it and make sure everything was in good running order. Remember I was a serious newbie. I had only been using Red Hat for a month (maybe two). After the switch I got that taste of freedom and absolute control over my system that only Slackware promotes. I was hooked and I never looked back. Since then I have used many distributions and I nothing compares to Slackware. Joseph Murphy wrote: > > >>I really don't mean this as an insult, but I'm going to say it anyway. >>You don't know why .so files get links with a version number and >>you're running Slackware, the least user friendly (by design) of the >>major Linux distributions? >> >> > > > >>I think a lot of the end-user weaknesses you say you've found with >>Linux to date might actually be weaknesses of Slackware, which was >>never meant for end users. The rest of the world has package >>management, automatically updating app shortcut and menu systems, >>etc. Slackware.... has tarballs. >> >> > > > >>If you really like the "building everything from source" thing I'd >>suggest you at least try Gentoo, which goes halfway to package >>management with its "portage" system while still allowing you to go >>source-only. I have no idea whether Gambas works on it, but I'm >>pretty sure you'll be able to strip it down as much as you like. >> >> > >Rob I find this, not to be insulting either, brain dead. I have tried >mandrake, redhat, suse and gentoo. The first time I tried Linux I had to >install from a hand full of floppies. I think RPM sucks the big one. And >slackware does have a package management system that is far superior then >RPM. They don't call it RPM Hell for no reason. Don't believe the BS you >read in Linux Format or any other Linux mag that says that Slackware >doesn't have a package management system. It has the best package >management system. There are at lest three programs for automatic updating >of slackware packages. If you are interested go to www.linuxpackages.net >and checkout packages for slackware. > >I find the branding that is going on with mandrake, redhat and suse very >distasteful. Of the distros you mentioned I liked gentoo the best but I >wasn't happy with the way they handled run levels. And as for mandrake, >how lack of functionality equates to ease of use I have no idea. I think >mandrake is the worst of all the major distros. But if all you can do is >click with the mouse you can get mandrake up and running. I think this is >the reason that some people think slackware is not user friendly. It >doesn't have useless eye candy and you might need to actually type >something sometimes. But as an end user system Slackware is the best. I >have no idea where you get the idea that it was never intended to be an end >user system. Don't believe the BS put out by idiots that write in >magazines. All they know are RPM systems. So for them if it's not RPM it >is too hard for them to use because they might actually have to do >something other then click with the mouse. > >You don't understand what I said about the .so files. They are three >different variants of zero. I don't understand why someone would have the >exact same file linked under three different variants of zero. The value >of having a .so.3 or .so.3.1 is obvious. But having file names >like gb.so, gb.so.0 and gb.so.0.0.0 is brain dead. A dot zero is the same >version as a dot zero dot zero. I see no purpose for this at all. > >The weakness of Linux is in how programmers install their programs. Take a >look at /usr/bin. It has thousands of files with no order to them at all. >Gambas dumped most of it's programs in there with names like gbx, etc. >Take a look at a windows box in C:\windows\system and you will see >exactly the same kind of crap. This is because of the search path problem. >What needs to be done is have recursive search from the PATH declaration. >This would allow installing all program files in a more thought out >fashion, such as /usr/bin/gambas/gbx . If this became the standard of how >linux used the PATH I wouldn't have two thousand plus files, most with >meaningless names, in /usr/bin. > > You can get a recursive PATH by adding a little scripting to profile like >this. > >DIRS=( $(echo /usr/bin/*/) ) >DIRS=( ${DIRS[@]%/} ) >D=$( IFS=: ; echo "${DIRS[*]}" ) >{provided by Chet Ramey} > >You can then replace /usr/bin in the PATH declaration with $D and then when >looking for gbx it can be found in /usr/bin/gambas. But this is not done >on any distro. Then you have the problem of getting people that write >their install scripts to put their stuff in a directory under /usr/bin. >And while I'm ranting they can use more meaningful names then gbx. > >And this is where compiling from source works nicely. You can set prefix to >a value such as /usr/bin/gambas and then make a package of the compiled >code to be installed with pkgtool, slackware's package management tool. >This is a much simpler process then making an RPM. > >Joseph > > > > > > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gambas at ...1... Sat Jul 2 21:09:54 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Jul 2005 21:09:54 +0200 Subject: [Gambas-user] Object Draw not print correct In-Reply-To: <2709A442.4EC4193B.001B903D@...87...> References: <2709A442.4EC4193B.001B903D@...87...> Message-ID: <200507022109.54368.gambas@...1...> On Friday 24 June 2005 17:28, Wsouzap at ...87... wrote: > Hi! > > When i'm use the Object Draw, if i sent to printer not work correct, but if > i send to screen in Drawning Object show correct. > > Example: > > Draw.Begin(Printer) > Draw.Font.Size = 18 > Draw.ForeColor = Color.Black > Draw.Text("Testing...",0,0) > Draw.Line(0,0,800,600) > Draw.Rect(0,0,800,600) > Draw.End > > Not print or print miniaturized, very, very small > If I redirect the Draw.Begin(Dr1) --> Dr1 is my Drawning Object in Form. > Show Ok Size and positions. > > I make one report with my logo and graphics forms, (lines, rects, circles), > and when print show in my paper all in top of page. Line about line. > > Ps.: My english is not very well. > > Reguards, > > Wellington > Coordinates are in pixels, so on a printer things are smaller (300-600 DPI) than on a screen (75-96 DPI). You must scale your drawing by using Printer.Width and Printer.Height Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jul 2 21:10:33 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Jul 2005 21:10:33 +0200 Subject: [Gambas-user] Release of gambas2 1.9.10 In-Reply-To: <42BFD527.2080905@...221...> References: <200506241647.48455.gambas@...1...> <42BFD527.2080905@...221...> Message-ID: <200507022110.33116.gambas@...1...> On Monday 27 June 2005 12:29, Eilert wrote: > Hi Benoit, > > > * hFile = OPEN ... > > This syntax replaces the old OPEN ... AS #hFile > > The old syntax will be removed in the future. > > How do I access hFile within the function then? Does it still accept the > "#hFile" writing or do I have to use "hFile" only? > > > Best regards, > Rolf > hFile only, it is an assignment. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jul 2 21:13:50 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Jul 2005 21:13:50 +0200 Subject: [Gambas-user] latest libxml In-Reply-To: <20050627093654.27881.qmail@...1016...> References: <20050627093654.27881.qmail@...1016...> Message-ID: <200507022113.50907.gambas@...1...> On Monday 27 June 2005 11:36, Ramon Orticio wrote: > Daniel, > > thanks for your info. may I inform you that i am a > newbie on linux but i can manage to learn bit by bit. > > i dowloaded libxml2-2.5.0.tar.gz from the site you > suggested. > > i read the install file. may i know if the file will > be extracted in the gambas-1.0.6 directory and be > compiled there. > > i tried experimenting and compiled libxml outside > gambas-1.0.6 folder but when compile gambas using > ./configure the result was > > config.status: error: cannot find input file: > src/lib/xml/libxml/rpc/Makefile.in > > > likewise how do you disable libxml > > thanks again. hope to use gambas soon! > > ramon > You must type ./reconf before ./configure. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jul 2 21:15:03 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 2 Jul 2005 21:15:03 +0200 Subject: [Gambas-user] Version 1.9.10 process management In-Reply-To: <200506272245.46774.matthias-laur@...978...> References: <200506272245.46774.matthias-laur@...978...> Message-ID: <200507022115.03971.gambas@...1...> On Monday 27 June 2005 22:45, Matthias Laur wrote: > hi Benoit, > i've test it and there was no problem. It would be nice if you put this > process management to the stabel version. > > Regards, > Matthias > OK! -- Benoit Minisini mailto:gambas at ...1... From oystein at ...816... Sat Jul 2 21:47:21 2005 From: oystein at ...816... (Øystein Selbekk) Date: Sat, 2 Jul 2005 21:47:21 +0200 Subject: [Gambas-user] Problems installing gambas2-1.9.9 on Kubuntu Message-ID: Hi... Im trying to install Gambas 2 on a kubuntu box. I belive that i have everything installed correctly and im following the description. This is the error message i get when i run su -c "make install": Creating the library info files... make[3]: gbi2: Command not found make[3]: *** [install-exec-local] Error 127 make[3]: Leaving directory `/home/oystein/gambas2-1.9.9/gb.clanlib' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/oystein/gambas2-1.9.9/gb.clanlib' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/oystein/gambas2-1.9.9/gb.clanlib' make: *** [install-recursive] Error 1 Any clues anyone? Oystein From jclevien at ...626... Sat Jul 2 23:05:31 2005 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Sat, 2 Jul 2005 18:05:31 -0300 Subject: [Gambas-user] Gambas 2 Release Message-ID: Hello, I would like to know when Benoit estimates to release the second version of Gambas. Thank you very much Benoit for your work, and also for your happy staff who is contributing to the free software movement. -- "Einstein was an ignorant. He discovered things which were used to destroy people. That proves that even a genius is an ignorant. So do not be so ignorant and be an investigator and help people wisely. At least the little things you know when you die will have served for joy and happiness for others. That is your reward. After all, you are ignorant of what is going to happen when you die." Juan Jose Costello Levien jclevien at ...626... From lordheavy at ...512... Sat Jul 2 23:21:12 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 02 Jul 2005 23:21:12 +0200 Subject: [Gambas-user] Gambas 2 Release In-Reply-To: References: Message-ID: <42C70548.9060806@...512...> Juan Jose Costello Levien a ?crit : > Hello, > > I would like to know when Benoit estimates to release the second > version of Gambas. > Thank you very much Benoit for your work, and also for your happy > staff who is contributing to the free software movement. > > Perhaps ..... when it will be ready :) but i can say it should be before longhorn :) Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From gambasfr at ...11... Sun Jul 3 00:40:02 2005 From: gambasfr at ...11... (fabien) Date: Sun, 3 Jul 2005 00:40:02 +0200 Subject: [Gambas-user] Problems installing gambas2-1.9.9 on Kubuntu In-Reply-To: References: Message-ID: <200507030040.02337.gambasfr@...11...> Le Samedi 02 Juillet 2005 21:47, ?ystein Selbekk a ?crit?: > Hi... Im trying to install Gambas 2 on a kubuntu box. > I belive that i have everything installed correctly and im following the > description. This is the error message i get when i run su -c "make > install": Creating the library info files... > make[3]: gbi2: Command not found > make[3]: *** [install-exec-local] Error 127 > make[3]: Leaving directory `/home/oystein/gambas2-1.9.9/gb.clanlib' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory `/home/oystein/gambas2-1.9.9/gb.clanlib' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/oystein/gambas2-1.9.9/gb.clanlib' > make: *** [install-recursive] Error 1 > > Any clues anyone? > > Oystein desable the clanlib paquage by: ./configure enable-clanlib=false make make install it will work fabien > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From simon-robert at ...1029... Sun Jul 3 02:05:12 2005 From: simon-robert at ...1029... (Simon Robert) Date: Sun, 03 Jul 2005 01:05:12 +0100 Subject: [Gambas-user] mySQL stuff Message-ID: <42C72BB8.1060106@...1029...> Hi there I'm starting to find my way around gambas and OOP, also attempting to get to grips with mySQL. Does any good person out there have a nice simple project that demos all the stuff you'd want to do with gambas and mySQL? Stuff like finding things, moving to the next record, creating new records, counting the number of records in a table, updating a record etc etc.... I've based what I'm doing on the database example and can create new records, but am finding some of the other stuff not working. If someone would like to give me some code that has examples of these things, or could direct me at an idiots guide, (dummy is too advanced), I'd be really gratefull. Thanks Simon -- From cornmaster at ...626... Sun Jul 3 05:21:14 2005 From: cornmaster at ...626... (Thomas Hawkins) Date: Sun, 3 Jul 2005 00:51:14 -0230 Subject: [Gambas-user] Problem installing the curl update (and gambas 1.9.10) Message-ID: I'm having trouble installing gambas 1.9.10 and after looking around the list I found the cure. But I'm having problems with the cure. When I try to ./reconf the curl update I get this error: [root at ...1030... gb.net.curl]# ./reconf /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal and then ./configure doesn't work either after that: checking for Advanced networking component headers... ./configure: line 20185: cd: /home/cornmaster/downloads/gambas: No such file or directory /usr/include/curl/ checking for Advanced networking component libraries... /usr/lib/ configure: creating ./config.status config.status: creating Makefile config.status: error: cannot find input file: Makefile.in Installing on Fedora Core 4. Any help would be awesome. :) I'm switching to Linux..and I got some VB apps I want to make cross platform. -------------- next part -------------- An HTML attachment was scrubbed... URL: From njmurphy1 at ...734... Sun Jul 3 06:06:11 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Sat, 2 Jul 2005 21:06:11 -0700 Subject: [Gambas-user] Re: Problems installing gambas2-1.9.9 on Kubuntu Message-ID: <200507022106.11942.njmurphy1@...734...> >make[3]: gbi2: Command not found There is no need to disable anything. After you do ./configure and make go into main/gbc and run make install, as root of course. Then do make install from the top level directory. The makefile is calling gbi2 before it installs gbi2. Joseph From bsdpowa at ...43... Sun Jul 3 14:40:38 2005 From: bsdpowa at ...43... (vbmax bsdpowa) Date: Sun, 3 Jul 2005 05:40:38 -0700 (PDT) Subject: [Gambas-user] gambas compiling error, gbi2 not found Message-ID: <20050703124038.28052.qmail@...1031...> Hello all I downloaded Gambas2-1.9.9, gb.net and gb.net.curl (for gcc4) and updated gb.gtk and I installed all but at "make" (Gambas) I get gbi2 not found.What's gbi2 and where can I get it? ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From gambasfr at ...11... Sun Jul 3 15:43:06 2005 From: gambasfr at ...11... (fabien) Date: Sun, 3 Jul 2005 15:43:06 +0200 Subject: [Gambas-user] gambas compiling error, gbi2 not found In-Reply-To: <20050703124038.28052.qmail@...1031...> References: <20050703124038.28052.qmail@...1031...> Message-ID: <200507031543.06475.gambasfr@...11...> Le Dimanche 03 Juillet 2005 14:40, vbmax bsdpowa a ?crit?: > Hello all > I downloaded Gambas2-1.9.9, gb.net and gb.net.curl > (for gcc4) and updated gb.gtk and I installed all but > at "make" (Gambas) I get gbi2 not found.What's gbi2 > and where can I get it? > > > > ____________________________________________________ > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > http://football.fantasysports.yahoo.com > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user desable the clanlib paquage by: ./configure enable-clanlib=false make make install it will work fabien From gambasfr at ...11... Sun Jul 3 15:43:20 2005 From: gambasfr at ...11... (fabien) Date: Sun, 3 Jul 2005 15:43:20 +0200 Subject: [Gambas-user] Re: Problems installing gambas2-1.9.9 on Kubuntu In-Reply-To: <200507022106.11942.njmurphy1@...734...> References: <200507022106.11942.njmurphy1@...734...> Message-ID: <200507031543.20938.gambasfr@...11...> Le Dimanche 03 Juillet 2005 06:06, Joseph Murphy a ?crit?: > >make[3]: gbi2: Command not found > > There is no need to disable anything. After you do ./configure and make go > into main/gbc and run make install, as root of course. Then do make > install from the top level directory. The makefile is calling gbi2 before > it installs gbi2. > > Joseph > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user desable the clanlib paquage by: ./configure enable-clanlib=false make make install it will work fabien From danielcampos at ...282... Sun Jul 3 17:12:44 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 03 Jul 2005 17:12:44 +0200 Subject: [Gambas-user] gb.v4l update Message-ID: <42C8006C.2010607@...282...> OK: http://gambas.gnulinex.org/v4l All changes proposed by Beno?t where added to the gb.v4l component. Now the "VideoDevice" class inherits stream, so you can access to the current frame using the common stream methods. The VideoDev object keeps a buffer of one frame (in ppm format), you can: -> Know the length of the frame (in bytes) with Lof(), -> Move your position in the frame with SEEK, and know the current position with Seek(), -> Know if you're at the end of the stream with Eof() -> Read data with READ -> Discard current frame and read next frame with FLUSH You can get a frame reading the Data property as a Byte array, too. The "MyWebCam" example has been updated too, so you can understand the changes in the interface. Regards, D. Campos From nando_f at ...951... Sun Jul 3 17:23:46 2005 From: nando_f at ...951... (nando) Date: Sun, 3 Jul 2005 11:23:46 -0400 Subject: [Gambas-user] Serial Port Write Error Problem and USB Message-ID: <20050703151143.M23116@...951...> Bemoit, Daniel I have a serial port program that currently is configured for /dev/ttyS0 and it runs fine. On the same machine, I have a USB serial port adapter. When plugged in it is /dev/ttyUSB0 While the serial port program is running, when I remove or attach the USB serial port, a WRITE ERROR occurs with /dev/ttyS0 which is odd!! I can tell you where there error occurs in the Serial Port Program which is taken from the Serial Port program Example in Gambas. PUBLIC SUB Write_Serial (a as string) IF Sport.Status = Net.Inactive THEN Message ("Open port first!") ELSE WRITE #Sport, a, Len(a) <------WRITE ERROR OCCURS HERE ENDIF END SUB It only happens with adding or removing USB things - not just serial ports but USB mouse and USB Keyboard and USB touch screen too. I certainly hope the USB subsystem is playing with open com ports. -Fernando From neil at ...233... Sun Jul 3 17:43:46 2005 From: neil at ...233... (neil lewis) Date: Sun, 03 Jul 2005 16:43:46 +0100 Subject: [Gambas-user] mySQL stuff In-Reply-To: <42C72BB8.1060106@...1029...> References: <42C72BB8.1060106@...1029...> Message-ID: <42C807B2.1030504@...233...> H Simon, I've doing the same sort of things, it seems. I'd guess from your post that the "stuff not working" is being able to edit records - the same problem I was having. Nigel Gerrard came to my rescue with the correct syntax for creating a query for read/write access. His reply enabled me to get this working in seconds, but I couldn't really understand what was going on, so I asked for a little more explanation, which he was also kind enough to provide. My original question and the first answer should be in the recent list history. I reproduce the follow-up below. If you want any further help on this, I'd be happy to offer the benefit of my (very limited) experience! Neil Lewis ------------------- > > Yes, that did the trick. I have to say though that I don't really > > understand the syntax there. Could you explain what it's actually > saying? > > > > The Edit function for a table actual translates into a simple SQL > statement; the query part is basically the "where" clause which is > intrinsically used with the rest of the query parameter. the query > parameter contains the field value to be checked with an optional > place holder (&1...&9 etc.). The place holders will be replaced by the > arguments in the rest of the statement. > > So with: > > query = " id = &1" > > rwResult = hConnection.Edit(table, query, roResult["id"]) > > translates to "SELECT * FROM table WHERE id = roResult["id"] > > You could also have > > query = "id = &1 AND age = &2" > > rwResult = hConnection.Edit(table, query, roResult["id"], 26) > ------------------------------------ Simon Robert wrote: > Hi there > > I'm starting to find my way around gambas and OOP, also attempting to > get to grips with mySQL. Does any good person out there have a nice > simple project that demos all the stuff you'd want to do with gambas > and mySQL? Stuff like finding things, moving to the next record, > creating new records, counting the number of records in a table, > updating a record etc etc.... I've based what I'm doing on the > database example and can create new records, but am finding some of > the other stuff not working. > > If someone would like to give me some code that has examples of these > things, or could direct me at an idiots guide, (dummy is too > advanced), I'd be really gratefull. > > Thanks > Simon > From bsdpowa at ...43... Sun Jul 3 18:31:24 2005 From: bsdpowa at ...43... (vbmax bsdpowa) Date: Sun, 3 Jul 2005 09:31:24 -0700 (PDT) Subject: [Gambas-user] gambas compiling error, gbi2 not found In-Reply-To: <200507031543.06475.gambasfr@...11...> Message-ID: <20050703163124.99742.qmail@...1033...> Well it didn't work. I downloaded gambas2-1.9.8 + updates (gb.net, gb.net.curl, gb-gtk) and gbi2 works but now I got an error about curl. I use Fedora Core 4 with GCC 4.0.0. Everything goes fine with "make" untill: Tpo -c CCurl.c -fPIC -DPIC -o .libs/CCurl.o CCurl.c: In function 'CCURL_stream_lof': CCurl.c:86: warning: passing argument 1 of 'curl_easy_getinfo' makes pointer from integer without a cast CCurl.c: In function 'CCURL_stream_eof': CCurl.c:97: warning: passing argument 1 of 'curl_easy_getinfo' makes pointer from integer without a cast CCurl.c: In function 'CCURL_stream_read': CCurl.c:108: warning: passing argument 1 of 'curl_easy_getinfo' makes pointer from integer without a cast CCurl.c: In function 'CCURL_Manage_ErrCode': CCurl.c:172: warning: passing argument 1 of 'fclose' from incompatible pointer type CCurl.c:173: error: invalid lvalue in assignment CCurl.c:180: error: invalid lvalue in assignment CCurl.c:186: error: invalid lvalue in assignment CCurl.c: In function 'CCURL_stop': CCurl.c:202: warning: passing argument 1 of 'fclose' from incompatible pointer type CCurl.c:203: error: invalid lvalue in assignment CCurl.c:210: error: invalid lvalue in assignment CCurl.c:212: error: invalid lvalue in assignment CCurl.c: In function 'CCURL_URL': CCurl.c:405: error: invalid lvalue in assignment CCurl.c: In function 'CCURL_new': CCurl.c:423: error: invalid lvalue in assignment CCurl.c:424: error: invalid lvalue in assignment CCurl.c:425: error: invalid lvalue in assignment CCurl.c:431: warning: assignment from incompatible pointer type CCurl.c: In function 'CCURL_free': CCurl.c:440: warning: passing argument 1 of 'fclose' from incompatible pointer type make[4]: *** [CCurl.lo] Error 1 make[4]: Leaving directory `/home/vbmax/programi/gambas2-1.9.8/gb.net.curl/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vbmax/programi/gambas2-1.9.8/gb.net.curl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vbmax/programi/gambas2-1.9.8/gb.net.curl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vbmax/programi/gambas2-1.9.8' make: *** [all] Error 2 [root at ...40... gambas2-1.9.8]# --- fabien wrote: > Le Dimanche 03 Juillet 2005 14:40, vbmax bsdpowa a > ?crit : > > Hello all > > I downloaded Gambas2-1.9.9, gb.net and gb.net.curl > > (for gcc4) and updated gb.gtk and I installed all > but > > at "make" (Gambas) I get gbi2 not found.What's > gbi2 > > and where can I get it? > > > > > > > > > ____________________________________________________ > > Yahoo! Sports > > Rekindle the Rivalries. Sign up for Fantasy > Football > > http://football.fantasysports.yahoo.com > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > > from IBM. Find simple to follow Roadmaps, > straightforward articles, > > informative Webcasts and more! Get everything you > need to get up to > > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > desable the clanlib paquage > > by: > > ./configure enable-clanlib=false > make > make install > > > it will work > > fabien > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From danielcampos at ...282... Sun Jul 3 19:17:20 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 03 Jul 2005 19:17:20 +0200 Subject: [Gambas-user] Serial Port Write Error Problem and USB In-Reply-To: <20050703151143.M23116@...951...> References: <20050703151143.M23116@...951...> Message-ID: <42C81DA0.9090709@...282...> Hi: It seems it is a low-level problem, I mean something happens in the Linux Kernel when removing or adding an USB device... or may be the hot-plug system from your distribution, I think the thing you can do from a Gambas program (or a C program working with serial port devices through the standard interface) is trying to detect and recover from the problem: 1) You can do TRY WRITE instead of WRITE 2) If the system does not recover the link between the serial port device and the PC, you can do (pseudocode): TRY WRITE IF ERROR THEN TRY CLOSE #SerialPort (OPEN AGAIN THE SERIAL PORT) END IF Regards, D. Campos nando escribi?: >Bemoit, Daniel > >I have a serial port program that currently is configured for >/dev/ttyS0 and it runs fine. > >On the same machine, I have a USB serial port adapter. >When plugged in it is /dev/ttyUSB0 > >While the serial port program is running, when I remove or attach >the USB serial port, a WRITE ERROR occurs with /dev/ttyS0 which is odd!! > >I can tell you where there error occurs in the Serial Port Program >which is taken from the Serial Port program Example in Gambas. > >PUBLIC SUB Write_Serial (a as string) > >IF Sport.Status = Net.Inactive THEN > > Message ("Open port first!") > >ELSE > > WRITE #Sport, a, Len(a) <------WRITE ERROR OCCURS HERE > >ENDIF > >END SUB > >It only happens with adding or removing USB things - not just serial ports >but USB mouse and USB Keyboard and USB touch screen too. > >I certainly hope the USB subsystem is playing with open com ports. > >-Fernando > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From gambas at ...1... Sun Jul 3 19:37:30 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 3 Jul 2005 19:37:30 +0200 Subject: [Gambas-user] Gambas 2 Release In-Reply-To: <42C70548.9060806@...512...> References: <42C70548.9060806@...512...> Message-ID: <200507031937.30851.gambas@...1...> On Saturday 02 July 2005 23:21, Laurent Carlier wrote: > Juan Jose Costello Levien a ?crit : > > Hello, > > > > I would like to know when Benoit estimates to release the second > > version of Gambas. > > Thank you very much Benoit for your work, and also for your happy > > staff who is contributing to the free software movement. > > Perhaps ..... when it will be ready :) but i can say it should be before > longhorn :) > > Regards, Mmm... Not sure! -- Benoit Minisini mailto:gambas at ...1... From cloroetilo at ...626... Sun Jul 3 19:49:02 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Sun, 03 Jul 2005 19:49:02 +0200 Subject: [Gambas-user] help building packages Message-ID: <1120412942.23660.6.camel@...37...> Hi all!! Hello guys, how is it going? Today's question is about how to build an rpm from my program. I cannot use the gambas tool for this because it does not work in my computer so I've been surfing the net looking for information about how to build it myself. Now I'm writing the spec file and I have to tell rpm what components my program needs. This components are: - gb.db - gb.qt - gb.qt.kde and gambas-runtime, of course. My problem is that I don't know which versions I have installed so I cannot write the spec file properly. I'm using IDE 1.9.8 Where can I gather that information?? Could anybody post his spec file if anyone of you have done this before?? Thanks a lot, this mailing list is great!! -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From gambas at ...1... Sun Jul 3 20:14:11 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 3 Jul 2005 20:14:11 +0200 Subject: [Gambas-user] Release of gambas 1.0.7 Message-ID: <200507032014.11196.gambas@...1...> Hi, Here is a new stable version of gambas: 1.0.7! Download it there: http://prdownloads.sourceforge.net/gambas/gambas-1.0.7.tar.bz2?download The main changes are: * Process management has been backported from the development version. * A new czech translation for the IDE, and a new japanese translation for the database manager. * Some important bugs were fixed. Enjoy it! -- Benoit Minisini mailto:gambas at ...1... From jclevien at ...626... Sun Jul 3 22:02:43 2005 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Sun, 3 Jul 2005 17:02:43 -0300 Subject: [Gambas-user] Release of gambas 1.0.7 In-Reply-To: <200507032014.11196.gambas@...1...> References: <200507032014.11196.gambas@...1...> Message-ID: > Here is a new stable version of gambas: 1.0.7! Thanks Benoit. Very kind of your part. -- "Einstein was an ignorant. He discovered things which were used to destroy people. That proves that even a genius is an ignorant. So do not be so ignorant and be an investigator and help people wisely. At least the little things you know when you die will have served for joy and happiness for others. That is your reward. After all, you are ignorant of what is going to happen when you die." Juan Jose Costello Levien jclevien at ...626... From danielcampos at ...282... Sun Jul 3 22:28:03 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 03 Jul 2005 22:28:03 +0200 Subject: [Gambas-user] gambas compiling error, gbi2 not found In-Reply-To: <20050703163124.99742.qmail@...1033...> References: <20050703163124.99742.qmail@...1033...> Message-ID: <42C84A53.5020008@...282...> Did you replace the old folder {gambas sources}/gb.net.curl by the new one available at http://gambas.gnulinex.org/net/gb.net.curl.050626.tar.bz2 ? Regards, D. Campos vbmax bsdpowa escribi?: >Well it didn't work. >I downloaded gambas2-1.9.8 + updates (gb.net, >gb.net.curl, gb-gtk) and gbi2 works but now I got an >error about curl. > >I use Fedora Core 4 with GCC 4.0.0. > >Everything goes fine with "make" untill: > >Tpo -c CCurl.c -fPIC -DPIC -o .libs/CCurl.o >CCurl.c: In function 'CCURL_stream_lof': >CCurl.c:86: warning: passing argument 1 of >'curl_easy_getinfo' makes pointer from integer without >a cast >CCurl.c: In function 'CCURL_stream_eof': >CCurl.c:97: warning: passing argument 1 of >'curl_easy_getinfo' makes pointer from integer without >a cast >CCurl.c: In function 'CCURL_stream_read': >CCurl.c:108: warning: passing argument 1 of >'curl_easy_getinfo' makes pointer from integer without >a cast >CCurl.c: In function 'CCURL_Manage_ErrCode': >CCurl.c:172: warning: passing argument 1 of 'fclose' >from incompatible pointer type >CCurl.c:173: error: invalid lvalue in assignment >CCurl.c:180: error: invalid lvalue in assignment >CCurl.c:186: error: invalid lvalue in assignment >CCurl.c: In function 'CCURL_stop': >CCurl.c:202: warning: passing argument 1 of 'fclose' >from incompatible pointer type >CCurl.c:203: error: invalid lvalue in assignment >CCurl.c:210: error: invalid lvalue in assignment >CCurl.c:212: error: invalid lvalue in assignment >CCurl.c: In function 'CCURL_URL': >CCurl.c:405: error: invalid lvalue in assignment >CCurl.c: In function 'CCURL_new': >CCurl.c:423: error: invalid lvalue in assignment >CCurl.c:424: error: invalid lvalue in assignment >CCurl.c:425: error: invalid lvalue in assignment >CCurl.c:431: warning: assignment from incompatible >pointer type >CCurl.c: In function 'CCURL_free': >CCurl.c:440: warning: passing argument 1 of 'fclose' >from incompatible pointer type >make[4]: *** [CCurl.lo] Error 1 >make[4]: Leaving directory >`/home/vbmax/programi/gambas2-1.9.8/gb.net.curl/src' >make[3]: *** [all-recursive] Error 1 >make[3]: Leaving directory >`/home/vbmax/programi/gambas2-1.9.8/gb.net.curl' >make[2]: *** [all] Error 2 >make[2]: Leaving directory >`/home/vbmax/programi/gambas2-1.9.8/gb.net.curl' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory >`/home/vbmax/programi/gambas2-1.9.8' >make: *** [all] Error 2 >[root at ...40... gambas2-1.9.8]# > > >--- fabien wrote: > > > >>Le Dimanche 03 Juillet 2005 14:40, vbmax bsdpowa a >>?crit : >> >> >>>Hello all >>>I downloaded Gambas2-1.9.9, gb.net and gb.net.curl >>>(for gcc4) and updated gb.gtk and I installed all >>> >>> >>but >> >> >>>at "make" (Gambas) I get gbi2 not found.What's >>> >>> >>gbi2 >> >> >>>and where can I get it? >>> >>> >>> >>> >>> >>> >>____________________________________________________ >> >> >>>Yahoo! Sports >>>Rekindle the Rivalries. Sign up for Fantasy >>> >>> >>Football >> >> >>>http://football.fantasysports.yahoo.com >>> >>> >>> >>> >>> >------------------------------------------------------- > > >>>SF.Net email is sponsored by: Discover Easy Linux >>> >>> >>Migration Strategies >> >> >>>from IBM. Find simple to follow Roadmaps, >>> >>> >>straightforward articles, >> >> >>>informative Webcasts and more! Get everything you >>> >>> >>need to get up to >> >> >>>speed, fast. >>> >>> >http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > > >>>_______________________________________________ >>>Gambas-user mailing list >>>Gambas-user at lists.sourceforge.net >>> >>> >>> >https://lists.sourceforge.net/lists/listinfo/gambas-user > > >>desable the clanlib paquage >> >>by: >> >>./configure enable-clanlib=false >>make >>make install >> >> >>it will work >> >>fabien >> >> >> >> >> >> >------------------------------------------------------- > > >>SF.Net email is sponsored by: Discover Easy Linux >>Migration Strategies >>from IBM. Find simple to follow Roadmaps, >>straightforward articles, >>informative Webcasts and more! Get everything you >>need to get up to >>speed, fast. >>http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >> >> >> >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From rporticio at ...43... Mon Jul 4 05:01:36 2005 From: rporticio at ...43... (Ramon Orticio) Date: Sun, 3 Jul 2005 20:01:36 -0700 (PDT) Subject: [Gambas-user] Nothing to be done for `all'. Message-ID: <20050704030136.66429.qmail@...1034...> benoit, daniel i got his error when i typed make to install gambas-1.0.6. attached is the output.txt ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From rporticio at ...43... Mon Jul 4 05:03:00 2005 From: rporticio at ...43... (Ramon Orticio) Date: Sun, 3 Jul 2005 20:03:00 -0700 (PDT) Subject: [Gambas-user] Nothing to be done for `all'. Message-ID: <20050704030300.66668.qmail@...1034...> benoit, daniel i got his error when i typed make to install gambas-1.0.6. attached is the output.txt thanks ramon __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From akubukanspy at ...43... Mon Jul 4 06:30:49 2005 From: akubukanspy at ...43... (Yudi Astira) Date: Sun, 3 Jul 2005 21:30:49 -0700 (PDT) Subject: [Gambas-user] Nothing to be done for `all'. In-Reply-To: <20050704030300.66668.qmail@...1034...> Message-ID: <20050704043049.90368.qmail@...1035...> I think you must install from root user --- Ramon Orticio wrote: > benoit, daniel > > i got his error when i typed make to install > gambas-1.0.6. attached is the output.txt > > thanks > > ramon > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > > ____________________________________________________ > > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > > http://football.fantasysports.yahoo.com> 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... 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... g77 > checking whether we are using the GNU Fortran 77 > compiler... yes > checking whether g77 accepts -g... yes > 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... yes > 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 if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > checking for g77 option to produce PIC... -fPIC > checking if g77 PIC flag -fPIC works... yes > checking if g77 supports -c -o file.o... yes > checking whether the g77 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 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 > === message truncated === Yudi Astira, http://www.hdteam.net ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From joseph.cohen at ...626... Mon Jul 4 08:48:34 2005 From: joseph.cohen at ...626... (Joseph Cohen) Date: Sun, 3 Jul 2005 23:48:34 -0700 Subject: [Gambas-user] gb.gtk signal #11 error Message-ID: Ok I am randomly getting signal #11 error from my app. The app is only using the gb and gb.gtk components. Here is where I get it: Using gambas2-1.9.9 I get it just after the event: combox_click(). After I read the text in the combobox by: DIM stmp AS STRING stmp = combobox.text The contents of the combobox change to binary data instead of the choice list. At the end of the click event I get the signal 11 simply at the "END" line for the sub. On gambas2-1.9.10 the error is the same. Using the latest gb.gtk component off of the net causes even more errors by simply performing a Form.close I get a signal 11. The real code for the event is here: PUBLIC SUB cmbDriver_Click() DIM stmp AS String stmp = cmbDriver.Text IF InStr(LCase(stmp), "windows xp") > 0 THEN btnWinDRV.Visible = TRUE ELSE btnWinDRV.Visible = FALSE END IF END I have also tried changing the line "stmp = cmbDriver.Text" to "stmp = Conv$(cmbDriver.Text, "UTF-8", "ASCII")" with no luck since I see some unusually GTK warnings in my console screen about the contents not being "UTF-8". From jose.santos at ...429... Mon Jul 4 09:06:10 2005 From: jose.santos at ...429... (Dani Santos) Date: Mon, 04 Jul 2005 09:06:10 +0200 Subject: [Gambas-user] Problem with the gb.gtk component Message-ID: <1120460770.4626.14.camel@...999...> Hi All! This is my first post to the list I have developed a simple app that helps to solve printer problems under LinEx 2004, to be used in the schools at Extremadura (Spain). It works perfectly with the gb.qt component but not so with the gtk component (the one I would like to use). I'll start with one problem using a ListView control: - The main window shows the printers installed in the system in a ListView control. If you select one of them, another ListView control shows the jobs queued in that printer. With the gb.gtk component, when you select a printer in that ListView control, raises the following error: Null object And stops. Here is the code and the buggy line: PRIVATE SUB actualizarFormulario(pActualizarImpresoras AS Boolean, pActualizarTrabajos AS Boolean) DIM strKeyImpresoraActual AS String DIM strKeyTrabajoActual AS String ME.Mouse = 3 listaImpresoras.Enabled = Not (optTodasImpresoras.Value) IF optTodosTrabajos.Value Or optNingunTrabajo.Value THEN listaTrabajos.Enabled = FALSE ELSE listaTrabajos.Enabled = TRUE ENDIF chkGuiar.Visible = chkReanudarImpresora.Value ' Para quedar seleccionada la impresora actual. IF optSeleccionarImpresora.Value And listaImpresoras.Count <> 0 THEN ' =============================================================== ' ====== BELOW IS THE BUGGY LINE (Aqu? casca) ====== ' =============================================================== strKeyImpresoraActual = listaImpresoras.Current.Key ENDIF ' Para quedar seleccionado el trabajo actual. IF optSeleccionarTrabajo.Value And listaTrabajos.Count <> 0 THEN strKeyTrabajoActual = listaTrabajos.Current.Key ENDIF IF pActualizarImpresoras THEN cargarImpresoras() IF pActualizarTrabajos THEN cargarTrabajos() IF optSeleccionarImpresora.Value And listaImpresoras.Count <> 0 THEN IF Not listaImpresoras.MoveTo(strKeyImpresoraActual) THEN listaImpresoras.Item.Selected = TRUE listaImpresoras.Current.EnsureVisible() ENDIF ENDIF IF optSeleccionarTrabajo.Value And listaTrabajos.Count <> 0 THEN IF Not listaTrabajos.MoveTo(strKeyTrabajoActual) THEN listaTrabajos.Item.Selected = TRUE listaTrabajos.Current.EnsureVisible() ENDIF ENDIF ME.Mouse = -1 SELECT CASE m_bytModoFormulario CASE MODOFORM_SIMPLE btnCambiarModo.Caption = "&Modo avanzado" logo.Visible = FALSE fraImpresoras.Visible = FALSE fraTrabajos.Visible = FALSE fraOpciones.Visible = FALSE fraModoSimple.Visible = TRUE fraBotones.Top = fraModoSimple.Top + fraModoSimple.Height + 10 CASE MODOFORM_AVANZADO btnCambiarModo.Caption = "&Modo simple" logo.Visible = TRUE fraImpresoras.Visible = TRUE fraTrabajos.Visible = TRUE fraOpciones.Visible = TRUE fraModoSimple.Visible = FALSE fraBotones.Top = fraOpciones.Top + fraOpciones.Height + 10 END SELECT ME.Border = window.Resizable ME.Height = fraBotones.Top + fraBotones.Height + 10 ME.Border = window.Fixed END The full code is available at: http://forja.linex.org/project/showfiles.php?group_id=26&release_id=202 (It was tested to work with the 1.9.3 version of gambas. I've seen there are a few things to solve to make it work with the 1.9.9 version) Thanks in advance for your help!!! -- Jos? Daniel Santos Delgado Programador del IESO Quercus (Malpartida de Plasencia) http://iesoquercus.juntaextremadura.net/dani/ Tfno: 927010850 Fax: 927010851 From danielcampos at ...282... Mon Jul 4 16:28:21 2005 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 04 Jul 2005 16:28:21 +0200 Subject: [Gambas-user] Problem with the gb.gtk component In-Reply-To: <1120460770.4626.14.camel@...999...> References: <1120460770.4626.14.camel@...999...> Message-ID: <42C94785.3080309@...282...> OK, I'll try to correct it soon, Regards, D. Campos Dani Santos escribi?: >Hi All! This is my first post to the list > >I have developed a simple app that helps to solve printer problems under >LinEx 2004, to be used in the schools at Extremadura (Spain). It works >perfectly with the gb.qt component but not so with the gtk component >(the one I would like to use). > >I'll start with one problem using a ListView control: > >- The main window shows the printers installed in the system in a >ListView control. If you select one of them, another ListView control >shows the jobs queued in that printer. > >With the gb.gtk component, when you select a printer in that ListView >control, raises the following error: > >Null object > >And stops. Here is the code and the buggy line: > > >PRIVATE SUB actualizarFormulario(pActualizarImpresoras AS Boolean, >pActualizarTrabajos AS Boolean) > DIM strKeyImpresoraActual AS String > DIM strKeyTrabajoActual AS String > > ME.Mouse = 3 > > listaImpresoras.Enabled = Not (optTodasImpresoras.Value) > IF optTodosTrabajos.Value Or optNingunTrabajo.Value THEN > listaTrabajos.Enabled = FALSE > ELSE > listaTrabajos.Enabled = TRUE > ENDIF > chkGuiar.Visible = chkReanudarImpresora.Value > > ' Para quedar seleccionada la impresora actual. > IF optSeleccionarImpresora.Value And listaImpresoras.Count <> 0 THEN > > ' =============================================================== > ' ====== BELOW IS THE BUGGY LINE (Aqu? casca) ====== > ' =============================================================== > > strKeyImpresoraActual = listaImpresoras.Current.Key > ENDIF > > ' Para quedar seleccionado el trabajo actual. > IF optSeleccionarTrabajo.Value And listaTrabajos.Count <> 0 THEN > strKeyTrabajoActual = listaTrabajos.Current.Key > ENDIF > > IF pActualizarImpresoras THEN cargarImpresoras() > IF pActualizarTrabajos THEN cargarTrabajos() > > IF optSeleccionarImpresora.Value And listaImpresoras.Count <> 0 THEN > IF Not listaImpresoras.MoveTo(strKeyImpresoraActual) THEN > listaImpresoras.Item.Selected = TRUE > listaImpresoras.Current.EnsureVisible() > ENDIF > ENDIF > > IF optSeleccionarTrabajo.Value And listaTrabajos.Count <> 0 THEN > IF Not listaTrabajos.MoveTo(strKeyTrabajoActual) THEN > listaTrabajos.Item.Selected = TRUE > listaTrabajos.Current.EnsureVisible() > ENDIF > ENDIF > > ME.Mouse = -1 > > SELECT CASE m_bytModoFormulario > CASE MODOFORM_SIMPLE > btnCambiarModo.Caption = "&Modo avanzado" > logo.Visible = FALSE > fraImpresoras.Visible = FALSE > fraTrabajos.Visible = FALSE > fraOpciones.Visible = FALSE > fraModoSimple.Visible = TRUE > fraBotones.Top = fraModoSimple.Top + fraModoSimple.Height + 10 > > CASE MODOFORM_AVANZADO > btnCambiarModo.Caption = "&Modo simple" > logo.Visible = TRUE > fraImpresoras.Visible = TRUE > fraTrabajos.Visible = TRUE > fraOpciones.Visible = TRUE > fraModoSimple.Visible = FALSE > fraBotones.Top = fraOpciones.Top + fraOpciones.Height + 10 > END SELECT > > ME.Border = window.Resizable > ME.Height = fraBotones.Top + fraBotones.Height + 10 > ME.Border = window.Fixed >END > > >The full code is available at: >http://forja.linex.org/project/showfiles.php?group_id=26&release_id=202 > >(It was tested to work with the 1.9.3 version of gambas. I've seen there >are a few things to solve to make it work with the 1.9.9 version) > > >Thanks in advance for your help!!! > > > > > > From lists at ...706... Mon Jul 4 16:40:31 2005 From: lists at ...706... (Toni Schornboeck) Date: Mon, 04 Jul 2005 16:40:31 +0200 Subject: [Gambas-user] BUG, Model Frame creates Modeless Frame which can't be closed Message-ID: <20050704144031.65613.qmail@...707...> Hi Guys! I use this piece of code to ensure there is always a meaningfull error message, even if the app crashes: STATIC PUBLIC SUB Main() DIM e AS ExceptionForm DIM f AS Startup f=NEW Startup TRY f.ShowModal() IF ERROR THEN e=NEW ExceptionForm e.ShowModal() QUIT END IF END Startup is my real main form, I show it modal, because I want Main() to wait for it to close before proceeding. But within my application I want to use modeless windows. I can open them without problem, but you cannot close them. Even calling ME.Close() doesn't help. Only solution is to do ME.Delete(). But unfortunately there is no way to close this window using the windowclose 'button' in the window-title (where lower, raise, shade, etc. is). Even the parent window is unclosable. So my questions are: am I intented to open modeless windows within a modal window? is there a way to do my exception handling with a modeless window? If I'm not supposed to open modeless windows form a modal one, it should give an error message. If I'm allowed to do so, then it should be possible to close this window. Thank you in advance. PS: I'm using gambas 1.0.6 (just downloaded 1.0.7 today and will compile it later this week). I'm using Yoper 2.1 (KDE 3.3.0 and Qt 3.3) From njmurphy1 at ...734... Mon Jul 4 18:56:58 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Mon, 4 Jul 2005 09:56:58 -0700 Subject: [Gambas-user] Re: Nothing to be done for `all'. Message-ID: <200507040956.58262.njmurphy1@...734...> >/usr/bin/install: cannot remove `/opt/gambas/bin/gbi': Permission denied try running as root. Joseph From Wsouzap at ...87... Mon Jul 4 21:50:23 2005 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Mon, 04 Jul 2005 15:50:23 -0400 Subject: [Gambas-user] help WorkSpace with picture Message-ID: <2D5A09B7.38026A0C.001B903D@...87...> Howto draw or load an picture in workspace. I'm use: DIM hWorkSpace as WorkSpace hWorkSpace = NEW WorkSpace(ME) '<-- ME is my principal window With hWorkSpace .X = 0 .Y = 0 .W = 800 .H = 600 .Show End With The picture ??????? Howto???? From gambasfr at ...11... Mon Jul 4 22:45:15 2005 From: gambasfr at ...11... (fabien) Date: Mon, 4 Jul 2005 22:45:15 +0200 Subject: [Gambas-user] help WorkSpace with picture In-Reply-To: <2D5A09B7.38026A0C.001B903D@...87...> References: <2D5A09B7.38026A0C.001B903D@...87...> Message-ID: <200507042245.15628.gambasfr@...11...> Le Lundi 04 Juillet 2005 21:50, Wsouzap at ...87... a ?crit?: > Howto draw or load an picture in workspace. > I'm use: > > DIM hWorkSpace as WorkSpace > > hWorkSpace = NEW WorkSpace(ME) '<-- ME is my principal window > With hWorkSpace > .X = 0 > .Y = 0 > .W = 800 > .H = 600 > .Show > End With > > The picture ??????? Howto???? HowTo ?? hum it's not possible :) workspace have not picture property regards, fabien > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From cloroetilo at ...626... Tue Jul 5 00:18:52 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Tue, 05 Jul 2005 00:18:52 +0200 Subject: [Gambas-user] question about gb.qt.kde... Message-ID: <1120515532.18270.5.camel@...37...> Hi there! I've just finished a little app that uses gb.qt.kde component. Exactly, I use the calendar. I'm using gambas v1.9.8 nowadays and I'm very comfortable with it. I would like to know if an app using this component can be run on a stable version of gambas-runtime >=1.0.6. I have version 1.0.3 in another machine and try to install gb.qt.kde and it told me that it was impossible because I needed gambas >= 1.9.8. So now I wonder if I want to distribute my app, is it going to be able to run only in gambas development >=1.9.8???? Thank you all! -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From lordheavy at ...512... Tue Jul 5 00:46:22 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 05 Jul 2005 00:46:22 +0200 Subject: [Gambas-user] question about gb.qt.kde... In-Reply-To: <1120515532.18270.5.camel@...37...> References: <1120515532.18270.5.camel@...37...> Message-ID: <42C9BC3E.3080807@...512...> PaquitoSoft a ?crit : > Hi there! > > I've just finished a little app that uses gb.qt.kde component. Exactly, > I use the calendar. I'm using gambas v1.9.8 nowadays and I'm very > comfortable with it. > I would like to know if an app using this component can be run on a > stable version of gambas-runtime >=1.0.6. > I have version 1.0.3 in another machine and try to install gb.qt.kde and > it told me that it was impossible because I needed gambas >= 1.9.8. So > now I wonder if I want to distribute my app, is it going to be able to > run only in gambas development >=1.9.8???? > > Thank you all! > Bytecode for gambas2 have changed so if your code doesn't have any new feature from gambas2, you can compile it uner gambas1 and make a specific package for it. Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From htakada at ...626... Tue Jul 5 00:44:14 2005 From: htakada at ...626... (Hugo) Date: Mon, 4 Jul 2005 18:44:14 -0400 Subject: [Gambas-user] headless application In-Reply-To: <1120515532.18270.5.camel@...37...> References: <1120515532.18270.5.camel@...37...> Message-ID: hi, is it possible to write headless applications in gambas? , I mean server programs that run as a service. thanks hugh -------------- next part -------------- An HTML attachment was scrubbed... URL: From m_isaac at ...689... Tue Jul 5 01:03:35 2005 From: m_isaac at ...689... (Michael Isaac) Date: Mon, 04 Jul 2005 16:03:35 -0700 Subject: [Gambas-user] Getting Gambas up to speed. Message-ID: <42C9C047.7090705@...689...> It has been my observation that Gambas is rather slow. I takes gambas well over 5 minutes to count to a billion using a simple do...while statement. On my machine that is. While other language such as c, pascal, and java where much faster, between 1 and 4 seconds. Even FreeBASIC (freebasic.net) was about 3.5 seconds. I really need to know if its possible to address this issue. I halted development on several of my projects because they require a large amount of looping and Gambas doesnt seem to be up to speed. You may download any of my sources from my website and test them for yourself. Another example is the DeepSpace engine. I'm trying to get it to handle several (maybe as many as 100 or more) objects on the screen at any given time. But as you can see when you start adding objects (dbl click the screen) the cycles drop way down. Anyway, I have speed issues to say the least. Any help would be awesome. http://www.mathish.com/michael/files/gambas/ Dont shoot back with something like "use C then", the topic is getting Gambas up to speed. -- Thank you Michael From njmurphy1 at ...734... Tue Jul 5 01:48:42 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Mon, 4 Jul 2005 16:48:42 -0700 Subject: [Gambas-user] Re: gb.gtk signal #11 error Message-ID: <200507041648.42133.njmurphy1@...734...> I suspect this is a hardware problem because it hasn't come up on the list before. If I was you I would run a memory checker to see if you have a problem. You should run the memory checker for many passes, over night should be good. It could be a programming error but this is the only time it has come up on the mailing list so I suspect your hardware. One flipped bit in a memory location that is being used as a pointer will cause this error. Joseph From njmurphy1 at ...734... Tue Jul 5 02:07:16 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Mon, 4 Jul 2005 17:07:16 -0700 Subject: [Gambas-user] Problem with the gb.gtk component Message-ID: <200507041707.16343.njmurphy1@...734...> Hello Mr. Santos I don't have an answer for your problem but I would like to compliment you on your coding style. I think everybody on the list should look at your code. I don't read Spanish but because of good coding style and meaningful variable names I can understand what you are doing. Joseph From nando_f at ...951... Tue Jul 5 07:16:52 2005 From: nando_f at ...951... (nando) Date: Tue, 5 Jul 2005 01:16:52 -0400 Subject: [Gambas-user] Serial Port Write Error Problem and USB In-Reply-To: <42C81DA0.9090709@...282...> References: <20050703151143.M23116@...951...> <42C81DA0.9090709@...282...> Message-ID: <20050705051003.M7118@...951...> Daniel, I use FC2. I hope you understood that /dev/ttyS0 (not USB) was affected when adding/subtracting any USB device. Minicom does not experience the same problem. Perhaps Minicom does what you suggest. I will modify my code, although I am currently thinking it's a Gambas problem. Thanks for you help. -Fernando ---------- Original Message ----------- From: Daniel Campos To: gambas-user at lists.sourceforge.net Sent: Sun, 03 Jul 2005 19:17:20 +0200 Subject: Re: [Gambas-user] Serial Port Write Error Problem and USB > Hi: > > It seems it is a low-level problem, I mean something happens in the > Linux Kernel > when removing or adding an USB device... or may be the hot-plug > system from your distribution, I think the thing you can do from a > Gambas program (or a C program working with serial port devices > through the standard interface) is trying to detect and recover from > the problem: > > 1) You can do > > TRY WRITE > > instead of > > WRITE > > 2) If the system does not recover the link between the serial port > device and the PC, you can > do (pseudocode): > > TRY WRITE > > IF ERROR THEN > > TRY CLOSE #SerialPort > (OPEN AGAIN THE SERIAL PORT) > > END IF > > Regards, > > D. Campos > > nando escribi?: > > >Bemoit, Daniel > > > >I have a serial port program that currently is configured for > >/dev/ttyS0 and it runs fine. > > > >On the same machine, I have a USB serial port adapter. > >When plugged in it is /dev/ttyUSB0 > > > >While the serial port program is running, when I remove or attach > >the USB serial port, a WRITE ERROR occurs with /dev/ttyS0 which is odd!! > > > >I can tell you where there error occurs in the Serial Port Program > >which is taken from the Serial Port program Example in Gambas. > > > >PUBLIC SUB Write_Serial (a as string) > > > >IF Sport.Status = Net.Inactive THEN > > > > Message ("Open port first!") > > > >ELSE > > > > WRITE #Sport, a, Len(a) <------WRITE ERROR OCCURS HERE > > > >ENDIF > > > >END SUB > > > >It only happens with adding or removing USB things - not just serial ports > >but USB mouse and USB Keyboard and USB touch screen too. > > > >I certainly hope the USB subsystem is playing with open com ports. > > > >-Fernando > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > >from IBM. Find simple to follow Roadmaps, straightforward articles, > >informative Webcasts and more! Get everything you need to get up to > >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. > http://ads.osdn.com/?ad_idt77&alloc_id492&op?k _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From cloroetilo at ...626... Tue Jul 5 08:35:15 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Tue, 05 Jul 2005 08:35:15 +0200 Subject: [Gambas-user] question about gb.qt.kde... In-Reply-To: <42C9BC3E.3080807@...512...> References: <1120515532.18270.5.camel@...37...> <42C9BC3E.3080807@...512...> Message-ID: <1120545315.1612.2.camel@...37...> First of all, thaks for your answer. But what I was tring to say is that I cannot complie my project in gambas1 because there was no gb.at.kde component on it. So I guess I won't be able to make a gambas stable running version of my app... -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From ml at ...973... Tue Jul 5 08:49:03 2005 From: ml at ...973... (ML) Date: Tue, 05 Jul 2005 08:49:03 +0200 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <42C9C047.7090705@...689...> References: <42C9C047.7090705@...689...> Message-ID: <42CA2D5F.9040207@...973...> On 05/07/2005 01:03, Michael Isaac wrote: > It has been my observation that Gambas is rather slow. I takes gambas > well over 5 minutes to count to a billion using a simple do...while > statement. Try with a for...next loop: on my machine it improves speed dramatically. Ciao, Piero From jose.santos at ...429... Tue Jul 5 08:49:12 2005 From: jose.santos at ...429... (Dani Santos) Date: Tue, 05 Jul 2005 08:49:12 +0200 Subject: [Gambas-user] Problem with the gb.gtk component In-Reply-To: <200507041707.16343.njmurphy1@...734...> References: <200507041707.16343.njmurphy1@...734...> Message-ID: <1120546152.3744.18.camel@...999...> Hello Mr. Murphy I have spent large amounts of time reading code written by others that could have been read in a few minutes if it had been a bit more clearer. That's why I like to use meaningful variable names. This is my first (simple and small) program published so broadly (under GPL, of course), and I've just realized that I should have used english in the names and comentaries. I take note for future code. And... Just a question: ?Is there under Gambas any key combination to easy introducing already defined variable names? I mean: In Visual Basic, if I had defined, for example, a strPrinterName variable, if I wrote strP and pressed Ctrl + Space (or Ctrl + J, I don't remember), it showed a list with the variables starting with strP. It's very helpful but I don't find it in Gambas. Thanks. El lun, 04-07-2005 a las 17:07 -0700, Joseph Murphy escribi?: > > Hello Mr. Santos > > I don't have an answer for your problem but I would like to compliment you > on your coding style. I think everybody on the list should look at your > code. I don't read Spanish but because of good coding style and meaningful > variable names I can understand what you are doing. > > Joseph > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Jos? Daniel Santos Delgado Programador del IESO Quercus (Malpartida de Plasencia) http://iesoquercus.juntaextremadura.net/dani/ Tfno: 927010850 Fax: 927010851 From eilert-sprachen at ...221... Tue Jul 5 09:16:05 2005 From: eilert-sprachen at ...221... (Eilert) Date: Tue, 05 Jul 2005 09:16:05 +0200 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <42C9C047.7090705@...689...> References: <42C9C047.7090705@...689...> Message-ID: <42CA33B5.8080207@...221...> Hi Michael, Michael Isaac schrieb: > It has been my observation that Gambas is rather slow. I takes gambas > well over 5 minutes to count to a billion using a simple do...while > statement. Who should want to count to a billion? :-)) Well, there have been tricks around with other Basics before: use FOR...NEXT instead of DO...LOOP or WHILE...WEND, use IF, ELSE etc. instead of SELECT CASE (due to Benoit this does not apply to Gambas), and many more like using integers instead of floating point variables or even short integer / byte variables (maybe more a memory issue). So I would try FOR...NEXT if possible for your loops. Rolf From rporticio at ...43... Tue Jul 5 09:35:47 2005 From: rporticio at ...43... (Ramon Orticio) Date: Tue, 5 Jul 2005 00:35:47 -0700 (PDT) Subject: [Gambas-user] make[2]: Nothing to be done for `install-data-am'. Message-ID: <20050705073548.34651.qmail@...1037...> dear coleagues, i got this error when i logged in as root to install gambas-1.0.6. i did the usal sequence ./configure, make, make install and eventyped ./reconf to ensurecorrect compilation. attached is the output.txt file. thanks for any help. ramon __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: output.txt URL: From lordheavy at ...512... Tue Jul 5 14:40:43 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 05 Jul 2005 14:40:43 +0200 Subject: [Gambas-user] new released of sdl component ... Message-ID: <42CA7FCB.7050201@...512...> It's available here : http://gamebas.tuxfamily.org/download/gambas2-gb.sdl-050705-1.9.10.tar.gz Changelog: Sound component * Now fadeIn and FadeOut are available with music playing (sound.c) Image Component * All key constants are now in keyCode virtual class (key.c key.h) * New property key.Code will contain key pressed/released inside keyPressed/keyReleased event (key.c key.h) * Some Events for screen are available : Refresh, Close, GotFocus, LostFocus, Enter, Leave, MouseDown, MouseUp, MouseMove. KeyPressed, KeyReleased. Refresh and Close can be canceled (main.c main.h event.c event.h screen.c screen.h) * Now Fps are available from Screen.GetFramerate property, screen.Refresh doesn't Return Fps anymore (screen.c) * Move driverinfo init from main to driver (main.c driver.c driver.h) * Move all screen inits/exits from main to screen (main.c main.h screen.c screen.h) Have fun ! -- Laurent Carlier jabber : LordHeavy at ...943... From sourceforge-raindog2 at ...94... Tue Jul 5 19:16:48 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 5 Jul 2005 13:16:48 -0400 Subject: [Gambas-user] question about gb.qt.kde... In-Reply-To: <1120545315.1612.2.camel@...37...> References: <1120515532.18270.5.camel@...37...> <42C9BC3E.3080807@...512...> <1120545315.1612.2.camel@...37...> Message-ID: <200507051316.48699.sourceforge-raindog2@...94...> On Tuesday 05 July 2005 02:35, PaquitoSoft wrote: > But what I was tring to say is that I cannot complie my project in > gambas1 because there was no gb.at.kde component on it. There has been a gb.qt.kde component since something like Gambas 0.50. If your distribution's packages are telling you you need gambas >= 1.98, the packages are made wrong.... the packages I make for Mandrake are called "gambas" for the stable releases and "gambas2" for the 1.9x releases, and that's how other distributors are (supposed to) package it as well. Rob From lordheavy at ...512... Tue Jul 5 22:15:35 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 05 Jul 2005 22:15:35 +0200 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <42C9C047.7090705@...689...> References: <42C9C047.7090705@...689...> Message-ID: <42CAEA67.8050400@...512...> Michael Isaac a ?crit : > It has been my observation that Gambas is rather slow. I takes gambas > well over 5 minutes to count to a billion using a simple do...while > statement. On my machine that is. While other language such as c, > pascal, and java where much faster, between 1 and 4 seconds. Even > FreeBASIC (freebasic.net) was about 3.5 seconds. I really need to know > if its possible to address this issue. I halted development on several > of my projects because they require a large amount of looping and Gambas > doesnt seem to be up to speed. You may download any of my sources from > my website and test them for yourself. Another example is the DeepSpace > engine. I'm trying to get it to handle several (maybe as many as 100 or > more) objects on the screen at any given time. But as you can see when > you start adding objects (dbl click the screen) the cycles drop way > down. Anyway, I have speed issues to say the least. Any help would be > awesome. > > http://www.mathish.com/michael/files/gambas/ > > Dont shoot back with something like "use C then", the topic is getting > Gambas up to speed. > > -- > Thank you > Michael small test program : FOR ... NEXT :1.337913000025 DO ... LOOP UNTIL :1.499999780208E-5 DO WHILE ... LOOP :2.90982099995 WHILE ... WEND :2.893097999971 DO ... LOOP UNTIL -> wow ! -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: essai-0.0.4.tar.gz Type: application/x-gzip Size: 858 bytes Desc: not available URL: From oreip at ...1... Tue Jul 5 23:21:05 2005 From: oreip at ...1... (PV) Date: Tue, 05 Jul 2005 23:21:05 +0200 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <42CAEA67.8050400@...512...> References: <42C9C047.7090705@...689...> <42CAEA67.8050400@...512...> Message-ID: <42CAF9C1.6040705@...1...> On 05/07/2005 22:15, Laurent Carlier wrote: > small test program : > FOR ... NEXT :1.337913000025 > DO ... LOOP UNTIL :1.499999780208E-5 > DO WHILE ... LOOP :2.90982099995 > WHILE ... WEND :2.893097999971 > > DO ... LOOP UNTIL -> wow ! > There's an error in your test program: in the do...loop until section, the loop is executed only once since the j < value condition evaluates to true on the first run. My results (after correction): FOR ... NEXT :1.546652000048 DO ... LOOP UNTIL :2.545786999981 DO WHILE ... LOOP :3.030274000019 WHILE ... WEND :2.942573999986 Ciao, Piero From lordheavy at ...512... Tue Jul 5 23:34:36 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 05 Jul 2005 23:34:36 +0200 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <42CAF9C1.6040705@...1...> References: <42C9C047.7090705@...689...> <42CAEA67.8050400@...512...> <42CAF9C1.6040705@...1...> Message-ID: <42CAFCEC.6080307@...512...> PV a ?crit : > On 05/07/2005 22:15, Laurent Carlier wrote: > >> small test program : >> FOR ... NEXT :1.337913000025 >> DO ... LOOP UNTIL :1.499999780208E-5 >> DO WHILE ... LOOP :2.90982099995 >> WHILE ... WEND :2.893097999971 >> >> DO ... LOOP UNTIL -> wow ! >> > > There's an error in your test program: in the do...loop until section, > the loop is executed only once since the j < value condition evaluates > to true on the first run. > > My results (after correction): > > FOR ... NEXT :1.546652000048 > DO ... LOOP UNTIL :2.545786999981 > DO WHILE ... LOOP :3.030274000019 > WHILE ... WEND :2.942573999986 > > Ciao, > Piero > Thanks ! the error : LOOP UNTIL j < value it must be : LOOP UNTIL j > value Sorry, -- Laurent Carlier jabber : LordHeavy at ...943... From m_isaac at ...689... Tue Jul 5 23:47:12 2005 From: m_isaac at ...689... (Michael Isaac) Date: Tue, 05 Jul 2005 14:47:12 -0700 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <42CAF9C1.6040705@...1...> References: <42C9C047.7090705@...689...> <42CAEA67.8050400@...512...> <42CAF9C1.6040705@...1...> Message-ID: <42CAFFE0.1010607@...689...> PV wrote: > On 05/07/2005 22:15, Laurent Carlier wrote: > >> small test program : >> FOR ... NEXT :1.337913000025 >> DO ... LOOP UNTIL :1.499999780208E-5 >> DO WHILE ... LOOP :2.90982099995 >> WHILE ... WEND :2.893097999971 >> >> DO ... LOOP UNTIL -> wow ! >> > > There's an error in your test program: in the do...loop until section, > the loop is executed only once since the j < value condition evaluates > to true on the first run. > > My results (after correction): > > FOR ... NEXT :1.546652000048 > DO ... LOOP UNTIL :2.545786999981 > DO WHILE ... LOOP :3.030274000019 > WHILE ... WEND :2.942573999986 > > Ciao, > Piero > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > another thing i noticed in your source is that the constant value is only 10,000,000 (10 million) not 1,000,000,000 (1 billion) fix that and try again. From lordheavy at ...512... Tue Jul 5 23:57:38 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 05 Jul 2005 23:57:38 +0200 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <42CAFFE0.1010607@...689...> References: <42C9C047.7090705@...689...> <42CAEA67.8050400@...512...> <42CAF9C1.6040705@...1...> <42CAFFE0.1010607@...689...> Message-ID: <42CB0252.7080106@...512...> Michael Isaac a ?crit : > another thing i noticed in your source is that the constant value is > only 10,000,000 (10 million) not 1,000,000,000 (1 billion) > > fix that and try again. > It's not a bug, it's a feature ;) It's just to see differences between loops, it's not for "locking" gambas for 10 minutes :) -- Laurent Carlier jabber : LordHeavy at ...943... From joseph.cohen at ...626... Wed Jul 6 00:39:26 2005 From: joseph.cohen at ...626... (Joseph Cohen) Date: Tue, 5 Jul 2005 15:39:26 -0700 Subject: [Gambas-user] gb.gtk errors Hardware error, not. Message-ID: This problem reoccurs on several computers. I have recompiled from source the gtk+ libraries to verify if that is the problem and the problem reoccurs. I also have switched the code from gtk to qt and the problems go away. If I switch back to gtk the problems re-appear. I am hopefully going to get a debug trace for you soon but its a lack of time right now. Also the problem occurs on Gentoo 2005.0 and Suse 9.2. The problem occurs with Gambas2-1.9.9 and Gambas2-1.9.10. It occurs on 2 P4-3Ghz, 1 AMD64 and 1 Athlon-XP Workstataions. The sample sub code was posted previously and only does some basic stuff. Basically what I want to do is read the text in a combo box and if it matches a certain pattern then set visible = true on objects that are on the form else set visible = false. Thats it. Pretty simple task and the fact that it appears on several computers with 2 different distros of Linux and not with the QT toolkit says something is wrong in the gtk libraries. Joseph From njmurphy1 at ...734... Wed Jul 6 01:45:31 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Tue, 5 Jul 2005 16:45:31 -0700 Subject: [Gambas-user] Getting Gambas up to speed. Message-ID: <200507051645.31849.njmurphy1@...734...> Hi Michael I did some testing with do while and for next loops and it does seem to be rather slow. To do a for next loop that does nothing except increment the counter it took 14 seconds to go from 1 to 10000000. I only tested up to ten million but 14 seconds does seem slow and gbx2 was using 99 percent of the cpu according to top. I then checked out your DeepSpace project. I found something different with it. gbx2 was taking only 13 percent of the cpu time and X was taking 85 percent. I think there are multiple issues with the speed problem. I then checked out the optimization of the gambas compile and it is being optimized for size. I haven't had the time to see if there is an increase if it is optimized with -O3 instead of -Os but I doubt that there will be much difference. This does seem to be something that needs further investigation. Joseph From mauriziopz at ...626... Wed Jul 6 10:16:23 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Wed, 6 Jul 2005 10:16:23 +0200 Subject: [Gambas-user] Database and text Message-ID: Hi all I'm planning to create a program which when is given a text it search every word of the text in a list and the perform an action. My problem is that I don't know how to create that list, I think that, since it will be a long list, would be a better idea to use a database instead of a plain text list (so the process would be faster and the list centralized). The problem is that I don't have a clue of how to use that database so, do you have any suggestions? some examples would be very apreciated. I tried to have a look to the doc of mysql but it was very complicated, maybe I'd be able to use that too but if you know where to find an easier one I'd be glad. In the meanwhile I'll start coding with a plain text list hopping to find a better way to do that. Thanks -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From lordheavy at ...512... Wed Jul 6 16:00:06 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 06 Jul 2005 16:00:06 +0200 Subject: [Gambas-user] sdl component bugfix release ... Message-ID: <42CBE3E6.2020307@...512...> I've found a bug with surface convertion so an update version is available here : http://gamebas.tuxfamily.org/download/ And an exemple (sdlmove "uptodate" with comments) -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: sdlmove-0.0.1.tar.gz Type: application/x-gzip Size: 2530 bytes Desc: not available URL: From gambas at ...1... Wed Jul 6 19:24:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 6 Jul 2005 19:24:19 +0200 Subject: [Gambas-user] Release of gambas2 1.9.11 Message-ID: <200507061924.19734.gambas@...1...> Hi, Here is a big important release of the development version. Many new syntaxes and features were added to the compiler and the interpreter, the bytecode has changes, and so ALL PROJECTS MUST BE *ENTIRELY* RECOMPILED! I apologize for the inconvenience, but I think it's worth it :-) Here are the changes, with some explanations when needed: * You can instanciate objects at variable declaration with any expression now. Now you can type things like: DIM Matrix AS NEW Float[3, 3] PUBLIC MyObject AS NEW MyObject(GetParam(), Len(TheName)) ... * Functions can take a variable number of arguments now. Just use three points at the end of the argument list: SUB MyPrintf(sFormat AS String, ...) ... END Use the Param class to access additional arguments (see below). * You can use the '_unknown' special method now. Declare it this way: PUBLIC FUNCTION _unknown(...) AS Variant ... END Use the Param class to get the name of the called method. *A new syntax 'IF ... AND IF ...'. The second test is not done if the first is false. You can type now: IF Test1 AND IF Test2 THEN ... The Test2 is never evaluated if Test1 is FALSE, contrary to 'IF Test1 AND Test2' You can use more than two AND IF of course. * A new syntax 'IF ... OR IF ...'. The second test is not done if the first is true. The same syntax than previously, but with OR. * A new syntax 'CASE ... TO ...', to test the match to an interval of values. You can type now: SELECT Value CASE 1 TO 10 PRINT "1 TO 10" CASE 11 TO 20, 25 PRINT "11 TO 20 or 25" END SELECT * New C-style assignment operators: +=, -=, *=, /=, \=, &=, &/=. Now you can type: i += 1 instead of i = i + 1 And so on... * The DIRECT keyword has been removed. Now use 'OPEN ... FOR INPUT | OUTPUT' to open a file in buffered mode and 'OPEN ... FOR READ | WRITE' to open a file in direct mode. * The BIG and LITTLE keywords have been removed. Now use the new ByteOrder property of the Strem class. * A new syntax for EXEC or SHELL: 'EXEC|SHELL ... TO aString' executes the command, waits for its termination, and returns the process output to the specified string. The syntax defined in 1.9.10 has been removed. * WAIT is not implicite anymore in the EXEC or SHELL command. * Now ambiguous expressions are detected, and raise an error. * A new operator '==', to compare strings by ignoring their case. Interpreter PRINT "Gambas" == "gambas" returns TRUE * System.Home was definitely replaced by User.Home. * System.User was definitely replaced by User.Name. * The class ".Stream" has been renamed as "Stream". Be careful component developers! :-) * A new class, Param, to get extra arguments, and information about a call to the _unknown method. Param.Count returns the number of extra arguments. Param[i] returns the i-th argument as a variant. Param.Unknown returns the name of the unknown method. * A new property, Stream.ByteOrder, to set the byte order of a stream. Now, instead of using BIG or LITTLE with OPEN, you must write: hStream.ByteOrder = gb.LittleEndian / gb.BigEndian. Note that you can do that for any type of stream! * A new property, User.Id, returns the user id of the current process. * Application.Args is now enumerable. Now you can type: FOR EACH sArg in Application.Args ... NEXT * Formatting currency is possible now, by specifying gb.Currency (or gb.International to use the international currency symbol) as second argument of Format$(). In France: PRINT Format$(10000.50, gb.Currency) 10 000,50 ? PRINT Format$(10000.50, gb.International) 10 000,50 FRF In US: (tell me if I am wrong) PRINT Format$(10000.50, gb.Currency) $ 10,000.50 PRINT Format$(10000.50, gb.International) USD 10,000.50 * New mathematical functions: Exp2, Exp10, Log2, Cbr, Expm, Logm, Atan2, Ang, Hyp, Mag. Exp2(x) = 2 ^ x Exp10(x) = 10 ^ x Log2(x) = Log(x) / Log(2) Cbr(x) = x ^ (1/3) Expm(x) = Exp(x) - 1 with good precision when x -> 1 Logp(x) = Log(x + 1) with good precision when x -> 0 Atan2(x, y) = Atan(y / x) Ang(x, y) = Atan(x / y) Hyp(x, y) = Sqr(x^2 + y^2) Mag(x, y) = Hyp(x, y) * New conversion functions: DConv$(), for converting from system charset to desktop charset, and SConv$() for doing the contrary. * New date functions: DateAdd() and DateDiff(). They were backported from the vb component and the syntax was modified. DateAdd(Date AS Date, Period AS Integer, Interval AS Integer) adds to Date a specified number (Interval) of Period. Period can be: - gb.Second - gb.Minute - gb.Hour - gb.Day - gb.WeekDay - gb.Week - gb.Month - gb.Quarter - gb.Year DateDiff(Date1 AS Date, Date2 AS Date, Period AS Integer) returns the number of Period that leads from Date1 to Date2, Date2 being excluded. * A new function, RDir(), to read the contents of a directory recursively. It has the same syntax than Dir(). Try it! * A new storage class, List. Here is a little chart for comparing Array, List and Collection. Array Collection List Indexed by integer string integer Inserting can be slow (1) slow immediate Deleting can be slow (1) slow immediate Accessing immediate fast can be slow (2) (1) The array is shrinked or expanded as needed, every 16 insertion or deletion. (2) The list of elements must be traversed. Accessing the next or previous element is immediate. * Adding or substracting little integers is now optimized: about 5 times faster. * Calling functions with a fixed number of arguments, without needing to convert the arguments is optimized: about 4 times faster. * A new drawing method in the QT component, Draw.Zoom, for drawing a zoomed version of an Image. * A new video capture component named 'gb.v4l' made by Daniel Campos. It is based on Video4Linux. * The CGI Gambas program that manages the new documentation is distributed with the source so that people can translate it. That's all :-) Please read the changelog for a list of bug fixes and other changes. ENJOY IT! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jul 6 19:30:16 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 6 Jul 2005 19:30:16 +0200 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <200507051645.31849.njmurphy1@...734...> References: <200507051645.31849.njmurphy1@...734...> Message-ID: <200507061930.16584.gambas@...1...> On Wednesday 06 July 2005 01:45, Joseph Murphy wrote: > Hi Michael > I did some testing with do while and for next loops and it does seem to be > rather slow. To do a for next loop that does nothing except increment the > counter it took 14 seconds to go from 1 to 10000000. I only tested up to > ten million but 14 seconds does seem slow and gbx2 was using 99 percent of > the cpu according to top. > > I then checked out your DeepSpace project. I found something different > with it. gbx2 was taking only 13 percent of the cpu time and X was taking > 85 percent. I think there are multiple issues with the speed problem. > > I then checked out the optimization of the gambas compile and it is being > optimized for size. I haven't had the time to see if there is an increase > if it is optimized with -O3 instead of -Os but I doubt that there will be > much difference. > > This does seem to be something that needs further investigation. > > Joseph > I know that looping is slow in Gambas, but I think it is more interesting to test the other parts of the language (arithmetic, strings, ...) because a program that loops is only a buggy program ;-) I looked at DeepSpace, I modified it to run 500 objects, and I have the same conclusion. Drawing is slower than calculating in this case, but it mainly depends on your graphical driver, as the drawing area is updated (i.e. the cached pixmap is redraw to the screen) at each frame. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jul 6 19:31:08 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 6 Jul 2005 19:31:08 +0200 Subject: [Gambas-user] make[2]: Nothing to be done for `install-data-am'. In-Reply-To: <20050705073548.34651.qmail@...1037...> References: <20050705073548.34651.qmail@...1037...> Message-ID: <200507061931.08467.gambas@...1...> On Tuesday 05 July 2005 09:35, Ramon Orticio wrote: > dear coleagues, > > i got this error when i logged in as root to install > gambas-1.0.6. i did the usal sequence ./configure, > make, make install and eventyped ./reconf to > ensurecorrect compilation. attached is the output.txt > file. > > thanks for any help. > > ramon > > I don' t see any error there! -- Benoit Minisini mailto:gambas at ...1... From cornmaster at ...626... Wed Jul 6 20:14:32 2005 From: cornmaster at ...626... (Thomas Hawkins) Date: Wed, 6 Jul 2005 15:44:32 -0230 Subject: [Gambas-user] Release of gambas2 1.9.11 In-Reply-To: <200507061924.19734.gambas@...1...> References: <200507061924.19734.gambas@...1...> Message-ID: Sounds good. :) By any chance is the installer working in Fedora Core 4 (GCC4) without all the workarounds? I still have not got Gambas working yet....and I'm dying to give it a try. :) Thanks On 7/6/05, Benoit Minisini wrote: > > Hi, > > Here is a big important release of the development version. > > Many new syntaxes and features were added to the compiler and the > interpreter, > the bytecode has changes, and so ALL PROJECTS MUST BE *ENTIRELY* > RECOMPILED! > > I apologize for the inconvenience, but I think it's worth it :-) > > Here are the changes, with some explanations when needed: > > * You can instanciate objects at variable declaration with any expression > now. > > Now you can type things like: > > DIM Matrix AS NEW Float[3, 3] > PUBLIC MyObject AS NEW MyObject(GetParam(), Len(TheName)) > ... > > * Functions can take a variable number of arguments now. > > Just use three points at the end of the argument list: > > SUB MyPrintf(sFormat AS String, ...) > ... > END > > Use the Param class to access additional arguments (see below). > > * You can use the '_unknown' special method now. > > Declare it this way: > > PUBLIC FUNCTION _unknown(...) AS Variant > ... > END > > Use the Param class to get the name of the called method. > > *A new syntax 'IF ... AND IF ...'. The second test is not done if the > first is > false. > > You can type now: > > IF Test1 AND IF Test2 THEN ... > > The Test2 is never evaluated if Test1 is FALSE, contrary to 'IF Test1 AND > Test2' > > You can use more than two AND IF of course. > > * A new syntax 'IF ... OR IF ...'. The second test is not done if the > first is > true. > > The same syntax than previously, but with OR. > > * A new syntax 'CASE ... TO ...', to test the match to an interval of > values. > > You can type now: > > SELECT Value > CASE 1 TO 10 > PRINT "1 TO 10" > CASE 11 TO 20, 25 > PRINT "11 TO 20 or 25" > END SELECT > > * New C-style assignment operators: +=, -=, *=, /=, \=, &=, &/=. > > Now you can type: > > i += 1 instead of i = i + 1 > And so on... > > * The DIRECT keyword has been removed. Now use 'OPEN ... FOR INPUT | > OUTPUT' > to open a file in buffered mode and 'OPEN ... FOR READ | WRITE' to open a > file in direct mode. > > * The BIG and LITTLE keywords have been removed. Now use the new ByteOrder > property of the Strem class. > > * A new syntax for EXEC or SHELL: 'EXEC|SHELL ... TO aString' executes the > command, waits for its termination, and returns the process output to the > specified string. The syntax defined in 1.9.10 has been removed. > > * WAIT is not implicite anymore in the EXEC or SHELL command. > > * Now ambiguous expressions are detected, and raise an error. > > * A new operator '==', to compare strings by ignoring their case. > Interpreter > > PRINT "Gambas" == "gambas" returns TRUE > > * System.Home was definitely replaced by User.Home. > > * System.User was definitely replaced by User.Name . > > * The class ".Stream" has been renamed as "Stream". > > Be careful component developers! :-) > > * A new class, Param, to get extra arguments, and information about a call > to > the _unknown method. > > Param.Count returns the number of extra arguments. > Param[i] returns the i-th argument as a variant. > Param.Unknown returns the name of the unknown method. > > * A new property, Stream.ByteOrder, to set the byte order of a stream. > > Now, instead of using BIG or LITTLE with OPEN, you must write: > > hStream.ByteOrder = gb.LittleEndian / gb.BigEndian. > > Note that you can do that for any type of stream! > > * A new property, User.Id , returns the user id of the > current process. > > * Application.Args is now enumerable. > > Now you can type: > > FOR EACH sArg in Application.Args > ... > NEXT > > * Formatting currency is possible now, by specifying gb.Currency (or > gb.International to use the international currency symbol) as second > argument > of Format$(). > > In France: > > PRINT Format$(10000.50, gb.Currency) > 10 000,50 ? > > PRINT Format$(10000.50, gb.International) > 10 000,50 FRF > > In US: (tell me if I am wrong) > > PRINT Format$(10000.50, gb.Currency) > $ 10,000.50 > > PRINT Format$(10000.50, gb.International) > USD 10,000.50 > > * New mathematical functions: Exp2, Exp10, Log2, Cbr, Expm, Logm, Atan2, > Ang, > Hyp, Mag. > > Exp2(x) = 2 ^ x > Exp10(x) = 10 ^ x > Log2(x) = Log(x) / Log(2) > Cbr(x) = x ^ (1/3) > Expm(x) = Exp(x) - 1 with good precision when x -> 1 > Logp(x) = Log(x + 1) with good precision when x -> 0 > > Atan2(x, y) = Atan(y / x) > Ang(x, y) = Atan(x / y) > Hyp(x, y) = Sqr(x^2 + y^2) > Mag(x, y) = Hyp(x, y) > > * New conversion functions: DConv$(), for converting from system charset > to > desktop charset, and SConv$() for doing the contrary. > > * New date functions: DateAdd() and DateDiff(). They were backported from > the > vb component and the syntax was modified. > > DateAdd(Date AS Date, Period AS Integer, Interval AS Integer) > adds to Date a specified number (Interval) of Period. > > Period can be: > > - gb.Second > - gb.Minute > - gb.Hour > - gb.Day > - gb.WeekDay > - gb.Week > - gb.Month > - gb.Quarter > - gb.Year > > DateDiff(Date1 AS Date, Date2 AS Date, Period AS Integer) > returns the number of Period that leads from Date1 to Date2, Date2 being > excluded. > > * A new function, RDir(), to read the contents of a directory recursively. > > It has the same syntax than Dir(). Try it! > > * A new storage class, List. > > Here is a little chart for comparing Array, List and Collection. > > Array Collection List > > Indexed by integer string integer > Inserting can be slow (1) slow immediate > Deleting can be slow (1) slow immediate > Accessing immediate fast can be slow (2) > > (1) The array is shrinked or expanded as needed, every 16 insertion or > deletion. > > (2) The list of elements must be traversed. Accessing the next or previous > element is immediate. > > * Adding or substracting little integers is now optimized: about 5 times > faster. > > * Calling functions with a fixed number of arguments, without needing to > convert the arguments is optimized: about 4 times faster. > > * A new drawing method in the QT component, Draw.Zoom, for drawing a > zoomed > version of an Image. > > * A new video capture component named 'gb.v4l' made by Daniel Campos. It > is > based on Video4Linux. > > * The CGI Gambas program that manages the new documentation is distributed > with the source so that people can translate it. > > That's all :-) Please read the changelog for a list of bug fixes and other > changes. > > ENJOY IT! > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Wed Jul 6 20:27:41 2005 From: gambas at ...1... (Benoit Minisini) Date: Wed, 6 Jul 2005 20:27:41 +0200 Subject: [Gambas-user] Release of gambas2 1.9.11 In-Reply-To: References: <200507061924.19734.gambas@...1...> Message-ID: <200507062027.41253.gambas@...1...> On Wednesday 06 July 2005 20:14, Thomas Hawkins wrote: > Sounds good. :) > > By any chance is the installer working in Fedora Core 4 (GCC4) without all > the workarounds? I still have not got Gambas working yet....and I'm dying > to give it a try. :) > > Thanks > Before compiling try : ? ? a) ?yum install compat-gcc-32 ? ? b) ?export CC=gcc32 (From a guy who just sent me to my private e-mail). Regards, -- Benoit Minisini mailto:gambas at ...1... From bsdpowa at ...43... Wed Jul 6 21:06:15 2005 From: bsdpowa at ...43... (vbmax bsdpowa) Date: Wed, 6 Jul 2005 12:06:15 -0700 (PDT) Subject: [Gambas-user] Release of gambas2 1.9.11 In-Reply-To: Message-ID: <20050706190615.41617.qmail@...1038...> Unfortunatly not. I have Fedora Core 4 with GCC 4.0.0.I was even able to successfuly do "make" but it stopped at "make install" at the gb.sdl.sound-list not found in /user/share/gambas/sound-sharelist or something. --- Thomas Hawkins wrote: > Sounds good. :) > > By any chance is the installer working in Fedora > Core 4 (GCC4) without all > the workarounds? I still have not got Gambas working > yet....and I'm dying to > give it a try. :) > > Thanks > > On 7/6/05, Benoit Minisini > wrote: > > > > Hi, > > > > Here is a big important release of the development > version. > > > > Many new syntaxes and features were added to the > compiler and the > > interpreter, > > the bytecode has changes, and so ALL PROJECTS MUST > BE *ENTIRELY* > > RECOMPILED! > > > > I apologize for the inconvenience, but I think > it's worth it :-) > > > > Here are the changes, with some explanations when > needed: > > > > * You can instanciate objects at variable > declaration with any expression > > now. > > > > Now you can type things like: > > > > DIM Matrix AS NEW Float[3, 3] > > PUBLIC MyObject AS NEW MyObject(GetParam(), > Len(TheName)) > > ... > > > > * Functions can take a variable number of > arguments now. > > > > Just use three points at the end of the argument > list: > > > > SUB MyPrintf(sFormat AS String, ...) > > ... > > END > > > > Use the Param class to access additional arguments > (see below). > > > > * You can use the '_unknown' special method now. > > > > Declare it this way: > > > > PUBLIC FUNCTION _unknown(...) AS Variant > > ... > > END > > > > Use the Param class to get the name of the called > method. > > > > *A new syntax 'IF ... AND IF ...'. The second test > is not done if the > > first is > > false. > > > > You can type now: > > > > IF Test1 AND IF Test2 THEN ... > > > > The Test2 is never evaluated if Test1 is FALSE, > contrary to 'IF Test1 AND > > Test2' > > > > You can use more than two AND IF of course. > > > > * A new syntax 'IF ... OR IF ...'. The second test > is not done if the > > first is > > true. > > > > The same syntax than previously, but with OR. > > > > * A new syntax 'CASE ... TO ...', to test the > match to an interval of > > values. > > > > You can type now: > > > > SELECT Value > > CASE 1 TO 10 > > PRINT "1 TO 10" > > CASE 11 TO 20, 25 > > PRINT "11 TO 20 or 25" > > END SELECT > > > > * New C-style assignment operators: +=, -=, *=, > /=, \=, &=, &/=. > > > > Now you can type: > > > > i += 1 instead of i = i + 1 > > And so on... > > > > * The DIRECT keyword has been removed. Now use > 'OPEN ... FOR INPUT | > > OUTPUT' > > to open a file in buffered mode and 'OPEN ... FOR > READ | WRITE' to open a > > file in direct mode. > > > > * The BIG and LITTLE keywords have been removed. > Now use the new ByteOrder > > property of the Strem class. > > > > * A new syntax for EXEC or SHELL: 'EXEC|SHELL ... > TO aString' executes the > > command, waits for its termination, and returns > the process output to the > > specified string. The syntax defined in 1.9.10 has > been removed. > > > > * WAIT is not implicite anymore in the EXEC or > SHELL command. > > > > * Now ambiguous expressions are detected, and > raise an error. > > > > * A new operator '==', to compare strings by > ignoring their case. > > Interpreter > > > > PRINT "Gambas" == "gambas" returns TRUE > > > > * System.Home was definitely replaced by > User.Home. > > > > * System.User was definitely replaced by User.Name > . > > > > * The class ".Stream" has been renamed as > "Stream". > > > > Be careful component developers! :-) > > > > * A new class, Param, to get extra arguments, and > information about a call > > to > > the _unknown method. > > > > Param.Count returns the number of extra arguments. > > Param[i] returns the i-th argument as a variant. > > Param.Unknown returns the name of the unknown > method. > > > > * A new property, Stream.ByteOrder, to set the > byte order of a stream. > > > > Now, instead of using BIG or LITTLE with OPEN, you > must write: > > > > hStream.ByteOrder = gb.LittleEndian / > gb.BigEndian. > > > > Note that you can do that for any type of stream! > > > > * A new property, User.Id , > returns the user id of the > > current process. > > > > * Application.Args is now enumerable. > > > > Now you can type: > > > > FOR EACH sArg in Application.Args > > ... > > NEXT > > > > * Formatting currency is possible now, by > specifying gb.Currency (or > > gb.International to use the international currency > symbol) as second > > argument > > of Format$(). > > > > In France: > > > > PRINT Format$(10000.50, gb.Currency) > > 10 000,50 � > > > > PRINT Format$(10000.50, gb.International) > > 10 000,50 FRF > > > > In US: (tell me if I am wrong) > > > > PRINT Format$(10000.50, gb.Currency) > === message truncated === ____________________________________________________ Sell on Yahoo! Auctions ? no fees. Bid on great items. http://auctions.yahoo.com/ From cloroetilo at ...626... Wed Jul 6 21:28:20 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Wed, 06 Jul 2005 21:28:20 +0200 Subject: [Gambas-user] Re: Release of Gambas2 1.9.11 Message-ID: <1120678100.2262.7.camel@...37...> * A new syntax for EXEC or SHELL: 'EXEC|SHELL ... TO aString' executes the command, waits for its termination, and returns the process output to the specified string. The syntax defined in 1.9.10 has been removed. Do you mean that: dim p as Process p = SHELL("echo $HOME") for read is back again like this??: dim p as Process SHELL("echo $HOME") for read as p -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From oreip at ...1... Wed Jul 6 22:20:46 2005 From: oreip at ...1... (PV) Date: Wed, 06 Jul 2005 22:20:46 +0200 Subject: [Gambas-user] Re: [Gambas-devel] Release of gambas2 1.9.11 In-Reply-To: <200507061924.19734.gambas@...1...> References: <200507061924.19734.gambas@...1...> Message-ID: <42CC3D1E.8050805@...1...> On 06/07/2005 19:24, Benoit Minisini wrote: > Hi, > > Here is a big important release of the development version. > > Many new syntaxes and features were added to the compiler and the interpreter, > the bytecode has changes, and so ALL PROJECTS MUST BE *ENTIRELY* RECOMPILED! [snip] I haven't seen this mentioned in the Changelog but it seems that in this release an expression that evaluates to true is replaced by 1 in a numerical context, whereas in previous releases it was replaced by -1. Example: let x = 10 in Gambas <= 1.9.10, an expression like x * (x > 0) evaluated to -10 in Gambas 1.9.11 the same expression evaluates to 10. Is it right? Ciao, Piero From sourceforge-raindog2 at ...94... Wed Jul 6 22:55:25 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 6 Jul 2005 16:55:25 -0400 Subject: [Gambas-user] Re: [Gambas-devel] Release of gambas2 1.9.11 In-Reply-To: <42CC3D1E.8050805@...1...> References: <200507061924.19734.gambas@...1...> <42CC3D1E.8050805@...1...> Message-ID: <200507061655.25774.sourceforge-raindog2@...94...> On Wednesday 06 July 2005 16:20, PV wrote: > I haven't seen this mentioned in the Changelog but it seems that in > this release an expression that evaluates to true is replaced by 1 > in a numerical context, whereas in previous releases it was > replaced by -1. Oops, I'll need to change a lot of code if that's the case, as I frequently implement toggles as "x = -(abs(x+1))". (It's worked in every single BASIC I've ever used going back to, I think, the TRS-80 Model 1.) Rob From rporticio at ...43... Thu Jul 7 07:44:26 2005 From: rporticio at ...43... (Ramon Orticio) Date: Wed, 6 Jul 2005 22:44:26 -0700 (PDT) Subject: [Gambas-user] got this error - gambas 1.0.7 Message-ID: <20050707054427.7833.qmail@...1039...> benoit, finally i was able to compile and run gambas using the instruction in readme.radhat 9. however, the second time i type gambas either as a user or root this resulted to this error message. /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE thanks for any help. ramon __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From oreip at ...1... Thu Jul 7 08:43:38 2005 From: oreip at ...1... (PV) Date: Thu, 07 Jul 2005 08:43:38 +0200 Subject: [Gambas-user] Re: [Gambas-devel] Release of gambas2 1.9.11 In-Reply-To: <200507061655.25774.sourceforge-raindog2@...94...> References: <200507061924.19734.gambas@...1...> <42CC3D1E.8050805@...1...> <200507061655.25774.sourceforge-raindog2@...94...> Message-ID: <42CCCF1A.8020405@...1...> On 06/07/2005 22:55, Rob wrote: > Oops, I'll need to change a lot of code if that's the case, as I > frequently implement toggles as "x = -(abs(x+1))". (It's worked in > every single BASIC I've ever used going back to, I think, the TRS-80 > Model 1.) I believe your toggles shouldn't be affected by the new behavior because the difference I saw is only about logical expressions. Ciao, Piero From eilert-sprachen at ...221... Thu Jul 7 10:35:39 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 07 Jul 2005 10:35:39 +0200 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 Message-ID: <42CCE95B.4030900@...221...> Hi all, is somewhere here with a Suse 9.1 who knows how to get the new Gambas 1.9.11 running? When I try to compile, it stops at the point with the GTK widgets (that's my guess). So I tried to install some GTK stuff, but the same happened again. Any ideas? Rolf From lordheavy at ...512... Thu Jul 7 10:47:04 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 07 Jul 2005 10:47:04 +0200 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 In-Reply-To: <42CCE95B.4030900@...221...> References: <42CCE95B.4030900@...221...> Message-ID: <42CCEC08.2020500@...512...> Eilert a ?crit : > Hi all, > > is somewhere here with a Suse 9.1 who knows how to get the new Gambas > 1.9.11 running? > > When I try to compile, it stops at the point with the GTK widgets > (that's my guess). So I tried to install some GTK stuff, but the same > happened again. > > Any ideas? > > Rolf > What is the error ? -- Laurent Carlier jabber : LordHeavy at ...943... From eilert-sprachen at ...221... Thu Jul 7 12:42:23 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 07 Jul 2005 12:42:23 +0200 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 In-Reply-To: <42CCEC08.2020500@...512...> References: <42CCE95B.4030900@...221...> <42CCEC08.2020500@...512...> Message-ID: <42CD070F.7090904@...221...> Laurent Carlier schrieb: > Eilert a ?crit : > >>Hi all, >> >>is somewhere here with a Suse 9.1 who knows how to get the new Gambas >>1.9.11 running? >> >>When I try to compile, it stops at the point with the GTK widgets >>(that's my guess). So I tried to install some GTK stuff, but the same >>happened again. >> >>Any ideas? >> >>Rolf >> > > > What is the error ? > That was the question I was afraid of :-) Here is the error part in the make process: In file included from gfont.cpp:28: widgets.h:490: warning: `class gControl' has virtual functions but non-virtual destructor widgets.h:620: warning: `class gPlugin' has virtual functions but non-virtual destructor widgets.h:640: warning: `class gProgressBar' has virtual functions but non-virtual destructor widgets.h:657: warning: `class gLabel' has virtual functions but non-virtual destructor widgets.h:674: warning: `class gTextLabel' has virtual functions but non-virtual destructor widgets.h:683: warning: `class gButton' has virtual functions but non-virtual destructor widgets.h:726: warning: `class gMovieBox' has virtual functions but non-virtual destructor widgets.h:754: warning: `class gPictureBox' has virtual functions but non-virtual destructor widgets.h:780: warning: `class gColumnView' has virtual functions but non-virtual destructor widgets.h:823: warning: `class gListView' has virtual functions but non-virtual destructor widgets.h:859: warning: `class gListBox' has virtual functions but non-virtual destructor widgets.h:898: warning: `class gSpinBox' has virtual functions but non-virtual destructor widgets.h:925: warning: `class gComboBox' has virtual functions but non-virtual destructor widgets.h:961: warning: `class gTextBox' has virtual functions but non-virtual destructor widgets.h:1003: warning: `class gTextArea' has virtual functions but non-virtual destructor widgets.h:1052: warning: `class gSlider' has virtual functions but non-virtual destructor widgets.h:1088: warning: `class gScrollBar' has virtual functions but non-virtual destructor widgets.h:1098: warning: `class gContainer' has virtual functions but non-virtual destructor widgets.h:1134: warning: `class gScrollView' has virtual functions but non-virtual destructor widgets.h:1170: warning: `class gDrawingArea' has virtual functions but non-virtual destructor widgets.h:1196: warning: `class gTabStrip' has virtual functions but non-virtual destructor widgets.h:1220: warning: `class gFrame' has virtual functions but non-virtual destructor widgets.h:1288: warning: `class gMainWindow' has virtual functions but non-virtual destructor gfont.cpp: In function `void gfont_parseString(char**, char*)': gfont.cpp:46: error: `g_strsplit_set' undeclared (first use this function) gfont.cpp:46: error: (Each undeclared identifier is reported only once for each function it appears in.) gfont.cpp: In member function `void gFont::setSize(double)': gfont.cpp:275: warning: passing `double' for argument passing 2 of `void pango_font_description_set_size(PangoFontDescription*, int)' gfont.cpp:275: warning: argument to `int' from `double' gfont.cpp: In member function `bool gFont::fixed()': gfont.cpp:339: error: `pango_font_family_is_monospace' undeclared (first use this function) make[4]: *** [gfont.lo] Fehler 1 make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11' make: *** [all] Fehler 2 From oxleyd at ...699... Thu Jul 7 12:50:58 2005 From: oxleyd at ...699... (Daniel Oxley) Date: Thu, 7 Jul 2005 12:50:58 +0200 Subject: [Gambas-user] OT: London Message-ID: <20050707105657.5511037234@...700...> It seems like only yesterday that we spoke about the Madrid bomb on this list. Now it is London. Fingers crossed for all who live there. From elentirmo at ...20... Thu Jul 7 19:45:47 2005 From: elentirmo at ...20... (Marco Bauer) Date: Thu, 07 Jul 2005 19:45:47 +0200 Subject: [Gambas-user] UDPSocket and Close Message-ID: <200507071945.47821.elentirmo@...20...> Hi, at the moment I'm writing a small boardgame with gambas and I've just implemented network play via an UdpSocket. The issue now is, that when I try to close the connection with "CLOSE #UDPServer" gambas 1.0.7 quits the application with signal #11. The same happens with the UDPServerClient networking example coming with gambas when you start the server or client and then try to close the connection. Any ideas? Gruss Marco From amon at ...715... Thu Jul 7 22:59:19 2005 From: amon at ...715... (Amon Forstmann) Date: Thu, 07 Jul 2005 22:59:19 +0200 Subject: [Gambas-user] load file content in an array Message-ID: <1120769959.8782.2.camel@...40...> Hi, is it possible to load the content of a file in an array? For each line of that file a new array entry? Thanks for help, Amon Forstmann From jclevien at ...626... Fri Jul 8 04:24:34 2005 From: jclevien at ...626... (Juan Jose Costello Levien) Date: Thu, 7 Jul 2005 23:24:34 -0300 Subject: [Gambas-user] load file content in an array In-Reply-To: <1120769959.8782.2.camel@...40...> References: <1120769959.8782.2.camel@...40...> Message-ID: Amon, > is it possible to load the content of a file in an array? > For each line of that file a new array entry? You suggest me to think of an array of strings. The concept of array is of static storage, not dynamic. If you have always a fixed file size, you know the exact amount of bytes you need. But if your file size may vary, then I suggest to use a dynamic structure, like lists. Note that a collection type acts like an array, and has an Add() method to add the lines you want. You can make a collection of strings of type "Variant" which I suppose can hold variable string size. Look for "Collection" inside the Gambas help, in "gb" component, class "Collection". Or take a look at the Wiki on the Gambas site. Hope this helps. -- "Einstein was an ignorant. He discovered things which were used to destroy people. That proves that even a genius is an ignorant. So do not be so ignorant and be an investigator and help people wisely. At least the little things you know when you die will have served for joy and happiness for others. That is your reward. After all, you are ignorant of what is going to happen when you die." Juan Jose Costello Levien jclevien at ...626... From sourceforge-raindog2 at ...94... Fri Jul 8 07:30:43 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 8 Jul 2005 01:30:43 -0400 Subject: [Gambas-user] load file content in an array In-Reply-To: <1120769959.8782.2.camel@...40...> References: <1120769959.8782.2.camel@...40...> Message-ID: <200507080130.43043.sourceforge-raindog2@...94...> On Thursday 07 July 2005 16:59, Amon Forstmann wrote: > is it possible to load the content of a file in an array? > For each line of that file a new array entry? Sure. dim f as file dim s as string dim sa as new string[] ' If memory use isn't a problem.... sa = split(File.Load("filename.txt"), "\n") ' If it's a big file or you're short of memory.... ' I'll use 1.9.11 syntax, even though I can't test it yet ;) f = open("filename.txt") for read do while not eof(f) line input #f, s sa.add(s) loop You should consider all of the above to be pseudo-code, but it should help you understand the various ways of doing what you want. Rob From iggy.budiman.linux at ...626... Fri Jul 8 08:08:38 2005 From: iggy.budiman.linux at ...626... (Iggy Budiman) Date: Fri, 08 Jul 2005 13:08:38 +0700 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 In-Reply-To: <20050708030757.F0810130A6@...773...> References: <20050708030757.F0810130A6@...773...> Message-ID: <42CE1866.6080601@...626...> gambas-user-request at lists.sourceforge.net wrote: >Subject: Re: [Gambas-user] Gambas 1.9.11 on Suse 9.1 >Reply-To: gambas-user at lists.sourceforge.net > >Laurent Carlier schrieb: > > >>Eilert a ?crit : >> >> >>>Hi all, >>> >>>is somewhere here with a Suse 9.1 who knows how to get the new Gambas >>>1.9.11 running? >>> >>>When I try to compile, it stops at the point with the GTK widgets >>>(that's my guess). So I tried to install some GTK stuff, but the same >>>happened again. >>> >>>Any ideas? >>> >>>Rolf >>> >>> >>What is the error ? >> >> >> > >That was the question I was afraid of :-) > >Here is the error part in the make process: > >In file included from gfont.cpp:28: >widgets.h:490: warning: `class gControl' has virtual functions but >non-virtual > destructor............................(Cut) > Same to me, using Mandrake 10.0, also same one with Mandriva LE 2005 (10.2?) Any GTK package had installed (I think) I always did : configure --disable-gtk salam -iggy From eilert-sprachen at ...221... Fri Jul 8 08:38:03 2005 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 08 Jul 2005 08:38:03 +0200 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 In-Reply-To: <42CE1866.6080601@...626...> References: <20050708030757.F0810130A6@...773...> <42CE1866.6080601@...626...> Message-ID: <42CE1F4B.8090903@...221...> Iggy Budiman schrieb: > gambas-user-request at lists.sourceforge.net wrote: > >> Subject: Re: [Gambas-user] Gambas 1.9.11 on Suse 9.1 >> Reply-To: gambas-user at lists.sourceforge.net >> >> Laurent Carlier schrieb: >> >> >>> Eilert a ?crit : >>> >>> >>>> Hi all, >>>> >>>> is somewhere here with a Suse 9.1 who knows how to get the new Gambas >>>> 1.9.11 running? >>>> >>>> When I try to compile, it stops at the point with the GTK widgets >>>> (that's my guess). So I tried to install some GTK stuff, but the same >>>> happened again. >>>> >>>> Any ideas? >>>> >>>> Rolf >>>> >>> >>> What is the error ? >>> >>> >> >> >> That was the question I was afraid of :-) >> >> Here is the error part in the make process: >> >> In file included from gfont.cpp:28: >> widgets.h:490: warning: `class gControl' has virtual functions but >> non-virtual >> destructor............................(Cut) >> > Same to me, using Mandrake 10.0, also same one with Mandriva LE 2005 > (10.2?) > Any GTK package had installed (I think) > I always did : configure --disable-gtk > > salam > -iggy Very good idea, but it still stops after a few seconds. I deleted the whole old stuff and started all over again running configure --disable-gtk. At the end of configure it says that mainly database stuff was excluded (never a problem under 1.0.x), but when I start make, it ends up in strange errors. I'm including the end of the configure and all of the make text, here we go: THESE COMPONENTS ARE DISABLED: - gb.clanlib - gb.db.mysql - gb.db.odbc - gb.db.postgresql - gb.db.sqlite - gb.db.sqlite3 - gb.net.curl - gb.sdl ************************************************************ tester at ...1040...:~/Downloads/gambas2/gambas1911/gambas2-1.9.11> make make all-recursive make[1]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11' Making all in gb.compress.bzlib2 make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.bzlib2' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.bzlib2' Making all in src make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.bzlib2/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -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.. -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o /bin/sh ../libtool --tag=CC --mode=link gcc -pipe -Wall -fno-strict-aliasing -g -Os -o gb.compress.bzlib2.la -rpath /usr/local/lib/gambas2 -module -no-undefined main.lo -lc -lbz2 gcc -shared .libs/main.o -lc /usr/lib/libbz2.so -Wl,-soname -Wl,gb.compress.bzlib2.so.0 -o .libs/gb.compress.bzlib2.so.0.0.0 (cd .libs && rm -f gb.compress.bzlib2.so.0 && ln -s gb.compress.bzlib2.so.0.0.0 gb.compress.bzlib2.so.0) (cd .libs && rm -f gb.compress.bzlib2.so && ln -s gb.compress.bzlib2.so.0.0.0 gb.compress.bzlib2.so) creating gb.compress.bzlib2.la (cd .libs && rm -f gb.compress.bzlib2.la && ln -s ../gb.compress.bzlib2.la gb.compress.bzlib2.la) make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.bzlib2/src' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.bzlib2' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.bzlib2' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.bzlib2' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.bzlib2' Making all in gb.compress.zlib make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.zlib' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.zlib' Making all in src make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.zlib/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -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.. -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o /bin/sh ../libtool --tag=CC --mode=link gcc -pipe -Wall -fno-strict-aliasing -g -Os -o gb.compress.zlib.la -rpath /usr/local/lib/gambas2 -module -no-undefined main.lo -lc -lz gcc -shared .libs/main.o -lc -lz -Wl,-soname -Wl,gb.compress.zlib.so.0 -o .libs/gb.compress.zlib.so.0.0.0 (cd .libs && rm -f gb.compress.zlib.so.0 && ln -s gb.compress.zlib.so.0.0.0 gb.compress.zlib.so.0) (cd .libs && rm -f gb.compress.zlib.so && ln -s gb.compress.zlib.so.0.0.0 gb.compress.zlib.so) creating gb.compress.zlib.la (cd .libs && rm -f gb.compress.zlib.la && ln -s ../gb.compress.zlib.la gb.compress.zlib.la) make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.zlib/src' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.zlib' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.zlib' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.zlib' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.compress.zlib' Making all in gb.db.mysql make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.mysql' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.mysql' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.mysql' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.mysql' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.mysql' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.mysql' Making all in gb.db.odbc make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.odbc' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.odbc' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.odbc' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.odbc' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.odbc' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.odbc' Making all in gb.db.postgresql make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.postgresql' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.postgresql' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.postgresql' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.postgresql' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.postgresql' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.postgresql' Making all in gb.db.sqlite make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite' Making all in gb.db.sqlite3 make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite3' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite3' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite3' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite3' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite3' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.db.sqlite3' Making all in gb.net make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net' Making all in src make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -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.. -D_REENTRANT -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -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.. -D_REENTRANT -pipe -Wall -fno-strict-aliasing -g -Os -MT tools.lo -MD -MP -MF .deps/tools.Tpo -c tools.c -fPIC -DPIC -o .libs/tools.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -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.. -D_REENTRANT -pipe -Wall -fno-strict-aliasing -g -Os -MT CDnsClient.lo -MD -MP -MF .deps/CDnsClient.Tpo -c CDnsClient.c -fPIC -DPIC -o .libs/CDnsClient.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -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.. -D_REENTRANT -pipe -Wall -fno-strict-aliasing -g -Os -MT CSocket.lo -MD -MP -MF .deps/CSocket.Tpo -c CSocket.c -fPIC -DPIC -o .libs/CSocket.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -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.. -D_REENTRANT -pipe -Wall -fno-strict-aliasing -g -Os -MT CServerSocket.lo -MD -MP -MF .deps/CServerSocket.Tpo -c CServerSocket.c -fPIC -DPIC -o .libs/CServerSocket.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -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.. -D_REENTRANT -pipe -Wall -fno-strict-aliasing -g -Os -MT CUdpSocket.lo -MD -MP -MF .deps/CUdpSocket.Tpo -c CUdpSocket.c -fPIC -DPIC -o .libs/CUdpSocket.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -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.. -D_REENTRANT -pipe -Wall -fno-strict-aliasing -g -Os -MT CSerialPort.lo -MD -MP -MF .deps/CSerialPort.Tpo -c CSerialPort.c -fPIC -DPIC -o .libs/CSerialPort.o if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -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.. -D_REENTRANT -pipe -Wall -fno-strict-aliasing -g -Os -MT CNet.lo -MD -MP -MF .deps/CNet.Tpo -c CNet.c -fPIC -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/sh ../libtool --tag=CC --mode=link gcc -pipe -Wall -fno-strict-aliasing -g -Os -o gb.net.la -rpath /usr/local/lib/gambas2 -module -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 -lc -lpthread -Wl,-soname -Wl,gb.net.so.0 -o .libs/gb.net.so.0.0.0 (cd .libs && rm -f gb.net.so.0 && ln -s gb.net.so.0.0.0 gb.net.so.0) (cd .libs && rm -f gb.net.so && ln -s gb.net.so.0.0.0 gb.net.so) creating gb.net.la (cd .libs && rm -f gb.net.la && ln -s ../gb.net.la gb.net.la) make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net/src' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net' Making all in gb.net.curl make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net.curl' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net.curl' make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net.curl' make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net.curl' make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net.curl' make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.net.curl' Making all in gb.pcre make[2]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.pcre' make all-recursive make[3]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.pcre' Making all in src make[4]: Entering directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.pcre/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -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.. -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o main.c: In function `GB_INIT': main.c:51: warning: implicit declaration of function `REGEXP_init' main.c: In function `GB_EXIT': main.c:59: warning: implicit declaration of function `REGEXP_exit' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -g -Os -MT regexp.lo -MD -MP -MF ".deps/regexp.Tpo" -c -o regexp.lo regexp.c; \ then mv -f ".deps/regexp.Tpo" ".deps/regexp.Plo"; else rm -f ".deps/regexp.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -g -Os -MT regexp.lo -MD -MP -MF .deps/regexp.Tpo -c regexp.c -fPIC -DPIC -o .libs/regexp.o regexp.c:368: error: `PCRE_ERROR_BADUTF8_OFFSET' undeclared here (not in a function) regexp.c:368: error: initializer element is not constant regexp.c:368: error: (near initialization for `CRegexpDesc[29].val2') regexp.c:368: error: initializer element is not constant regexp.c:368: error: (near initialization for `CRegexpDesc[29]') regexp.c:370: error: initializer element is not constant regexp.c:370: error: (near initialization for `CRegexpDesc[30]') regexp.c:371: error: initializer element is not constant regexp.c:371: error: (near initialization for `CRegexpDesc[31]') regexp.c:372: error: initializer element is not constant regexp.c:372: error: (near initialization for `CRegexpDesc[32]') regexp.c:374: error: initializer element is not constant regexp.c:374: error: (near initialization for `CRegexpDesc[33]') make[4]: *** [regexp.lo] Fehler 1 make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.pcre/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.pcre' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.pcre' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11' make: *** [all] Fehler 2 From ngcsch at ...614... Fri Jul 8 11:09:27 2005 From: ngcsch at ...614... (Joe Boby) Date: Fri, 8 Jul 2005 11:09:27 +0200 (CEST) Subject: [Gambas-user] UDPSocket and Close Message-ID: <20050708090928.11768.qmail@...1041...> try this: PUBLIC SUB form_Open() DIM mySocksSmells AS NEW UdpSocket '... IF mySocksSmells.Status > 0 THEN CLOSE #mySocksSmells END You should receive "File is closed" error, when you try to close it and it's already closed (status < 1). But maybe it's this that make gambas exit with error #11. Who knows ? I don't. Hope this fix your prob... ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com From rporticio at ...43... Fri Jul 8 11:15:55 2005 From: rporticio at ...43... (Ramon Orticio) Date: Fri, 8 Jul 2005 02:15:55 -0700 (PDT) Subject: [Gambas-user] environment variables Message-ID: <20050708091555.80055.qmail@...1016...> Igor Furlan, Angel Ramirez dear colleagues, how od you set the environment variables so thatn i won't be typing export LD_LIBRARY_PATH=/home/ptas/qt/lib to run gambas in redhat 9. thanks ramon ____________________________________________________ Sell on Yahoo! Auctions ? no fees. Bid on great items. http://auctions.yahoo.com/ From elentirmo at ...20... Fri Jul 8 12:48:07 2005 From: elentirmo at ...20... (Marco Bauer) Date: Fri, 08 Jul 2005 12:48:07 +0200 Subject: [Gambas-user] UDPSocket and Close In-Reply-To: <20050708090928.11768.qmail@...1041...> References: <20050708090928.11768.qmail@...1041...> Message-ID: <200507081248.08022.elentirmo@...20...> Hi Joe, this is exactly the way it is done in my program and in the gambas UdpServerClient example. But still the same error. Thanks. Marco From gambas at ...1... Fri Jul 8 16:26:38 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Jul 2005 16:26:38 +0200 Subject: [Gambas-user] Re: Release of Gambas2 1.9.11 In-Reply-To: <1120678100.2262.7.camel@...37...> References: <1120678100.2262.7.camel@...37...> Message-ID: <200507081626.38692.gambas@...1...> On Wednesday 06 July 2005 21:28, PaquitoSoft wrote: > * A new syntax for EXEC or SHELL: 'EXEC|SHELL ... TO aString' executes > the > command, waits for its termination, and returns the process output to > the > specified string. The syntax defined in 1.9.10 has been removed. > > Do you mean that: > > dim p as Process > p = SHELL("echo $HOME") for read > > > is back again like this??: > > dim p as Process > SHELL("echo $HOME") for read as p Yes. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 8 16:27:22 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Jul 2005 16:27:22 +0200 Subject: [Gambas-user] Re: [Gambas-devel] Release of gambas2 1.9.11 In-Reply-To: <42CC3D1E.8050805@...1...> References: <200507061924.19734.gambas@...1...> <42CC3D1E.8050805@...1...> Message-ID: <200507081627.22263.gambas@...1...> On Wednesday 06 July 2005 22:20, PV wrote: > On 06/07/2005 19:24, Benoit Minisini wrote: > > Hi, > > > > Here is a big important release of the development version. > > > > Many new syntaxes and features were added to the compiler and the > > interpreter, the bytecode has changes, and so ALL PROJECTS MUST BE > > *ENTIRELY* RECOMPILED! > > [snip] > > I haven't seen this mentioned in the Changelog but it seems that in this > release an expression that evaluates to true is replaced by 1 in a > numerical context, whereas in previous releases it was replaced by -1. > > Example: > let x = 10 > in Gambas <= 1.9.10, an expression like x * (x > 0) evaluated to -10 > in Gambas 1.9.11 the same expression evaluates to 10. > > Is it right? > > Ciao, > Piero > Mmm... No ? If you get that, this is a bug! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 8 16:39:47 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Jul 2005 16:39:47 +0200 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 In-Reply-To: <42CE1866.6080601@...626...> References: <20050708030757.F0810130A6@...773...> <42CE1866.6080601@...626...> Message-ID: <200507081639.47572.gambas@...1...> On Friday 08 July 2005 08:08, Iggy Budiman wrote: > gambas-user-request at lists.sourceforge.net wrote: > >Subject: Re: [Gambas-user] Gambas 1.9.11 on Suse 9.1 > >Reply-To: gambas-user at lists.sourceforge.net > > > >Laurent Carlier schrieb: > >>Eilert a ?crit : > >>>Hi all, > >>> > >>>is somewhere here with a Suse 9.1 who knows how to get the new Gambas > >>>1.9.11 running? > >>> > >>>When I try to compile, it stops at the point with the GTK widgets > >>>(that's my guess). So I tried to install some GTK stuff, but the same > >>>happened again. > >>> > >>>Any ideas? > >>> > >>>Rolf > >> > >>What is the error ? > > > >That was the question I was afraid of :-) > > > >Here is the error part in the make process: > > > >In file included from gfont.cpp:28: > >widgets.h:490: warning: `class gControl' has virtual functions but > >non-virtual > > destructor............................(Cut) > > Same to me, using Mandrake 10.0, also same one with Mandriva LE 2005 > (10.2?) Any GTK package had installed (I think) > I always did : configure --disable-gtk > > salam > -iggy > It is strange, as I successfully compiled and made the package on Mandrive LE 2005! I think it may be a problem of GTK+ version. Which one do you have on your system ? Anyway, I have to add some version checks in the configure script... Regards, -- Benoit Minisini mailto:gambas at ...1... From amon at ...715... Fri Jul 8 17:33:04 2005 From: amon at ...715... (Amon Forstmann) Date: Fri, 08 Jul 2005 17:33:04 +0200 Subject: [Gambas-user] load file content in an array In-Reply-To: <200507080130.43043.sourceforge-raindog2@...94...> References: <1120769959.8782.2.camel@...40...> <200507080130.43043.sourceforge-raindog2@...94...> Message-ID: <1120836784.14799.3.camel@...40...> Thanks for your help Rob & Juan, I'll try both methods. Amon Am Freitag, den 08.07.2005, 01:30 -0400 schrieb Rob: > On Thursday 07 July 2005 16:59, Amon Forstmann wrote: > > is it possible to load the content of a file in an array? > > For each line of that file a new array entry? > > Sure. > > dim f as file > dim s as string > dim sa as new string[] > > ' If memory use isn't a problem.... > > sa = split(File.Load("filename.txt"), "\n") > > ' If it's a big file or you're short of memory.... > ' I'll use 1.9.11 syntax, even though I can't test it yet ;) > > f = open("filename.txt") for read > do while not eof(f) > line input #f, s > sa.add(s) > loop > > You should consider all of the above to be pseudo-code, but it should > help you understand the various ways of doing what you want. > > Rob > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Jul 8 17:46:59 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 8 Jul 2005 17:46:59 +0200 Subject: [Gambas-user] UDPSocket and Close In-Reply-To: <200507071945.47821.elentirmo@...20...> References: <200507071945.47821.elentirmo@...20...> Message-ID: <200507081747.00665.gambas@...1...> On Thursday 07 July 2005 19:45, Marco Bauer wrote: > Hi, > > at the moment I'm writing a small boardgame with gambas and I've just > implemented network play via an UdpSocket. > The issue now is, that when I try to close the connection with "CLOSE > #UDPServer" gambas 1.0.7 quits the application with signal #11. The same > happens with the UDPServerClient networking example coming with gambas when > you start the server or client and then try to close the connection. > > Any ideas? > > Gruss > Marco > Gasp. I will look at it... -- Benoit Minisini mailto:gambas at ...1... From oreip at ...1... Fri Jul 8 17:59:06 2005 From: oreip at ...1... (PV) Date: Fri, 08 Jul 2005 17:59:06 +0200 Subject: [Gambas-user] Re: [Gambas-devel] Release of gambas2 1.9.11 In-Reply-To: <200507081627.22263.gambas@...1...> References: <200507061924.19734.gambas@...1...> <42CC3D1E.8050805@...1...> <200507081627.22263.gambas@...1...> Message-ID: <42CEA2CA.9090308@...1...> On 08/07/2005 16:27, Benoit Minisini wrote: >>Example: >>let x = 10 >>in Gambas <= 1.9.10, an expression like x * (x > 0) evaluated to -10 >>in Gambas 1.9.11 the same expression evaluates to 10. >> >>Is it right? >> >>Ciao, >>Piero >> > > > Mmm... No ? If you get that, this is a bug! > I have just tested again this behavior and I can confirm that, in a numerical context, "true" equals 1 so that, if x=1, then "print 1*(x>0)" prints 1. Ciao, Piero From cloroetilo at ...626... Fri Jul 8 19:01:30 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Fri, 08 Jul 2005 19:01:30 +0200 Subject: [Gambas-user] Question about inheritance Message-ID: <1120842090.2920.8.camel@...37...> Hello folks! I'm just starting to use classes in gambas since I've using only forms until now, and I found something to ask you about inheritance. I want to write a class which will be a child of Object[]. It will be a child because I want to store only one data type on it. I mean, you can store any Object in Object[], but in this child class I want to write you can only store objects of another class I wrote. So, my child class will have the same attributes/methods than Object[]; but I want to add it some extra methods. And here comes my question... If I want to use any parent method from its child I would use SUPER keyword, ins't it? Ok. One of my methods would look for one attribute in every stored object, but I don't know how to access stored objects... I mean, I can't see how Object[] class store objects an what name attribute it uses for this group of objects. Is there any way to access gambas classes from the IDE?? If not, how can you know about this classes do so you can inherit from them?? I apologize for my english. Thanks a lot guys!!! -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From amon at ...715... Fri Jul 8 19:55:17 2005 From: amon at ...715... (Amon Forstmann) Date: Fri, 08 Jul 2005 19:55:17 +0200 Subject: [Gambas-user] Add a listview item after another Message-ID: <1120845318.15521.5.camel@...40...> Hi, it's me again with a new question: I'd like to add a listview item after an existing one. I tried Listview.add("Key","Name",,"Key2") -- Result: Comma missing. Two commas because I don't want a picture :) What's the right syntax for that? Thanks for your help, Amon From cornmaster at ...626... Fri Jul 8 22:09:49 2005 From: cornmaster at ...626... (Thomas Hawkins) Date: Fri, 8 Jul 2005 17:39:49 -0230 Subject: [Gambas-user] Re: [Gambas-devel] Release of gambas2 1.9.11 In-Reply-To: <42CEA2CA.9090308@...1...> References: <200507061924.19734.gambas@...1...> <42CC3D1E.8050805@...1...> <200507081627.22263.gambas@...1...> <42CEA2CA.9090308@...1...> Message-ID: Just like to say that the install went flawless on my Fedora Core 4. (Just didn't realize I had to type gambas2 to launch. ;)) On 7/8/05, PV wrote: > > On 08/07/2005 16:27, Benoit Minisini wrote: > > >>Example: > >>let x = 10 > >>in Gambas <= 1.9.10, an expression like x * (x > 0) evaluated to -10 > >>in Gambas 1.9.11 the same expression evaluates to 10. > >> > >>Is it right? > >> > >>Ciao, > >>Piero > >> > > > > > > Mmm... No ? If you get that, this is a bug! > > > > I have just tested again this behavior and I can confirm that, in a > numerical > context, "true" equals 1 so that, if x=1, then "print 1*(x>0)" prints 1. > > Ciao, > Piero > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' > webinar happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by > HP, > AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Fri Jul 8 22:24:43 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 8 Jul 2005 16:24:43 -0400 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 In-Reply-To: <200507081639.47572.gambas@...1...> References: <20050708030757.F0810130A6@...773...> <42CE1866.6080601@...626...> <200507081639.47572.gambas@...1...> Message-ID: <200507081624.43365.sourceforge-raindog2@...94...> On Friday 08 July 2005 10:39, Benoit Minisini wrote: > It is strange, as I successfully compiled and made the package on > Mandrive LE 2005! > > I think it may be a problem of GTK+ version. Which one do you have > on your system ? For what it's worth, gb.gtk is now broken under Mandrake 10.1, which is the current official version of Mandrake/Mandriva. (LE 2005 is an unofficial interim release.) This is because 10.1 only has Gtk 2.4 and Pango 1.4. So it's not surprising that gb.gtk would also not work under 10.0. Not sure what the problem would be with LE 2005, but I try not to run unstable releases of an operating system anyway. Rob From na2492 at ...9... Fri Jul 8 22:28:26 2005 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 8 Jul 2005 22:28:26 00200 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 Message-ID: <42cee1ea.1df8.0@...9...> > gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -g >-Os -MT regexp.lo -MD -MP -MF .deps/regexp.Tpo -c regexp.c -fPIC -DPIC >-o .libs/regexp.o >regexp.c:368: error: `PCRE_ERROR_BADUTF8_OFFSET' undeclared here (not in >a function) >regexp.c:368: error: initializer element is not constant >regexp.c:368: error: (near initialization for `CRegexpDesc[29].val2') >regexp.c:368: error: initializer element is not constant >regexp.c:368: error: (near initialization for `CRegexpDesc[29]') >regexp.c:370: error: initializer element is not constant >regexp.c:370: error: (near initialization for `CRegexpDesc[30]') >regexp.c:371: error: initializer element is not constant >regexp.c:371: error: (near initialization for `CRegexpDesc[31]') >regexp.c:372: error: initializer element is not constant >regexp.c:372: error: (near initialization for `CRegexpDesc[32]') >regexp.c:374: error: initializer element is not constant >regexp.c:374: error: (near initialization for `CRegexpDesc[33]') > Salut, I thing you have to disable gb.pcre also to have chance. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From m_isaac at ...689... Fri Jul 8 23:16:54 2005 From: m_isaac at ...689... (Michael Isaac) Date: Fri, 08 Jul 2005 14:16:54 -0700 Subject: [Gambas-user] Getting Gambas up to speed. In-Reply-To: <200507061930.16584.gambas@...1...> References: <200507051645.31849.njmurphy1@...734...> <200507061930.16584.gambas@...1...> Message-ID: <42CEED46.2000103@...689...> Benoit Minisini wrote: >On Wednesday 06 July 2005 01:45, Joseph Murphy wrote: > > >>Hi Michael >> I did some testing with do while and for next loops and it does seem to be >>rather slow. To do a for next loop that does nothing except increment the >>counter it took 14 seconds to go from 1 to 10000000. I only tested up to >>ten million but 14 seconds does seem slow and gbx2 was using 99 percent of >>the cpu according to top. >> >> I then checked out your DeepSpace project. I found something different >>with it. gbx2 was taking only 13 percent of the cpu time and X was taking >>85 percent. I think there are multiple issues with the speed problem. >> >> I then checked out the optimization of the gambas compile and it is being >>optimized for size. I haven't had the time to see if there is an increase >>if it is optimized with -O3 instead of -Os but I doubt that there will be >>much difference. >> >> This does seem to be something that needs further investigation. >> >>Joseph >> >> >> > >I know that looping is slow in Gambas, but I think it is more interesting to >test the other parts of the language (arithmetic, strings, ...) because a >program that loops is only a buggy program ;-) > >I looked at DeepSpace, I modified it to run 500 objects, and I have the same >conclusion. Drawing is slower than calculating in this case, but it mainly >depends on your graphical driver, as the drawing area is updated (i.e. the >cached pixmap is redraw to the screen) at each frame. > >Regards, > > > Benoit, You failed to see the point. The point was that gbx2 is slow compared to other compilers / interpreters. Joseph is right, it may be faster if its optimized for speed but thats something we'll need to test. Now about the speed of DeepSpace. The geometric data of the virtual objects must be recalculated in real time. This is what gives the object the effect of "moving" through space. Even if the arithmetic operations are up to speed, this must be done in a loop. So it stands to reason that the speed of a loop is important. Like you said the DrawingArea is slow due to the caching . How do you propose that I draw to the screen without it? I asked about this in other emails to you and told me that I'm stuck using it. Drivers will have some to do with the speed. Very little from user to user though due to the fact that I'm not using hardware acceleration. If Gambas supported threads then I could move the arithmetic operations and rendering operations into their own threads. This way operations would'nt be linear like they are now, and could be done in tandem. This would yield a serious improvement in speed. My conclusion is that Gambas needs work on its speed and that Threads would be nice. -- Michael From danielcampos at ...282... Sat Jul 9 00:57:05 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 09 Jul 2005 00:57:05 +0200 Subject: [Gambas-user] ReplaceSyntax updated Message-ID: <42CF04C1.1030704@...282...> http://www.binara.com/gambas-wiki/bin/view/Gambas/ChangeProcessSyntax Regards, D. Campos From rizky.tahara at ...626... Sat Jul 9 09:26:04 2005 From: rizky.tahara at ...626... (Rizky Tahara Shita) Date: Sat, 9 Jul 2005 14:26:04 +0700 Subject: [Gambas-user] Gambas Database Manager from gambas 1.0.6 Message-ID: try this: 1. open table that has more than 1 field 2. be sure that table has data in it at least 2 rows 3. be sure the data has space (ex: "some data dan more") 4. open the table data 5. klik the data that contain space 6. klik the other field data that one row with it 7. klik the same field above or bottom in different row 8. viola! the data that contain spaces trimed up! now it just containt "some" bug ? or a feature ??? From mauriziopz at ...626... Sat Jul 9 13:11:35 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Sat, 9 Jul 2005 13:11:35 +0200 Subject: [Gambas-user] Null Object Message-ID: hi list I'm writing a little program in gambas 1.0.6, but I've have a problem, the sub I'm writing need to check the value of an integer array (TotI) and based on the value of TotI add the corresponding object of another array in a third array of objects, I know it seams crazy! here is the code I've written: SUB check() ' find the better line to draw DIM i AS Integer DIM j AS Integer DIM ZeroClick AS Object[] 'square with all borders unclicked DIM Zc AS Integer 'Counter for zeroclick DIM OneClick AS Object[] 'square with 1 border clicked DIM Oc AS Integer 'Counter for Oneclick DIM TwoClick AS Object[] 'square with 2 borders clicked DIM Twc AS Integer 'Counter for Twoclick DIM ThreeClick AS Object[] 'square with 3 borders clicked DIM Thc AS Integer 'Counter for Threeclick FOR i = 0 TO nbx - 1 FOR j = 0 TO nby - 1 IF TotI[i,j]=0 THEN zeroclick.Add(Tot[i,j],Zc) Zc =Zc + 1 ELSE IF TotI[i,j]=1 THEN Oneclick.Add(Tot[i,j],Oc) Oc =Oc + 1 ELSE IF TotI[i,j]=2 THEN Twoclick.Add(Tot[i,j],Twc) Twc =Twc + 1 ELSE IF TotI[i,j]=3 THEN Threeclick.Add(Tot[i,j],Thc) Thc =Thc + 1 END IF END IF END IF END IF NEXT NEXT END My problem is that when gambas reach the "zeroclick.Add(Tot[i,j],Zc)" command give me an error, Null object, I can't understand what's the problem, I even tried to simply resize the array zeroclick but gambas give me the same error. Thanks -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From lordheavy at ...512... Sat Jul 9 13:34:45 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 09 Jul 2005 13:34:45 +0200 Subject: [Gambas-user] Null Object In-Reply-To: References: Message-ID: <42CFB655.7080205@...512...> Maurizio Pozzobon a ?crit : > hi list > I'm writing a little program in gambas 1.0.6, but I've have a problem, the > sub I'm writing need to check the value of an integer array (TotI) and based > on the value of TotI add the corresponding object of another array in a > third array of objects, I know it seams crazy! here is the code I've > written: > > SUB check() ' find the better line to draw > DIM i AS Integer > DIM j AS Integer > DIM ZeroClick AS Object[] 'square with all borders unclicked > DIM Zc AS Integer 'Counter for zeroclick > DIM OneClick AS Object[] 'square with 1 border clicked > DIM Oc AS Integer 'Counter for Oneclick > DIM TwoClick AS Object[] 'square with 2 borders clicked > DIM Twc AS Integer 'Counter for Twoclick > DIM ThreeClick AS Object[] 'square with 3 borders clicked > DIM Thc AS Integer 'Counter for Threeclick > FOR i = 0 TO nbx - 1 > FOR j = 0 TO nby - 1 > IF TotI[i,j]=0 THEN > zeroclick.Add(Tot[i,j],Zc) > Zc =Zc + 1 > ELSE > IF TotI[i,j]=1 THEN > Oneclick.Add(Tot[i,j],Oc) > Oc =Oc + 1 > ELSE > IF TotI[i,j]=2 THEN > Twoclick.Add(Tot[i,j],Twc) > Twc =Twc + 1 > ELSE > IF TotI[i,j]=3 THEN > Threeclick.Add(Tot[i,j],Thc) > Thc =Thc + 1 > END IF > END IF > END IF > END IF > NEXT > NEXT > END > > My problem is that when gambas reach the "zeroclick.Add(Tot[i,j],Zc)" > command give me an error, Null object, I can't understand what's the > problem, I even tried to simply resize the array zeroclick but gambas give > me the same error. > > Thanks > DIM ZeroClick AS Object[] With this you define that ZeroClick will be an array of Object but you don't create the array. You must instanciate it with the NEW keyword Like this : DIM ZeroClick AS NEW Object[] or like this : DIM ZeroClick AS Object[] ZeroClick = NEW Object[] This you be the same with all your Object[] array. Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From mauriziopz at ...626... Sat Jul 9 14:02:32 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Sat, 9 Jul 2005 14:02:32 +0200 Subject: [Gambas-user] Null Object In-Reply-To: <42CFB655.7080205@...512...> References: <42CFB655.7080205@...512...> Message-ID: Thanks now it works ok -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From ngcsch at ...614... Sat Jul 9 17:47:30 2005 From: ngcsch at ...614... (Joe Boby) Date: Sat, 9 Jul 2005 17:47:30 +0200 (CEST) Subject: [Gambas-user] Re: UDPSocket and Close Message-ID: <20050709154730.18487.qmail@...1042...> In fact, the problem pointed by Marco Bauer appears with the Socket and the ServerSocket too, when trying to close them respectively by CLOSE #socketname and serversocketname.close() I only tried with the 1.0.7 of gambas. But I got no problems with 1.0.6. In fact, you already know this. Don't you? ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com From danielcampos at ...282... Sat Jul 9 17:52:09 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 09 Jul 2005 17:52:09 +0200 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 In-Reply-To: <42CD070F.7090904@...221...> References: <42CCE95B.4030900@...221...> <42CCEC08.2020500@...512...> <42CD070F.7090904@...221...> Message-ID: <42CFF2A9.7060907@...282...> Currently I'm working with GTK+-2.6.4 and Glib-2.6.3. If your system has older versions, you can find that kind of errors. You can disable the gtk componente in ./configure , or update the gtk version. Regards, D. Campos Eilert escribi?: > > > Laurent Carlier schrieb: > >> Eilert a ?crit : >> >>> Hi all, >>> >>> is somewhere here with a Suse 9.1 who knows how to get the new Gambas >>> 1.9.11 running? >>> >>> When I try to compile, it stops at the point with the GTK widgets >>> (that's my guess). So I tried to install some GTK stuff, but the same >>> happened again. >>> >>> Any ideas? >>> >>> Rolf >>> >> >> >> What is the error ? >> > > That was the question I was afraid of :-) > > Here is the error part in the make process: > > In file included from gfont.cpp:28: > widgets.h:490: warning: `class gControl' has virtual functions but > non-virtual > destructor > widgets.h:620: warning: `class gPlugin' has virtual functions but > non-virtual > destructor > widgets.h:640: warning: `class gProgressBar' has virtual functions but > non-virtual destructor > widgets.h:657: warning: `class gLabel' has virtual functions but > non-virtual > destructor > widgets.h:674: warning: `class gTextLabel' has virtual functions but > non-virtual destructor > widgets.h:683: warning: `class gButton' has virtual functions but > non-virtual > destructor > widgets.h:726: warning: `class gMovieBox' has virtual functions but > non-virtual > destructor > widgets.h:754: warning: `class gPictureBox' has virtual functions but > non-virtual destructor > widgets.h:780: warning: `class gColumnView' has virtual functions but > non-virtual destructor > widgets.h:823: warning: `class gListView' has virtual functions but > non-virtual > destructor > widgets.h:859: warning: `class gListBox' has virtual functions but > non-virtual > destructor > widgets.h:898: warning: `class gSpinBox' has virtual functions but > non-virtual > destructor > widgets.h:925: warning: `class gComboBox' has virtual functions but > non-virtual > destructor > widgets.h:961: warning: `class gTextBox' has virtual functions but > non-virtual > destructor > widgets.h:1003: warning: `class gTextArea' has virtual functions but > non-virtual destructor > widgets.h:1052: warning: `class gSlider' has virtual functions but > non-virtual > destructor > widgets.h:1088: warning: `class gScrollBar' has virtual functions but > non-virtual destructor > widgets.h:1098: warning: `class gContainer' has virtual functions but > non-virtual destructor > widgets.h:1134: warning: `class gScrollView' has virtual functions but > non-virtual destructor > widgets.h:1170: warning: `class gDrawingArea' has virtual functions but > non-virtual destructor > widgets.h:1196: warning: `class gTabStrip' has virtual functions but > non-virtual destructor > widgets.h:1220: warning: `class gFrame' has virtual functions but > non-virtual > destructor > widgets.h:1288: warning: `class gMainWindow' has virtual functions but > non-virtual destructor > gfont.cpp: In function `void gfont_parseString(char**, char*)': > gfont.cpp:46: error: `g_strsplit_set' undeclared (first use this > function) > gfont.cpp:46: error: (Each undeclared identifier is reported only once > for each > function it appears in.) > gfont.cpp: In member function `void gFont::setSize(double)': > gfont.cpp:275: warning: passing `double' for argument passing 2 of `void > pango_font_description_set_size(PangoFontDescription*, int)' > gfont.cpp:275: warning: argument to `int' from `double' > gfont.cpp: In member function `bool gFont::fixed()': > gfont.cpp:339: error: `pango_font_family_is_monospace' undeclared > (first use > this function) > make[4]: *** [gfont.lo] Fehler 1 > make[4]: Leaving directory > `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk/src' > make[3]: *** [all-recursive] Fehler 1 > make[3]: Leaving directory > `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk' > make[2]: *** [all] Fehler 2 > make[2]: Leaving directory > `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk' > make[1]: *** [all-recursive] Fehler 1 > make[1]: Leaving directory > `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11' > make: *** [all] Fehler 2 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From johndhwgn at ...43... Sat Jul 9 19:50:16 2005 From: johndhwgn at ...43... (John Dantzler) Date: Sat, 9 Jul 2005 10:50:16 -0700 (PDT) Subject: [Gambas-user] KDE Panel Applet Message-ID: <20050709175017.53392.qmail@...1043...> Is it possible to write a KDE panel applet with Gambas? If so, where I could I find more info on writing a panel applet with Gambas? johnd From sourceforge-raindog2 at ...94... Sat Jul 9 20:19:35 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 9 Jul 2005 14:19:35 -0400 Subject: [Gambas-user] KDE Panel Applet In-Reply-To: <20050709175017.53392.qmail@...1043...> References: <20050709175017.53392.qmail@...1043...> Message-ID: <200507091419.35590.sourceforge-raindog2@...94...> On Saturday 09 July 2005 13:50, John Dantzler wrote: > Is it possible to write a KDE panel applet with > Gambas? If so, where I could I find more info on > writing a panel applet with Gambas? No, it's currently not possible to do that. KDE panel applets are implemented not as programs, but as shared libraries with specific interfaces. Until it's possible for a Gambas app to be a shared library and provide those interfaces, which seems unlikely (or someone writes a KDE panel applet that will swallow a Gambas app; I might do this, since I have written KDE panel applets before) the best you can do is use kstart and put your program in the system tray. Maybe in the future you won't need kstart to do this. One of the KDE panel applets I have written, kswug ("swug" originally meaning "Scrape WeatherUnderGround.com") just sits and watches a directory for an image of appropriate size to be updated, and displays that image; I currently use it to display the temperature and the "what it feels like" temperature (heat index or wind chill) generated via Perl and imagemagick, but I have also had it display images I generated in Gambas. Rob From danielcampos at ...282... Sat Jul 9 21:05:46 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 09 Jul 2005 21:05:46 +0200 Subject: [Gambas-user] KDE Panel Applet In-Reply-To: <20050709175017.53392.qmail@...1043...> References: <20050709175017.53392.qmail@...1043...> Message-ID: <42D0200A.6070104@...282...> KDE panel applets are libraries , so it is not possible at this moment to do that Regards, D. Campos John Dantzler escribi?: >Is it possible to write a KDE panel applet with >Gambas? If so, where I could I find more info on >writing a panel applet with Gambas? > >johnd > > >------------------------------------------------------- >This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening >July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual >core and dual graphics technology at this free one hour event hosted by HP, >AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From njmurphy1 at ...734... Sat Jul 9 21:29:05 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Sat, 9 Jul 2005 12:29:05 -0700 Subject: [Gambas-user] Getting Gambas up to speed. Message-ID: <200507091229.06004.njmurphy1@...734...> Hi Michael I have an idea that might help some for the speed of the calculations. If you make a terminal app that only does the calculations for an object. When you instantiate an object start the terminal app for that object with the shell or exec command. This will have it's own instance of gbx so the calculation should/hopefully be faster. You can then read and write to these processes to get the data for that object. I know you mentioned an aversion to C in your first post but if all you need is some number crunching writing a small program in C might be the thing to do. Then you can start it with exec or shell and read and write to it. With this idea you are using a process instead of a thread. The process has more overhead but I think in this case that's a good thing because it will have it's own gbx so there are multiple instances of gbx doing work for you. Also if you off loaded the heavy lifting to a C programs gambas can be used to do the screen updating. This should speed up things nicely. I haven't tested any of this. It's just an idea off the top of my head so it could all be hog wash but maybe not. If you test this out please post your results to the list. I am contemplating writing a game for my kids and this could be useful for me also. Joseph Famous quote from Andy Grove former CEO of Intel: "I live in fear that some day Microsoft will write efficient code and we won't need faster processors." From jeffjohnson at ...377... Sun Jul 10 08:43:50 2005 From: jeffjohnson at ...377... (Jeff Johnson) Date: Sun, 10 Jul 2005 01:43:50 -0500 Subject: [Gambas-user] Signal #11 Message-ID: <200507100143.50094.jeffjohnson@...377...> I have a little ham radio program that ran fine in 1.0.6 but fails in 1.9.11 by raising signal #11. Where should I look? From carl.bouchaux at ...11... Sun Jul 10 20:42:11 2005 From: carl.bouchaux at ...11... (Carl Bouchaux) Date: Sun, 10 Jul 2005 20:42:11 +0200 Subject: [Gambas-user] listview Message-ID: <200507102042.11248.carl.bouchaux@...11...> i'm loading a listview by program it's good now i'd like to select a line by code how to make? tks Carl From lordheavy at ...512... Sun Jul 10 22:34:01 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 10 Jul 2005 22:34:01 +0200 Subject: [Gambas-user] The taste of openGL ... Message-ID: <42D18639.5050100@...512...> I've done some test with opengl with sdl, here is a short demo. It's not usable, it was only done to see if it can be done ;p Can find it here : http://gamebas.tuxfamily.org/download/ component : gb.sdl.opengl testfile : opengltest :) Have fun, -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: opengl.jpg Type: image/jpeg Size: 103874 bytes Desc: not available URL: From m.galm at ...31... Mon Jul 11 01:55:24 2005 From: m.galm at ...31... (m.galm) Date: Mon, 11 Jul 2005 00:55:24 +0100 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 Message-ID: <200507110055.24726.m.galm@...31...> Hello. Here is what i got during the Installation of gambas2-1.9.11 on a SUSE9.1 Sytem. ./configure wents fine after i upgraded GTK to 2.6.8 and it ends with: ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.clanlib - gb.db.mysql - gb.db.odbc - gb.db.sqlite - gb.db.sqlite3 - gb.sdl ************************************************************ make ends in the following Error: . . . Making all in gb.pcre make[2]: Entering directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre' make all-recursive make[3]: Entering directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre' Making all in src make[4]: Entering directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -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.. -pipe -Wall -fno-strict-aliasing -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -fPIC -DPIC -o .libs/main.o main.c: In function `GB_INIT': main.c:51: warning: implicit declaration of function `REGEXP_init' main.c: In function `GB_EXIT': main.c:59: warning: implicit declaration of function `REGEXP_exit' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -g -Os -MT regexp.lo -MD -MP -MF ".deps/regexp.Tpo" -c -o regexp.lo regexp.c; \ then mv -f ".deps/regexp.Tpo" ".deps/regexp.Plo"; else rm -f ".deps/regexp.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -g -Os -MT regexp.lo -MD -MP -MF .deps/regexp.Tpo -c regexp.c -fPIC -DPIC -o .libs/regexp.o regexp.c:368: error: `PCRE_ERROR_BADUTF8_OFFSET' undeclared here (not in a function) regexp.c:368: error: initializer element is not constant regexp.c:368: error: (near initialization for `CRegexpDesc[29].val2') regexp.c:368: error: initializer element is not constant regexp.c:368: error: (near initialization for `CRegexpDesc[29]') regexp.c:370: error: initializer element is not constant regexp.c:370: error: (near initialization for `CRegexpDesc[30]') regexp.c:371: error: initializer element is not constant regexp.c:371: error: (near initialization for `CRegexpDesc[31]') regexp.c:372: error: initializer element is not constant regexp.c:372: error: (near initialization for `CRegexpDesc[32]') regexp.c:374: error: initializer element is not constant regexp.c:374: error: (near initialization for `CRegexpDesc[33]') make[4]: *** [regexp.lo] Fehler 1 make[4]: Leaving directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/monty/Documents/gambas2-1.9.11/gb.pcre' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/monty/Documents/gambas2-1.9.11' make: *** [all] Fehler 2 Now I tryed ./configure --enable-pcre=no and ./configure --disable-pcre=yes Both are ending with : ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.clanlib - gb.db.mysql - gb.db.odbc - gb.db.sqlite - gb.db.sqlite3 - gb.sdl ************************************************************ Shouldnt I expect the pcre there too ? I dont know :) Anyway, the make and make install went fine now with no Errors, but when i start gambas @ the Commandline with "gambas2" i get this : ERROR: #27: Cannot load component 'gb.pcre': cannot find library file No wonder coz i disabled it... Any Ideas ? Michael Galm From cloroetilo at ...626... Mon Jul 11 03:17:24 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Mon, 11 Jul 2005 03:17:24 +0200 Subject: [Gambas-user] Problmes with sockets Message-ID: <1121044644.3120.12.camel@...37...> Hello!! How do you do? I'm having a terrible headache because of sockets. I'm starting with them and it seems as they were trynig to beat me, but I resist as much as I can... (god, what the hell I'm saying!! sorry) The fact is... I'm trying to connect a client with a server; easy, isn't it? My client would have a lot of outgoing connections at the same time, and the server, of course will have a lot of incoming ones. I started the client, trying it against the Server gambas example. And here is where I'm stucked. I make the connection with .connection() method and the server receives it and accepts it. But, none of the sockets events are raised in the client side. I don't use form control. I mean I didn't put a Socket into my form. Since a will have many of them, I create them anytime a I need one and sotred them in a Collection.. This is what I'm trying: ' Gambas class file PUBLIC srvSocket AS ServerSocket PUBLIC serverConnectionSck AS Socket PUBLIC sockets AS Collection PUBLIC idSocket AS Integer PUBLIC CONST LOCAL_PORT AS Integer = 40004 PUBLIC CONST SERVER_PORT AS Integer = 30003 PUBLIC CONST SERVER_HOST AS String = "10.10.10.10" PUBLIC SUB _new() sockets = NEW Collection srvSocket = NEW ServerSocket srvSocket.Type = NET.Internet srvSocket.Port = 40004 serverConnectionSck = NEW Socket serverConnectionSck.Host = SERVER_HOST serverConnectionSck.Port = SERVER_PORT sockets.add("0",serverConnectionSck) idSocket = 0 END PUBLIC SUB Aux_click() serverConnectionSck.Connect() CATCH PRINT "Error: " & Error.Text & " en la l?nea -> " & Error.Where END '***************** SERVER EVENTS ****************' PUBLIC SUB Socket_Found() PRINT "Host found..." END PUBLIC SUB Socket_Closed() 'This event is raised when the server close the connection PRINT "Server has closed the connection" END PUBLIC SUB Socket_Ready() PRINT "Connection stablished sucessfully " END PUBLIC SUB Socket_Error() PRINT "Error: " & MAux.getStateMessage(serverConnectionSck.Status) END PUBLIC SUB Socket_Read() DIM info AS String READ #LAST, info, Lof(#LAST) PRINT dinfo END Well, actually I only want this program show me a message after it tries to connect. I expect it to print that the connection was stablished, but it doesn't print anything. On the server side it recieves the connection and accepts it, but in the client side it doesn't happen anything after serverConnectionSck.Connect(). Any ideas?? Thanks a lot!! -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From eilert-sprachen at ...221... Mon Jul 11 08:27:02 2005 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 11 Jul 2005 08:27:02 +0200 Subject: [Gambas-user] Gambas 1.9.11 on Suse 9.1 In-Reply-To: <42CFF2A9.7060907@...282...> References: <42CCE95B.4030900@...221...> <42CCEC08.2020500@...512...> <42CD070F.7090904@...221...> <42CFF2A9.7060907@...282...> Message-ID: <42D21136.8070209@...221...> Hi Daniel and Benoit, I tried to disable the gtk component by making a ./configure --disable-gtk When starting make after that, it behaved different than the time before, but still stopped after a very short time. Maybe it wasn't enough? Rolf Daniel Campos schrieb: > Currently I'm working with GTK+-2.6.4 and Glib-2.6.3. If your system has > older versions, you can find that kind of errors. You can disable the gtk > componente in ./configure , or update the gtk version. > > Regards, > > D. Campos > > > Eilert escribi?: > >> >> >> Laurent Carlier schrieb: >> >>> Eilert a ?crit : >>> >>>> Hi all, >>>> >>>> is somewhere here with a Suse 9.1 who knows how to get the new Gambas >>>> 1.9.11 running? >>>> >>>> When I try to compile, it stops at the point with the GTK widgets >>>> (that's my guess). So I tried to install some GTK stuff, but the same >>>> happened again. >>>> >>>> Any ideas? >>>> >>>> Rolf >>>> >>> >>> >>> What is the error ? >>> >> >> That was the question I was afraid of :-) >> >> Here is the error part in the make process: >> >> In file included from gfont.cpp:28: >> widgets.h:490: warning: `class gControl' has virtual functions but >> non-virtual >> destructor >> widgets.h:620: warning: `class gPlugin' has virtual functions but >> non-virtual >> destructor >> widgets.h:640: warning: `class gProgressBar' has virtual functions but >> non-virtual destructor >> widgets.h:657: warning: `class gLabel' has virtual functions but >> non-virtual >> destructor >> widgets.h:674: warning: `class gTextLabel' has virtual functions but >> non-virtual destructor >> widgets.h:683: warning: `class gButton' has virtual functions but >> non-virtual >> destructor >> widgets.h:726: warning: `class gMovieBox' has virtual functions but >> non-virtual >> destructor >> widgets.h:754: warning: `class gPictureBox' has virtual functions but >> non-virtual destructor >> widgets.h:780: warning: `class gColumnView' has virtual functions but >> non-virtual destructor >> widgets.h:823: warning: `class gListView' has virtual functions but >> non-virtual >> destructor >> widgets.h:859: warning: `class gListBox' has virtual functions but >> non-virtual >> destructor >> widgets.h:898: warning: `class gSpinBox' has virtual functions but >> non-virtual >> destructor >> widgets.h:925: warning: `class gComboBox' has virtual functions but >> non-virtual >> destructor >> widgets.h:961: warning: `class gTextBox' has virtual functions but >> non-virtual >> destructor >> widgets.h:1003: warning: `class gTextArea' has virtual functions but >> non-virtual destructor >> widgets.h:1052: warning: `class gSlider' has virtual functions but >> non-virtual >> destructor >> widgets.h:1088: warning: `class gScrollBar' has virtual functions but >> non-virtual destructor >> widgets.h:1098: warning: `class gContainer' has virtual functions but >> non-virtual destructor >> widgets.h:1134: warning: `class gScrollView' has virtual functions but >> non-virtual destructor >> widgets.h:1170: warning: `class gDrawingArea' has virtual functions but >> non-virtual destructor >> widgets.h:1196: warning: `class gTabStrip' has virtual functions but >> non-virtual destructor >> widgets.h:1220: warning: `class gFrame' has virtual functions but >> non-virtual >> destructor >> widgets.h:1288: warning: `class gMainWindow' has virtual functions but >> non-virtual destructor >> gfont.cpp: In function `void gfont_parseString(char**, char*)': >> gfont.cpp:46: error: `g_strsplit_set' undeclared (first use this >> function) >> gfont.cpp:46: error: (Each undeclared identifier is reported only once >> for each >> function it appears in.) >> gfont.cpp: In member function `void gFont::setSize(double)': >> gfont.cpp:275: warning: passing `double' for argument passing 2 of `void >> pango_font_description_set_size(PangoFontDescription*, int)' >> gfont.cpp:275: warning: argument to `int' from `double' >> gfont.cpp: In member function `bool gFont::fixed()': >> gfont.cpp:339: error: `pango_font_family_is_monospace' undeclared >> (first use >> this function) >> make[4]: *** [gfont.lo] Fehler 1 >> make[4]: Leaving directory >> `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk/src' >> make[3]: *** [all-recursive] Fehler 1 >> make[3]: Leaving directory >> `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk' >> make[2]: *** [all] Fehler 2 >> make[2]: Leaving directory >> `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11/gb.gtk' >> make[1]: *** [all-recursive] Fehler 1 >> make[1]: Leaving directory >> `/home/tester/Downloads/gambas2/gambas1911/gambas2-1.9.11' >> make: *** [all] Fehler 2 >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the 'Do More With Dual!' webinar > happening > July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual > core and dual graphics technology at this free one hour event hosted by > HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From danielcampos at ...282... Mon Jul 11 08:45:56 2005 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 11 Jul 2005 08:45:56 +0200 Subject: [Gambas-user] Problmes with sockets In-Reply-To: <1121044644.3120.12.camel@...37...> References: <1121044644.3120.12.camel@...37...> Message-ID: <42D215A4.9000608@...282...> You must specify the event handlers, that is, you can do, for example: Public Srv As ServerSocket Srv=NEW ServerSocket AS "Srv" So you can use: PUBLIC SUB Srv_Connection(sHost As String) ... END The same thing with the client: Public Sock As Socket Sock=New Socket AS "Client" ... PUBLIC SUB Client_Ready() .. END Regards, D. Campos PaquitoSoft escribi?: >Hello!! > >How do you do? I'm having a terrible headache because of sockets. I'm >starting with them and it seems as they were trynig to beat me, but I >resist as much as I can... (god, what the hell I'm saying!! sorry) > >The fact is... I'm trying to connect a client with a server; easy, isn't >it? >My client would have a lot of outgoing connections at the same time, and >the server, of course will have a lot of incoming ones. > >I started the client, trying it against the Server gambas example. And >here is where I'm stucked. > I make the connection with .connection() method and the server receives >it and accepts it. But, none of the sockets events are raised in the >client side. >I don't use form control. I mean I didn't put a Socket into my form. >Since a will have many of them, I create them anytime a I need one and >sotred them in a Collection.. >This is what I'm trying: > > >' Gambas class file >PUBLIC srvSocket AS ServerSocket >PUBLIC serverConnectionSck AS Socket >PUBLIC sockets AS Collection >PUBLIC idSocket AS Integer > >PUBLIC CONST LOCAL_PORT AS Integer = 40004 >PUBLIC CONST SERVER_PORT AS Integer = 30003 >PUBLIC CONST SERVER_HOST AS String = "10.10.10.10" > >PUBLIC SUB _new() > sockets = NEW Collection > srvSocket = NEW ServerSocket > srvSocket.Type = NET.Internet > srvSocket.Port = 40004 > > serverConnectionSck = NEW Socket > serverConnectionSck.Host = SERVER_HOST > serverConnectionSck.Port = SERVER_PORT > > sockets.add("0",serverConnectionSck) > > idSocket = 0 >END > >PUBLIC SUB Aux_click() > > serverConnectionSck.Connect() > > CATCH > PRINT "Error: " & Error.Text & " en la l?nea -> " & Error.Where > >END > > > '***************** SERVER EVENTS ****************' >PUBLIC SUB Socket_Found() > PRINT "Host found..." >END > >PUBLIC SUB Socket_Closed() >'This event is raised when the server close the connection > PRINT "Server has closed the connection" >END > >PUBLIC SUB Socket_Ready() > PRINT "Connection stablished sucessfully " >END > > >PUBLIC SUB Socket_Error() > PRINT "Error: " & MAux.getStateMessage(serverConnectionSck.Status) >END > >PUBLIC SUB Socket_Read() > > DIM info AS String > > READ #LAST, info, Lof(#LAST) > PRINT dinfo > >END > >Well, actually I only want this program show me a message after it tries >to connect. I expect it to print that the connection was stablished, but >it doesn't print anything. >On the server side it recieves the connection and accepts it, but in the >client side it doesn't happen anything after >serverConnectionSck.Connect(). > >Any ideas?? > >Thanks a lot!! > > > From eilert-sprachen at ...221... Mon Jul 11 09:28:12 2005 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 11 Jul 2005 09:28:12 +0200 Subject: [Gambas-user] Context menu Message-ID: <42D21F8C.1020401@...221...> Is it possible to create a context menu with Gambas 1.0.x? And if yes, how can I do that? Is it documented somewhere? Thanks! Rolf From mauriziopz at ...626... Mon Jul 11 13:36:12 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Mon, 11 Jul 2005 13:36:12 +0200 Subject: [Gambas-user] Italian translation for the stable branch Message-ID: This are the Italian translation for the stable branch with an important "bugfix" -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-it-1.0.po Type: text/x-gettext-translation Size: 62113 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-it-0.99.po Type: text/x-gettext-translation Size: 17655 bytes Desc: not available URL: From cloroetilo at ...626... Mon Jul 11 15:34:11 2005 From: cloroetilo at ...626... (PaquitoSoft) Date: Mon, 11 Jul 2005 15:34:11 +0200 Subject: [Gambas-user] Problmes with sockets In-Reply-To: <42D215A4.9000608@...282...> References: <1121044644.3120.12.camel@...37...> <42D215A4.9000608@...282...> Message-ID: <1121088851.3230.1.camel@...37...> Thanks a lot for your quick answer Daniel. I have a little one more... Since I will have a lot of sockets running at the same time, can I use the same handler for them??? (Inside the handler I would check what sockets is really raising the event) El lun, 11-07-2005 a las 08:45 +0200, Daniel Campos escribi?: > You must specify the event handlers, that is, you can do, for example: > > Public Srv As ServerSocket > > Srv=NEW ServerSocket AS "Srv" > > So you can use: > > PUBLIC SUB Srv_Connection(sHost As String) > > ... > > > END > > > The same thing with the client: > > Public Sock As Socket > > Sock=New Socket AS "Client" > > ... > > PUBLIC SUB Client_Ready() > .. > > END > > > Regards, > > D. Campos > > -- El tiempo es un gran profesor. Desafortunadamente, mata a todos sus alumnos. From gambas at ...1... Mon Jul 11 20:06:04 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 11 Jul 2005 20:06:04 +0200 Subject: [Gambas-user] Question about inheritance In-Reply-To: <1120842090.2920.8.camel@...37...> References: <1120842090.2920.8.camel@...37...> Message-ID: <200507112006.05177.gambas@...1...> On Friday 08 July 2005 19:01, PaquitoSoft wrote: > Hello folks! > > I'm just starting to use classes in gambas since I've using only forms > until now, and I found something to ask you about inheritance. > > I want to write a class which will be a child of Object[]. It will be a > child because I want to store only one data type on it. I mean, you can > store any Object in Object[], but in this child class I want to write > you can only store objects of another class I wrote. So, my child class > will have the same attributes/methods than Object[]; but I want to add > it some extra methods. > > And here comes my question... If I want to use any parent method from > its child I would use SUPER keyword, ins't it? Ok. One of my methods > would look for one attribute in every stored object, but I don't know > how to access stored objects... I mean, I can't see how Object[] class > store objects an what name attribute it uses for this group of objects. > > Is there any way to access gambas classes from the IDE?? > If not, how can you know about this classes do so you can inherit from > them?? > > I apologize for my english. > Thanks a lot guys!!! If I understand well, you just need to access the array elements in your child class. Just use the [] operator. If you have redefined it (with the _get and _put method, just use SUPER with the [] operator to get them). Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Jul 11 20:07:15 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 11 Jul 2005 20:07:15 +0200 Subject: [Gambas-user] Add a listview item after another In-Reply-To: <1120845318.15521.5.camel@...40...> References: <1120845318.15521.5.camel@...40...> Message-ID: <200507112007.15738.gambas@...1...> On Friday 08 July 2005 19:55, Amon Forstmann wrote: > Hi, > > it's me again with a new question: > > I'd like to add a listview item after an existing one. > > I tried Listview.add("Key","Name",,"Key2") -- Result: Comma missing. > Two commas because I don't want a picture :) > > What's the right syntax for that? > > Thanks for your help, > Amon > > You have to pass NULL as picture argument. You cannot "jump" arguments when you call a function in Gambas. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Jul 11 20:09:36 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 11 Jul 2005 20:09:36 +0200 Subject: [Gambas-user] Signal #11 In-Reply-To: <200507100143.50094.jeffjohnson@...377...> References: <200507100143.50094.jeffjohnson@...377...> Message-ID: <200507112009.36954.gambas@...1...> On Sunday 10 July 2005 08:43, Jeff Johnson wrote: > I have a little ham radio program that ran fine in 1.0.6 but fails in > 1.9.11 by raising signal #11. Where should I look? > You can send me the project, or wait for the 1.9.12 that fixes many bugs in the interpreter. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Jul 11 21:21:53 2005 From: gambas at ...1... (Benoit Minisini) Date: Mon, 11 Jul 2005 21:21:53 +0200 Subject: [Gambas-user] Release of gambas 1.0.8 Message-ID: <200507112121.54032.gambas@...1...> Hi, Here is a release that should fix the problems of 1.0.7: - CLOSE should not crash anymore. - Format$() has been fixed. - Unminimizing windows now always give them the focus. - Fix a potential crash is menu management. - If a modal window is already displayed, calling Show() on another window calls ShowModal() instead. - Many bug fixes in the table editor in the database manager. - MySql driver: creating indexes on text fields with no size limit is not case sensitive anymore. Enjoy it, -- Benoit Minisini mailto:gambas at ...1... From mauriziopz at ...626... Mon Jul 11 22:16:15 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Mon, 11 Jul 2005 22:16:15 +0200 Subject: [Gambas-user] Release of gambas 1.0.8 In-Reply-To: <200507112121.54032.gambas@...1...> References: <200507112121.54032.gambas@...1...> Message-ID: Italian Translations -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-it-1.0.po Type: text/x-gettext-translation Size: 62096 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-database-manager-it-0.99.po Type: text/x-gettext-translation Size: 17761 bytes Desc: not available URL: From ngcsch at ...614... Mon Jul 11 23:19:47 2005 From: ngcsch at ...614... (Joe Boby) Date: Mon, 11 Jul 2005 23:19:47 +0200 (CEST) Subject: [Gambas-user] Problmes with sockets Message-ID: <20050711211947.80674.qmail@...1046...> This is what you need: public const WhatEverName as ServerSocket '' you can write this where you want of course PUBLIC SUB _new() WhatEverName = NEW ServerSocket AS "mySocksSmells" end '' and this is the event raised by the sucessfull '' connection to the remote host PUBLIC SUB mySocksSmells_connection(host AS String) WhatEverName.Accept() '' this is a socket! '' you can do like this aswell '' Obj = WhatEverName.Accpet() '' with an Obj AS Object, let say a public one to '' be used elsewhere END I think you get what you need to continue. PS: I think you should be using a collection outside of the class, to insert the entire class in it. So you will be ready to use as many connection as you want, by using the Collection[key].socket for example. And it's more easier with a variant[] because the index is an integer. If you need more infos, just ask. ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com From nando_f at ...951... Tue Jul 12 22:02:47 2005 From: nando_f at ...951... (nando) Date: Tue, 12 Jul 2005 16:02:47 -0400 Subject: [Gambas-user] Question about WRITE # statement Message-ID: <20050712195642.M18207@...951...> Consider the following fragment... s = "HELLO" WRITE #h_file, s, 14000 Question: Does WRITE just write 5 chars or will it pad to 14,000 length? -Fernando From fidojones at ...805... Wed Jul 13 03:05:58 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Wed, 13 Jul 2005 03:05:58 +0200 (CEST) Subject: [Gambas-user] Trayicon in QT like in GTK is posible? Message-ID: <42086.85.155.33.88.1121216758.squirrel@...962...> Is posible to add Trayicon object in QT like in GTK. In GTK library trayicon is included but in QT no, why ? buaaaaaaaa I need it. Benoit give me this gift :DDDDD From sourceforge-raindog2 at ...94... Wed Jul 13 03:38:11 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 12 Jul 2005 21:38:11 -0400 Subject: [Gambas-user] Trayicon in QT like in GTK is posible? In-Reply-To: <42086.85.155.33.88.1121216758.squirrel@...962...> References: <42086.85.155.33.88.1121216758.squirrel@...962...> Message-ID: <200507122135.38248.sourceforge-raindog2@...94...> On Tuesday 12 July 2005 21:05, Lorenzo Tejera wrote: > Is posible to add Trayicon object in QT like in GTK. In GTK library > trayicon is included but in QT no, why ? buaaaaaaaa I need it. Daniel submitted a patch to enable a tray icon back in November. I got it to work against some early 1.9 series gb.qt.kde components but I don't know if it would still work. In the meantime, try typing "kstart --help"; I have written at least half a dozen Gambas programs that I've put in the systray using kstart. Rob From matthias-laur at ...978... Wed Jul 13 11:38:57 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Wed, 13 Jul 2005 11:38:57 +0200 Subject: [Gambas-user] exec + wait in 1.9.11 Message-ID: <0ML2Dk-1DsdjE1ja2-0002C0@...979...> Hi, I've read that the wait in the exec and shell command is in 1.9.11 not more possible. How can I now make sure that the interpreter wait until the command is executed? Regards, Matthias -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthias-laur at ...978... Wed Jul 13 11:44:43 2005 From: matthias-laur at ...978... (Matthias Laur) Date: Wed, 13 Jul 2005 11:44:43 +0200 Subject: [Gambas-user] gambas and gcc4 Message-ID: <0ML2Dk-1Dsdoo1i8r-0002Ht@...979...> Hi, gcc4 is now standard in debian sid. Is there a way to compile the stable 1.0.8 with the gcc4. Or how can I make sure that it compile with gcc3? Yesterday I can't compile gambas after the upgrade of debian. Regards, Matthias + -------------- next part -------------- An HTML attachment was scrubbed... URL: From oreip at ...1... Thu Jul 14 09:08:58 2005 From: oreip at ...1... (PV) Date: Thu, 14 Jul 2005 09:08:58 +0200 Subject: [Gambas-user] Bug in menu editor? Message-ID: <42D60F8A.9050600@...1...> Hi all, I just noticed something in Gambas 1.9.11 which didn't happen in previous versions. I have a popup menu which is not checked as visible in the menu editor and is shown via a call to the popup() method when the right mouse button is pressed. The problem now is that I can uncheck the "visible" checkbutton for the popup menu but it is shown anyway because, if I reopen the menu editor later, the "visible" checkbutton is checked again and there doesn't seem to be a way to permanently uncheck it. Is anybody else experiencing the same problem? TIA, Piero From budi.a.gusandi at ...626... Thu Jul 14 11:00:24 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Thu, 14 Jul 2005 16:00:24 +0700 Subject: [Gambas-user] Bug in menu editor? In-Reply-To: <42D60F8A.9050600@...1...> References: <42D60F8A.9050600@...1...> Message-ID: <42D629A8.6070004@...415...> PV wrote: > Hi all, > > I just noticed something in Gambas 1.9.11 which didn't happen in > previous versions. > I have a popup menu which is not checked as visible in the menu editor > and is shown via a call to the popup() method when the right mouse > button is pressed. > > The problem now is that I can uncheck the "visible" checkbutton for > the popup menu but it is shown anyway because, if I reopen the menu > editor later, the "visible" checkbutton is checked again and there > doesn't seem to be a way to permanently uncheck it. > > Is anybody else experiencing the same problem? > > TIA, > Piero > > Piero... It is not like VB menu when item menu with checked option clicked it will check/uncheck the item menu automatically (if i dont forget ;)) In gambas u should do it via code in the menu item event click. For example u have item menu named mnuShowMe. Public Sub mnuShowMe_click() mnuShowMe.Checked = Not mnuShowMe.Checked End That will check and uncheck mnuShowme as you want. Regards, Budi From m.galm at ...31... Thu Jul 14 14:12:32 2005 From: m.galm at ...31... (m.galm) Date: Thu, 14 Jul 2005 13:12:32 +0100 Subject: [Gambas-user] Filenames Message-ID: <200507141312.33017.m.galm@...31...> Hello. If I do make executable in the Project-Menu, for Example I get a File called MyApp. If I make a Suse-rpm, the installed File is called myapp. Maybe I am wrong but I think they should be the same. (gambas 1.0.8) Michael Galm From oreip at ...1... Thu Jul 14 14:10:59 2005 From: oreip at ...1... (PV) Date: Thu, 14 Jul 2005 14:10:59 +0200 Subject: [Gambas-user] Bug in menu editor? In-Reply-To: <42D629A8.6070004@...415...> References: <42D60F8A.9050600@...1...> <42D629A8.6070004@...415...> Message-ID: <42D65653.2070706@...1...> On 14/07/2005 11:00, BUDI ARIEF GUSANDI wrote: > It is not like VB menu when item menu with checked option clicked it > will check/uncheck the item menu automatically (if i dont forget ;)) > In gambas u should do it via code in the menu item event click. For > example u have item menu named mnuShowMe. > > Public Sub mnuShowMe_click() > mnuShowMe.Checked = Not mnuShowMe.Checked > End Probably I didn't express the problem clearly. I am not talking about checking/unchecking a single menu item: I am talking about the menu editor (right click on a form -> menu editor), where I can check/uncheck the checkbox indicating whether the menu will be visible or not. If I want a menu to be hidden (i.e. to be shown later with the right mouse button), I need to uncheck (that is, to clear) the checkbox labeled "visible" in the menu editor. The problem is that, after clearing the checkbox labeled "visible", pressing OK and closing the menu editor, if I reopen immediately the menu editor again, that checkbox is checked again, even if I cleared it, so the menu will be visible and not hidden. Seems like the story of the "ghost" ampersand in button text that has been on the list some time ago... :-) Ciao, Piero From gambas at ...1... Thu Jul 14 19:09:32 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 19:09:32 +0200 Subject: [Gambas-user] Bug in menu editor? In-Reply-To: <42D65653.2070706@...1...> References: <42D60F8A.9050600@...1...> <42D629A8.6070004@...415...> <42D65653.2070706@...1...> Message-ID: <200507141909.32188.gambas@...1...> On Thursday 14 July 2005 14:10, PV wrote: > On 14/07/2005 11:00, BUDI ARIEF GUSANDI wrote: > > It is not like VB menu when item menu with checked option clicked it > > will check/uncheck the item menu automatically (if i dont forget ;)) > > In gambas u should do it via code in the menu item event click. For > > example u have item menu named mnuShowMe. > > > > Public Sub mnuShowMe_click() > > mnuShowMe.Checked = Not mnuShowMe.Checked > > End > > Probably I didn't express the problem clearly. > > I am not talking about checking/unchecking a single menu item: I am talking > about the menu editor (right click on a form -> menu editor), where I can > check/uncheck the checkbox indicating whether the menu will be visible or > not. > > If I want a menu to be hidden (i.e. to be shown later with the right mouse > button), I need to uncheck (that is, to clear) the checkbox labeled > "visible" in the menu editor. > The problem is that, after clearing the checkbox labeled "visible", > pressing OK and closing the menu editor, if I reopen immediately the menu > editor again, that checkbox is checked again, even if I cleared it, so the > menu will be visible and not hidden. > > Seems like the story of the "ghost" ampersand in button text that has been > on the list some time ago... :-) > > Ciao, > Piero > This is a consequence of one of the many bugs I added in the interpreter with the 1.9.11. This is fixed in the 1.9.12 I'm currently uploading to sourceforge! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 14 19:08:09 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 19:08:09 +0200 Subject: [Gambas-user] exec + wait in 1.9.11 In-Reply-To: <0ML2Dk-1DsdjE1ja2-0002C0@...979...> References: <0ML2Dk-1DsdjE1ja2-0002C0@...979...> Message-ID: <200507141908.09684.gambas@...1...> On Wednesday 13 July 2005 11:38, Matthias Laur wrote: > Hi, > > I've read that the wait in the exec and shell command is in 1.9.11 not more > possible. How can I now make sure that the interpreter wait until the > command is executed? > > > > Regards, > > Matthias I didn't write that! Did I ? It just that I tried a new syntax in 1.9.10, and removed it in 1.9.11 because it was too confusing. WAIT is possible, but now it is not implicite anymore, *except* with the new syntax 'EXEC ... TO' Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 14 19:10:19 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 19:10:19 +0200 Subject: [Gambas-user] gambas and gcc4 In-Reply-To: <0ML2Dk-1Dsdoo1i8r-0002Ht@...979...> References: <0ML2Dk-1Dsdoo1i8r-0002Ht@...979...> Message-ID: <200507141910.19323.gambas@...1...> On Wednesday 13 July 2005 11:44, Matthias Laur wrote: > Hi, > > gcc4 is now standard in debian sid. Is there a way to compile the stable > 1.0.8 with the gcc4. Or how can I make sure that it compile with gcc3? > Yesterday I can't compile gambas after the upgrade of debian. > > > > Regards, > > Matthias > Well... Does the 1.9.11 compile with gcc4 ? I forgot... -- Benoit Minisini mailto:gambas at ...1... From cornmaster at ...626... Thu Jul 14 19:18:09 2005 From: cornmaster at ...626... (Thomas Hawkins) Date: Thu, 14 Jul 2005 14:48:09 -0230 Subject: [Gambas-user] gambas and gcc4 In-Reply-To: <200507141910.19323.gambas@...1...> References: <0ML2Dk-1Dsdoo1i8r-0002Ht@...979...> <200507141910.19323.gambas@...1...> Message-ID: Worked fine for me on FC4. On 7/14/05, Benoit Minisini wrote: > > On Wednesday 13 July 2005 11:44, Matthias Laur wrote: > > Hi, > > > > gcc4 is now standard in debian sid. Is there a way to compile the stable > > 1.0.8 with the gcc4. Or how can I make sure that it compile with gcc3? > > Yesterday I can't compile gambas after the upgrade of debian. > > > > > > > > Regards, > > > > Matthias > > > > Well... Does the 1.9.11 compile with gcc4 ? I forgot... > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Thu Jul 14 19:28:53 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 19:28:53 +0200 Subject: [Gambas-user] gambas and gcc4 In-Reply-To: References: <0ML2Dk-1Dsdoo1i8r-0002Ht@...979...> <200507141910.19323.gambas@...1...> Message-ID: <200507141928.53735.gambas@...1...> On Thursday 14 July 2005 19:18, Thomas Hawkins wrote: > Worked fine for me on FC4. > > On 7/14/05, Benoit Minisini wrote: > > On Wednesday 13 July 2005 11:44, Matthias Laur wrote: > > > Hi, > > > > > > gcc4 is now standard in debian sid. Is there a way to compile the > > > stable 1.0.8 with the gcc4. Or how can I make sure that it compile with > > > gcc3? Yesterday I can't compile gambas after the upgrade of debian. > > > > > > > > > > > > Regards, > > > > > > Matthias > > > > Well... Does the 1.9.11 compile with gcc4 ? I forgot... > > > > -- > > Benoit Minisini > > mailto:gambas at ...1... > > So I have to backport what I did in 1.9.11 to the stable version... Good, I have to make 1.0.9, as the Format$() function has been fixed again, and I found other bugs in the database manager :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 14 19:29:17 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 19:29:17 +0200 Subject: [Gambas-user] Italian translation for the stable branch In-Reply-To: References: Message-ID: <200507141929.17761.gambas@...1...> On Monday 11 July 2005 13:36, Maurizio Pozzobon wrote: > This are the Italian translation for the stable branch with an important > "bugfix" OK. I will add it in the 1.0.9. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 14 19:29:58 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 19:29:58 +0200 Subject: [Gambas-user] Gambas Database Manager from gambas 1.0.6 In-Reply-To: References: Message-ID: <200507141929.58424.gambas@...1...> On Saturday 09 July 2005 09:26, Rizky Tahara Shita wrote: > try this: > > 1. open table that has more than 1 field > 2. be sure that table has data in it at least 2 rows > 3. be sure the data has space (ex: "some data dan more") > 4. open the table data > 5. klik the data that contain space > 6. klik the other field data that one row with it > 7. klik the same field above or bottom in different row > 8. viola! > the data that contain spaces trimed up! > now it just containt "some" > > bug ? or a feature ??? > I didn't succeed in reproducing that :-( Do you have screenshots ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 14 19:31:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 19:31:25 +0200 Subject: [Gambas-user] BUG, Model Frame creates Modeless Frame which can't be closed In-Reply-To: <20050704144031.65613.qmail@...707...> References: <20050704144031.65613.qmail@...707...> Message-ID: <200507141931.25444.gambas@...1...> On Monday 04 July 2005 16:40, Toni Schornboeck wrote: > Hi Guys! > > I use this piece of code to ensure there is always a meaningfull error > message, even if the app crashes: > > STATIC PUBLIC SUB Main() > DIM e AS ExceptionForm > DIM f AS Startup > > f=NEW Startup > TRY f.ShowModal() > IF ERROR THEN > e=NEW ExceptionForm > e.ShowModal() > QUIT > END IF > END > > > Startup is my real main form, I show it modal, because I want Main() to > wait for it to close before proceeding. > > But within my application I want to use modeless windows. I can open them > without problem, but you cannot close them. Even calling ME.Close() doesn't > help. Only solution is to do ME.Delete(). But unfortunately there is no way > to close this window using the windowclose 'button' in the window-title > (where lower, raise, shade, etc. is). Even the parent window is unclosable. > > So my questions are: > am I intented to open modeless windows within a modal window? > is there a way to do my exception handling with a modeless window? > > If I'm not supposed to open modeless windows form a modal one, it should > give an error message. If I'm allowed to do so, then it should be possible > to close this window. > > Thank you in advance. > > PS: I'm using gambas 1.0.6 (just downloaded 1.0.7 today and will compile it > later this week). > > I'm using Yoper 2.1 (KDE 3.3.0 and Qt 3.3) > OK. I will fix that. The bug is that the interpreter must not let you show a form modeless when a modal form is already opened. As soon a modal form is opened, all other successively opened windows must become modal. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 14 20:07:46 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 20:07:46 +0200 Subject: [Gambas-user] Release of gambas2 1.9.12 Message-ID: <200507142007.46764.gambas@...1...> Hi, Good news: I released a new version. Bad news: I modified the bytecode again, so you have to recompile all your projects :-) Here is the changelog: --8<------------------------------------------------------------------------------ * There is a new component, gb.crypt, that allows to use the crypt() Gnu C library function. DATABASE MANAGER * BUG: Errors during table creation or modification are now correctly handled. * BUG: Fields names are now case unsensitive in the table edition window. * BUG: Deleting fields that are used in an index is not allowed anymore. * BUG: Deleting fields in the index tableview now works as expected. EXAMPLES * BUG: In the Notepad example, the 'modified' flag now displays correctly in the window title. COMPILER * BUG: Fixed some parsing errors. * BUG: You can use event, label and property names in a class context now. * Now the DIM keyword is mandatory when declaring local variables. * BUG: You can effectively instanciate objects with any expression at local variable declaration. INTERPRETER * BUG: Format$() has been fixed, and re-fixed again. * Split() now gets a new optional boolean parameter to tell him to remove void elements from the returned array. * New methods to test character type: IsAscii, IsLetter, IsLower, IsUpper, IsDigit, IsHexa, IsSpace, IsBlank, IsPunct. * The stream argument of Eof() and Lof() is now optional. If it is not specified, then the standard input is used. * BUG: You should be able to retry any code that just raised an error in the debugger without crashing now. * BUG: Fixed a problem in the optimization of function calls. * BUG: Fixed the Round() function. Now Round(0.5) should returns 1 and not 0 anymore. * BUG: The comparison functions should work correctly now. 10 * (10 > 0) returns -10 again :-) * BUG: Array contents can be written to any stream now, not just files. QT COMPONENT * A new property, Application.Embedder, that allows you to embed the next opened window in an external window whose X11 handle is specified there. * The State property of the Window class has been replaced by three new properties: Minimized, Maximized and FullScreen. These properties are completely independant. * A new property, Window.Picture, that stores the window mask. * The Mask property now is boolean, and just tells if the Picture property must be used to mask the window. * A new control, Embedder, that allows to embed top-level windows of external applications. * Each window now has X11 window manager class set to the project name, and X11 window manager role set to its class name. * BUG: Unminimizing windows now always give them the focus. * BUG: Fix a potential crash is menu management. * BUG: If a modal window is already displayed, calling Show() on another window calls ShowModal() instead. SDL COMPONENT * SDL component has been updated. MYSQL DRIVER * BUG: Creating indexes on text fields with no size limit is not case sensitive anymore. --8<------------------------------------------------------------------------------ Enjoy it, -- Benoit Minisini mailto:gambas at ...1... From forty_ at ...18... Thu Jul 14 21:01:11 2005 From: forty_ at ...18... (forty) Date: Thu, 14 Jul 2005 21:01:11 +0200 Subject: [Gambas-user] Release of gambas2 1.9.12 In-Reply-To: <200507142007.46764.gambas@...1...> References: <200507142007.46764.gambas@...1...> Message-ID: <200507142101.11649.forty_@...18...> Am Donnerstag, 14. Juli 2005 20:07 schrieb Benoit Minisini: Hi, gambas2-1.9.11 compile with no error, but 1.9.12 stop with compile.gb_common.h: No such file or directory error. Debian Sarge. gcc 3.4 or gcc 4.0 (same error) ########################################################## make[5]: Entering directory `/home/forty/test/gambas2-1.9.12/gb.qt/src' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt3/ -D_REENTRANT -I../src/share -pipe -Wall -fno-strict-aliasing -g -Os -MT x11.lo -MD -MP -MF ".deps/x11.Tpo" -c -o x11.lo x11.c; \ then mv -f ".deps/x11.Tpo" ".deps/x11.Plo"; else rm -f ".deps/x11.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt3/ -D_REENTRANT -I../src/share -pipe -Wall -fno-strict-aliasing -g -Os -MT x11.lo -MD -MP -MF .deps/x11.Tpo -c x11.c -fPIC -DPIC -o .libs/x11.o In file included from x11.c:34: x11.h:33:23: gb_common.h: No such file or directory In file included from x11.c:34: x11.h:46: error: syntax error before "void" x11.h:47: error: syntax error before "void" x11.h:50: error: syntax error before "void" x11.h:50: error: parse error before "bool" x11.h:51: error: parse error before "bool" ############################################################## If you need the full output, tell me. thx From gambas at ...1... Thu Jul 14 21:18:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 21:18:35 +0200 Subject: [Gambas-user] Filenames In-Reply-To: <200507141312.33017.m.galm@...31...> References: <200507141312.33017.m.galm@...31...> Message-ID: <200507142118.35350.gambas@...1...> On Thursday 14 July 2005 14:12, m.galm wrote: > Hello. > > If I do make executable in the Project-Menu, for Example I get a File > called MyApp. If I make a Suse-rpm, the installed File is called myapp. > Maybe I am wrong but I think they should be the same. > (gambas 1.0.8) > > Michael Galm > Well, it seems that you are right, but I don't remember the reason why I convert the application name to lower case... I will see what I can do :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 14 21:17:22 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 21:17:22 +0200 Subject: [Gambas-user] Release of gambas2 1.9.12 In-Reply-To: <200507142101.11649.forty_@...18...> References: <200507142007.46764.gambas@...1...> <200507142101.11649.forty_@...18...> Message-ID: <200507142117.22499.gambas@...1...> On Thursday 14 July 2005 21:01, forty wrote: > Am Donnerstag, 14. Juli 2005 20:07 schrieb Benoit Minisini: > > Hi, > > gambas2-1.9.11 compile with no error, but 1.9.12 stop with > compile.gb_common.h: No such file or directory error. > > Debian Sarge. > gcc 3.4 or gcc 4.0 (same error) > > ########################################################## > > make[5]: Entering directory `/home/forty/test/gambas2-1.9.12/gb.qt/src' > if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I.. -I/usr/include/qt3/ -D_REENTRANT -I../src/share -pipe -Wall > -fno-strict-aliasing -g -Os -MT x11.lo -MD -MP -MF ".deps/x11.Tpo" -c -o > x11.lo x11.c; \ > then mv -f ".deps/x11.Tpo" ".deps/x11.Plo"; else rm -f ".deps/x11.Tpo"; > exit 1; fi > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt3/ -D_REENTRANT > -I../src/share -pipe -Wall -fno-strict-aliasing -g -Os -MT x11.lo -MD -MP > -MF .deps/x11.Tpo -c x11.c -fPIC -DPIC -o .libs/x11.o > In file included from x11.c:34: > x11.h:33:23: gb_common.h: No such file or directory > In file included from x11.c:34: > x11.h:46: error: syntax error before "void" > x11.h:47: error: syntax error before "void" > x11.h:50: error: syntax error before "void" > x11.h:50: error: parse error before "bool" > x11.h:51: error: parse error before "bool" > ############################################################## > > If you need the full output, tell me. > > thx > Yes, I forgot a file... I replaced the bad archive by the correct one as soon as I could on sourceforge, but you were faster than me! Try to download the package again and tell me if it works. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 14 21:20:38 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 14 Jul 2005 21:20:38 +0200 Subject: [Gambas-user] Question about WRITE # statement In-Reply-To: <20050712195642.M18207@...951...> References: <20050712195642.M18207@...951...> Message-ID: <200507142120.38832.gambas@...1...> On Tuesday 12 July 2005 22:02, nando wrote: > Consider the following fragment... > > s = "HELLO" > WRITE #h_file, s, 14000 > > Question: > > Does WRITE just write 5 chars or will it pad to 14,000 length? > > -Fernando > Good question :-) WRITE will write 14,000 bytes, by padding with zeros. Regards, -- Benoit Minisini mailto:gambas at ...1... From forty_ at ...18... Thu Jul 14 21:58:50 2005 From: forty_ at ...18... (forty) Date: Thu, 14 Jul 2005 21:58:50 +0200 Subject: [Gambas-user] Release of gambas2 1.9.12 In-Reply-To: <200507142117.22499.gambas@...1...> References: <200507142007.46764.gambas@...1...> <200507142101.11649.forty_@...18...> <200507142117.22499.gambas@...1...> Message-ID: <200507142158.51041.forty_@...18...> Am Donnerstag, 14. Juli 2005 21:17 schrieb Benoit Minisini: > Yes, I forgot a file... I replaced the bad archive by the correct one as > soon as I could on sourceforge, but you were faster than me! > > Try to download the package again and tell me if it works. Yes, it works with gcc (GCC) 4.0.1 (Debian 4.0.1-2). lot of thx From mairantz at ...626... Thu Jul 14 23:31:51 2005 From: mairantz at ...626... (offer mairantz) Date: Fri, 15 Jul 2005 00:31:51 +0300 Subject: [Gambas-user] need help for develop a gnu sarch engine Message-ID: <42D6D9C7.70700@...626...> dear gambas i want to todevelop a gnu sarch engine and i want to use gambas for my progect . i want to use mysql whit a gui index and thats way i need the ganbas i think that this system can help me but i need a help in a guide for the gambas . From m.galm at ...31... Fri Jul 15 00:44:24 2005 From: m.galm at ...31... (m.galm) Date: Thu, 14 Jul 2005 23:44:24 +0100 Subject: [Gambas-user] DemoSysTray / GTK-Component Message-ID: <200507142344.24133.m.galm@...31...> Hello. I tryed the DemoSysTray-Project of gambix. What i wanted to do with it, is a Program that only runs in Systray with no visible Form. If I set the State- Property of the Form to "Minimized" in the Property- Table, the Program crashes with Signal 11 (not the IDE, the started Program). (using gambas 1.9.12) Michael Galm From lbaudio at ...172... Fri Jul 15 02:36:46 2005 From: lbaudio at ...172... (LB Audio) Date: Thu, 14 Jul 2005 21:36:46 -0300 Subject: [Gambas-user] Please... which is the problem in my compilation? Mandrake 10.1 References: <200507141312.33017.m.galm@...31...> <200507142118.35350.gambas@...1...> Message-ID: <000601c588d5$4a7f8590$6764a8c0@...946...> Please... which is the problem in my compilation? Mandrake 10.1 - Gambas 2-1.9.12 In file included from gdraw.cpp:28: widgets.h:490: warning: `class gControl' has virtual functions but non-virtual destructor widgets.h:620: warning: `class gPlugin' has virtual functions but non-virtual destructor widgets.h:640: warning: `class gProgressBar' has virtual functions but non-virtual destructor widgets.h:657: warning: `class gLabel' has virtual functions but non-virtual destructor widgets.h:674: warning: `class gTextLabel' has virtual functions but non-virtual destructor widgets.h:683: warning: `class gButton' has virtual functions but non-virtual destructor widgets.h:726: warning: `class gMovieBox' has virtual functions but non-virtual destructor widgets.h:754: warning: `class gPictureBox' has virtual functions but non-virtual destructor widgets.h:780: warning: `class gColumnView' has virtual functions but non-virtual destructor widgets.h:823: warning: `class gListView' has virtual functions but non-virtual destructor widgets.h:859: warning: `class gListBox' has virtual functions but non-virtual destructor widgets.h:898: warning: `class gSpinBox' has virtual functions but non-virtual destructor widgets.h:925: warning: `class gComboBox' has virtual functions but non-virtual destructor widgets.h:961: warning: `class gTextBox' has virtual functions but non-virtual destructor widgets.h:1003: warning: `class gTextArea' has virtual functions but non-virtual destructor widgets.h:1052: warning: `class gSlider' has virtual functions but non-virtual destructor widgets.h:1088: warning: `class gScrollBar' has virtual functions but non-virtual destructor widgets.h:1098: warning: `class gContainer' has virtual functions but non-virtual destructor widgets.h:1134: warning: `class gScrollView' has virtual functions but non-virtual destructor widgets.h:1170: warning: `class gDrawingArea' has virtual functions but non-virtual destructor widgets.h:1196: warning: `class gTabStrip' has virtual functions but non-virtual destructor widgets.h:1220: warning: `class gFrame' has virtual functions but non-virtual destructor widgets.h:1288: warning: `class gMainWindow' has virtual functions but non-virtual destructor gdraw.cpp: In member function `bool gDraw::clipEnabled()': gdraw.cpp:520: warning: unused variable 'val' gdraw.cpp: In member function `void gDraw::text(char*, long int, long int, long int, long int, long int)': gdraw.cpp:804: error: `PangoMatrix' undeclared (first use this function) gdraw.cpp:804: error: (Each undeclared identifier is reported only once for each function it appears in.) gdraw.cpp:804: error: expected `;' before "matrix" gdraw.cpp:1035:2: warning: multi-line comment make[4]: ** [gdraw.lo] Erro 1 make[4]: Leaving directory `/gambas2-1.9.12/gb.gtk/src' make[3]: ** [all-recursive] Erro 1 make[3]: Leaving directory `/gambas2-1.9.12/gb.gtk' make[2]: ** [all] Erro 2 make[2]: Leaving directory `/gambas2-1.9.12/gb.gtk' make[1]: ** [all-recursive] Erro 1 make[1]: Leaving directory `/gambas2-1.9.12' make: ** [all] Erro 2 From sourceforge-raindog2 at ...94... Fri Jul 15 03:06:29 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 14 Jul 2005 21:06:29 -0400 Subject: [Gambas-user] need help for develop a gnu sarch engine In-Reply-To: <42D6D9C7.70700@...626...> References: <42D6D9C7.70700@...626...> Message-ID: <200507142106.29609.sourceforge-raindog2@...94...> On Thursday 14 July 2005 17:31, offer mairantz wrote: > i want to todevelop a gnu sarch engine and i want to use gambas for I think this is a great idea and I would encourage you to pursue it, but I would warn you to be prepared for criticism along the lines of "Why didn't you just scrap all your work, learn C# and contribute to the Beagle project?" :P Rob From budi.a.gusandi at ...626... Fri Jul 15 10:49:39 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 15 Jul 2005 15:49:39 +0700 Subject: [Gambas-user] USB Port In-Reply-To: <200507142106.29609.sourceforge-raindog2@...94...> References: <42D6D9C7.70700@...626...> <200507142106.29609.sourceforge-raindog2@...94...> Message-ID: <42D778A3.1090703@...415...> Dear All, I'm just wondering how to acces USB Device via gambas. Any can help ? Regards, Budi From m0nty at ...31... Fri Jul 15 16:29:58 2005 From: m0nty at ...31... (monty) Date: Fri, 15 Jul 2005 15:29:58 +0100 Subject: [Gambas-user] pcre & suse 9.1 Message-ID: <200507151529.58693.m0nty@...31...> To all suse9.1-Users who had an Error at compilng the pcre-Component: Update the pcre-lib with the latest release from http://www.pcre.org/ Looks like the Problem is in the pcre-lib installed by suse. Michael Galm From nando_f at ...951... Fri Jul 15 17:51:23 2005 From: nando_f at ...951... (nando) Date: Fri, 15 Jul 2005 11:51:23 -0400 Subject: [Gambas-user] USB Port In-Reply-To: <42D778A3.1090703@...415...> References: <42D6D9C7.70700@...626...> <200507142106.29609.sourceforge-raindog2@...94...> <42D778A3.1090703@...415...> Message-ID: <20050715154913.M16668@...951...> What type If its a serial port you may need the module ...then it's /dev/ttyUSB0,1,2,3,.... If its a hard drive, it may automount if you have that set It will be a device just like a hard drive device I user multiple of both types -Fernando ---------- Original Message ----------- From: BUDI ARIEF GUSANDI To: gambas-user at lists.sourceforge.net Sent: Fri, 15 Jul 2005 15:49:39 +0700 Subject: [Gambas-user] USB Port > Dear All, > > I'm just wondering how to acces USB Device via gambas. Any can help ? > > Regards, > Budi > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From sourceforge-raindog2 at ...94... Fri Jul 15 18:08:20 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 15 Jul 2005 12:08:20 -0400 Subject: [Gambas-user] USB Port In-Reply-To: <42D778A3.1090703@...415...> References: <42D6D9C7.70700@...626...> <200507142106.29609.sourceforge-raindog2@...94...> <42D778A3.1090703@...415...> Message-ID: <200507151208.20413.sourceforge-raindog2@...94...> On Friday 15 July 2005 04:49, BUDI ARIEF GUSANDI wrote: > I'm just wondering how to acces USB Device via gambas. Any can help > ? There's no way to just access the USB device on a raw level with Gambas or any other high-level language I know of.... you need its driver to be installed, and then you need to use the /dev/ entry (e.g. /dev/sda) or API (e.g. v4l) associated with that device. Since raw USB access is a kernel-level thing, I'm going to suggest that it should never be possible to do it with Gambas.... I don't ever want there to be a "gbx.ko" kernel module ;) Rob From nando_f at ...951... Fri Jul 15 20:23:56 2005 From: nando_f at ...951... (nando) Date: Fri, 15 Jul 2005 14:23:56 -0400 Subject: [Gambas-user] USB Port In-Reply-To: <200507151208.20413.sourceforge-raindog2@...94...> References: <42D6D9C7.70700@...626...> <200507142106.29609.sourceforge-raindog2@...94...> <42D778A3.1090703@...415...> <200507151208.20413.sourceforge-raindog2@...94...> Message-ID: <20050715182114.M45862@...951...> USB has to be hooked into kernel. If you want to not have the USB driver running, you could manage it separately, but I don't believe you would want to tackle that because it's already done as a kernel module. ?? Raw USB access ?? ---------- Original Message ----------- From: Rob To: gambas-user at lists.sourceforge.net Sent: Fri, 15 Jul 2005 12:08:20 -0400 Subject: Re: [Gambas-user] USB Port > On Friday 15 July 2005 04:49, BUDI ARIEF GUSANDI wrote: > > I'm just wondering how to acces USB Device via gambas. Any can help > > ? > > There's no way to just access the USB device on a raw level with > Gambas or any other high-level language I know of.... you need its > driver to be installed, and then you need to use the /dev/ entry > (e.g. /dev/sda) or API (e.g. v4l) associated with that device. > > Since raw USB access is a kernel-level thing, I'm going to suggest > that it should never be possible to do it with Gambas.... I don't > ever want there to be a "gbx.ko" kernel module ;) > > Rob > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From budiir at ...43... Fri Jul 15 20:43:05 2005 From: budiir at ...43... (Budi Irawan) Date: Fri, 15 Jul 2005 11:43:05 -0700 (PDT) Subject: [Gambas-user] Configure Warning In-Reply-To: <20050715182114.M45862@...951...> Message-ID: <20050715184306.71728.qmail@...1049...> Hello, I have problem with configure step : checking for Advanced networking component headers... no checking for Advanced networking component libraries... no configure: WARNING: *** Advanced networking component is disabled checking for PostgreSQL driver headers... no checking for PostgreSQL driver libraries... no configure: WARNING: *** PostgreSQL driver is disabled checking for MySQL driver headers... no checking for MySQL driver libraries... no configure: WARNING: *** MySQL driver is disabled checking for SQLite driver headers... no checking for SQLite driver libraries... no configure: WARNING: *** SQLite driver is disabled checking for SDL component headers... no checking for SDL component libraries... no With Mandriva 10.2 and Knoppix 3.9 ... Please give solution . Thanks. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From gambas at ...1... Fri Jul 15 21:02:42 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 15 Jul 2005 21:02:42 +0200 Subject: [Gambas-user] Configure Warning In-Reply-To: <20050715184306.71728.qmail@...1049...> References: <20050715184306.71728.qmail@...1049...> Message-ID: <200507152102.42826.gambas@...1...> On Friday 15 July 2005 20:43, Budi Irawan wrote: > Hello, I have problem with configure step : > > checking for Advanced networking component headers... > no > checking for Advanced networking component > libraries... no > configure: WARNING: *** Advanced networking component > is disabled > checking for PostgreSQL driver headers... no > checking for PostgreSQL driver libraries... no > configure: WARNING: *** PostgreSQL driver is disabled > checking for MySQL driver headers... no > checking for MySQL driver libraries... no > configure: WARNING: *** MySQL driver is disabled > checking for SQLite driver headers... no > checking for SQLite driver libraries... no > configure: WARNING: *** SQLite driver is disabled > checking for SDL component headers... no > checking for SDL component libraries... no > > With Mandriva 10.2 and Knoppix 3.9 ... > Please give solution . > Thanks. > > Just install the needed development packages, as usual! -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Fri Jul 15 21:32:39 2005 From: gambasfr at ...11... (fabien) Date: Fri, 15 Jul 2005 21:32:39 +0200 Subject: [Gambas-user] DemoSysTray / GTK-Component In-Reply-To: <200507142344.24133.m.galm@...31...> References: <200507142344.24133.m.galm@...31...> Message-ID: <200507152132.39241.gambasfr@...11...> Le Vendredi 15 Juillet 2005 00:44, m.galm a ?crit?: > Hello. > > I tryed the DemoSysTray-Project of gambix. > What i wanted to do with it, is a Program that only runs > in Systray with no visible Form. If I set the State- > Property of the Form to "Minimized" in the Property- > Table, the Program crashes with Signal 11 (not the > IDE, the started Program). > > (using gambas 1.9.12) It sem to have a bug on gb.gtk 1.9.12 i've seen two thing if i define form.visible in the propertie table or in the _New sub, the form is always visible . the state property does'nt work Daniel ? Regards, Fabien Bodard > Michael Galm > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...282... Fri Jul 15 22:32:54 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 15 Jul 2005 22:32:54 +0200 Subject: [Gambas-user] Configure Warning In-Reply-To: <20050715184306.71728.qmail@...1049...> References: <20050715184306.71728.qmail@...1049...> Message-ID: <42D81D76.5040506@...282...> You should install libcurl-devel package for your distribution... Regards, D. Campos Budi Irawan escribi?: > Hello, I have problem with configure step : > >checking for Advanced networking component headers... >no >checking for Advanced networking component >libraries... no >configure: WARNING: *** Advanced networking component >is disabled >checking for PostgreSQL driver headers... no >checking for PostgreSQL driver libraries... no >configure: WARNING: *** PostgreSQL driver is disabled >checking for MySQL driver headers... no >checking for MySQL driver libraries... no >configure: WARNING: *** MySQL driver is disabled >checking for SQLite driver headers... no >checking for SQLite driver libraries... no >configure: WARNING: *** SQLite driver is disabled >checking for SDL component headers... no >checking for SDL component libraries... no > >With Mandriva 10.2 and Knoppix 3.9 ... >Please give solution . >Thanks. > > > >____________________________________________________ >Start your day with Yahoo! - make it your home page >http://www.yahoo.com/r/hs > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From danielcampos at ...282... Fri Jul 15 22:36:21 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 15 Jul 2005 22:36:21 +0200 Subject: [Gambas-user] Problmes with sockets In-Reply-To: <1121088851.3230.1.camel@...37...> References: <1121044644.3120.12.camel@...37...> <42D215A4.9000608@...282...> <1121088851.3230.1.camel@...37...> Message-ID: <42D81E45.6070904@...282...> Hi: Yes, you can have the same handler: the "LAST" keyword points to the current object that is raising the event. Regards, D. Campos PaquitoSoft escribi?: >Thanks a lot for your quick answer Daniel. > >I have a little one more... Since I will have a lot of sockets running >at the same time, can I use the same handler for them??? >(Inside the handler I would check what sockets is really raising the >event) > > >El lun, 11-07-2005 a las 08:45 +0200, Daniel Campos escribi?: > > >>You must specify the event handlers, that is, you can do, for example: >> >>Public Srv As ServerSocket >> >>Srv=NEW ServerSocket AS "Srv" >> >>So you can use: >> >>PUBLIC SUB Srv_Connection(sHost As String) >> >>... >> >> >>END >> >> >>The same thing with the client: >> >>Public Sock As Socket >> >>Sock=New Socket AS "Client" >> >>... >> >>PUBLIC SUB Client_Ready() >>.. >> >>END >> >> >>Regards, >> >>D. Campos >> >> >> >> > > > From sourceforge-raindog2 at ...94... Sat Jul 16 06:51:10 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 16 Jul 2005 00:51:10 -0400 Subject: [Gambas-user] USB Port In-Reply-To: <20050715182114.M45862@...951...> References: <42D6D9C7.70700@...626...> <200507151208.20413.sourceforge-raindog2@...94...> <20050715182114.M45862@...951...> Message-ID: <200507160051.11071.sourceforge-raindog2@...94...> On Friday 15 July 2005 14:23, nando wrote: > ?? Raw USB access ?? Yes, I think he was hoping for a /dev/usb0 or something that he could just read like a serial port or something. Rob From sourceforge-raindog2 at ...94... Sat Jul 16 06:54:11 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 16 Jul 2005 00:54:11 -0400 Subject: [Gambas-user] Re: [Gambas-devel] Correcting of the gambas Clock exemple In-Reply-To: <200507152249.19268.gambasfr@...11...> References: <200507152249.19268.gambasfr@...11...> Message-ID: <200507160054.11167.sourceforge-raindog2@...94...> On Friday 15 July 2005 16:49, fabien wrote: > The mask property of gambas-qt is now a boolean and form have a new > property Picture, Arrrgh! So we can no longer have a mask that's independent of a form's background picture? Is that a new limitation of Qt or just Gambas? Rob From sourceforge-raindog2 at ...94... Sat Jul 16 07:14:21 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 16 Jul 2005 01:14:21 -0400 Subject: [Gambas-user] Re: [Gambas-devel] Correcting of the gambas Clock exemple In-Reply-To: <200507160054.11167.sourceforge-raindog2@...94...> References: <200507152249.19268.gambasfr@...11...> <200507160054.11167.sourceforge-raindog2@...94...> Message-ID: <200507160114.21077.sourceforge-raindog2@...94...> On Saturday 16 July 2005 00:54, Rob wrote: > Arrrgh! So we can no longer have a mask that's independent of a > form's background picture? ...never mind, I just realized I've been putting a PictureBox in the background of all my forms that needed background pictures. Rob From nando_f at ...951... Sat Jul 16 09:17:37 2005 From: nando_f at ...951... (nando) Date: Sat, 16 Jul 2005 03:17:37 -0400 Subject: [Gambas-user] USB Port In-Reply-To: <200507160051.11071.sourceforge-raindog2@...94...> References: <42D6D9C7.70700@...626...> <200507151208.20413.sourceforge-raindog2@...94...> <20050715182114.M45862@...951...> <200507160051.11071.sourceforge-raindog2@...94...> Message-ID: <20050716071637.M40304@...951...> Get a USB<-->Serial adaptor and find the kernel module for it. Then you open /dev/ttyUSB0,1,2,3,4.... It behaves just like a serial port. ---------- Original Message ----------- From: Rob To: gambas-user at lists.sourceforge.net Sent: Sat, 16 Jul 2005 00:51:10 -0400 Subject: Re: [Gambas-user] USB Port > On Friday 15 July 2005 14:23, nando wrote: > > ?? Raw USB access ?? > > Yes, I think he was hoping for a /dev/usb0 or something that he > could just read like a serial port or something. > > Rob > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From danielcampos at ...282... Sat Jul 16 10:46:13 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 16 Jul 2005 10:46:13 +0200 Subject: [Gambas-user] Please... which is the problem in my compilation? Mandrake 10.1 In-Reply-To: <000601c588d5$4a7f8590$6764a8c0@...946...> References: <200507141312.33017.m.galm@...31...> <200507142118.35350.gambas@...1...> <000601c588d5$4a7f8590$6764a8c0@...946...> Message-ID: <42D8C955.8020707@...282...> Currently I'm using GTK+2.6.x for the gb.gtk component, may be you should upgrade your gtk+ version, or disable the gb.gtk component in the ./configure script. Regards, D. Campos LB Audio escribi?: > Please... which is the problem in my compilation? > > Mandrake 10.1 - Gambas 2-1.9.12 > > In file included from gdraw.cpp:28: > > widgets.h:490: warning: `class gControl' has virtual functions but > non-virtual destructor > > widgets.h:620: warning: `class gPlugin' has virtual functions but > non-virtual destructor > > widgets.h:640: warning: `class gProgressBar' has virtual functions but > non-virtual destructor > > widgets.h:657: warning: `class gLabel' has virtual functions but > non-virtual destructor > > widgets.h:674: warning: `class gTextLabel' has virtual functions but > non-virtual destructor > > widgets.h:683: warning: `class gButton' has virtual functions but > non-virtual destructor > > widgets.h:726: warning: `class gMovieBox' has virtual functions but > non-virtual destructor > > widgets.h:754: warning: `class gPictureBox' has virtual functions but > non-virtual destructor > > widgets.h:780: warning: `class gColumnView' has virtual functions but > non-virtual destructor > > widgets.h:823: warning: `class gListView' has virtual functions but > non-virtual destructor > > widgets.h:859: warning: `class gListBox' has virtual functions but > non-virtual destructor > > widgets.h:898: warning: `class gSpinBox' has virtual functions but > non-virtual destructor > > widgets.h:925: warning: `class gComboBox' has virtual functions but > non-virtual destructor > > widgets.h:961: warning: `class gTextBox' has virtual functions but > non-virtual destructor > > widgets.h:1003: warning: `class gTextArea' has virtual functions but > non-virtual destructor > > widgets.h:1052: warning: `class gSlider' has virtual functions but > non-virtual destructor > > widgets.h:1088: warning: `class gScrollBar' has virtual functions but > non-virtual destructor > > widgets.h:1098: warning: `class gContainer' has virtual functions but > non-virtual destructor > > widgets.h:1134: warning: `class gScrollView' has virtual functions but > non-virtual destructor > > widgets.h:1170: warning: `class gDrawingArea' has virtual functions > but non-virtual destructor > > widgets.h:1196: warning: `class gTabStrip' has virtual functions but > non-virtual destructor > > widgets.h:1220: warning: `class gFrame' has virtual functions but > non-virtual destructor > > widgets.h:1288: warning: `class gMainWindow' has virtual functions but > non-virtual destructor > > gdraw.cpp: In member function `bool gDraw::clipEnabled()': > > gdraw.cpp:520: warning: unused variable 'val' > > gdraw.cpp: In member function `void gDraw::text(char*, long int, long > int, long int, long int, long int)': > > gdraw.cpp:804: error: `PangoMatrix' undeclared (first use this function) > > gdraw.cpp:804: error: (Each undeclared identifier is reported only > once for each function it appears in.) > > gdraw.cpp:804: error: expected `;' before "matrix" > > gdraw.cpp:1035:2: warning: multi-line comment > > make[4]: ** [gdraw.lo] Erro 1 > > make[4]: Leaving directory `/gambas2-1.9.12/gb.gtk/src' > > make[3]: ** [all-recursive] Erro 1 > > make[3]: Leaving directory `/gambas2-1.9.12/gb.gtk' > > make[2]: ** [all] Erro 2 > > make[2]: Leaving directory `/gambas2-1.9.12/gb.gtk' > > make[1]: ** [all-recursive] Erro 1 > > make[1]: Leaving directory `/gambas2-1.9.12' > > make: ** [all] Erro 2 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From sourceforge-raindog2 at ...94... Sat Jul 16 13:48:39 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 16 Jul 2005 07:48:39 -0400 Subject: [Gambas-user] USB Port In-Reply-To: <20050716071637.M40304@...951...> References: <42D6D9C7.70700@...626...> <200507160051.11071.sourceforge-raindog2@...94...> <20050716071637.M40304@...951...> Message-ID: <200507160748.39397.sourceforge-raindog2@...94...> On Saturday 16 July 2005 03:17, nando wrote: > Get a USB<-->Serial adaptor and find the kernel module for it. > Then you open /dev/ttyUSB0,1,2,3,4.... > It behaves just like a serial port. He didn't specify what kind of USB device he wanted to talk to, just asked if it were possible to "acces USB Device via gambas" (sic). I think he was hoping there was a way to just generically access USB devices as though they were serial devices or something. My position is that there's no way to access a USB device generically from within Gambas, if at all. Rob From ngcsch at ...614... Sat Jul 16 14:35:20 2005 From: ngcsch at ...614... (Joe Boby) Date: Sat, 16 Jul 2005 14:35:20 +0200 (CEST) Subject: [Gambas-user] Configure Warning Message-ID: <20050716123520.6887.qmail@...1050...> just install these rpm's first: libcurl3-devel postgresql-devel libmysql15-devel libsqlite0-devel libSDL_gfx13-devel libSDL1.2-devel libSDL_image1.2-devel libSDL_ttf2.0-devel libSDL_net1.2-devel libSDLmm0.1-devel libSDL_mixer1.2-devel libSDL_sound1.0-devel And more are needed if you see again a "WARNING: *** ..." And look at rpmseek.com or rpm.pbone.net like website or at http://easyurpmi.zarb.org/?language=fr for urpmi setup. ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com From forty_ at ...18... Sat Jul 16 15:30:02 2005 From: forty_ at ...18... (forty) Date: Sat, 16 Jul 2005 15:30:02 +0200 Subject: [Gambas-user] gambas2 1.9.12 settings Message-ID: <200507161530.03090.forty_@...18...> hi, on gambas2 1.9.12 the settings load and save doesn' t work. but with gambas 1.8 the same code work. DIM hSettings AS Settings hSettings = NEW Settings(user.Home &/ ".program.conf") hSettings["choice"] = combobox.Text hsettings.save gambas2 comes with ... Unknown symbol 'ToSring' in class 'Main' error. any idea? thx From carl.bouchaux at ...11... Sat Jul 16 16:56:38 2005 From: carl.bouchaux at ...11... (Carl Bouchaux) Date: Sat, 16 Jul 2005 16:56:38 +0200 Subject: [Gambas-user] mysql Message-ID: <200507161656.38277.carl.bouchaux@...11...> Hello with all, In fact I leave sqlite (too much young person, not documented enough, and not enough users for communicates). and I gave mysql that I use much in addition and who proved reliable only handicap the system server/client , but I make with. My first problem is that in Gambas, I do not have any accent nor character special which is posted. When I make a requete in Mysql, into console or query browser, I have for example "t?l?phone" and in Gambas (listview, labels, etc...) I have"t l phone". I butt, and it is a true handicap. From gambasfr at ...11... Sat Jul 16 19:00:29 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Sat, 16 Jul 2005 19:00:29 +0200 Subject: [Gambas-user] mysql In-Reply-To: <200507161656.38277.carl.bouchaux@...11...> References: <200507161656.38277.carl.bouchaux@...11...> Message-ID: <200507161900.29297.gambasfr@...11...> Le Samedi 16 Juillet 2005 16:56, Carl Bouchaux a ?crit?: > Hello with all, > > In fact I leave sqlite (too much young person, not documented enough, and > not enough users for communicates). > > and I gave mysql that I use much in addition and who proved reliable only > handicap the system server/client , but I make with. > > My first problem is that in Gambas, I do not have any accent nor character > special which is posted. > When I make a requete in Mysql, into console or query browser, I have for > example "t?l?phone" and in Gambas (listview, labels, etc...) I have"t l > phone". > > I butt, and it is a true handicap. > From which does Pb come? > > Second problem, less blocking, in script sql of importation I had" \n\r" > which were indeed treated by mysql which posts me well the returns line in > detail view. > > on the other hand the textbox of Gamba do not post them and puts all end > to end. I will make a small nap, I hope to have a response to my alarm > clock :) > > thank you in advance > > Carl > (sorry for my english !) Answered in the French Mailing list ... And your english seem to not say tyhe same thing than your french... Regards, Fabien Bodard From oreip at ...1... Sat Jul 16 20:40:38 2005 From: oreip at ...1... (PV) Date: Sat, 16 Jul 2005 20:40:38 +0200 Subject: [Gambas-user] gambas2 1.9.12 settings In-Reply-To: <200507161530.03090.forty_@...18...> References: <200507161530.03090.forty_@...18...> Message-ID: <42D954A6.9000902@...1...> On 16/07/2005 15:30, forty wrote: > hi, > > on gambas2 1.9.12 the settings load and save doesn' t work. > but with gambas 1.8 the same code work. > > DIM hSettings AS Settings > > hSettings = NEW Settings(user.Home &/ ".program.conf") > > hSettings["choice"] = combobox.Text > hsettings.save > > gambas2 comes with ... > Unknown symbol 'ToSring' in class 'Main' > error. ToSring should read ToString instead... If it's not a typo then it should be related to your problem, because I am not experiencing any troubles with Settings in 1.9.12, neither with load nor with save. Ciao, Piero From nando_f at ...951... Sun Jul 17 01:57:39 2005 From: nando_f at ...951... (nando) Date: Sat, 16 Jul 2005 19:57:39 -0400 Subject: [Gambas-user] TRY syntax problem Message-ID: <20050716235608.M61344@...951...> IF x = 3 THEN TRY MKDIR "temp_folder" does not compile as a one-line if. -Fernando From jsowden at ...1051... Sun Jul 17 02:13:10 2005 From: jsowden at ...1051... (John R. Sowden) Date: Sat, 16 Jul 2005 17:13:10 -0700 Subject: [Gambas-user] sample procedural code Message-ID: <200507161713.10580.jsowden@...1051...> I just installed gambas. I am a foxpro programmer (for my internal use). I learn new languages by modifying increasingly complex code, starting with 'hello world'. I'm starting with 'console for the same reason. Where can I find some procedural examples? -- John R. Sowden AMERICAN SENTRY SYSTEMS, INC. Residential & Commercial Alarm Service UL Listed Central Station Serving the San Francisco Bay Area Since 1967 mail at ...1051... www.americansentry.net From jsowden at ...1051... Sun Jul 17 02:13:40 2005 From: jsowden at ...1051... (John R. Sowden) Date: Sat, 16 Jul 2005 17:13:40 -0700 Subject: [Gambas-user] sample procedural code Message-ID: <200507161713.40178.jsowden@...1051...> I just installed gambas. I am a foxpro programmer (for my internal use). I learn new languages by modifying increasingly complex code, starting with 'hello world'. I'm starting with 'console for the same reason. Where can I find some procedural examples? -- John R. Sowden AMERICAN SENTRY SYSTEMS, INC. Residential & Commercial Alarm Service UL Listed Central Station Serving the San Francisco Bay Area Since 1967 mail at ...1051... www.americansentry.net From nando_f at ...951... Sun Jul 17 02:44:05 2005 From: nando_f at ...951... (nando) Date: Sat, 16 Jul 2005 20:44:05 -0400 Subject: [Gambas-user] sample procedural code In-Reply-To: <200507161713.40178.jsowden@...1051...> References: <200507161713.40178.jsowden@...1051...> Message-ID: <20050717004228.M60013@...951...> In the last 6 months, I have made several large programs in Gambas. I'm going to suggest to you to jump into Graphical OOP. Don't waste time..just jump in. -Fernando ---------- Original Message ----------- From: "John R. Sowden" To: Gambas-user at lists.sourceforge.net Sent: Sat, 16 Jul 2005 17:13:40 -0700 Subject: [Gambas-user] sample procedural code > I just installed gambas. I am a foxpro programmer (for my internal > use). I learn new languages by modifying increasingly complex code, > starting with 'hello world'. > > I'm starting with 'console for the same reason. Where can I find > some procedural examples? > -- > John R. Sowden > AMERICAN SENTRY SYSTEMS, INC. > Residential & Commercial Alarm Service > UL Listed Central Station > Serving the San Francisco Bay Area Since 1967 > mail at ...1051... > www.americansentry.net > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From budi at ...415... Sun Jul 17 06:18:49 2005 From: budi at ...415... (budi at ...415...) Date: Sun, 17 Jul 2005 11:18:49 +0700 Subject: [Gambas-user] USB Port In-Reply-To: <200507160748.39397.sourceforge-raindog2@...94...> References: <42D6D9C7.70700@...626...> <200507160051.11071.sourceforge-raindog2@...94...> <20050716071637.M40304@...951...> <200507160748.39397.sourceforge-raindog2@...94...> Message-ID: <1121573929.42d9dc2976c47@...416...> Quoting Rob : > On Saturday 16 July 2005 03:17, nando wrote: > > Get a USB<-->Serial adaptor and find the kernel module for it. > > Then you open /dev/ttyUSB0,1,2,3,4.... > > It behaves just like a serial port. > > He didn't specify what kind of USB device he wanted to talk to, just > asked if it were possible to "acces USB Device via gambas" (sic). I > think he was hoping there was a way to just generically access USB > devices as though they were serial devices or something. > > My position is that there's no way to access a USB device generically > from within Gambas, if at all. > > Rob > Well actually it's for accesing RFID device which using USB. Mostly new device now using USB or Direct Ethernet connection not old RS232. I have no problem with ethernet since there's a gambas component for handling that. Regarding to USB<-->Serial adapter means add new hardware again ? It costs then. Budi From m.galm at ...31... Sun Jul 17 11:30:16 2005 From: m.galm at ...31... (m.galm) Date: Sun, 17 Jul 2005 10:30:16 +0100 Subject: [Gambas-user] Installation-Package Dialog Message-ID: <200507171030.16471.m.galm@...31...> Hello. If I press "next" in the second Step ("Maintainer Information") of the Installation-Wizard, gambas crashes with this : monty at ...1052...:~> gambas2 which: no alien in (/home/monty/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin: /usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin) Speicherzugriffsfehler monty at ...1052...:~> For all non-germans, Speicherzugriffsfehler = Segmentation Fault. (gambas 1.9.12, suse9.1) Michael Galm From rolf.frogs at ...221... Sun Jul 17 12:22:41 2005 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Sun, 17 Jul 2005 12:22:41 +0200 Subject: [Gambas-user] gambas2 1.9.12 settings In-Reply-To: <42D954A6.9000902@...1...> References: <200507161530.03090.forty_@...18...> <42D954A6.9000902@...1...> Message-ID: <200507171222.45453.rolf.frogs@...221...> Hi PV: > On 16/07/2005 15:30, forty wrote: > > hi, > > > > on gambas2 1.9.12 the settings load and save doesn' t work. > > but with gambas 1.8 the same code work. > > > > DIM hSettings AS Settings > > > > hSettings = NEW Settings(user.Home &/ ".program.conf") > > > > hSettings["choice"] = combobox.Text > > hsettings.save > > > > gambas2 comes with ... > > Unknown symbol 'ToSring' in class 'Main' > > error. > > ToSring should read ToString instead... > If it's not a typo then it should be related to your problem, because I am > not experiencing any troubles with Settings in 1.9.12, neither with load > nor with save. Try to use single quotes, like this: hSettings['choice'] = combobox.Text fine regards rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From oreip at ...1... Sun Jul 17 14:19:19 2005 From: oreip at ...1... (PV) Date: Sun, 17 Jul 2005 14:19:19 +0200 Subject: [Gambas-user] gambas2 1.9.12 settings In-Reply-To: <200507171222.45453.rolf.frogs@...221...> References: <200507161530.03090.forty_@...18...> <42D954A6.9000902@...1...> <200507171222.45453.rolf.frogs@...221...> Message-ID: <42DA4CC7.1040504@...1...> On 17/07/2005 12:22, Rolf Schmidt wrote: > Try to use single quotes, like this: > > hSettings['choice'] = combobox.Text Hmm... I doubt it will work because single quotes start comments. Ciao, Piero From forty_ at ...18... Sun Jul 17 14:31:27 2005 From: forty_ at ...18... (forty) Date: Sun, 17 Jul 2005 14:31:27 +0200 Subject: [Gambas-user] gambas2 1.9.12 settings In-Reply-To: <200507171222.45453.rolf.frogs@...221...> References: <200507161530.03090.forty_@...18...> <42D954A6.9000902@...1...> <200507171222.45453.rolf.frogs@...221...> Message-ID: <200507171431.27351.forty_@...18...> Am Sonntag, 17. Juli 2005 12:22 schrieb Rolf Schmidt: > Try to use single quotes, like this: > > hSettings['choice'] = combobox.Text > if i use single quotes, gambas means (of cource) after the first single quote, it' s a comment. From Lamego at ...1007... Sun Jul 17 18:16:49 2005 From: Lamego at ...1007... (=?ISO-8859-1?Q?Jo=E3o_Pinto?=) Date: Sun, 17 Jul 2005 17:16:49 +0100 Subject: [Gambas-user] Gambas 1.9.12 problem on Ubuntu Linux Message-ID: <42DA8471.9020109@...1007...> I am testing gambas with Ubuntu Linux . I am compiling and installing from the source. With gambas2-1.9.10 the program starts correctly, with the newer 1.9.12 I get the following error when launching gambas: lamego at ...1008...:~/_software/gambas2-1.9.12$ gambas2 FGambas.$load.122: #6: Type mismatch: wanted Picture, got Boolean instead WARNING: circular references detected FMain (1) FGambas (1) FDebug (1) FOutput (1) FDebugInfo (1) Any suggestion ? Best regards. -- Jo?o Lu?s Marques Pinto PTlink IRC Network http://www.pt-link.net PTlink IRC Software http://software.pt-link.net From mauriziopz at ...626... Sun Jul 17 18:51:39 2005 From: mauriziopz at ...626... (Maurizio Pozzobon) Date: Sun, 17 Jul 2005 18:51:39 +0200 Subject: [Gambas-user] GLLS with simple AI Message-ID: Hi list I finnally find a moment to upgrade my little game. In this game you have to complete all the squares drawring one line per turn the previous version don't allow to play in single player, now I've implemented a simple AI (should call it AS "Artificial Stupidity":-)) which let you play alone, but isn't too much intresting since is too easy to win, so in the next version I'll modify it to choose the best line to draw ( it already does it when he isn't oblied to let you score a point). You can find it at the gambas forge: http://www.gambasforge.net/code.php?id=74 Hope you'll enjoy it -- Maurizio -------------- next part -------------- An HTML attachment was scrubbed... URL: From danielcampos at ...282... Sun Jul 17 18:57:42 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 17 Jul 2005 18:57:42 +0200 Subject: [Gambas-user] Gambas 1.9.12 problem on Ubuntu Linux In-Reply-To: <42DA8471.9020109@...1007...> References: <42DA8471.9020109@...1007...> Message-ID: <42DA8E06.4080306@...282...> Yes: You can read it in the changelog: now the "Mask" property in forms is a boolean value, and the new "Picture" property holds the Picture. Regards, D. Campos Jo?o Pinto escribi?: > I am testing gambas with Ubuntu Linux . > I am compiling and installing from the source. > With gambas2-1.9.10 the program starts correctly, with the newer > 1.9.12 I get the following error when launching gambas: > > lamego at ...1008...:~/_software/gambas2-1.9.12$ gambas2 > FGambas.$load.122: #6: Type mismatch: wanted Picture, got Boolean instead > WARNING: circular references detected > FMain (1) > FGambas (1) > FDebug (1) > FOutput (1) > FDebugInfo (1) > > Any suggestion ? > Best regards. > From Lamego at ...1007... Sun Jul 17 19:01:30 2005 From: Lamego at ...1007... (=?ISO-8859-1?Q?Jo=E3o_Pinto?=) Date: Sun, 17 Jul 2005 18:01:30 +0100 Subject: [Gambas-user] Gambas 1.9.12 problem on Ubuntu Linux In-Reply-To: <42DA8E06.4080306@...282...> References: <42DA8471.9020109@...1007...> <42DA8E06.4080306@...282...> Message-ID: <42DA8EEA.3090408@...1007...> Hello, that means the "gambas" app included on the source was not reviewed with this change ? Please notice that I am just trying to launch gambas from the shell, I am not opening any project in special. Thanks Daniel Campos wrote: > Yes: > > You can read it in the changelog: now the "Mask" property in forms is > a boolean value, and the new "Picture" property > holds the Picture. > > Regards, > > D. Campos > > > Jo?o Pinto escribi?: > >> I am testing gambas with Ubuntu Linux . >> I am compiling and installing from the source. >> With gambas2-1.9.10 the program starts correctly, with the newer >> 1.9.12 I get the following error when launching gambas: >> >> lamego at ...1008...:~/_software/gambas2-1.9.12$ gambas2 >> FGambas.$load.122: #6: Type mismatch: wanted Picture, got Boolean >> instead >> WARNING: circular references detected >> FMain (1) >> FGambas (1) >> FDebug (1) >> FOutput (1) >> FDebugInfo (1) >> >> Any suggestion ? >> Best regards. >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Jo?o Lu?s Marques Pinto PTlink IRC Network http://www.pt-link.net PTlink IRC Software http://software.pt-link.net From danielcampos at ...282... Sun Jul 17 19:34:02 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 17 Jul 2005 19:34:02 +0200 Subject: [Gambas-user] Gambas 1.9.12 problem on Ubuntu Linux In-Reply-To: <42DA8EEA.3090408@...1007...> References: <42DA8471.9020109@...1007...> <42DA8E06.4080306@...282...> <42DA8EEA.3090408@...1007...> Message-ID: <42DA968A.4030409@...282...> Extrange problem: It seems that Gambas2 IDE fails when trying to show the mascot ( a form with a mask ), however here I'm using gambas2 1.9.12 and I have no problem with the IDE. May be the old gambas IDE from gambas2-1.9.10 is still alive in your filesystem. Try to delete /usr/bin/gambas2.gambas, and reinstall the 1.9.12 version. ... However, in a second try, I'm using Gambas IDE without the mascot from May or June!... may be other people having the IDE with the mascot have the same problem? Regards, D. Campos Jo?o Pinto escribi?: > Hello, > that means the "gambas" app included on the source was not reviewed > with this change ? > Please notice that I am just trying to launch gambas from the shell, > I am not opening any project in special. > > Thanks > > Daniel Campos wrote: > >> Yes: >> >> You can read it in the changelog: now the "Mask" property in forms is >> a boolean value, and the new "Picture" property >> holds the Picture. >> >> Regards, >> >> D. Campos >> >> >> Jo?o Pinto escribi?: >> >>> I am testing gambas with Ubuntu Linux . >>> I am compiling and installing from the source. >>> With gambas2-1.9.10 the program starts correctly, with the newer >>> 1.9.12 I get the following error when launching gambas: >>> >>> lamego at ...1008...:~/_software/gambas2-1.9.12$ gambas2 >>> FGambas.$load.122: #6: Type mismatch: wanted Picture, got Boolean >>> instead >>> WARNING: circular references detected >>> FMain (1) >>> FGambas (1) >>> FDebug (1) >>> FOutput (1) >>> FDebugInfo (1) >>> >>> Any suggestion ? >>> Best regards. >>> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From Lamego at ...1007... Sun Jul 17 20:18:22 2005 From: Lamego at ...1007... (=?ISO-8859-1?Q?Jo=E3o_Pinto?=) Date: Sun, 17 Jul 2005 19:18:22 +0100 Subject: [Gambas-user] Gambas 1.9.12 problem on Ubuntu Linux In-Reply-To: <42DA968A.4030409@...282...> References: <42DA8471.9020109@...1007...> <42DA8E06.4080306@...282...> <42DA8EEA.3090408@...1007...> <42DA968A.4030409@...282...> Message-ID: <42DAA0EE.6000401@...1007...> You were right, it was using the old version. I manually deleted the previous gambas2 files and reinstalled, it runs fine now. Thanks Daniel Campos wrote: > Extrange problem: > > It seems that Gambas2 IDE fails when trying to show the mascot ( a > form with a mask ), however here I'm using > gambas2 1.9.12 and I have no problem with the IDE. May be the old > gambas IDE from gambas2-1.9.10 is still alive in your filesystem. Try > to delete /usr/bin/gambas2.gambas, and reinstall the 1.9.12 version. > > ... However, in a second try, I'm using Gambas IDE without the mascot > from May or June!... may be other people having the IDE with the > mascot have the same problem? > > Regards, > > D. Campos > > > > > Jo?o Pinto escribi?: > >> Hello, >> that means the "gambas" app included on the source was not reviewed >> with this change ? >> Please notice that I am just trying to launch gambas from the shell, >> I am not opening any project in special. >> >> Thanks >> >> Daniel Campos wrote: >> >>> Yes: >>> >>> You can read it in the changelog: now the "Mask" property in forms >>> is a boolean value, and the new "Picture" property >>> holds the Picture. >>> >>> Regards, >>> >>> D. Campos >>> >>> >>> Jo?o Pinto escribi?: >>> >>>> I am testing gambas with Ubuntu Linux . >>>> I am compiling and installing from the source. >>>> With gambas2-1.9.10 the program starts correctly, with the newer >>>> 1.9.12 I get the following error when launching gambas: >>>> >>>> lamego at ...1008...:~/_software/gambas2-1.9.12$ gambas2 >>>> FGambas.$load.122: #6: Type mismatch: wanted Picture, got Boolean >>>> instead >>>> WARNING: circular references detected >>>> FMain (1) >>>> FGambas (1) >>>> FDebug (1) >>>> FOutput (1) >>>> FDebugInfo (1) >>>> >>>> Any suggestion ? >>>> Best regards. >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>> informative Webcasts and more! Get everything you need to get up to >>> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Jo?o Lu?s Marques Pinto PTlink IRC Network http://www.pt-link.net PTlink IRC Software http://software.pt-link.net From gambas at ...1... Sun Jul 17 20:32:54 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 17 Jul 2005 20:32:54 +0200 Subject: [Gambas-user] Installation-Package Dialog In-Reply-To: <200507171030.16471.m.galm@...31...> References: <200507171030.16471.m.galm@...31...> Message-ID: <200507172032.55029.gambas@...1...> On Sunday 17 July 2005 11:30, m.galm wrote: > Hello. > > If I press "next" in the second Step ("Maintainer Information") > of the Installation-Wizard, gambas crashes with this : > > monty at ...1052...:~> gambas2 > which: no alien in > (/home/monty/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin: > /usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/jre/bin) > Speicherzugriffsfehler > monty at ...1052...:~> > > For all non-germans, Speicherzugriffsfehler = Segmentation Fault. > > (gambas 1.9.12, suse9.1) > > Michael Galm > Can you send me a stack backtrace, as explained on the website ? -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sun Jul 17 23:40:32 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 17 Jul 2005 17:40:32 -0400 Subject: [Gambas-user] USB Port In-Reply-To: <1121573929.42d9dc2976c47@...416...> References: <42D6D9C7.70700@...626...> <200507160748.39397.sourceforge-raindog2@...94...> <1121573929.42d9dc2976c47@...416...> Message-ID: <200507171740.32939.sourceforge-raindog2@...94...> On Sunday 17 July 2005 00:18, budi at ...415... wrote: > Well actually it's for accesing RFID device which using USB. Mostly > new device now using USB or Direct Ethernet connection not old You'll need to obtain (or write) a driver for the RFID device. The driver would most likely be implemented as a kernel module; there'd be no way to write a driver for a USB device in Gambas as far as I know. Once you have a driver, you should be able to talk to the device over /dev/something-or-other. > RS232. I have no problem with ethernet since there's a gambas > component for handling that. Regarding to USB<-->Serial adapter > means add new hardware again ? It costs then. Nando misunderstood your request and my response; I seriously doubt a USB to serial adaptor is going to help you talk to a USB RFID device. Rob From nando_f at ...951... Mon Jul 18 13:34:12 2005 From: nando_f at ...951... (nando) Date: Mon, 18 Jul 2005 07:34:12 -0400 Subject: [Gambas-user] USB Port In-Reply-To: <200507171740.32939.sourceforge-raindog2@...94...> References: <42D6D9C7.70700@...626...> <200507160748.39397.sourceforge-raindog2@...94...> <1121573929.42d9dc2976c47@...416...> <200507171740.32939.sourceforge-raindog2@...94...> Message-ID: <20050718112911.M95047@...951...> The USB<->Serial was just an example. The RFID device may already be supported in the kernel as /dev/something-or-other if the RFID device's internal firmware talks as known devices... For example: a USB barcode scanned would work because it works like HID just like a keyboard. In my opinnion, a RFID device would reasonally input characters just like a keyboard. It may actually be /dev/ttyUSB0 or similar. -Fernando ---------- Original Message ----------- From: Rob To: gambas-user at lists.sourceforge.net Sent: Sun, 17 Jul 2005 17:40:32 -0400 Subject: Re: [Gambas-user] USB Port > On Sunday 17 July 2005 00:18, budi at ...415... wrote: > > Well actually it's for accesing RFID device which using USB. Mostly > > new device now using USB or Direct Ethernet connection not old > > You'll need to obtain (or write) a driver for the RFID device. The > driver would most likely be implemented as a kernel module; there'd > be no way to write a driver for a USB device in Gambas as far as I > know. Once you have a driver, you should be able to talk to the > device over /dev/something-or-other. > > > RS232. I have no problem with ethernet since there's a gambas > > component for handling that. Regarding to USB<-->Serial adapter > > means add new hardware again ? It costs then. > > Nando misunderstood your request and my response; I seriously doubt > a USB to serial adaptor is going to help you talk to a USB RFID device. > > Rob > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From mehmetturkoglu at ...626... Mon Jul 18 23:24:05 2005 From: mehmetturkoglu at ...626... (mehmet turkoglu) Date: Tue, 19 Jul 2005 00:24:05 +0300 Subject: [Gambas-user] gambas tutorial Message-ID: <5b4d418050718142440b2b6e6@...627...> Hello First of all sorry for my ennglish, because it is very poor. I want to learn gambas. I know very little visual basic. I am looking a good document for beginners which teaches gambas very well. Thanks -- Mehmet Recep T?rko?lu ?T? Mining Engineering jabber: turkoglu at ...646... msn: turkoglu1983 at ...67... turkoglu at ...1053... -------------- next part -------------- An HTML attachment was scrubbed... URL: From jfb3 at ...1054... Tue Jul 19 06:47:50 2005 From: jfb3 at ...1054... (John Bell) Date: Mon, 18 Jul 2005 23:47:50 -0500 (CDT) Subject: [Gambas-user] New Project Wizard - OK Button nevert enabled Message-ID: <34715.206.109.43.42.1121748470.squirrel@...1055...> I choose "New Project", select a project type, enter a name and a title. Then, on the next ~page~ of the wizard, the "OK" button is never enabled. I've tried creating a directory that matches the project name, not having a directory, creating the directory in that dialog, etc. No joy. Gentoo Gambas 1.0.6 KDE 3.4.1 Kernel 2.6.11 Qt 3.3.4 /jfb3 From oreip at ...1... Tue Jul 19 08:24:35 2005 From: oreip at ...1... (PV) Date: Tue, 19 Jul 2005 08:24:35 +0200 Subject: [Gambas-user] New Project Wizard - OK Button nevert enabled In-Reply-To: <34715.206.109.43.42.1121748470.squirrel@...1055...> References: <34715.206.109.43.42.1121748470.squirrel@...1055...> Message-ID: <42DC9CA3.6070603@...1...> On 19/07/2005 06:47, John Bell wrote: > I choose "New Project", select a project type, enter a name and a title. > Then, on the next ~page~ of the wizard, the "OK" button is never enabled. You still have to proceed with the "Next" button: the "OK" button is enabled only in the very last stage of the wizard. Ciao, Piero From elentirmo at ...20... Tue Jul 19 14:54:57 2005 From: elentirmo at ...20... (Marco Bauer) Date: Tue, 19 Jul 2005 14:54:57 +0200 Subject: [Gambas-user] Return a String from a dialog/form Message-ID: <200507191454.58438.elentirmo@...20...> Hi everyone, I tried to build a form which should return a string value to the main form when closed. I know this works with boolean values but with string values I get the runtime error "Type mismatched: wanted Integer, got String instead". Did I completly mess up or what did I wrong? Can please somebody help me (you find attached the corresponding class-file and the call from the main form). Thanks. Marco ' Main file ... sNeuePosition = FInputPosition.Run(sPosition) ... ' Gambas class file PUBLIC SUB _new(sPosition AS String) DIM sArray AS String[] sArray = Split(sPosition, " ") txtPosition.Text = sArray[0] spnAmZug.Value = CInt(sArray[1]) END STATIC PUBLIC FUNCTION Run(sPosition AS String) AS String DIM hForm AS Form hForm = NEW FInputPosition(sPosition) RETURN hForm.ShowModal() END PUBLIC SUB btnCancel_Click() ME.Close(" ") END PUBLIC SUB btnOk_Click() IF PositionErlaubt() = TRUE THEN ME.Close(txtPosition.Text & " " & CStr(spnAmZug.Value)) ELSE Message.Error("This is not a legal position! Please try again!") END IF END PRIVATE FUNCTION PositionErlaubt() AS Boolean RETURN TRUE END From PTaylor at ...1056... Tue Jul 19 17:00:31 2005 From: PTaylor at ...1056... (Taylor, Phillip) Date: Tue, 19 Jul 2005 11:00:31 -0400 Subject: [Gambas-user] Using Forms Message-ID: <62D8B6DDB6BDD4119D9C00902773212607494D38@...1057...> Hi Can you please tell me if the compiler will accept these commands or can you give ne a example of how to do it. Form-name.close Form-name.show Form-name.hide Thanks Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: From PTaylor at ...1056... Tue Jul 19 17:33:30 2005 From: PTaylor at ...1056... (Taylor, Phillip) Date: Tue, 19 Jul 2005 11:33:30 -0400 Subject: [Gambas-user] FW: Using Forms Message-ID: <62D8B6DDB6BDD4119D9C00902773212607494D3C@...1057...> > Hi > > Can you please tell me if the compiler will accept these commands or can > you give ne a example of how to do it. > > Form-name.close > Form-name.show > Form-name.hide > > Thanks > Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Tue Jul 19 20:33:18 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 19 Jul 2005 20:33:18 +0200 Subject: [Gambas-user] TRY syntax problem In-Reply-To: <20050716235608.M61344@...951...> References: <20050716235608.M61344@...951...> Message-ID: <200507192033.18678.gambas@...1...> On Sunday 17 July 2005 01:57, nando wrote: > IF x = 3 THEN TRY MKDIR "temp_folder" > > does not compile as a one-line if. > -Fernando > What version of gambas do you use ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jul 19 20:36:10 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 19 Jul 2005 20:36:10 +0200 Subject: [Gambas-user] Return a String from a dialog/form In-Reply-To: <200507191454.58438.elentirmo@...20...> References: <200507191454.58438.elentirmo@...20...> Message-ID: <200507192036.10291.gambas@...1...> On Tuesday 19 July 2005 14:54, Marco Bauer wrote: > Hi everyone, > > I tried to build a form which should return a string value to the main form > when closed. I know this works with boolean values but with string values I > get the runtime error "Type mismatched: wanted Integer, got String > instead". > > Did I completly mess up or what did I wrong? Can please somebody help me > (you find attached the corresponding class-file and the call from the main > form). > > Thanks. > Marco > > > ' Main file > ... > sNeuePosition = FInputPosition.Run(sPosition) > ... > > ' Gambas class file > PUBLIC SUB _new(sPosition AS String) > DIM sArray AS String[] > > sArray = Split(sPosition, " ") > > txtPosition.Text = sArray[0] > spnAmZug.Value = CInt(sArray[1]) > END > > STATIC PUBLIC FUNCTION Run(sPosition AS String) AS String > DIM hForm AS Form > > hForm = NEW FInputPosition(sPosition) > RETURN hForm.ShowModal() > END > > PUBLIC SUB btnCancel_Click() > ME.Close(" ") > END > > PUBLIC SUB btnOk_Click() > IF PositionErlaubt() = TRUE THEN > ME.Close(txtPosition.Text & " " & CStr(spnAmZug.Value)) > ELSE > Message.Error("This is not a legal position! Please try again!") > END IF > END > > PRIVATE FUNCTION PositionErlaubt() AS Boolean > RETURN TRUE > END > Me.Close() argument is an integer, not a string! If you want to return something more complex than an integer in a form, put them in static public variables. Look in the IDE or database manager source codes. You will find many dialog boxes, and I did this way :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From elentirmo at ...20... Tue Jul 19 21:22:41 2005 From: elentirmo at ...20... (Marco Bauer) Date: Tue, 19 Jul 2005 21:22:41 +0200 Subject: [Gambas-user] Return a String from a dialog/form In-Reply-To: <200507192036.10291.gambas@...1...> References: <200507191454.58438.elentirmo@...20...> <200507192036.10291.gambas@...1...> Message-ID: <200507192122.42163.elentirmo@...20...> Am Dienstag, 19. Juli 2005 20:36 schrieb Benoit Minisini: > On Tuesday 19 July 2005 14:54, Marco Bauer wrote: > > Hi everyone, > > > > I tried to build a form which should return a string value to the main > > form when closed. I know this works with boolean values but with string > > values I get the runtime error "Type mismatched: wanted Integer, got > > String instead". > > > > Did I completly mess up or what did I wrong? Can please somebody help me > > (you find attached the corresponding class-file and the call from the > > main form). > > > > Thanks. > > Marco > > > > > > ' Main file > > ... > > sNeuePosition = FInputPosition.Run(sPosition) > > ... > > > > ' Gambas class file > > PUBLIC SUB _new(sPosition AS String) > > DIM sArray AS String[] > > > > sArray = Split(sPosition, " ") > > > > txtPosition.Text = sArray[0] > > spnAmZug.Value = CInt(sArray[1]) > > END > > > > STATIC PUBLIC FUNCTION Run(sPosition AS String) AS String > > DIM hForm AS Form > > > > hForm = NEW FInputPosition(sPosition) > > RETURN hForm.ShowModal() > > END > > > > PUBLIC SUB btnCancel_Click() > > ME.Close(" ") > > END > > > > PUBLIC SUB btnOk_Click() > > IF PositionErlaubt() = TRUE THEN > > ME.Close(txtPosition.Text & " " & CStr(spnAmZug.Value)) > > ELSE > > Message.Error("This is not a legal position! Please try again!") > > END IF > > END > > > > PRIVATE FUNCTION PositionErlaubt() AS Boolean > > RETURN TRUE > > END > > Me.Close() argument is an integer, not a string! > > If you want to return something more complex than an integer in a form, put > them in static public variables. Look in the IDE or database manager source > codes. You will find many dialog boxes, and I did this way :-) > > Regards, Thanks Benoit, could've thought of this myself. :-) I will give the gambas source a try. Regards, Marco From gambas at ...1... Tue Jul 19 21:00:13 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 19 Jul 2005 21:00:13 +0200 Subject: [Gambas-user] Release of gambas 1.0.9 Message-ID: <200507192100.13943.gambas@...1...> Hi, If you are not on holidays, here is a new release of the stable version! Here is the ChangeLog: --8<--------------------------------------------------------------------- * This version compiles with gcc 4.0 without errors. DEVELOPMENT ENVIRONMENT * BUG: The packager now keeps the case of the project name everywhere. * BUG: Fix a bug in the file selector with symbolic link to directories. DATABASE MANAGER * Now text fields with no text limit are edited with a multiline TextArea control. * Now the rename table dialog box displays the table type for MySQL databases. EXAMPLES * BUG: In the Notepad example, the 'modified' flag now displays correctly in the window title. INTERPRETER * BUG: The date functions does not ignore the part of the date smaller than the second anymore. CStr(Now) prints something like that: '07/18/2005 11:35:30.746' QT COMPONENT * DrawingArea paint events were optimized. DATABASE COMPONENT * BUG: When you create a record with DB.Create(), the fields take their default value now. * BUG: The milliseconds part of date fields is correctly handled now, and the value of date fields is correctly returned! ------------------------------------------------------------------------- Enjoy it! -- Benoit Minisini mailto:gambas at ...1... From budi.a.gusandi at ...626... Wed Jul 20 05:39:30 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Wed, 20 Jul 2005 10:39:30 +0700 Subject: [Gambas-user] COMMAND LINE ARGUMENT In-Reply-To: <200507192100.13943.gambas@...1...> References: <200507192100.13943.gambas@...1...> Message-ID: <42DDC772.5080603@...415...> Hi All, I've 2 questions : 1. Is it possible to add command line argument to console application created with gambas ? for example i have executable myapp that will connect to any port. So i want to call like myapp -1 to connect to port 1 or myapp -3 etc. 2. What gambas system files should i copy to a new linux box in order to run console app we create ? to what directory ? Thank you and Regards, Budi From m0nty at ...31... Wed Jul 20 14:24:35 2005 From: m0nty at ...31... (monty) Date: Wed, 20 Jul 2005 13:24:35 +0100 Subject: [Gambas-user] EXEC - Command Message-ID: <200507201324.35709.m0nty@...31...> Hello. If you use the EXEC Command with an App that uses lots of Arguments and the User can select them in a Dialog for Example, you have to write Monstercode to get an EXEC-Command for each Possibilitie or use some strange Tricks. A Command like this besides the normal EXEC maybe makes it easier: EXEC[ AppName, ArgumentsCount as INTEGER, ArgumentsArray as STRING ] Just an Idea. Michael Galm From sztakacs at ...159... Wed Jul 20 15:05:55 2005 From: sztakacs at ...159... (Szilard) Date: Wed, 20 Jul 2005 09:05:55 -0400 Subject: [Gambas-user] Statement separator in Gambas In-Reply-To: <200507192100.13943.gambas@...1...> References: <200507192100.13943.gambas@...1...> Message-ID: <42DE4C33.2000008@...159...> Is there another way to terminate a statement in Gambas, other than end of line? Visual basic and other classic basics support the : colon separator, while C supports ; and ignores end of line. Is there a way I can put more than 1 short statement on a single line - I think it makes the code more readable: For instance: IF BTst(datax[2], 0) THEN d2$ = d2$ & "MIN" IF BTst(datax[2], 1) THEN d2$ = d2$ & "REL" IF BTst(datax[2], 2) THEN d2$ = d2$ & "hFE" IF BTst(datax[2], 3) THEN d2$ = d2$ & "%" IF BTst(datax[2], 4) THEN d2$ = d2$ & "S" IF BTst(datax[2], 5) THEN d2$ = d2$ & "dBm" IF BTst(datax[2], 6) THEN d2$ = d2$ & "n" : curexponent=-9 : ENDIF IF BTst(datax[2], 7) THEN d2$ = d2$ & "u" : curexponent=-6 : ENDIF IF BTst(datax[1], 0) THEN d2$ = d2$ & "m": curexponent = -3 : ENDIF IF BTst(datax[1], 1) THEN d2$ = d2$ & "V" IF BTst(datax[1], 2) THEN d2$ = d2$ & "A" IF BTst(datax[1], 3) THEN d2$ = d2$ & "F" IF BTst(datax[1], 4) THEN d2$ = d2$ & "M": curexponent=6 : ENDIF IF BTst(datax[1], 5) THEN d2$ = d2$ & "K": curexponent=3 : ENDIF IF BTst(datax[1], 6) THEN d2$ = d2$ & "Ohm" IF BTst(datax[1], 7) THEN d2$ = d2$ & "Hz" compared to: IF BTst(datax[2], 0) THEN d2$ = d2$ & "MIN" IF BTst(datax[2], 1) THEN d2$ = d2$ & "REL" IF BTst(datax[2], 2) THEN d2$ = d2$ & "hFE" IF BTst(datax[2], 3) THEN d2$ = d2$ & "%" IF BTst(datax[2], 4) THEN d2$ = d2$ & "S" IF BTst(datax[2], 5) THEN d2$ = d2$ & "dBm" IF BTst(datax[2], 6) THEN d2$ = d2$ & "n" curexponent=-9 END IF IF BTst(datax[2], 7) THEN d2$ = d2$ & "u" curexponent=-6 ENDIF IF BTst(datax[1], 0) THEN d2$ = d2$ & "m" curexponent = -3 ENDIF IF BTst(datax[1], 1) THEN d2$ = d2$ & "V" IF BTst(datax[1], 2) THEN d2$ = d2$ & "A" IF BTst(datax[1], 3) THEN d2$ = d2$ & "F" IF BTst(datax[1], 4) THEN d2$ = d2$ & "M" curexponent=6 ENDIF IF BTst(datax[1], 5) THEN d2$ = d2$ & "K" curexponent=3 ENDIF IF BTst(datax[1], 6) THEN d2$ = d2$ & "Ohm" IF BTst(datax[1], 7) THEN d2$ = d2$ & "Hz" Also SELECT CASE datax[i] CASE &HD7: d1$ = "0" CASE &H50: d1$ = "1" CASE &HB5: d1$ = "2" CASE &HF1: d1$ = "3" CASE &H72: d1$ = "4" CASE &HE3: d1$ = "5" CASE &HE7: d1$ = "6" CASE &H51: d1$ = "7" CASE &HF7: d1$ = "8" CASE &HF3: d1$ = "9" CASE &H87: d1$ = " C" CASE &H27: d1$ = " F" CASE &H37: d1$ = "P" CASE &HA7: d1$ = "E" CASE &H64: d1$ = "n" CASE ELSE: d1$ = " " END SELECT compared to SELECT CASE datax[i] CASE &HD7 d1$ = "0" CASE &H50 d1$ = "1" CASE &HB5 d1$ = "2" CASE &HF1 d1$ = "3" CASE &H72 d1$ = "4" CASE &HE3 d1$ = "5" CASE &HE7 d1$ = "6" CASE &H51 d1$ = "7" CASE &HF7 d1$ = "8" CASE &HF3 d1$ = "9" CASE &H87 d1$=" C" CASE &H27 d1$=" F" CASE &H37 d1$="P" CASE &HA7 d1$="E" CASE &H64 d1$="n" CASE ELSE d1$=" " END SELECT From sourceforge-raindog2 at ...94... Wed Jul 20 16:58:22 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 20 Jul 2005 10:58:22 -0400 Subject: [Gambas-user] COMMAND LINE ARGUMENT In-Reply-To: <42DDC772.5080603@...415...> References: <200507192100.13943.gambas@...1...> <42DDC772.5080603@...415...> Message-ID: <200507201058.22188.sourceforge-raindog2@...94...> On Tuesday 19 July 2005 23:39, BUDI ARIEF GUSANDI wrote: > 1. Is it possible to add command line argument to console > application created with gambas ? for example i have executable > myapp that will connect to any port. So i want to call like myapp > -1 to connect to port 1 or myapp -3 etc. http://www.binara.com/gambas-wiki/static/Gambas/GbApplicationRArgs.html > 2. What gambas system files should i copy to a new linux box in > order to run console app we create ? to what directory ? With the current development version, it's these files (on Mandrake 10.1): /usr/bin/gbi2 /usr/bin/gbx2 /usr/lib/gambas2/gb.component /usr/lib/gambas2/gb.la /usr/lib/gambas2/gb.so /usr/lib/gambas2/gb.so.0 /usr/lib/gambas2/gb.so.0.0.0 /usr/share/gambas2/info/gb.info /usr/share/gambas2/info/gb.list I also have the gb.db component installed on that particular machine but didn't include its files since you didn't mention it. Rob From nando_f at ...951... Wed Jul 20 18:26:14 2005 From: nando_f at ...951... (nando) Date: Wed, 20 Jul 2005 12:26:14 -0400 Subject: [Gambas-user] TRY syntax problem In-Reply-To: <200507192033.18678.gambas@...1...> References: <20050716235608.M61344@...951...> <200507192033.18678.gambas@...1...> Message-ID: <20050720162606.M21871@...951...> 1.06 ---------- Original Message ----------- From: Benoit Minisini To: gambas-user at lists.sourceforge.net Sent: Tue, 19 Jul 2005 20:33:18 +0200 Subject: Re: [Gambas-user] TRY syntax problem > On Sunday 17 July 2005 01:57, nando wrote: > > IF x = 3 THEN TRY MKDIR "temp_folder" > > > > does not compile as a one-line if. > > -Fernando > > > > What version of gambas do you use ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration > Strategies from IBM. Find simple to follow Roadmaps, straightforward > articles, informative Webcasts and more! Get everything you need to > get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From Lamego at ...1007... Thu Jul 21 19:54:24 2005 From: Lamego at ...1007... (=?ISO-8859-1?Q?Jo=E3o_Pinto?=) Date: Thu, 21 Jul 2005 18:54:24 +0100 Subject: [Gambas-user] [Fwd: Re: "Make installation" crash] Message-ID: <42DFE150.3050608@...1007...> Here it is: lamego at ...1008...:~$ locale LANG=pt_PT at ...33... LC_CTYPE="pt_PT at ...33..." LC_NUMERIC="pt_PT at ...33..." LC_TIME="pt_PT at ...33..." LC_COLLATE="pt_PT at ...33..." LC_MONETARY="pt_PT at ...33..." LC_MESSAGES="pt_PT at ...33..." LC_PAPER="pt_PT at ...33..." LC_NAME="pt_PT at ...33..." LC_ADDRESS="pt_PT at ...33..." LC_TELEPHONE="pt_PT at ...33..." LC_MEASUREMENT="pt_PT at ...33..." LC_IDENTIFICATION="pt_PT at ...33..." LC_ALL= Benoit Minisini wrote: >On Sunday 17 July 2005 20:56, you wrote: > > >>Hello Benoit, >>I am testing gambas2-1.9.12 . >>It crashes when I try the "Make an installation package", next, next . >>The backtrace: >> >>gdb) bt >>#0 0x4b756a30 in strcat () from /lib/tls/i686/cmov/libc.so.6 >>#1 0x0805c6ae in fill_local_info () at gbx_local.c:552 >>#2 0x0804dcde in EXEC_call_native (exec=0x80628ae , >>object=0x0, >> type=980315706, param=0x8077830) at gbx_exec.c:771 >>#3 0x0804f1ac in EXEC_pop_unknown () at gbx_exec_pop.c:198 >>#4 0x0804f5fe in EXEC_loop () at gbx_exec_loop.c:684 >>#5 0x0804db3a in EXEC_function_real (keep_ret_value=1 '\001') >> at gbx_exec.c:669 >>#6 0x0805b353 in GB_Raise (event_id=980315706, nparam=0) at gbx_api.c:440 >>#7 0xb7e328a6 in ?? () >> >>Best regards, >> >> > >It crashes while trying to change the system locale! > >Can you send me the contents of your language environment variables: LANG, >LANGUAGE, and LC_* > >Thanks in advance, > >Regards, > > > > -- Jo?o Lu?s Marques Pinto PTlink IRC Network http://www.pt-link.net PTlink IRC Software http://software.pt-link.net -- Jo?o Lu?s Marques Pinto PTlink IRC Network http://www.pt-link.net PTlink IRC Software http://software.pt-link.net From sourceforge-raindog2 at ...94... Thu Jul 21 20:17:32 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 21 Jul 2005 14:17:32 -0400 Subject: [Gambas-user] gambas 1.0.9 packages for Mandrake 10.1 Message-ID: <200507211417.32095.sourceforge-raindog2@...94...> http://www.kudla.org/index.php?wl_mode=more&wl_eid=79 There are also packages of 1.9.12 available, but use at your own risk ;) Rob From budi.a.gusandi at ...626... Fri Jul 22 04:27:20 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 22 Jul 2005 09:27:20 +0700 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <200507211417.32095.sourceforge-raindog2@...94...> References: <200507211417.32095.sourceforge-raindog2@...94...> Message-ID: <42E05988.5070601@...415...> Hi Rob, I'm thinking about the cost should we spend for creating application in linux and windows, i dont know it just come in my mind while i was taking a shower this morning ;) I can use Linux and Gambas and SQLite Free, no charge. But using QT interface will cost some money for commercial app. So which one expensive than making program in windows which only costs for USD 70 Windows OS License ? GTK is one thing to be considered as main toolkit in gambas then since it's free as well. Just though... Comment welcome. Regards, Budi From sourceforge-raindog2 at ...94... Fri Jul 22 06:31:25 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 22 Jul 2005 00:31:25 -0400 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <42E05988.5070601@...415...> References: <200507211417.32095.sourceforge-raindog2@...94...> <42E05988.5070601@...415...> Message-ID: <200507220031.25904.sourceforge-raindog2@...94...> On Thursday 21 July 2005 22:27, BUDI ARIEF GUSANDI wrote: > I can use Linux and Gambas and SQLite Free, no charge. But using QT > interface will cost some money for commercial app. So which one > expensive than making program in windows which only costs for USD > 70 Windows OS License ? GTK is one thing to be considered as main > toolkit in gambas then since it's free as well. Just though... I have always found it ironic when people want to use free software to create non-free software, and I don't support doing so (if proprietary software authors would like their Gambas questions answered, I'll be happy to do so provided they pay me money like any of my other clients) but Gtk is an obvious answer to this. Whether it becomes the default toolkit in Gambas is really up to Benoit.... I prefer how Qt looks and acts, myself, but I wouldn't complain too much if Gambas moved in a Gtk direction as long as the Qt one is kept up. Rob From gambasfr at ...11... Fri Jul 22 10:31:38 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Fri, 22 Jul 2005 10:31:38 +0200 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <200507220031.25904.sourceforge-raindog2@...94...> References: <200507211417.32095.sourceforge-raindog2@...94...> <42E05988.5070601@...415...> <200507220031.25904.sourceforge-raindog2@...94...> Message-ID: <200507221031.38703.gambasfr@...11...> Le Vendredi 22 Juillet 2005 06:31, Rob a ?crit?: > On Thursday 21 July 2005 22:27, BUDI ARIEF GUSANDI wrote: > > I can use Linux and Gambas and SQLite Free, no charge. But using QT > > interface will cost some money for commercial app. So which one > > expensive than making program in windows which only costs for USD > > 70 Windows OS License ? GTK is one thing to be considered as main > > toolkit in gambas then since it's free as well. Just though... > > I have always found it ironic when people want to use free software to > create non-free software, and I don't support doing so (if > proprietary software authors would like their Gambas questions > answered, I'll be happy to do so provided they pay me money like any > of my other clients) but Gtk is an obvious answer to this. > > Whether it becomes the default toolkit in Gambas is really up to > Benoit.... I prefer how Qt looks and acts, myself, but I wouldn't > complain too much if Gambas moved in a Gtk direction as long as the > Qt one is kept up. > > Rob why noot the both ? why not an ide with the ability to be qt or gtk ? Fabien > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...282... Fri Jul 22 11:07:11 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 22 Jul 2005 11:07:11 +0200 Subject: [Gambas-user] gb.gtk / ReplaceSyntax Message-ID: <42E0B73F.6090301@...282...> Hi: 1) Here's gb.gtk 050722 "yesterday was my birthday" : * FIXED: "Show" calls to "ShowModal" if current Window is modal. * NEW: 8 bytes less wasted per container. * FIXED: "Frame" children position fixed. * FIXED: "TabStrip" can display accelerators in labels. BackGround and ForeGround properties fixed. Some less memory wasted per TabStrip widget. * NEW: "Window" Maximized, Minimized and FullScreen properties are working. State removed. * FIXED: "Dialog" class now implements Dialog.paths and OpenFile(Multi) to be compatible with the gb.qt component. * FIXED: "Window" now has two related properties "Mask" and "Picture" in order to be compatible with the gb.qt implementation. Masking works correctly now. Using a Picture with Mask=FALSE just uses the Picture as background for the Window. * FIXED: "Plugger" control now is called "Embedder" in order to be compatible with the gb.qt implementation. Methods, Events and Properties names changed too. * NEW: "Application.Embedder" added to be compatible with gb.qt implementation. Beno?t, you can find a function there for you (placed at gtrayicon.cpp), called XTray_RequestDock: void XTray_RequestDock(Display *xdisplay,Window icon) You just need to create a window able to work with the XEMBED protocol, (I used GtkPlug, I think you can use QtXEmbedClient window ), and after it is realized, pass the default display and the native window id of that Window to the function, to embed that window in the System Tray. I suppose you will add a QImage inside the QTXembedClient widget to show the icon. The rest of code (event, properties, methods) does not need to be shared, as the widget works exactly as if it were placed in a normal window. 2) I've updated the ReplaceSyntax miniprogram to help translating source code to the Gambas-1.9.12 version: http://www.binara.com/gambas-wiki/bin/view/Gambas/ChangeProcessSyntax Regards, D. Campos From budi.a.gusandi at ...626... Fri Jul 22 11:19:52 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Fri, 22 Jul 2005 16:19:52 +0700 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <200507221031.38703.gambasfr@...11...> References: <200507211417.32095.sourceforge-raindog2@...94...> <42E05988.5070601@...415...> <200507220031.25904.sourceforge-raindog2@...94...> <200507221031.38703.gambasfr@...11...> Message-ID: <42E0BA38.9000205@...415...> Fabien Bodard wrote: >Le Vendredi 22 Juillet 2005 06:31, Rob a ?crit : > > >>On Thursday 21 July 2005 22:27, BUDI ARIEF GUSANDI wrote: >> >> >>>I can use Linux and Gambas and SQLite Free, no charge. But using QT >>>interface will cost some money for commercial app. So which one >>>expensive than making program in windows which only costs for USD >>>70 Windows OS License ? GTK is one thing to be considered as main >>>toolkit in gambas then since it's free as well. Just though... >>> >>> >>I have always found it ironic when people want to use free software to >>create non-free software, and I don't support doing so (if >>proprietary software authors would like their Gambas questions >>answered, I'll be happy to do so provided they pay me money like any >>of my other clients) but Gtk is an obvious answer to this. >> >>Whether it becomes the default toolkit in Gambas is really up to >>Benoit.... I prefer how Qt looks and acts, myself, but I wouldn't >>complain too much if Gambas moved in a Gtk direction as long as the >>Qt one is kept up. >> >>Rob >> >> > >why noot the both ? why not an ide with the ability to be qt or gtk ? > >Fabien > > > Oh yes, of course both of them. Only GTK should be main Toolkit by default, since it's free. I dont think QT should be removed, it should still and always be there. No problem anyway...it's just an opinion, since we are in some free and commercial world ;) Budi From gambas at ...1... Fri Jul 22 14:22:29 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 22 Jul 2005 14:22:29 +0200 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <42E0BA38.9000205@...415...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507221031.38703.gambasfr@...11...> <42E0BA38.9000205@...415...> Message-ID: <200507221422.29804.gambas@...1...> On Friday 22 July 2005 11:19, BUDI ARIEF GUSANDI wrote: > Fabien Bodard wrote: > >Le Vendredi 22 Juillet 2005 06:31, Rob a ?crit : > >>On Thursday 21 July 2005 22:27, BUDI ARIEF GUSANDI wrote: > >>>I can use Linux and Gambas and SQLite Free, no charge. But using QT > >>>interface will cost some money for commercial app. So which one > >>>expensive than making program in windows which only costs for USD > >>>70 Windows OS License ? GTK is one thing to be considered as main > >>>toolkit in gambas then since it's free as well. Just though... > >> > >>I have always found it ironic when people want to use free software to > >>create non-free software, and I don't support doing so (if > >>proprietary software authors would like their Gambas questions > >>answered, I'll be happy to do so provided they pay me money like any > >>of my other clients) but Gtk is an obvious answer to this. > >> > >>Whether it becomes the default toolkit in Gambas is really up to > >>Benoit.... I prefer how Qt looks and acts, myself, but I wouldn't > >>complain too much if Gambas moved in a Gtk direction as long as the > >>Qt one is kept up. > >> > >>Rob > > > >why noot the both ? why not an ide with the ability to be qt or gtk ? > > > >Fabien > > Oh yes, of course both of them. Only GTK should be main Toolkit by > default, since it's free. I dont think QT should be removed, it should > still and always be there. No problem anyway...it's just an opinion, > since we are in some free and commercial world ;) > > Budi > 1) GTK+ *and* QT are both free software. 2) I know QT better than GTK+, but I want Gambas to be toolkit agnostic. I'd like to have a GUI toolkit based on the Enlightenment libraries for example :-) 3) GTK+ has just a special licence that allows you to make proprietary software with it. 4) I am agree with Rob: if you want to make proprietary software, use proprietary tools. It sounds more logical, but you usually have to develop in the unknown with tools full of bugs and often no support :-) 5) What kind of proprietary software will you make ? Do you expect to sell thousands of copy without making support, like who we know ? Otherwise, if you have less clients, make the software free, and let them pay for the support. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 22 14:14:43 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 22 Jul 2005 14:14:43 +0200 Subject: [Gambas-user] EXEC - Command In-Reply-To: <200507201324.35709.m0nty@...31...> References: <200507201324.35709.m0nty@...31...> Message-ID: <200507221414.44024.gambas@...1...> On Wednesday 20 July 2005 14:24, monty wrote: > Hello. > > If you use the EXEC Command with an App that uses lots of Arguments > and the User can select them in a Dialog for Example, you have to write > Monstercode to get an EXEC-Command for each Possibilitie or use > some strange Tricks. > > A Command like this besides the normal EXEC maybe makes it easier: > > EXEC[ AppName, ArgumentsCount as INTEGER, ArgumentsArray as STRING ] > > Just an Idea. > > Michael Galm > The second argument of EXEC is just a string array. The '[' / ']' are not a syntax specific to EXEC, it is just a function that creates array, a synonymous for Array(). You can write: DIM aExec AS NEW String[] aExec.Add(myCommand) aExec.Add(myArg1) ... aExec.Add(myArgN) EXEC aExec ... Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Fri Jul 22 16:38:41 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 22 Jul 2005 16:38:41 +0200 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <42E0BA38.9000205@...415...> References: <200507211417.32095.sourceforge-raindog2@...94...> <42E05988.5070601@...415...> <200507220031.25904.sourceforge-raindog2@...94...> <200507221031.38703.gambasfr@...11...> <42E0BA38.9000205@...415...> Message-ID: <42E104F1.7030400@...512...> BUDI ARIEF GUSANDI a ?crit : > Fabien Bodard wrote: > >> Le Vendredi 22 Juillet 2005 06:31, Rob a ?crit : >> >> >>> On Thursday 21 July 2005 22:27, BUDI ARIEF GUSANDI wrote: >>> >>> >>>> I can use Linux and Gambas and SQLite Free, no charge. But using QT >>>> interface will cost some money for commercial app. So which one >>>> expensive than making program in windows which only costs for USD >>>> 70 Windows OS License ? GTK is one thing to be considered as main >>>> toolkit in gambas then since it's free as well. Just though... >>>> >>> No, you can make commercial software with QT or gtk+, you don't need to buy a licence from QT ! But you must release it as GPL licence with QT (GPL), but not with gtk+ (LGPL) as GPL do not allow linking instead of gtk+. But as binaries (bytecode) produce with gambas aren't link with libraries, perhaps it's possible to release them as proprietary ... ? >>> I have always found it ironic when people want to use free software to >>> create non-free software, and I don't support doing so (if >>> proprietary software authors would like their Gambas questions >>> answered, I'll be happy to do so provided they pay me money like any >>> of my other clients) but Gtk is an obvious answer to this. >>> Yes if you want make proprietary software, use proprietary software .. free software isn't only software, it's a "way of life" ! ... No Software Patents, Creative Common licences, .... Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From sourceforge-raindog2 at ...94... Fri Jul 22 16:51:31 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 22 Jul 2005 10:51:31 -0400 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <42E104F1.7030400@...512...> References: <200507211417.32095.sourceforge-raindog2@...94...> <42E0BA38.9000205@...415...> <42E104F1.7030400@...512...> Message-ID: <200507221051.32008.sourceforge-raindog2@...94...> On Friday 22 July 2005 10:38, Laurent Carlier wrote: > No, you can make commercial software with QT or gtk+, you don't > need to buy a licence from QT ! But you must release it as GPL > licence with QT (GPL), but not with gtk+ (LGPL) as GPL do not allow > linking instead of gtk+. Not to get off topic or anything, but I would love to see a shrinkwrapped version of Gambas appear on store shelves someday for 20 bucks, since (as you say) there's no reason you can't have commercial GPL-licensed software. Linux really began to take off when the shrinkwrapped packages started showing up everywhere, and I think Gambas could easily do the same. (But maybe just having a Windows version eventually that didn't depend on Cygwin and could be included on TheOpenCD and similar projects would be enough.) > But as binaries (bytecode) produce with gambas aren't link with > libraries, perhaps it's possible to release them as proprietary ... > ? No.... "However, when the interpreter is extended to provide "bindings" to other facilities (often, but not necessarily, libraries), the interpreted program is effectively linked to the facilities it uses through these bindings. So if these facilities are released under the GPL, the interpreted program that uses them must be released in a GPL-compatible way." http://www.gnu.org/licenses/gpl-faq.html#IfInterpreterIsGPL Rob From m.galm at ...31... Sat Jul 23 07:33:54 2005 From: m.galm at ...31... (m.galm) Date: Sat, 23 Jul 2005 06:33:54 +0100 Subject: [Gambas-user] Re: EXEC - Command Message-ID: <200507230633.54566.m.galm@...31...> Hi. Ahhh, thx for that Information :) Michael Galm From budi.a.gusandi at ...626... Sat Jul 23 12:00:17 2005 From: budi.a.gusandi at ...626... (BUDI ARIEF GUSANDI) Date: Sat, 23 Jul 2005 17:00:17 +0700 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <200507221422.29804.gambas@...1...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507221031.38703.gambasfr@...11...> <42E0BA38.9000205@...415...> <200507221422.29804.gambas@...1...> Message-ID: <42E21531.2010504@...415...> Benoit Minisini wrote: >5) What kind of proprietary software will you make ? Do you expect to sell >thousands of copy without making support, like who we know ? Otherwise, if >you have less clients, make the software free, and let them pay for the >support. > > > I dont want to create proprietary software, i just resell hardware and wants my end users to have application which connect to my hardware, without they are woried of license fee. I will give the source as well. What i'm thinking is i dont want any body to buy the same hardwares from other distibutor and resell them and accompanied with my source code. Gosh, i will loose my market. I think i agree with rob, when gambas is totally mature and stable for real application, then a commercial license version of gambas should be there :-$ . I would have used proprietary software now if there were an easy programming and IDE like gambas ;-) Thanks anyway benoit. Regards, Budi From oystein at ...816... Sat Jul 23 16:22:05 2005 From: oystein at ...816... (Øystein Selbekk) Date: Sat, 23 Jul 2005 16:22:05 +0200 Subject: [Gambas-user] free <-> commercial software Message-ID: I just read an interesting discussion here about using Gambas and QT for commercial purposes. I acknowled the fact that people that makes free software does not like the idea that someone else use their work to earn money. I own a software company that makes and sell commercial software. I suspect that many of the user of gambas is also working at such places. I have played a while with gambas and i am VERY impressed at what you guys have accomplished so far. Question: What should i do if i want to make commercial software with Gambas? I am for instance willing to pay for a license to use gambas for commercial purposes. I would also be willing to pay for support. Wouldnt it be a good idea to do something like MySQL AB has done for many years.... They charge for commercial use and support.... Just an idea........ ;-) Oystein Selbekk From danielcampos at ...282... Sat Jul 23 16:37:05 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 23 Jul 2005 16:37:05 +0200 Subject: [Gambas-user] free <-> commercial software In-Reply-To: References: Message-ID: <42E25611.2080508@...282...> Well, at this moment, if your program is not free software: 1) If you use gb.qt <-> pay a commercial license from TrollTech ( http://www.trolltech.com ) 2) If you use gb.db.mysql <-> pay a commercial license from MySql (I suppose http://www.mysql.com is the right place) I don't know if Beno?t has plans to create a commercial Gambas distribution,in that case I suppose he should also contact with Trolltech and MySQL , in order to get commercial licenses :-) So you can already use Gambas for that pourpose, it just is not centralized, so you have not to pay to Trolltech if you use gb.gtk, and you have not to pay to MySQL if you use Postgres, for example. However, except in very special cases, propietary software is not the answer for both costumers and vendors. Rob write the programs under GPL, and their costumers are satisfied. Regards, D. Campos ?ystein Selbekk escribi?: >I just read an interesting discussion here about using Gambas and QT for commercial purposes. I acknowled the fact that people that makes free software does not like the idea that someone else use their work to earn money. I own a software company that makes and sell commercial software. I suspect that many of the user of gambas is also working at such places. >I have played a while with gambas and i am VERY impressed at what you guys have accomplished so far. >Question: What should i do if i want to make commercial software with Gambas? I am for instance willing to pay for a license to use gambas for commercial purposes. I would also be willing to pay for support. >Wouldnt it be a good idea to do something like MySQL AB has done for many years.... They charge for commercial use and support.... > >Just an idea........ ;-) > >Oystein Selbekk > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From sourceforge-raindog2 at ...94... Sat Jul 23 18:23:03 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 23 Jul 2005 12:23:03 -0400 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <42E21531.2010504@...415...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507221422.29804.gambas@...1...> <42E21531.2010504@...415...> Message-ID: <200507231223.03857.sourceforge-raindog2@...94...> On Saturday 23 July 2005 06:00, BUDI ARIEF GUSANDI wrote: > I think i agree with rob, when gambas is totally mature and stable > for real application, then a commercial license version of gambas > should be there :-$ . I think you have misunderstood me on a number of levels. 1. What I was describing was a commercially sold but still GPL version of Gambas. Even if Benoit wanted to buy a commercial license to Qt and release a proprietary version of Gambas, he couldn't, because if your code was ever developed with the GPL version of Qt, the commercial license will do you no good. (For this reason, I also would debate whether someone else buying a commercial license of Qt would be able to legally develop proprietary Gambas/Qt applications. I also wonder if the KBasic guy really threw out all his GPL KBasic code prior to buying a commercial Qt license, but that's for another list.) See what Trolltech themselves have to say about that: http://doc.trolltech.com/3.3/faq.html#4-3 2. Gambas 1.0.x is totally mature and stable enough for real applications, to which any number of my clients will attest.... I've had other things fail like CD's not automounting and network cards flaking out, but the Gambas apps have been rock solid since about version 0.80. By the time of its release, I have every expectation that Gambas 2.0 will be as well. 3. What would make a commercially sold version of Gambas possible would be a stable Windows port that doesn't require Cygwin, since Linux-only software (other than distributions of Linux) has never done well in the shrinkwrap market. I hope that either an IDE that can run under Gtk or the Windows version of Qt 4 being GPL will make this possible, though as I've said previously, many of the things that make Gambas powerful are Linux/Unix features and not Gtk or Qt features. Of course, when that happens anyone can release a shrink-wrapped version, not just Benoit, but I'm sure we could come up with some "official release" graphic that we could use to indicate its proceeds were benefiting Gambas and not someone like http://www.luxuriousity.com/ . (People like that usually rename the free software they're selling anyway, so people don't realize they're buying free software. Check their site out, it's pretty hilarious/disheartening.) Rob From lordheavy at ...512... Sat Jul 23 18:50:43 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 23 Jul 2005 18:50:43 +0200 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <200507231223.03857.sourceforge-raindog2@...94...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507221422.29804.gambas@...1...> <42E21531.2010504@...415...> <200507231223.03857.sourceforge-raindog2@...94...> Message-ID: <42E27563.9060006@...512...> Rob a ?crit : > I also wonder if the KBasic guy really threw out all his GPL KBasic > code prior to buying a commercial Qt license, but that's for another > list.) The author of code can change the licence of his code, but previous release code keep the released licence. If other author own pieces of code, he must have their agreement before change the licence or remove the code of theses authors. Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From sourceforge-raindog2 at ...94... Sat Jul 23 18:44:19 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 23 Jul 2005 12:44:19 -0400 Subject: [Gambas-user] free <-> commercial software In-Reply-To: <42E25611.2080508@...282...> References: <42E25611.2080508@...282...> Message-ID: <200507231244.19606.sourceforge-raindog2@...94...> On Saturday 23 July 2005 10:37, Daniel Campos wrote: > 1) If you use gb.qt <-> pay a commercial license from TrollTech ( > http://www.trolltech.com ) I think that before you pay for a Trolltech license you should ask Trolltech specifically about Gambas. gb.qt was developed using the GPL version of Qt, and according to their FAQ: http://doc.trolltech.com/3.3/faq.html#4-3 "our commercial license agreements only apply to software that was developed with Qt under the agreement. They do not apply to code that was developed with the Qt Open Source Edition prior to the agreement." It's unknown whether you could legally buy a Qt commercial license and then release Gambas programs using gb.qt, which was developed with the Qt Open Source Edition. For example, I'm unaware of any proprietary KDE programs, which would require linking against the KDE libraries which are GPL; proprietary developers tend to either use Qt with a commercial license, or Gtk. The people who would take issue with it are Trolltech, so someone should really ask them whether this is okay. I also think this topic has been confused because of the distinction between "commercial" and "proprietary". I have developed a couple dozen Gambas applications commercially. They are all licensed under the GPL. Sure, my clients could pass the source code along to their competitors. Why would they do that? But I think the GPL can work for shrink wrapped software in a store as well (at least where Windows software is concerned) because many Windows users have a fear of downloaded software and will only install something off of a CD that came in a shrink wrapped box. I have seen OpenOffice and Firefox for sale this way (by third parties, like http://www.oooff.com/ though I don't think theirs was what I saw in stores), and I think when the Windows port is stable and not Cygwin dependent someday (or even with Cygwin, as long as Cygwin is totally invisible to the user and there's no X stuff) this would work quite well. I grew up with a free copy of BASIC coming with every computer, meaning almost everyone got to learn how to program using an easy language if they wanted to, and it's my hope that Gambas can bring back some of that. Rob From sourceforge-raindog2 at ...94... Sat Jul 23 18:56:13 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 23 Jul 2005 12:56:13 -0400 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <42E27563.9060006@...512...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507231223.03857.sourceforge-raindog2@...94...> <42E27563.9060006@...512...> Message-ID: <200507231256.13844.sourceforge-raindog2@...94...> On Saturday 23 July 2005 12:50, Laurent Carlier wrote: > The author of code can change the licence of his code, but previous > release code keep the released licence. If other author own pieces > of code, he must have their agreement before change the licence or > remove the code of theses authors. Okay, did you go to the Trolltech licensing FAQ that I linked to? It wasn't about the author changing his license, it's that Trolltech is not willing to sell you a proprietary license for any code you've ever developed using the Free Edition. Trolltech would be the one taking issue with him, not the other authors. To quote Trolltech more fully, "Can we use the Open Source Edition while developing our non-free application and then purchase commercial licenses when we start to sell it? No: our commercial license agreements only apply to software that was developed with Qt under the agreement. They do not apply to code that was developed with the Qt Open Source Edition prior to the agreement. Any software developed with Qt without a commercial license agreement must be released as free/open source software." This is according to the Trolltech Qt FAQ, http://doc.trolltech.com/3.3/faq.html#4-3 . Rob From lordheavy at ...512... Sat Jul 23 19:21:26 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 23 Jul 2005 19:21:26 +0200 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <200507231256.13844.sourceforge-raindog2@...94...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507231223.03857.sourceforge-raindog2@...94...> <42E27563.9060006@...512...> <200507231256.13844.sourceforge-raindog2@...94...> Message-ID: <42E27C96.50202@...512...> Rob a ?crit : > > Okay, did you go to the Trolltech licensing FAQ that I linked to? It > wasn't about the author changing his license, it's that Trolltech is > not willing to sell you a proprietary license for any code you've > ever developed using the Free Edition. Trolltech would be the one > taking issue with him, not the other authors. To quote Trolltech > more fully, > > "Can we use the Open Source Edition while developing our non-free > application and then purchase commercial licenses when we start to > sell it? > > No: our commercial license agreements only apply to software that was > developed with Qt under the agreement. They do not apply to code that > was developed with the Qt Open Source Edition prior to the agreement. > Any software developed with Qt without a commercial license agreement > must be released as free/open source software." > > This is according to the Trolltech Qt FAQ, > http://doc.trolltech.com/3.3/faq.html#4-3 . > > Rob So because the "commercial license" (sigh) doesn't allow this, not the GPL one. (GPL doesn't allow linking to non-free, a commercial license is necessary). Such forbid is prohibit ? Any lawyer here ? :) Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From sourceforge-raindog2 at ...94... Sat Jul 23 20:31:57 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 23 Jul 2005 14:31:57 -0400 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <42E27C96.50202@...512...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507231256.13844.sourceforge-raindog2@...94...> <42E27C96.50202@...512...> Message-ID: <200507231431.57525.sourceforge-raindog2@...94...> On Saturday 23 July 2005 13:21, Laurent Carlier wrote: > So because the "commercial license" (sigh) doesn't allow this, not > the GPL one. (GPL doesn't allow linking to non-free, a commercial > license is necessary). > Such forbid is prohibit ? Any lawyer here ? :) As I suggested in an earlier post, I think the best idea for people who wish to develop proprietary Qt software with Gambas is to ask Trolltech specifically about Gambas programs. You know Benoit and the rest of us not going to sue you for putting out proprietary Gambas apps, so Trolltech are the ones you really need to talk to. I would also suggest that anyone who is serious enough about their "intellectual property" to want to release proprietary software should already have a lawyer available to them to deal with issues like this. You have to spend money to make money. However, also realize that my company has been in business for 2 and a half years now, we have a lawyer, and we still don't develop proprietary software except when a client specifically and adamantly requires it. The GPL is quite business-friendly, it's just not friendly to the likes of Microsoft and Adobe ;) Rob From sztakacs at ...159... Sun Jul 24 03:22:06 2005 From: sztakacs at ...159... (Szilard) Date: Sat, 23 Jul 2005 21:22:06 -0400 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <200507231223.03857.sourceforge-raindog2@...94...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507221422.29804.gambas@...1...> <42E21531.2010504@...415...> <200507231223.03857.sourceforge-raindog2@...94...> Message-ID: <42E2ED3E.4080508@...159...> You are all welcome to donate via Paypal, instead of asking for a shrinkwrap. It's plain and clear right in your face on the front page. If you're using it in a commercial environment and derive a benefit from it, from rock stable solid apps, go ahead, donate. You decide the price. I agree that a Windows/Mingw/Qt4 version would be nice. You could probably find paying customers for writing software for Windows via Gambas, paying you to develop a piece of app, even if it's released GPL, and you hand over the code too, and they can do whatever they want with it, including hiring someone else to improve it later if a train hits you, or hire you again at some later time. I don't think they are ready just yet to move to unix desktops, they are too hooked on Windows for now. I could personally use such a Gambas for Windows IDE right now, as Gambas is very easy and straightforward to use, while anything you compose with dotnet (even VB#), wxwidgets, or fltk, it's destined to break and take a lot of hairpulling and frustration to troubleshoot because of the unnecessary complexity involved, especially unnecessay for simple applications. And with the small scope and custom requirements of the clients, the GPL shouldn't be an issue in my case, unless they have some ideological problem against it, which I have no clue about. Maybe VB dotnet 3.0 will be different. It usually takes version 3.0 for MS to learn and release anything usable. We're on version 2.0 of dotnet, so in another few years.... Rob wrote: >On Saturday 23 July 2005 06:00, BUDI ARIEF GUSANDI wrote: > > >>I think i agree with rob, when gambas is totally mature and stable >>for real application, then a commercial license version of gambas >>should be there :-$ . >> >> > >I think you have misunderstood me on a number of levels. > >1. What I was describing was a commercially sold but still GPL version >of Gambas. Even if Benoit wanted to buy a commercial license to Qt >and release a proprietary version of Gambas, he couldn't, because if >your code was ever developed with the GPL version of Qt, the >commercial license will do you no good. (For this reason, I also >would debate whether someone else buying a commercial license of Qt >would be able to legally develop proprietary Gambas/Qt applications. >I also wonder if the KBasic guy really threw out all his GPL KBasic >code prior to buying a commercial Qt license, but that's for another >list.) See what Trolltech themselves have to say about that: > >http://doc.trolltech.com/3.3/faq.html#4-3 > >2. Gambas 1.0.x is totally mature and stable enough for real >applications, to which any number of my clients will attest.... I've >had other things fail like CD's not automounting and network cards >flaking out, but the Gambas apps have been rock solid since about >version 0.80. By the time of its release, I have every expectation >that Gambas 2.0 will be as well. > >3. What would make a commercially sold version of Gambas possible >would be a stable Windows port that doesn't require Cygwin, since >Linux-only software (other than distributions of Linux) has never >done well in the shrinkwrap market. I hope that either an IDE that >can run under Gtk or the Windows version of Qt 4 being GPL will make >this possible, though as I've said previously, many of the things >that make Gambas powerful are Linux/Unix features and not Gtk or Qt >features. > >Of course, when that happens anyone can release a shrink-wrapped >version, not just Benoit, but I'm sure we could come up with some >"official release" graphic that we could use to indicate its proceeds >were benefiting Gambas and not someone like >http://www.luxuriousity.com/ . (People like that usually rename the >free software they're selling anyway, so people don't realize they're >buying free software. Check their site out, it's pretty >hilarious/disheartening.) > >Rob > > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From sourceforge-raindog2 at ...94... Sun Jul 24 06:18:24 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 24 Jul 2005 00:18:24 -0400 Subject: [Gambas-user] LICENSE FEE In-Reply-To: <42E2ED3E.4080508@...159...> References: <200507211417.32095.sourceforge-raindog2@...94...> <200507231223.03857.sourceforge-raindog2@...94...> <42E2ED3E.4080508@...159...> Message-ID: <200507240016.39957.sourceforge-raindog2@...94...> On Saturday 23 July 2005 21:22, Szilard wrote: > You are all welcome to donate via Paypal, instead of asking for a > shrinkwrap. It's plain and clear right in your face on the front > page. If you're using it in a commercial environment and derive a My desire for a shrinkwrapped Gambas isn't because I feel that I'm personally not contributing enough to Gambas. It's not even that I think Gambas needs to be monetized, though I think Benoit deserves everything he eventually gets out of it. My desire for a shrinkwrapped Gambas (as well as a Windows version of Gambas) stems from my desire to have Gambas be the first thing people think of when they want to learn how to program, rather than VB.NET, Java or even Javascript. By the time you see the Paypal link, you're already on the Gambas homepage. On the other hand, if you're walking through Staples and see Gambas sitting there next to VB and the other development tools, even if you don't buy it that day you might look it up on the net and still be exposed to it. If you're a corporate user, there's very often tremendous pressure to only use software that comes in a box, preferably with a manual though that seems to be going away in recent years. In the US retail software market, shelf space gives software far more credibility than any advertising ever could. I expect this is true to some extent in other markets as well. I'm looking forward to the day when Gambas has as much mainstream appeal as OpenOffice or Firefox, and think it's important to have some goals in mind for that day. > I agree that a Windows/Mingw/Qt4 version would be nice. You could > probably find paying customers for writing software for Windows via > Gambas, paying you to develop a piece of app, even if it's released > GPL, This is my own company's software business model in a nutshell, aside from the Windows thing. Rob From danielcampos at ...282... Sun Jul 24 12:11:07 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 24 Jul 2005 12:11:07 +0200 Subject: [Gambas-user] gb.gtk 050724 Message-ID: <42E3693B.6040504@...282...> Hi: I've updated the gb.gtk version at http://gambas.gnulinex.org due to a serious bug when trying to show PNG's with transparences. This is the full changelog: 050724 - Alpha * NEW: "Picture.Copy" implemented. * FIXED: Pictures now display correctly PNG transparences. * FIXED: "Picture" class redesigned for better performance and less memory usage. * NEW: "Image" _get, _put, copy and replace methods implemented. * FIXED: 4 bytes less wasted per "PictureBox". * FIXED: 4 bytes less wasted per "ComboBox". * FIXED: Internal code reorganization and cleaning. Regards, D. Campos From danielcampos at ...282... Sun Jul 24 12:12:32 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 24 Jul 2005 12:12:32 +0200 Subject: [Gambas-user] Oops! Message-ID: <42E36990.6050205@...282...> The right path for gb.gtk is: http://gambas.gnulinex.org/gtk Sorry D. Campos From gambas at ...1... Sun Jul 24 19:02:21 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 24 Jul 2005 19:02:21 +0200 Subject: [Gambas-user] Release of gambas 1.9.13 Message-ID: <200507241902.21919.gambas@...1...> Here is a new release of the development version. Many big changes there, some of them being experimental: * The source package structure has been redesigned a little, and now uses symbolic links so that size is reduced. * The configure script does not use $(ROOT) anymore, but only $(DESTDIR). Maybe making binary packages with rpmbuild is broken... * The IDE now stored control coordinates proportionally to the system font height. THIS IS EXPERIMENTAL, BE CAREFUL WITH YOUR PROJECTS! * Extern functions can be public. * The interpreter uses mmap() to load executables and components written in Gambas. * Each component can have a part written in C/C++ and a part written in Gambas. * Enumerable container classes now know when they are enumerated so that they can safely delete their elements. * Some new functions and instructions: DEBUG, ERROR, Week(), DFree(). * Some new syntaxes in File.Dir(), File.Ext(), File.Name() and File.BaseName(). * The TrayIcon class was implemented. * The OpenGL beta component was included. And many bug fixes of course... Please read the ChangeLog carefully before using this release! 1) The IDE storing proportional coordinates stuff is a way of having dialog boxes that adapt themselves to the user screen, by looking at the size of the font it uses. To convert a project to this feature, open it, open all forms, move all of them, and save the project back. The absolute coordinates are replaced by the scaled ones. BE CAREFUL! You may lose your projects if I made a bug, as the form files are modified. 2) There is a new iterator class named Enum that is used internally to implement the FOR EACH instruction. Try this code in older versions of Gambas: --8<--------------------------------------------- DIM cCol AS NEW Collection DIM iInd AS Integer dim sElt AS String FOR iInd = 1 TO 8 cCol[iInd] = Chr$(64 + iInd) NEXT FOR EACH sElt in cCol IF sElt = "E" THEN cCol.Clear NEXT --8<--------------------------------------------- If it doesn't crash, you are lucky, but try it with valgrind... This new iterator class allows the Collection class to deal with elements removing while being enumerated. In the example, the enumeration is stopped by the Clear method. Removing one element will make the enumeration jumps it. There is three new functions in the interpreter API for component developers that have enumerable classes whose elements can disappear without notice. I will write more about that when I will start filling the new documentation system with updated information on how to program components. 3) Now components can have a part written in gambas. To do that, just add a gambas project inside the 'src' sub-directory of the component, having the same name as the component. That's all :-) Note that components Makefile.am were modified. Now they all share the same base, located in the component.am file. This file is included in all component Makefile.am, and do all the stuff of installing the *.component file, compiling the gambas part of the component, and generating the information files for the IDE. Enjoy it! -- Benoit Minisini mailto:gambas at ...1... From bsdpowa at ...43... Sun Jul 24 20:59:25 2005 From: bsdpowa at ...43... (vbmax bsdpowa) Date: Sun, 24 Jul 2005 11:59:25 -0700 (PDT) Subject: [Gambas-user] Cannot create new form (Gambas 1.0.6) Message-ID: <20050724185925.76531.qmail@...1060...> I finally managed to setup Gambas on my Fedora Core 4.This time I tried with yum install gambas and it worked BUT new error occured, like I'm cursed or something. When trying to add a new form to the project I get the following error: http://www.shrani.si/pics/gambascr50285.jpg And this is what I get on console: Warning: cannot find /usr/share/gambas/info/gb.info Warning: cannot find /usr/share/gambas/info/gb.qt.info I don't have anything related to gambas in /usr/share. __________________________________ Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail From bsdpowa at ...43... Sun Jul 24 21:21:38 2005 From: bsdpowa at ...43... (vbmax bsdpowa) Date: Sun, 24 Jul 2005 12:21:38 -0700 (PDT) Subject: [Gambas-user] Cannot create new form (Gambas 1.0.6) IT WORKS NOW In-Reply-To: <20050724185925.76531.qmail@...1060...> Message-ID: <20050724192138.55977.qmail@...1038...> I installed version 1.0.9 over it and it works now. OMG you're so gonna laugh about this :D.The thing is whenever I tried to install Gambas I got an error at "make install" ompiling Sound/MusicPlayer/... gbc: ERROR: Cannot open file: /opt/gambas/share/gambas/info/gb.sdl.list make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/vbmax/programi/gambas-1.0.9' make[1]: Leaving directory `/home/vbmax/programi/gambas-1.0.9' [root at ...40... gambas-1.0.9]# exit but I didn't know I could run Gambas anyway :D.So after few months of trying I finaly got to run it. Thanks anyway.You can ignore this message about the error. Regards --- vbmax bsdpowa wrote: > I finally managed to setup Gambas on my Fedora Core > 4.This time I tried with yum install gambas and it > worked BUT new error occured, like I'm cursed or > something. > > When trying to add a new form to the project I get > the > following error: > > http://www.shrani.si/pics/gambascr50285.jpg > > And this is what I get on console: > > Warning: cannot find /usr/share/gambas/info/gb.info > Warning: cannot find > /usr/share/gambas/info/gb.qt.info > > I don't have anything related to gambas in > /usr/share. > > > > __________________________________ > Yahoo! Mail for Mobile > Take Yahoo! Mail with you! Check email on your > mobile phone. > http://mobile.yahoo.com/learn/mail > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From danielcampos at ...282... Mon Jul 25 00:40:24 2005 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 25 Jul 2005 00:40:24 +0200 Subject: [Gambas-user] gb.gtk 050725 Message-ID: <42E418D8.5060107@...282...> Hi: Here's the last version for Gambas-1.9.12 of the gb.gtk component: http://gambas.gnulinex.org/gtk (Version 050725) * FIXED: Restored compatibility with GTK+-2.4 * FIXED: "ComboBox" Length and Text properties are working now. * FIXED: "TextBox" Length property is working now. * NEW: "ColumnView" Click and Activate events implemented. Regards, D. Campos From sourceforge-raindog2 at ...94... Mon Jul 25 00:45:10 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 24 Jul 2005 18:45:10 -0400 Subject: [Gambas-user] Re: [Gambas-devel] gb.gtk 050725 In-Reply-To: <42E418D8.5060107@...282...> References: <42E418D8.5060107@...282...> Message-ID: <200507241845.10799.sourceforge-raindog2@...94...> On Sunday 24 July 2005 18:40, Daniel Campos wrote: > Here's the last version for Gambas-1.9.12 of the gb.gtk component: > * FIXED: Restored compatibility with GTK+-2.4 Thanks, I'm gonna try to make a patch against 1.9.13 so maybe I can re-enable gtk in the Mandrake 10.1 packages... Rob From danielcampos at ...282... Mon Jul 25 01:00:34 2005 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 25 Jul 2005 01:00:34 +0200 Subject: [Gambas-user] Re: [Gambas-devel] gb.gtk 050725 In-Reply-To: <200507241845.10799.sourceforge-raindog2@...94...> References: <42E418D8.5060107@...282...> <200507241845.10799.sourceforge-raindog2@...94...> Message-ID: <42E41D92.3080508@...282...> Hi Rob: I've made two packages just a minute ago: the first one for gambas-1.9.13 and the second one for gambas-1.9.12 (the 1.9.13 package must be inserted in the gambas package as it has a lot of symbolic links) Regards, D. Campos > >Thanks, I'm gonna try to make a patch against 1.9.13 so maybe I can >re-enable gtk in the Mandrake 10.1 packages... > >Rob > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From jredrejo at ...429... Mon Jul 25 12:17:36 2005 From: jredrejo at ...429... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Mon, 25 Jul 2005 12:17:36 +0200 Subject: [Gambas-user] version 1.9.12 available for Debian Message-ID: <1122286656.10778.21.camel@...40...> All the gambas packages for Debian (sarge and sid) and derivatives as Linex, Linspire, Memphis, knoppix, ubuntu, etc. are prepared to be installed using apt-get. Lazy people (as me) can install all the stuff just with "apt-get install gambas". This metapackage will install all the packages. The packages and sources are available as explained in the download section of the gambas.sourceforge.net page. The gtk package is the one compatible con gtk 2.4 and above. Enjoy them. P.S. 1.9.13 will be done after waiting for some time. If no important bugs are discovered I will prepare it. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Esta parte del mensaje est? firmada digitalmente URL: From rporticio at ...43... Tue Jul 26 08:22:01 2005 From: rporticio at ...43... (Ramon Orticio) Date: Mon, 25 Jul 2005 23:22:01 -0700 (PDT) Subject: [Gambas-user] failed dependencies Message-ID: <20050726062201.50637.qmail@...1025...> benoit and company, i'm using gambas 1.0.6 and made a package. there are two rpm package which were created. when i opened the packages or run rpm -Uvih the following error messages occured gambas-runtime >= 0.95 is needed by gambas-helloworld-0.0-2 gambas-runtime < 1.1 is needed by gambas-helloworld-0.0-2 gambas-gb-qt >= 1.0 is needed by gambas-helloworld-0.0-2 gambas-gb-qt < 1.1 is needed by gambas-helloworld-0.0-2 how do i go about this problem. thanks for any help. ramon ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From frankberg at ...390... Tue Jul 26 11:47:24 2005 From: frankberg at ...390... (Frank Berg) Date: Tue, 26 Jul 2005 11:47:24 +0200 Subject: [Gambas-user] SDL 2D Image Header and Librarys Message-ID: <000601c591c7$0b1fccc0$0200a8c0@...602...> hi group, where can i find the source or rpm's to SDL 2D Image Header and Librarys??? in my suse 9.3 distri, i found the sdl 1.2 and sdl_mm and sdl_mixer but not the sdl_2D???. please help.. frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Tue Jul 26 17:04:57 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Jul 2005 17:04:57 +0200 Subject: [Gambas-user] failed dependencies In-Reply-To: <20050726062201.50637.qmail@...1025...> References: <20050726062201.50637.qmail@...1025...> Message-ID: <200507261704.57324.gambas@...1...> On Tuesday 26 July 2005 08:22, Ramon Orticio wrote: > benoit and company, > > i'm using gambas 1.0.6 and made a package. there are > two rpm package which were created. > > when i opened the packages or run rpm -Uvih the > following error messages occured > > gambas-runtime >= 0.95 is needed by > gambas-helloworld-0.0-2 > gambas-runtime < 1.1 is needed by > gambas-helloworld-0.0-2 > gambas-gb-qt >= 1.0 is needed by > gambas-helloworld-0.0-2 > gambas-gb-qt < 1.1 is needed by > gambas-helloworld-0.0-2 > > how do i go about this problem. > > thanks for any help. > > ramon > > The RPMs created by the IDE depends on other gambas binary packages that your distribution must provides. Which distribution do you use ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jul 26 17:06:55 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 26 Jul 2005 17:06:55 +0200 Subject: [Gambas-user] Cannot create new form (Gambas 1.0.6) IT WORKS NOW In-Reply-To: <20050724192138.55977.qmail@...1038...> References: <20050724192138.55977.qmail@...1038...> Message-ID: <200507261706.55315.gambas@...1...> On Sunday 24 July 2005 21:21, vbmax bsdpowa wrote: > I installed version 1.0.9 over it and it works now. > OMG you're so gonna laugh about this :D.The thing is > whenever I tried to install Gambas I got an error at > "make install" > > ompiling Sound/MusicPlayer/... > gbc: ERROR: Cannot open file: > /opt/gambas/share/gambas/info/gb.sdl.list > make[2]: Nothing to be done for `install-data-am'. > make[2]: Leaving directory > `/home/vbmax/programi/gambas-1.0.9' > make[1]: Leaving directory > `/home/vbmax/programi/gambas-1.0.9' > [root at ...40... gambas-1.0.9]# exit > > but I didn't know I could run Gambas anyway :D.So > after few months of trying I finaly got to run it. > Thanks anyway.You can ignore this message about the > error. > Regards > When components are disabled, and so not compiled, Gambas examples are compiled anyway, and so you get errors from gbc. But it doesn't break the rest of installation. You just won't be able to run the examples that couldn't be compiled. Regards, -- Benoit Minisini mailto:gambas at ...1... From carl.bouchaux at ...11... Tue Jul 26 17:21:03 2005 From: carl.bouchaux at ...11... (Carl Bouchaux) Date: Tue, 26 Jul 2005 17:21:03 +0200 Subject: [Gambas-user] Problem with Replace$ Message-ID: <200507261721.03330.carl.bouchaux@...11...> I can't do any Replace with strings : an example : This code don't works : Dim a as string Dim b as string a = "Test't" b= Replace$(a, "'", "\'") b must be "Test\'t" after, no ? what's the problem ? tks Carl From danielcampos at ...282... Tue Jul 26 19:01:37 2005 From: danielcampos at ...282... (Daniel Campos) Date: Tue, 26 Jul 2005 19:01:37 +0200 Subject: [Gambas-user] Problem with Replace$ In-Reply-To: <200507261721.03330.carl.bouchaux@...11...> References: <200507261721.03330.carl.bouchaux@...11...> Message-ID: <42E66C71.2030001@...282...> The \ character is an special symbol, try: b= Replace$(a, "'", "\\'") Regards, D. Campos Carl Bouchaux escribi?: >I can't do any Replace with strings : >an example : > >This code don't works : > >Dim a as string >Dim b as string >a = "Test't" >b= Replace$(a, "'", "\'") > > >b must be "Test\'t" after, no ? > >what's the problem ? > >tks >Carl > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From gambasfr at ...11... Tue Jul 26 20:01:54 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Tue, 26 Jul 2005 20:01:54 +0200 Subject: [Gambas-user] SDL 2D Image Header and Librarys In-Reply-To: <000601c591c7$0b1fccc0$0200a8c0@...602...> References: <000601c591c7$0b1fccc0$0200a8c0@...602...> Message-ID: <200507262001.54652.gambasfr@...11...> Le Mardi 26 Juillet 2005 11:47, Frank Berg a ?crit?: > hi group, > > where can i find the source or rpm's to > SDL 2D Image Header and Librarys??? > > in my suse 9.3 distri, i found the sdl 1.2 and sdl_mm and sdl_mixer but > not the sdl_2D???. > > please help.. frank you need sdl_image and sdl_gfx From oreip at ...1... Wed Jul 27 00:02:58 2005 From: oreip at ...1... (PV) Date: Wed, 27 Jul 2005 00:02:58 +0200 Subject: [Gambas-user] Changes in API? Message-ID: <42E6B312.6070400@...1...> Hi all, don't know if I missed something in the Changelog but it seems to me that someting in the API has changed, namely the return value of the GB.ExistFile. In fact, at least in one recent version before Gambas 1.9.13 (I don't recall exactly which one), to test whether a file existed, I called GB.ExistFile(file_name) and a "true" return value meant that the file existed. Now it seems that it works the other way around and, if the file exists, a "false" value is returned. Did I miss anything? :-) Ciao, Piero From danielcampos at ...282... Wed Jul 27 09:04:15 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 27 Jul 2005 09:04:15 +0200 Subject: [Gambas-user] Changes in API? In-Reply-To: <42E6B312.6070400@...1...> References: <42E6B312.6070400@...1...> Message-ID: <42E731EF.8050705@...282...> Hi: Beno?t added some new functions. May be you're working with the gambas.h file from a previous version, so the GB structure has the fields filled in the wrong way. Try to copy the file gambas.h from gambas 1.9.13 in your project to test it. Regards, D. Campos PV escribi?: > Hi all, > > don't know if I missed something in the Changelog but it seems to me > that someting in the API has changed, namely the return value of the > GB.ExistFile. > > In fact, at least in one recent version before Gambas 1.9.13 (I don't > recall exactly which one), to test whether a file existed, I called > GB.ExistFile(file_name) and a "true" return value meant that the file > existed. > > Now it seems that it works the other way around and, if the file > exists, a "false" value is returned. > > Did I miss anything? :-) > > > Ciao, > Piero > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From oreip at ...1... Wed Jul 27 11:15:15 2005 From: oreip at ...1... (PV) Date: Wed, 27 Jul 2005 11:15:15 +0200 Subject: [Gambas-user] Changes in API? In-Reply-To: <42E731EF.8050705@...282...> References: <42E6B312.6070400@...1...> <42E731EF.8050705@...282...> Message-ID: <42E750A3.4060901@...1...> On 27/07/2005 09:04, Daniel Campos wrote: > Beno?t added some new functions. May be you're working with the gambas.h > file from a previous version, > so the GB structure has the fields filled in the wrong way. Try to copy > the file gambas.h from gambas 1.9.13 > in your project to test it. Yep, that made it. Thanks a lot! Ciao, Piero From mconfortino at ...1062... Wed Jul 27 13:46:28 2005 From: mconfortino at ...1062... (Marcelo Confortino) Date: Wed, 27 Jul 2005 07:46:28 -0400 Subject: [Gambas-user] Gambas as shell Message-ID: <42E77414.2000505@...1062...> Hi all, and congratulations to Benoit and team for an excellent work. Tehe question is, is there a way to make a gambas application to act as a shell for a user? I need some users to turn on the PC, logon and fall directly into a Gambas program, without any posibility of using any other thing, not even the desktop. When they quit the program they must be logged out. Thanks a lot. Marcelo. -------------- next part -------------- A non-text attachment was scrubbed... Name: mconfortino.vcf Type: text/x-vcard Size: 333 bytes Desc: not available URL: From danielcampos at ...282... Wed Jul 27 14:58:07 2005 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 27 Jul 2005 14:58:07 +0200 Subject: [Gambas-user] Gambas as shell In-Reply-To: <42E77414.2000505@...1062...> References: <42E77414.2000505@...1062...> Message-ID: <42E784DF.6060807@...282...> Marcelo Confortino escribi?: > Hi all, and congratulations to Benoit and team for an excellent work. > > Tehe question is, is there a way to make a gambas application to act > as a shell for a user? I need some users to turn on the PC, logon and > fall directly into a Gambas program, without any posibility of using > any other thing, not even the desktop. When they quit the program they > must be logged out. Thanks a lot. Marcelo. May be you should read the documentation about KDM, XDM or GDM, they should allow to start a Gambas program when the user enter his name and password. After that, please write a tutorial at www.binara.com, it would be interesting! Regards, D. Campos From sourceforge-raindog2 at ...94... Wed Jul 27 16:46:49 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 27 Jul 2005 10:46:49 -0400 Subject: [Gambas-user] Gambas as shell In-Reply-To: <42E77414.2000505@...1062...> References: <42E77414.2000505@...1062...> Message-ID: <200507271046.49813.sourceforge-raindog2@...94...> On Wednesday 27 July 2005 07:46, Marcelo Confortino wrote: > Tehe question is, is there a way to make a gambas application to > act as a shell for a user? I need some users to turn on the PC, > logon and fall directly into a Gambas program, without any > posibility of using any other thing, not even the desktop. When > they quit the program they must be logged out. Thanks a lot. I have already done this with a scanner workstation, but at the time I was using vnc (the scanner workstation itself was headless) and just put the application in the ~/.vnc/xstartup file followed by "killall Xvnc". For a situation where you boot the PC and it automatically logs in as a user and runs their desktop, I think kdm will let you add a new session type in /etc/X11/wmsession.d (look at whatever files are there, and imitate them.) However, I wasn't able to run just a Gambas app when I was doing it.... you need a window manager too. I ended up using sawfish because it didn't have a taskbar or desktop icons or anything like that. It's possible that if you make your Gambas app only ever use one window (no dialogs, not even Message.Info, and Me.State = Window.FullScreen) you may not need to do this. Rob From rporticio at ...43... Thu Jul 28 03:17:20 2005 From: rporticio at ...43... (Ramon Orticio) Date: Wed, 27 Jul 2005 18:17:20 -0700 (PDT) Subject: [Gambas-user] failed dependencies Message-ID: <20050728011720.88100.qmail@...1063...> benoit, i'm using redhat 9. does it provide the needed dependencies for gambas 1.0.6 ? please let me know how to about it. thanks again. ramon __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From francesco.difusco at ...69... Thu Jul 28 08:29:30 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Thu, 28 Jul 2005 08:29:30 +0200 Subject: [Gambas-user] The program has suddenly locked with a signal 11 Message-ID: <1122532170.31705.4.camel@...1064...> I receive this error message when I try to open a mysql database in a form. "The program has suddenly locked with a signal 11". I have translated the message in English, it was in Italian. Thanks Francesco From gert at ...1065... Thu Jul 28 09:54:28 2005 From: gert at ...1065... (Gert Horne) Date: Thu, 28 Jul 2005 09:54:28 +0200 Subject: [Gambas-user] SOAP Message-ID: <1122537268.3253.8.camel@...1066...> Hi, I would like to compliment you on a great product. I have been enjoying myself with GAMBAS. I am not a programmer but have a great interest in the programming and programming principals. I would like to know what the future plans, if any, is for developing a soap toolkit for gambas. If not, how can i go about in developing something in gambas to access a soap portal. Cheers, Gert From danielcampos at ...282... Thu Jul 28 11:09:18 2005 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 28 Jul 2005 11:09:18 +0200 Subject: [Gambas-user] SOAP In-Reply-To: <1122537268.3253.8.camel@...1066...> References: <1122537268.3253.8.camel@...1066...> Message-ID: <42E8A0BE.7000900@...282...> Hi: Currently Gambas supports XML-RPC but not SOAP. I will write a SOAP component in the future if nobody does it before, but it will take a time, as it is not a priority. If would be nice if you could start that project. Once you already have components to manage XML and Network transferences, you could write a SOAP component in Gambas. That's what I'm doing for XML-RPC: I'm using gb.xml, gb.net and gb.net.curl to write a gambas component for XML-RPC. Regards, D. Campos Gert Horne escribi?: >Hi, > >I would like to compliment you on a great product. I have been enjoying >myself with GAMBAS. I am not a programmer but have a great interest in >the programming and programming principals. > >I would like to know what the future plans, if any, is for developing a >soap toolkit for gambas. If not, how can i go about in developing >something in gambas to access a soap portal. > > >Cheers, >Gert > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO September >19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From lordheavy at ...512... Thu Jul 28 11:53:03 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 28 Jul 2005 11:53:03 +0200 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 Message-ID: <42E8AAFF.7040802@...512...> New version of gb.opengl component : - Now start with Gl. and Glu. - Compile fine with Gcc3 (3.3.5) and Gcc4 (4.0.1) - Lot of features missing .... New gb.sdl.opengl is also available. An example is available : GambasGears (glxgears) http://gamebas.tuxfamily.org/download -- Laurent Carlier jabber : LordHeavy at ...943... From peski_2k at ...67... Thu Jul 28 12:54:39 2005 From: peski_2k at ...67... (Peski -) Date: Thu, 28 Jul 2005 10:54:39 +0000 Subject: [Gambas-user] Suggestions In-Reply-To: <42E8AAFF.7040802@...512...> Message-ID: Hi, At first, excuse me if my english isn't good. I'm not English. Some days ago, I have noticed that gambas make executable files with all files found in project folder. For example, if I have a little programa written in Gambas, and in the project folder of this program I have a .mpeg file with size=100MB, Gambas will make an executable file of 100MB+real size of my program, in spite of this video file isn't use actually in my program. I think is better that gambas only insert in executable file the files which program actually uses. About IDE, Would be possible show in the tree project, procedures and functions below his class? With this option We will access quickly to this procedures and functions. Yes, I know that exist a button in code editor with more or less same function, but I think that this option is useful and homey for certain peoples (for me as example, ;-) hehe) This is all. Regards, Peski PD: Have I written well? ;-) From nando_f at ...951... Thu Jul 28 16:11:20 2005 From: nando_f at ...951... (nando) Date: Thu, 28 Jul 2005 10:11:20 -0400 Subject: [Gambas-user] The program has suddenly locked with a signal 11 In-Reply-To: <1122532170.31705.4.camel@...1064...> References: <1122532170.31705.4.camel@...1064...> Message-ID: <20050728141032.M55977@...951...> I have also received **many** Signal #11. I do not know where they come from. -Fernando ---------- Original Message ----------- From: Di Fusco Francesco To: gambas-user at lists.sourceforge.net Sent: Thu, 28 Jul 2005 08:29:30 +0200 Subject: [Gambas-user] The program has suddenly locked with a signal 11 > I receive this error message when I try to open a mysql database in a > form. > > "The program has suddenly locked with a signal 11". I have translated > the message in English, it was in Italian. > > Thanks > > Francesco > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO September > 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * > Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From sourceforge-raindog2 at ...94... Thu Jul 28 17:23:06 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 28 Jul 2005 11:23:06 -0400 Subject: [Gambas-user] The program has suddenly locked with a signal 11 In-Reply-To: <20050728141032.M55977@...951...> References: <1122532170.31705.4.camel@...1064...> <20050728141032.M55977@...951...> Message-ID: <200507281123.06471.sourceforge-raindog2@...94...> On Thursday 28 July 2005 10:11, nando wrote: > I have also received **many** Signal #11. > I do not know where they come from. A signal 11 is a segmentation fault, meaning the program tried to access memory outside of what was allocated to it. Usually this is because a pointer got messed up and contained a zero or something. By "program" I mean a C program or other kind of program that compiles to machine code, so a signal #11 at runtime indicates a bug in the Gambas interpreter or (more likely) one of the components. Assuming you're running the latest Gambas release, you should post the crashing project whenever this happens more than once in the same place in your program. Rob From francesco.difusco at ...69... Thu Jul 28 18:29:04 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Thu, 28 Jul 2005 18:29:04 +0200 Subject: [Gambas-user] The program has suddenly locked with a signal 11 In-Reply-To: <200507281123.06471.sourceforge-raindog2@...94...> References: <1122532170.31705.4.camel@...1064...> <20050728141032.M55977@...951...> <200507281123.06471.sourceforge-raindog2@...94...> Message-ID: <1122568144.29510.3.camel@...1064...> Il giorno gio, 28-07-2005 alle 11:23 -0400, Rob ha scritto: > On Thursday 28 July 2005 10:11, nando wrote: > > I have also received **many** Signal #11. > > I do not know where they come from. > > A signal 11 is a segmentation fault, meaning the program tried to > access memory outside of what was allocated to it. Usually this is > because a pointer got messed up and contained a zero or something. > > By "program" I mean a C program or other kind of program that compiles > to machine code, so a signal #11 at runtime indicates a bug in the > Gambas interpreter or (more likely) one of the components. Assuming > you're running the latest Gambas release, you should post the > crashing project whenever this happens more than once in the same > place in your program. > > Rob I tried to execute Gambas examples, like DataReportExample. After I tried to connect to the MySql database, i got the message. Thanks Francesco From peski_2k at ...67... Thu Jul 28 20:23:07 2005 From: peski_2k at ...67... (Peski -) Date: Thu, 28 Jul 2005 18:23:07 +0000 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 In-Reply-To: <42E8AAFF.7040802@...512...> Message-ID: When I tried launch ./configure, it show this: configure: error: cannot find install-sh or install.sh in . ./.. ./../.. Something wrong? Regards, Peski PD: This happen with all updates posted PD2: Maybe the new symbolic links includes in source packages are the problem? >From: Laurent Carlier >Reply-To: gambas-user at lists.sourceforge.net >To: gambas devel ML ,gambas user ML > >Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 >Date: Thu, 28 Jul 2005 11:53:03 +0200 > >New version of gb.opengl component : >- Now start with Gl. and Glu. >- Compile fine with Gcc3 (3.3.5) and Gcc4 (4.0.1) >- Lot of features missing .... > >New gb.sdl.opengl is also available. > >An example is available : GambasGears (glxgears) > >http://gamebas.tuxfamily.org/download > >-- > >Laurent Carlier >jabber : LordHeavy at ...943... > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September >19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From lordheavy at ...512... Thu Jul 28 20:47:56 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 28 Jul 2005 20:47:56 +0200 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 In-Reply-To: References: Message-ID: <42E9285C.1050207@...512...> Peski - a ?crit : > When I tried launch ./configure, it show this: > > configure: error: cannot find install-sh or install.sh in . ./.. ./../.. > > Something wrong? > > Regards, > Peski > > PD: This happen with all updates posted > PD2: Maybe the new symbolic links includes in source packages are the > problem? > > Packages must be extract inside the gambas 1.9.13 tree. -- Laurent Carlier jabber : LordHeavy at ...943... From peski_2k at ...67... Thu Jul 28 21:54:39 2005 From: peski_2k at ...67... (Peski -) Date: Thu, 28 Jul 2005 19:54:39 +0000 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 In-Reply-To: <42E9285C.1050207@...512...> Message-ID: > > PD2: Maybe the new symbolic links includes in source packages are the > > problem? > > > > > >Packages must be extract inside the gambas 1.9.13 tree. ;-), this I went to say now... (symbolic links are linking with files located in gambas's source package). Now work fine. What frame rate get you with your computer in gears example? (and of course, how is your computer?, its for compare) Try 800x600 and 1024x7068 if you can, please. Regards, Peski From lordheavy at ...512... Thu Jul 28 22:17:11 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 28 Jul 2005 22:17:11 +0200 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 In-Reply-To: References: Message-ID: <42E93D47.3070308@...512...> Peski - a ?crit : >> > PD2: Maybe the new symbolic links includes in source packages are the >> > problem? >> > >> > >> >> Packages must be extract inside the gambas 1.9.13 tree. > > > ;-), this I went to say now... (symbolic links are linking with files > located in gambas's source package). Now work fine. > > What frame rate get you with your computer in gears example? (and of > course, how is your computer?, its for compare) Try 800x600 and > 1024x7068 if you can, please. > > Regards, > Peski > On my laptop with P4 2.x and Ati radeon mobility 9000 (fglrx drivers) with default gambasgears/glxgears window. Gambas: 10417 frames in 5,0 seconds = 2083,253 FPS 10579 frames in 5,0 seconds = 2115,596 FPS 10578 frames in 5,0 seconds = 2115,465 FPS 10578 frames in 5,0 seconds = 2115,478 FPS 10578 frames in 5,0 seconds = 2115,499 FPS glxgears : 9135 frames in 5.0 seconds = 1827.000 FPS 10548 frames in 5.0 seconds = 2109.600 FPS 10548 frames in 5.0 seconds = 2109.600 FPS 10548 frames in 5.0 seconds = 2109.600 FPS 10547 frames in 5.0 seconds = 2109.400 FPS 10548 frames in 5.0 seconds = 2109.600 FPS Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From gambasfr at ...11... Thu Jul 28 22:37:05 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 28 Jul 2005 22:37:05 +0200 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 In-Reply-To: References: Message-ID: <200507282237.05577.gambasfr@...11...> Le Jeudi 28 Juillet 2005 21:54, Peski - a ?crit?: > > > PD2: Maybe the new symbolic links includes in source packages are the > > > problem? > > > >Packages must be extract inside the gambas 1.9.13 tree. > > ;-), this I went to say now... (symbolic links are linking with files > located in gambas's source package). Now work fine. > > What frame rate get you with your computer in gears example? (and of > course, how is your computer?, its for compare) Try 800x600 and 1024x7068 > if you can, please. > > Regards, > Peski > on my laptop : XP2100 with Msi nVidia GeForce4 128 with default gambasgears/glxgears window. glxgears : 9471 frames in 5.0 seconds = 1894.200 FPS 10535 frames in 5.0 seconds = 2107.000 FPS 11078 frames in 5.0 seconds = 2215.600 FPS 11070 frames in 5.0 seconds = 2214.000 FPS 11086 frames in 5.0 seconds = 2217.200 FPS 11082 frames in 5.0 seconds = 2216.400 FPS 11082 frames in 5.0 seconds = 2216.400 FPS 11088 frames in 5.0 seconds = 2217.600 FPS 11084 frames in 5.0 seconds = 2216.800 FPS gambas in debug mode : 10939 frames in 5,0 seconds = 2187,732 FPS 11008 frames in 5,0 seconds = 2201,441 FPS 10833 frames in 5,0 seconds = 2166,551 FPS 10955 frames in 5,0 seconds = 2190,820 FPS 10946 frames in 5,0 seconds = 2189,036 FPS 10973 frames in 5,0 seconds = 2194,527 FPS 10938 frames in 5,0 seconds = 2187,527 FPS 10965 frames in 5,0 seconds = 2192,829 FPS 10974 frames in 5,0 seconds = 2194,634 FPS 10974 frames in 5,0 seconds = 2194,598 FPS 10962 frames in 5,0 seconds = 2192,358 FPS 10982 frames in 5,0 seconds = 2196,382 FPS gambas executable : 11090 frames in 5,0 seconds = 2217,916 FPS 10966 frames in 5,0 seconds = 2193,104 FPS 11024 frames in 5,0 seconds = 2204,755 FPS 10954 frames in 5,0 seconds = 2190,690 FPS 11014 frames in 5,0 seconds = 2202,795 FPS 9968 frames in 5,0 seconds = 1993,532 FPS 9639 frames in 5,0 seconds = 1927,636 FPS 11043 frames in 5,0 seconds = 2208,523 FPS 11038 frames in 5,0 seconds = 2207,409 FPS 11031 frames in 5,0 seconds = 2206,029 FPS 11031 frames in 5,0 seconds = 2205,983 FPS Regards, Fabien Bodard From peski_2k at ...67... Fri Jul 29 00:33:28 2005 From: peski_2k at ...67... (Peski -) Date: Thu, 28 Jul 2005 22:33:28 +0000 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 Message-ID: @Laurent Carlier and Fabien Bodard What!!!??? More than 2.000 frames???!!! See my poor result: 508 frames in 5,3 seconds = 94,980 FPS 480 frames in 5,6 seconds = 85,920 FPS 400 frames in 5,3 seconds = 75,789 FPS 400 frames in 5,2 seconds = 77,032 FPS 480 frames in 5,5 seconds = 86,728 FPS 480 frames in 5,3 seconds = 91,019 FPS 480 frames in 5,6 seconds = 85,052 FPS 480 frames in 5,5 seconds = 87,794 FPS 480 frames in 5,3 seconds = 90,925 FPS My Computer is PII-447Mhz (400mhz overclocked) with 3dfx Voodoo Banshee Card and 320MB SDRAM (100mhz). I think that I need buy a new computer... :-( Of course, my drivers also are bad because is an old card, and doesn't have 3D acceleration support... Laurent Carlier, What will can we do with this new components? 3D games with textures, ilumination... etc...? Will be possible import 3D object modeled with 3D programs as 3D Studio, Blender... etc...? Regards, Peski >From: Fabien Bodard >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 >Date: Thu, 28 Jul 2005 22:37:05 +0200 > >Le Jeudi 28 Juillet 2005 21:54, Peski - a ?crit : > > > > PD2: Maybe the new symbolic links includes in source packages are >the > > > > problem? > > > > > >Packages must be extract inside the gambas 1.9.13 tree. > > > > ;-), this I went to say now... (symbolic links are linking with files > > located in gambas's source package). Now work fine. > > > > What frame rate get you with your computer in gears example? (and of > > course, how is your computer?, its for compare) Try 800x600 and >1024x7068 > > if you can, please. > > > > Regards, > > Peski > > >on my laptop : XP2100 with Msi nVidia GeForce4 128 >with default gambasgears/glxgears window. > >glxgears : > >9471 frames in 5.0 seconds = 1894.200 FPS >10535 frames in 5.0 seconds = 2107.000 FPS >11078 frames in 5.0 seconds = 2215.600 FPS >11070 frames in 5.0 seconds = 2214.000 FPS >11086 frames in 5.0 seconds = 2217.200 FPS >11082 frames in 5.0 seconds = 2216.400 FPS >11082 frames in 5.0 seconds = 2216.400 FPS >11088 frames in 5.0 seconds = 2217.600 FPS >11084 frames in 5.0 seconds = 2216.800 FPS > > >gambas in debug mode : > >10939 frames in 5,0 seconds = 2187,732 FPS >11008 frames in 5,0 seconds = 2201,441 FPS >10833 frames in 5,0 seconds = 2166,551 FPS >10955 frames in 5,0 seconds = 2190,820 FPS >10946 frames in 5,0 seconds = 2189,036 FPS >10973 frames in 5,0 seconds = 2194,527 FPS >10938 frames in 5,0 seconds = 2187,527 FPS >10965 frames in 5,0 seconds = 2192,829 FPS >10974 frames in 5,0 seconds = 2194,634 FPS >10974 frames in 5,0 seconds = 2194,598 FPS >10962 frames in 5,0 seconds = 2192,358 FPS >10982 frames in 5,0 seconds = 2196,382 FPS > >gambas executable : > >11090 frames in 5,0 seconds = 2217,916 FPS >10966 frames in 5,0 seconds = 2193,104 FPS >11024 frames in 5,0 seconds = 2204,755 FPS >10954 frames in 5,0 seconds = 2190,690 FPS >11014 frames in 5,0 seconds = 2202,795 FPS >9968 frames in 5,0 seconds = 1993,532 FPS >9639 frames in 5,0 seconds = 1927,636 FPS >11043 frames in 5,0 seconds = 2208,523 FPS >11038 frames in 5,0 seconds = 2207,409 FPS >11031 frames in 5,0 seconds = 2206,029 FPS >11031 frames in 5,0 seconds = 2205,983 FPS > >Regards, > >Fabien Bodard > > > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September >19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Fri Jul 29 01:05:41 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Fri, 29 Jul 2005 01:05:41 +0200 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 In-Reply-To: References: Message-ID: <200507290105.41977.gambasfr@...11...> Le Vendredi 29 Juillet 2005 00:33, Peski - a ?crit?: > @Laurent Carlier and Fabien Bodard > > What!!!??? More than 2.000 frames???!!! See my poor result: > > 508 frames in 5,3 seconds = 94,980 FPS > 480 frames in 5,6 seconds = 85,920 FPS > 400 frames in 5,3 seconds = 75,789 FPS > 400 frames in 5,2 seconds = 77,032 FPS > 480 frames in 5,5 seconds = 86,728 FPS > 480 frames in 5,3 seconds = 91,019 FPS > 480 frames in 5,6 seconds = 85,052 FPS > 480 frames in 5,5 seconds = 87,794 FPS > 480 frames in 5,3 seconds = 90,925 FPS > > My Computer is PII-447Mhz (400mhz overclocked) with 3dfx Voodoo Banshee > Card and 320MB SDRAM (100mhz). > I think that I need buy a new computer... :-( > Of course, my drivers also are bad because is an old card, and doesn't have > 3D acceleration support... > > Laurent Carlier, What will can we do with this new components? 3D games > with textures, ilumination... etc...? Will be possible import 3D object > modeled with 3D programs as 3D Studio, Blender... etc...? > > Regards, > Peski so... the responce is for me :) this new component is just a base. It allow just to use the opengl lib. Opengl is a set of function that make more easier to use the video card and it's processor. After laurent have finished his component, the next step will be to make a 3d engine that simplify the management of 3d objects and 3d world. Another component can be linked to the enginer to allow to load different 3D file format. Just imagine (it's in my head) a syntax like this : Dim Human as new Entity Human.Load("human.obj") Human.LoadAnim("human.mv") PUBLIC SUB Screen_Refresh() Human.Move(x,y,z) human.Anim("run", Human.Anim.Next) END It's just an idea... so wait... or better, help us ! Regards, Fabien Bodard (...and Laurent, but he is too timid) alias <-- the gambas opengl team --> ;-) From peski_2k at ...67... Fri Jul 29 02:42:38 2005 From: peski_2k at ...67... (Peski -) Date: Fri, 29 Jul 2005 00:42:38 +0000 Subject: [Gambas-user] gb.opengl 050728 / gb.sdl.opengl 050725 In-Reply-To: <200507290105.41977.gambasfr@...11...> Message-ID: > > Laurent Carlier, What will can we do with this new components? 3D games > > with textures, ilumination... etc...? Will be possible import 3D object > > modeled with 3D programs as 3D Studio, Blender... etc...? > > > > Regards, > > Peski > >so... >the responce is for me :) > >this new component is just a base. It allow just to use the opengl lib. >Opengl is a set of function that make more easier to use the video card and >it's processor. > >After laurent have finished his component, the next step will be to make a >3d >engine that simplify the management of 3d objects and 3d world. >Another component can be linked to the enginer to allow to load different >3D >file format. >It's just an idea... > >so wait... or better, help us ! I like help... but I don't have the necessary knowledge. Nowadays, until I learn to program, my help to gambas is only test new versions and translate documents to my language (I can translate to spanish better than translate to english, don't worry ;-) If you need some 3D element in the future for test, I have a house made with 3dStudio and some elements more. >Regards, >Fabien Bodard (...and Laurent, but he is too timid) > >alias <-- the gambas opengl team --> ;-) ups... you want say to me that you also work in this component, truth? Sorry, I don't know this! Good work! Regards, Peski PD: What is the difference betwen gb.sdl.opengl and gb.opengl?? From rporticio at ...43... Fri Jul 29 09:58:56 2005 From: rporticio at ...43... (Ramon Orticio) Date: Fri, 29 Jul 2005 00:58:56 -0700 (PDT) Subject: [Gambas-user] gambas in schools Message-ID: <20050729075857.35354.qmail@...1025...> benoit, can gambas be taught in schools as a template or pattern for software development. if so are there available materials such as conceptual designs and source codes? thanks again. ramon ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From oreip at ...1... Fri Jul 29 13:43:28 2005 From: oreip at ...1... (PV) Date: Fri, 29 Jul 2005 13:43:28 +0200 Subject: [Gambas-user] DrawingArea in 1.9.13 Message-ID: <42EA1660.4080602@...1...> Hi all, from the changelog: "DrawingArea paint events were optimized". However, I find the redrawing of a DrawingArea extremely slower than before! As an example, before 1.9.13 if I opened a new window over a "painted" DrawingArea and moved such a new window, the redrawing of the underlying graph was instantaneous, no matter how fast I moved the window. Now, in the same situation, when I drag the newly opened window over the painted DrawingArea, I see all the "trailing" windows and it takes forever to redraw. Maybe the explanation is not so clear but the screenshot says it all :-) Ciao, Piero -------------- next part -------------- A non-text attachment was scrubbed... Name: sshot.jpg Type: image/jpeg Size: 28609 bytes Desc: not available URL: From mconfortino at ...1062... Fri Jul 29 14:51:56 2005 From: mconfortino at ...1062... (Marcelo Confortino) Date: Fri, 29 Jul 2005 08:51:56 -0400 Subject: [Gambas-user] Re: Gambas as shell Message-ID: <42EA266C.2020500@...1062...> Thank you, Rob and Daniel for your comments. I used Me.State = Window.FullScreen and it seems to be enough for the moment. However, I'll keep studying and I'll post my findings. M. -------------- next part -------------- A non-text attachment was scrubbed... Name: mconfortino.vcf Type: text/x-vcard Size: 333 bytes Desc: not available URL: From gambas at ...1... Fri Jul 29 18:54:23 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 29 Jul 2005 18:54:23 +0200 Subject: [Gambas-user] The program has suddenly locked with a signal 11 In-Reply-To: <1122568144.29510.3.camel@...1064...> References: <1122532170.31705.4.camel@...1064...> <200507281123.06471.sourceforge-raindog2@...94...> <1122568144.29510.3.camel@...1064...> Message-ID: <200507291854.23518.gambas@...1...> On Thursday 28 July 2005 18:29, Di Fusco Francesco wrote: > Il giorno gio, 28-07-2005 alle 11:23 -0400, Rob ha scritto: > > On Thursday 28 July 2005 10:11, nando wrote: > > > I have also received **many** Signal #11. > > > I do not know where they come from. > > > > A signal 11 is a segmentation fault, meaning the program tried to > > access memory outside of what was allocated to it. Usually this is > > because a pointer got messed up and contained a zero or something. > > > > By "program" I mean a C program or other kind of program that compiles > > to machine code, so a signal #11 at runtime indicates a bug in the > > Gambas interpreter or (more likely) one of the components. Assuming > > you're running the latest Gambas release, you should post the > > crashing project whenever this happens more than once in the same > > place in your program. > > > > Rob > > I tried to execute Gambas examples, like DataReportExample. After I > tried to connect to the MySql database, i got the message. > > Thanks > > Francesco > Please go to the troubleshooting section of the web site, and follow the instructions. Then send me the info so that I can know what happens - And don't forget to tell which distribution you use, which version of Gambas, and if you compiled it from the source or not. Thanks in advance, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 29 18:55:40 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 29 Jul 2005 18:55:40 +0200 Subject: [Gambas-user] SOAP In-Reply-To: <42E8A0BE.7000900@...282...> References: <1122537268.3253.8.camel@...1066...> <42E8A0BE.7000900@...282...> Message-ID: <200507291855.40619.gambas@...1...> On Thursday 28 July 2005 11:09, Daniel Campos wrote: > Hi: > > Currently Gambas supports XML-RPC but not SOAP. I will write a SOAP > component > in the future if nobody does it before, but it will take a time, as it > is not a priority. > > If would be nice if you could start that project. Once you already have > components to > manage XML and Network transferences, you could write a SOAP component > in Gambas. > That's what I'm doing for XML-RPC: I'm using gb.xml, gb.net and > gb.net.curl to write > a gambas component for XML-RPC. > > Regards, > > D. Campos > > Gert Horne escribi?: > >Hi, > > > >I would like to compliment you on a great product. I have been enjoying > >myself with GAMBAS. I am not a programmer but have a great interest in > >the programming and programming principals. > > > >I would like to know what the future plans, if any, is for developing a > >soap toolkit for gambas. If not, how can i go about in developing > >something in gambas to access a soap portal. > > > > > >Cheers, > >Gert > > > > > > Not that if speed does not matter (I know nothing about SOAP), you can write the component as a Gambas project. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 29 19:00:05 2005 From: gambas at ...1... (Benoit Minisini) Date: Fri, 29 Jul 2005 19:00:05 +0200 Subject: [Gambas-user] DrawingArea in 1.9.13 In-Reply-To: <42EA1660.4080602@...1...> References: <42EA1660.4080602@...1...> Message-ID: <200507291900.05205.gambas@...1...> On Friday 29 July 2005 13:43, PV wrote: > Hi all, > > from the changelog: "DrawingArea paint events were optimized". > > However, I find the redrawing of a DrawingArea extremely slower than > before! > > As an example, before 1.9.13 if I opened a new window over a "painted" > DrawingArea and moved such a new window, the redrawing of the underlying > graph was instantaneous, no matter how fast I moved the window. > > Now, in the same situation, when I drag the newly opened window over the > painted DrawingArea, I see all the "trailing" windows and it takes forever > to redraw. > > Maybe the explanation is not so clear but the screenshot says it all :-) > > > Ciao, > Piero Mmm... Possible... I tested the optimizations with DrawingArea whose Cached property is set to False. Do you use DrawingArea with Cached set to True or not ? -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Fri Jul 29 18:55:02 2005 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 29 Jul 2005 12:55:02 -0400 Subject: [Gambas-user] new Gambas documentation In-Reply-To: <200507291851.52036.gambas@...1...> References: <200507281319.41598.sourceforge-raindog2@...94...> <200507291851.52036.gambas@...1...> Message-ID: <200507291255.02794.sourceforge-raindog2@...94...> On Friday 29 July 2005 12:51, Benoit Minisini wrote: > I will update the documentation system too, and maybe you can make > it public ? Sure, anyone who wants to try out the new Gambas documentation, have a look at http://new.gambasdoc.org (it will redirect you to a numeric IP address but it should work.) Rob From danielcampos at ...282... Fri Jul 29 19:34:46 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 29 Jul 2005 19:34:46 +0200 Subject: [Gambas-user] SOAP In-Reply-To: <200507291855.40619.gambas@...1...> References: <1122537268.3253.8.camel@...1066...> <42E8A0BE.7000900@...282...> <200507291855.40619.gambas@...1...> Message-ID: <42EA68B6.3000300@...282...> > > > >Not that if speed does not matter (I know nothing about SOAP), you can write >the component as a Gambas project. > > SOAP is used for remote communications, usually with HTTP server and clients. It is sure that the internal speed of the program will be not a problem compared with the transmission speed. Regards, D. Campos >Regards, > > > From nick.mele at ...626... Fri Jul 29 21:47:22 2005 From: nick.mele at ...626... (Nick) Date: Fri, 29 Jul 2005 15:47:22 -0400 Subject: [Gambas-user] a few drag and drop questions Message-ID: <99a4cfad05072912474733e48c@...627...> Hello- I'm new to this mailing list, and new to gambas, so I hope I'm not being redundant (I've already searched the docs and mailing list archives). I'll include a link to my source at the end of this mail. My firsty question deals with this sub: PUBLIC SUB TreeView1_MouseMove() IF Mouse.Left AND TreeView1.Available THEN IF TreeView1.Find(Mouse.ScreenX - TreeView1.ScreenX, Mouse.ScreenY - TreeView1.ScreenY) THEN RETURN ENDIF Drag.Icon = tm.nodePicture TreeView1.Current.Selected = TRUE TreeView1.Drag(TreeView1.Key, Drag.Text) ENDIF END ...ok, this is the sub that initiates the drag... at first i tried to do this within the event handler TreeView1_MouseDown(). This doesn't seem to work; TreeView1.Find should set the treeview's internal cursor to the node that the mouse was over, TreeView1.Current.Selected = TRUE should select the node, so that TreeView1.Key is the key of the node the mouse was over... but instead, TreeView1.Key is the key of the last node that was selected.Could this be a bug, or am i just doing it wrong? second question - PUBLIC SUB TreeView1_Drag() TreeView1_DragMove() END PUBLIC SUB TreeView1_DragMove() IF Drag.Source <> TreeView1 OR TreeView1.Find(Drag.X, Drag.Y) THEN STOP EVENT ELSE TreeView1.Item.Selected = TRUE ENDIF END This restricts the treeview to be it's own only drop target, only when there's a node under the mouse. It seems to work fine, except for one thing... if you drag a node and let it go somewhere on the tree, not on another node, or if you try to drag something external to the application onto the control, you lose the ability to initiate a new drag event! The tree nodes are not draggable again until the right mouse button is clicked (which shows a context menu in my application.) Any suggestions on this? One more small question having nothing to do with drag and drop: What's my best bet for creating a rich text editor control? Inheriting from either TextView or TextArea, or using a DrawingArea with a buffer, or something else, or just wait for someone to write one in C? Here's a link to the application so far.. any other suggestions are welcome too; just keep in mind this is the product of only a few days of intermittant work, so don't judge too harshly =) http://www.freepgs.com/ufo/nick/treenote.tar.gz Thanks in advance for any advice. --Nick From oreip at ...1... Fri Jul 29 22:42:40 2005 From: oreip at ...1... (PV) Date: Fri, 29 Jul 2005 22:42:40 +0200 Subject: [Gambas-user] DrawingArea in 1.9.13 In-Reply-To: <200507291900.05205.gambas@...1...> References: <42EA1660.4080602@...1...> <200507291900.05205.gambas@...1...> Message-ID: <42EA94C0.90505@...1...> On 29/07/2005 19:00, Benoit Minisini wrote: > Mmm... Possible... I tested the optimizations with DrawingArea whose Cached > property is set to False. Do you use DrawingArea with Cached set to True or > not ? It is set to False. I also just tried to set it to True but then the DrawingArea started to behave strangely, particularly the .Left property does not numerically correspond to the value I set while building the form and so the DrawingArea doesn't keep the place I assigned it. Then I switched back to Cached=False but still the .Left property does not correspond anymore (I set it manually to 225 but when I run the program the drawingarea moves by itself and drwArea.Left reports 200). Ciao, Piero From abu.syafa at ...626... Sat Jul 30 02:13:29 2005 From: abu.syafa at ...626... (abu syafa) Date: Sat, 30 Jul 2005 07:13:29 +0700 Subject: [Gambas-user] Oops! In-Reply-To: <42E36990.6050205@...282...> References: <42E36990.6050205@...282...> Message-ID: <46f0b9ad0507291713571d2f73@...627...> I wanna make a sms gateway with Gambas. any suggestions or articles ??? From akubukanspy at ...43... Sat Jul 30 05:56:30 2005 From: akubukanspy at ...43... (Yudi Astira) Date: Fri, 29 Jul 2005 20:56:30 -0700 (PDT) Subject: [Gambas-user] Oops! In-Reply-To: <46f0b9ad0507291713571d2f73@...627...> Message-ID: <20050730035630.46546.qmail@...1069...> I think i can help you sir, now iam in developing about your problem. Iam using gnokii (www.gnokii.org) on my project, use smsd on gnokii directory that using MySQL as database. abu syafa wrote:I wanna make a sms gateway with Gambas. any suggestions or articles ??? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Yudi Astira, http://www.hdteam.net __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From frankberg at ...390... Sat Jul 30 12:08:58 2005 From: frankberg at ...390... (Frank Berg) Date: Sat, 30 Jul 2005 12:08:58 +0200 Subject: [Gambas-user] compiling with gtk Message-ID: <000c01c594ee$b3deaf50$0200a8c0@...602...> Hi group, i try now to compile gtk in my updatet suse 9.3 i was select all the devel stuff, in gambas2.1.10 it seems to be ok.. in gambas2.1.12 i receive an error while make in gambas2.1.13 the pkg-config says gtk is not installed. what do i need more to compile with gtk? (and where can i get it?) (this is selected in my distri) gtk2 gtk2-devel gtkhtml2 gtkmm2 gtkmm24 gtkmm24-devel gtkspell libgtkhtml frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Sat Jul 30 12:18:42 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Jul 2005 12:18:42 +0200 Subject: [Gambas-user] DrawingArea in 1.9.13 In-Reply-To: <42EA94C0.90505@...1...> References: <42EA1660.4080602@...1...> <200507291900.05205.gambas@...1...> <42EA94C0.90505@...1...> Message-ID: <200507301218.42769.gambas@...1...> On Friday 29 July 2005 22:42, PV wrote: > On 29/07/2005 19:00, Benoit Minisini wrote: > > Mmm... Possible... I tested the optimizations with DrawingArea whose > > Cached property is set to False. Do you use DrawingArea with Cached set > > to True or not ? > > It is set to False. > > I also just tried to set it to True but then the DrawingArea started to > behave strangely, particularly the .Left property does not numerically > correspond to the value I set while building the form and so the > DrawingArea doesn't keep the place I assigned it. > > Then I switched back to Cached=False but still the .Left property does not > correspond anymore (I set it manually to 225 but when I run the program the > drawingarea moves by itself and drwArea.Left reports 200). > > > Ciao, > Piero > > I think you have to send me your project so that I can understand what happens exactly... -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jul 30 12:26:30 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Jul 2005 12:26:30 +0200 Subject: [Gambas-user] a few drag and drop questions In-Reply-To: <99a4cfad05072912474733e48c@...627...> References: <99a4cfad05072912474733e48c@...627...> Message-ID: <200507301226.30463.gambas@...1...> On Friday 29 July 2005 21:47, Nick wrote: > Hello- > > I'm new to this mailing list, and new to gambas, so I hope I'm not > being redundant (I've already searched the docs and mailing list > archives). I'll include a link to my source at the end of this mail. > > My firsty question deals with this sub: > > PUBLIC SUB TreeView1_MouseMove() > IF Mouse.Left AND TreeView1.Available THEN > IF TreeView1.Find(Mouse.ScreenX - TreeView1.ScreenX, Mouse.ScreenY > - TreeView1.ScreenY) THEN > RETURN > ENDIF > Drag.Icon = tm.nodePicture > TreeView1.Current.Selected = TRUE > TreeView1.Drag(TreeView1.Key, Drag.Text) > ENDIF > END > > ...ok, this is the sub that initiates the drag... at first i tried to > do this within the event handler TreeView1_MouseDown(). This doesn't > seem to work; TreeView1.Find should set the treeview's internal cursor > to the node that the mouse was over, TreeView1.Current.Selected = > TRUE should select the node, so that TreeView1.Key is the key of the > node the mouse was over... but instead, TreeView1.Key is the key of > the last node that was selected.Could this be a bug, or am i just > doing it wrong? The internal cursor set TreeView1.Item, not TreeView1.Current, that is the current item selected by the user. > > second question - > > PUBLIC SUB TreeView1_Drag() > TreeView1_DragMove() > END > PUBLIC SUB TreeView1_DragMove() > IF Drag.Source <> TreeView1 OR TreeView1.Find(Drag.X, Drag.Y) THEN > STOP EVENT > ELSE > TreeView1.Item.Selected = TRUE > ENDIF > END > > This restricts the treeview to be it's own only drop target, only when > there's a node under the mouse. It seems to work fine, except for one > thing... if you drag a node and let it go somewhere on the tree, not > on another node, or if you try to drag something external to the > application onto the control, you lose the ability to initiate a new > drag event! The tree nodes are not draggable again until the right > mouse button is clicked (which shows a context menu in my > application.) Any suggestions on this? I'm not sure to understand well... I will look your application, maybe it will be clearer for me. Did you look at drag & drop example ? > > One more small question having nothing to do with drag and drop: > What's my best bet for creating a rich text editor control? Inheriting > from either TextView or TextArea, or using a DrawingArea with a > buffer, or something else, or just wait for someone to write one in C? > There is a rich text editor in qt3, I simply didn't take the time to make a Gambas control from it. Moreover, this control changes in qt4, so I am not in a hurry for doing a thing I must change later :-) > Here's a link to the application so far.. any other suggestions are > welcome too; just keep in mind this is the product of only a few days > of intermittant work, so don't judge too harshly =) > > http://www.freepgs.com/ufo/nick/treenote.tar.gz > > Thanks in advance for any advice. > --Nick > Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Sat Jul 30 13:14:58 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 30 Jul 2005 13:14:58 +0200 Subject: [Gambas-user] gb.gtk 050730 Message-ID: <42EB6132.9010507@...282...> Hi: New version of the gb.gtk component for both Gambas-1.9.13 and Gambas-1.9.12: http://gambas.gnulinex.org/gtk 050730 - Alpha * FIXED: Controls now inherit parent font. * FIXED: Tooltips management improved: best performance and less memory wasted. * NEW: Application.Tooltip: Enabled and Font properties implemented * NEW: MouseWheel event, Mouse.Orientation and Mouse.Delta properties implemented. * NEW: Fonts.Count and Fonts._next implemented. * FIXED: Containers only arrange visible children. * FIXED: Segmentation fault on some containers when arrangement is not "None". * FIXED: Some Window.Picture representation problems. * NEW: "ListView" Find implemented. * NEW: "Application.ActiveWindow" implemented. * NEW: "TrayIcon": ScreenX, ScreenY, Width and Height properties added. * NEW: "TrayIcon" adapted to the gb.qt new interface. * NEW: "Mouse.ScreenX" and "Mouse.ScreenY" implemented. * NEW: "Desktop.Scale", "Control.MoveScaled" and "Control.ResizeScaled" implemented. Regards, D. Campos From peski_2k at ...67... Sat Jul 30 15:16:24 2005 From: peski_2k at ...67... (Peski -) Date: Sat, 30 Jul 2005 13:16:24 +0000 Subject: [Gambas-user] compiling with gtk In-Reply-To: <000c01c594ee$b3deaf50$0200a8c0@...602...> Message-ID: Hi, At first , Welcome to Suse's problem club ;-) I also have a Suse (9.2 and 9.3), and have more or less, same problem. You need also glib, atk and pango, that I remember... In spite of install this packages, probably, you can't use this component. Now, I can compile it, but with may warnings, and the result is that gambas work fine, but doesn't work the gtk component. I have speaking with Guillermo Ballester (unofficial suse rpm package mantainer) about this, and He have same problem. He can make package of last versions, but if you use it, the problem is same that if you compile gtk component with warnings: gtk doesn't work in spite of compile is finalize. We think that this problem is due to patch that Suse have apply to gtk version available in his distributions. At this moment, We haven't any solution... If you want try run it, for install all necessary packages, my recomendation is that install apt for suse. With apt you can install last update rpm without problem. Example, for install last gtk2 rpm available, you should make this in shell: "apt install gtk2" With only this command, apt will download gtk and all his dependencies, and will install it. For search any program, you use: "apt-cache search name_to_search",and in seconds, a list of package with string searched in his name appears in screen. First of all, you must syncronize the package list with server. For this, you make: "apt-get update" (see *update*, don't *upgrade*. Upgrade is for upgrade all your system to last version of your installed programs). If you want, you can use a GUI, as synaptic for more friendly use. Here for more information about apt for suse: http://linux01.gwdg.de/apt4rpm/ Regards, Peski PD: Last recomendation about apt. If you have problem with unsigned package, you can dissable signed check with --disable-checksig (ex: "apt install gtk2 --disable-checksig") PD2: If you get run gtk component correctly, please send a mail to this list for announce it. >From: "Frank Berg" >Reply-To: gambas-user at lists.sourceforge.net >To: >Subject: [Gambas-user] compiling with gtk >Date: Sat, 30 Jul 2005 12:08:58 +0200 > >Hi group, > >i try now to compile gtk in my updatet suse 9.3 >i was select all the devel stuff, >in gambas2.1.10 it seems to be ok.. >in gambas2.1.12 i receive an error while make >in gambas2.1.13 the pkg-config says gtk is not installed. > >what do i need more to compile with gtk? (and where can i get it?) >(this is selected in my distri) > >gtk2 >gtk2-devel >gtkhtml2 >gtkmm2 >gtkmm24 >gtkmm24-devel >gtkspell >libgtkhtml > > >frank From gambas at ...1... Sat Jul 30 17:28:44 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 30 Jul 2005 17:28:44 +0200 Subject: [Gambas-user] Release of gambas 1.9.14 Message-ID: <200507301728.44644.gambas@...1...> Hi, all guys. Here is a new release of the development version that you can get there: http://prdownloads.sourceforge.net/gambas/gambas2-1.9.14.tar.bz2?download Now making Gambas components in Gambas really works :-) The development environment gets a new font selection dialog and a new color selection dialog both based on two new controls made with Gambas. Here is the complete Changelog: --8<--------------------------------------------------------------------------- CONFIGURATION * BUG: Finally applied the "fish jail" :-) patch of Dirk Mueller to the symbolic link creation. * BUG: Components directory including a gambas part are now correctly packaged. DEVELOPMENT ENVIRONMENT * New font and color dialogs in the property sheet. * The welcome, about and tips dialog now use the system colors. * Symbols including an underscore are not displayed anymore in the completion list. COMPILER * BUG: events from gambas classes are now internally prefixed with a colon, as the events from native classes. * The bytecode version is now written in each compiled class. INTERPRETER * BUG: Now a native class can have a static property that returns a usable virtual class. * If the bytecode version of a compiled class is different from the bytecode version of the interpreter, then an error is raised. * BUG: Many fixes in the gambas archive management. Now everything should work as expected :-) * The Boolean[] array class was implemented. * Object.GetProperty() now can return the value of static properties. * BUG: Classes located in gambas archives are now freed with the global classes when the interpreter ends. * BUG: Format$(0, "+#") now works correctly. * A new property, Application.Dir, that returns the application startup working directory at startup. Note that the current working directory is modified by the interpreter. * BUG: Hex$() and Bin$() now correctly display negative values. QT COMPONENT * Eight new properties in Color class that returns system colors. * A new array operator in Color class to split a color in its Red, Green, Blue, Alpha or Hue, Saturation, Value parts. * BUG: Some fixes in the arrangement algorithm of containers. * BUG: The DrawingArea draws its border correctly again. * A new property, Font.Scalable, that returns if a font is freely scalable. * A new property, Font.Grade, that represents a predefined font size proportional to the default application font. Range from -9 to +9. * A new control, UserControl, that acts as a parent class for implementing user controls directly in Gambas. * A new method, ScrollView.EnsureVisible, that ensures that a specified area of the ScrollView is visible. * A new property, TextArea.ScrollBar, to choose the display policy of the scrollbars. * A new class, TrayIcons, for enumerating all TrayIcon controls. * New properties in the TrayIcon class: Tag, ScreenX, ScreenY, Width and Height. * BUG: TrayIcon now catches Enter and Leave events. * BUG: The Design property now works with controls written in Gambas. * BUG: Some fixes in Open event trigerring of embedded forms. * Three new controls made with Gambas: FontChooser, ColorChooser and CustomListBox. DATABASE COMPONENT * A new method, CConnection.Subst(), that converts gambas values into the underlying database SQL syntax, and substitutes them in a query string. * BUG: Result can manage tables whose primary keys are not the first fields of the table. * BUG: Result enumeration are deletion-safe now. * BUG: You can use variant values with functions that use substitution. GTK+ COMPONENT * Updated. SDL COMPONENT * Updated. OPENGL COMPONENT * Updated. --8<--------------------------------------------------------------------------- ABOUT THE GAMBAS COMPONENTS MADE IN GAMBAS THING The source of these controls is the "gb.qt" gambas project located in the gb.qt component source directory. At the moment, it is part of this component, but it may become an independent component in the future. How does it work concretely ? I added a new control named "UserControl", and every user control made in Gambas should inherits it. This control is just a container with no properties. I just embedded a Form inside it. Why is Usercontrol needed ? Because if you use a form as a component, the user will see all its public properties and event handlers. By embedding the form, I can provide to the user a control with the interface I want, and this way hide all the specific stuff located in the embedded form. UserControl is a container with no properties, and its internal Arrangement property set to 'Fill'. But it is not declared as a usable control to the IDE. The simpler for understanding is looking at the sources :-) For example, the ColorChooser control embeds a form named FColorChooser, and in the IDE you will only see ColorChooser. The internal FColorChooser is completely hidden. As you may know ;-) Form controls are their own event observer. So I attached the FColorChooser to ColorChooser to get all events generated by the Form, and raised back the events like Form_Open or Form_Resize that the form needs to work. I am not completely satisfied with that, but at the moment it is the only way I found to make user controls behave like I wanted. In the future, I may implement something like UserContainer, to help implementing user controls that have containers. Note that components made in Gambas work exactly like any executable projects. They can include all the resource files they need, and their own translations. Please look at that as much as possible :-) This is the base for a future implementation of components like: - Complex controls like FontChooser or ColorChooser: FileChooser, DirChooser, anything you can imagine. - Controls bound to database. - Report designer. - WebForm designer. - Gambas MDI windows. ... The limit is time and imagination :-) Enjoy it! -- Benoit Minisini mailto:gambas at ...1... From fidojones at ...805... Sat Jul 30 19:29:14 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Sat, 30 Jul 2005 19:29:14 +0200 (CEST) Subject: [Gambas-user] Release of gambas 1.9.14 In-Reply-To: <200507301728.44644.gambas@...1...> References: <200507301728.44644.gambas@...1...> Message-ID: <35721.85.155.33.88.1122744554.squirrel@...962...> No for to much run you could arrive shortly :DDDDDDDd recent compiled, I get this error in gambas2-1.9.14 IDE cerebro:/opt/gambas2/bin# ./gambas2.gambas ERROR: #2: Cannot load class 'ValueBox': Unable to load class file Regards FIDO BUG :D > Hi, all guys. > > > Here is a new release of the development version that you can get there: > > > http://prdownloads.sourceforge.net/gambas/gambas2-1.9.14.tar.bz2?download > > > Now making Gambas components in Gambas really works :-) > > > The development environment gets a new font selection dialog and a new > color selection dialog both based on two new controls made with Gambas. > > Here is the complete Changelog: > > > --8<--------------------------------------------------------------------- > ------ > > > CONFIGURATION > > > * BUG: Finally applied the "fish jail" :-) patch of Dirk Mueller to the > symbolic link creation. * BUG: Components directory including a gambas part > are now correctly packaged. > > DEVELOPMENT ENVIRONMENT > > > * New font and color dialogs in the property sheet. > * The welcome, about and tips dialog now use the system colors. > * Symbols including an underscore are not displayed anymore in the > completion list. > > COMPILER > > > * BUG: events from gambas classes are now internally prefixed with a > colon, as the events from native classes. * The bytecode version is now > written in each compiled class. > > INTERPRETER > > > * BUG: Now a native class can have a static property that returns a > usable virtual class. * If the bytecode version of a compiled class is > different from the bytecode version of the interpreter, then an error is > raised. * BUG: Many fixes in the gambas archive management. Now everything > should work as expected :-) * The Boolean[] array class was implemented. > * Object.GetProperty() now can return the value of static properties. > * BUG: Classes located in gambas archives are now freed with the global > classes when the interpreter ends. * BUG: Format$(0, "+#") now works > correctly. * A new property, Application.Dir, that returns the application > startup working directory at startup. Note that the current working > directory is modified by the interpreter. * BUG: Hex$() and Bin$() now > correctly display negative values. > > QT COMPONENT > > > * Eight new properties in Color class that returns system colors. > * A new array operator in Color class to split a color in its Red, Green, > Blue, Alpha or Hue, Saturation, Value parts. > * BUG: Some fixes in the arrangement algorithm of containers. > * BUG: The DrawingArea draws its border correctly again. > * A new property, Font.Scalable, that returns if a font is freely > scalable. * A new property, Font.Grade, that represents a predefined font > size proportional to the default application font. Range from -9 to +9. * A > new control, UserControl, that acts as a parent class for implementing > user controls directly in Gambas. * A new method, > ScrollView.EnsureVisible, that ensures that a specified > area of the ScrollView is visible. * A new property, TextArea.ScrollBar, to > choose the display policy of the scrollbars. * A new class, TrayIcons, for > enumerating all TrayIcon controls. * New properties in the TrayIcon class: > Tag, ScreenX, ScreenY, Width and > Height. > * BUG: TrayIcon now catches Enter and Leave events. > * BUG: The Design property now works with controls written in Gambas. > * BUG: Some fixes in Open event trigerring of embedded forms. > * Three new controls made with Gambas: FontChooser, ColorChooser and > CustomListBox. > > > DATABASE COMPONENT > > > * A new method, CConnection.Subst(), that converts gambas values into > the underlying database SQL syntax, and substitutes them in a query string. > * BUG: Result can manage tables whose primary keys are not the first > fields of the table. * BUG: Result enumeration are deletion-safe now. > * BUG: You can use variant values with functions that use substitution. > > > GTK+ COMPONENT > > > * Updated. > > > SDL COMPONENT > > > * Updated. > > > OPENGL COMPONENT > > > * Updated. > > > --8<--------------------------------------------------------------------- > ------ > > > > ABOUT THE GAMBAS COMPONENTS MADE IN GAMBAS THING > > > The source of these controls is the "gb.qt" gambas project located in the > gb.qt component source directory. At the moment, it is part of this > component, but it may become an independent component in the future. > > How does it work concretely ? > > > I added a new control named "UserControl", and every user control made in > Gambas should inherits it. This control is just a container with no > properties. I just embedded a Form inside it. > > Why is Usercontrol needed ? > > > Because if you use a form as a component, the user will see all its > public properties and event handlers. By embedding the form, I can provide > to the user a control with the interface I want, and this way hide all the > specific stuff located in the embedded form. > > UserControl is a container with no properties, and its internal > Arrangement > property set to 'Fill'. But it is not declared as a usable control to the > IDE. > > > The simpler for understanding is looking at the sources :-) > > > For example, the ColorChooser control embeds a form named FColorChooser, > and in the IDE you will only see ColorChooser. The internal FColorChooser > is completely hidden. > > As you may know ;-) Form controls are their own event observer. So I > attached the FColorChooser to ColorChooser to get all events generated by > the Form, and raised back the events like Form_Open or Form_Resize that > the form needs to work. > > I am not completely satisfied with that, but at the moment it is the only > way I found to make user controls behave like I wanted. > > > In the future, I may implement something like UserContainer, to help > implementing user controls that have containers. > > Note that components made in Gambas work exactly like any executable > projects. They can include all the resource files they need, and their own > translations. > > Please look at that as much as possible :-) This is the base for a future > implementation of components like: - Complex controls like FontChooser or > ColorChooser: FileChooser, DirChooser, > anything you can imagine. - Controls bound to database. > - Report designer. > - WebForm designer. > - Gambas MDI windows. > ... > > > The limit is time and imagination :-) > > > Enjoy it! > > > -- > Benoit Minisini > mailto:gambas at ...1... > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to speed, > fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From m0nty at ...31... Sat Jul 30 23:42:27 2005 From: m0nty at ...31... (monty) Date: Sat, 30 Jul 2005 22:42:27 +0100 Subject: [Gambas-user] How do i add a Help Message-ID: <200507302242.28005.m0nty@...31...> Hello. Are there any common/easy/usefull ways to add a help/help-system to a Gambas-Project (not a form with a textbox, a real help like .chm in vb) ? Michael galm From danielcampos at ...282... Sat Jul 30 23:49:31 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 30 Jul 2005 23:49:31 +0200 Subject: [Gambas-user] How do i add a Help In-Reply-To: <200507302242.28005.m0nty@...31...> References: <200507302242.28005.m0nty@...31...> Message-ID: <42EBF5EB.3010004@...282...> Hi: Not directly at this moment, however GNU/Linux systems offers some options: the KDE help system, te GNOME help system, man pages (konqueror shows them nicely), html pages launching a web browser, etc Regards, D. Campos monty escribi?: >Hello. > >Are there any common/easy/usefull ways to add a help/help-system >to a Gambas-Project (not a form with a textbox, a real help like .chm in vb) ? > >Michael galm > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From richard at ...1070... Sun Jul 31 00:14:06 2005 From: richard at ...1070... (Richard Crossley) Date: Sat, 30 Jul 2005 23:14:06 +0100 (BST) Subject: [Gambas-user] Bad Archive: File exists error on AMD 64 Message-ID: <54096.192.168.0.52.1122761646.squirrel@...1072...> Hi, I have compiled gambas on Fedora Core 4, x86_64. uname -a Linux rwc2new.richardcrossley.com 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:56:33 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=x86_64-redhat-linux Thread model: posix gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) Unfortunately when I run gambas, it fails with the following error... [richard at ...1071... gambas-1.0.9]$ gambas sizeof(CLASS) = 256 ! ERROR: #51: Bad archive: File exists [richard at ...1071... gambas-1.0.9]$ Is this a known problem? If so is it in a FAQ? Is there a resolution? Thanks in advance, Richard From njmurphy1 at ...734... Sun Jul 31 00:41:28 2005 From: njmurphy1 at ...734... (Joseph Murphy) Date: Sat, 30 Jul 2005 15:41:28 -0700 Subject: [Gambas-user] Re: new Gambas documentation (Rob) Message-ID: <200507301541.29006.njmurphy1@...734...> The new docs look good but I was locked out on many of the hyper links. I would also like to make a request for addition to the docs. This is listed in the docs for component programming: The components and the interpreter communicate through the Gambas Programming Interface. They are executed in the interpreter environment, and so must not do whatever they want. What is this interface? I would like to see a detailed explanation of this interface. Also what are the restrictions on components? The docs say that they "must not do whatever they want" but it doesn't go into detail about that. The ability of a programmer to extend gambas by adding a component is one of the strong points of gambas. But it is being weakened by the time and effort needed to just get up to speed on component writing. Also, if I could make a suggestion, don't use an existing component for explanation. It would be much better to write a component that is only meant to explain the concepts and restrictions of component writing. I understand that writing documentation is the gritty part of a project and nobody likes doing it. But, in many ways, it is the most important part of the project. I forget who said this but it is one of the best explanation of documentation I have heard: Documentation is like sex. When it's good it's very good, when it's bad it's better then nothing. Joseph From danielcampos at ...282... Sun Jul 31 00:55:25 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 31 Jul 2005 00:55:25 +0200 Subject: [Gambas-user] Re: new Gambas documentation (Rob) In-Reply-To: <200507301541.29006.njmurphy1@...734...> References: <200507301541.29006.njmurphy1@...734...> Message-ID: <42EC055D.8070906@...282...> I do not understand very well what you say... the documents about the Gambas programming interface for components is placed in the same Gambas sources!!!. Just open Gambas help at look at "How to program components"!!! Regards, D. Campos Joseph Murphy escribi?: >The new docs look good but I was locked out on many of the hyper links. > >I would also like to make a request for addition to the docs. This is listed >in the docs for component programming: > >The components and the interpreter communicate through the Gambas >Programming Interface. > >They are executed in the interpreter environment, and so must not do >whatever they want. > > > >What is this interface? I would like to see a detailed explanation of this >interface. Also what are the restrictions on components? The docs say >that they "must not do whatever they want" but it doesn't go into detail >about that. > >The ability of a programmer to extend gambas by adding a component is one of >the strong points of gambas. But it is being weakened by the time and >effort needed to just get up to speed on component writing. > >I understand that writing documentation is the gritty part of a project and >nobody likes doing it. But, in many ways, it is the most important part of >the project. I forget who said this but it is one of the best explanation >of documentation I have heard: Documentation is like sex. When it's good >it's very good, when it's bad it's better then nothing. > >Joseph > > > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > From peski_2k at ...67... Sun Jul 31 03:43:24 2005 From: peski_2k at ...67... (Peski -) Date: Sun, 31 Jul 2005 01:43:24 +0000 Subject: [Gambas-user] Re: new Gambas documentation (Rob) In-Reply-To: <42EC055D.8070906@...282...> Message-ID: Joseph Murphy, For your comment, I think you only see a "demo" of new gambas documentation system located in http://64.128.110.55/help If you open Gambas IDE and see help section, you can found many information about Gambas programming interface. You can also see the source code of some component as example and learn from it. But, of course, you have the necessary documentation (I think) in gambas help. Regards, Peski PD: If you haven't installed GambasIDE, you can found same documentation in http://www.binara.com/gambas-wiki/bin/view/Gambas/ >From: Daniel Campos >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] Re: new Gambas documentation (Rob) >Date: Sun, 31 Jul 2005 00:55:25 +0200 > >I do not understand very well what you say... the documents about the >Gambas programming >interface for components is placed in the same Gambas sources!!!. > >Just open Gambas help at look at "How to program components"!!! > >Regards, > >D. Campos > > > > >Joseph Murphy escribi??: > >>The new docs look good but I was locked out on many of the hyper links. >> >>I would also like to make a request for addition to the docs. This is >>listed in the docs for component programming: >> >>The components and the interpreter communicate through the Gambas >>Programming Interface. >> >>They are executed in the interpreter environment, and so must not do >>whatever they want. >> >> >> >>What is this interface? I would like to see a detailed explanation of >>this interface. Also what are the restrictions on components? The docs >>say that they "must not do whatever they want" but it doesn't go into >>detail about that. >> >>The ability of a programmer to extend gambas by adding a component is one >>of the strong points of gambas. But it is being weakened by the time and >>effort needed to just get up to speed on component writing. >> >>I understand that writing documentation is the gritty part of a project >>and nobody likes doing it. But, in many ways, it is the most important >>part of the project. I forget who said this but it is one of the best >>explanation of documentation I have heard: Documentation is like sex. >>When it's good it's very good, when it's bad it's better then nothing. >> >>Joseph >> >> >> >> >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>from IBM. Find simple to follow Roadmaps, straightforward articles, >>informative Webcasts and more! Get everything you need to get up to >>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From francesco.difusco at ...69... Sun Jul 31 10:27:53 2005 From: francesco.difusco at ...69... (Di Fusco Francesco) Date: Sun, 31 Jul 2005 10:27:53 +0200 Subject: [Gambas-user] For italian users of Gambas Message-ID: <1122798473.10200.4.camel@...1064...> Hi, I was helping in translating in italian the Gambas documentation. Now I am starting a series of articles about Gambas, just to improve the documentation in Italian. There are only very few articles, if someone would like to translate them in other languages, it would be very beautiful. This is the link http://www.teachingonline.it/articoli.php Francesco From oreip at ...1... Sun Jul 31 12:09:23 2005 From: oreip at ...1... (PV) Date: Sun, 31 Jul 2005 12:09:23 +0200 Subject: [Gambas-user] Again on DrawingArea Message-ID: <42ECA353.6090202@...1...> Hi all, in light of the new optimizations of its paint event, I would like to ask for some clarifications on how to properly handle the drawing and the paint events of a DrawingArea, assuming that its Cached property is set to False. In Gambas <= 1.9.12, I used to keep all the functions that draw on a DrawingArea inside the Draw event, and the canvas was properly redrawn when needed. Everything worked like a charm: CPU usage was normal, drawing and redrawing was lightning fast. Starting from 1.9.13, I noticed that everything was extremely slow and the CPU usage soared close to 100%. This happens because now it seems that the Draw event is constantly called in an endless loop, whereas, in versions <= 1.9.12, it was called only once when some redrawing was needed. What happened? :-) TIA for your suggestions. Ciao, Piero From danielcampos at ...282... Sun Jul 31 15:16:19 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 31 Jul 2005 15:16:19 +0200 Subject: [Gambas-user] gb.gtk 050731 Message-ID: <42ECCF23.1010600@...282...> Hi: New version of gb.gtk: 050731 http://gambas.gnulinex.org/gtk This version adds the new stuff implemented by Beno?t in the gb.qt component, and yes, it has some bugs, but it would help Benoit to test the "UserControl" and Gambas control creation with gb.gtk, so they not depend on gb.qt. Beno?t: Apart from this, you should adapt the color chooser to be compatible with gb.gtk: When using GTK+, all h,s,v values have different ranges than in QT: H: 0 - 360 S: 0 - 100 V: 0 - 100 All GTK+ applications work in this way, and the gb.gtk component must be compatible with the rest of GTK+ applications. I suppose you could check the active component using the "Components" class, and then use values from 0 to 255 when using gb.qt and the values I told you when using gb.gtk. I also added an experimental method called "Reparent" for al widgets except top-level windows, so any control can change its parent. Changelog: * NEW: ScrollView.EnsureVisible implemented. * NEW: "UserControl" class implemented. * NEW: TrayIcon.Tag, W and H properties added. * NEW: Font.Scalable and Font.Grade properties implemented. * NEW: System colors added to "Color" class. * NEW: TextArea.Scrollbar property added. * NEW: Control.Reparent method added to reparent widgets (but not top-level windows) * FIXED: Mouse, Focus, and Key events handling redesigned: 28 bytes less per widget. * NEW: Application.Font implemented. Regards, D. Campos From gambas at ...1... Sun Jul 31 20:16:12 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 31 Jul 2005 20:16:12 +0200 Subject: [Gambas-user] Release of gambas 1.9.14 In-Reply-To: <35721.85.155.33.88.1122744554.squirrel@...962...> References: <200507301728.44644.gambas@...1...> <35721.85.155.33.88.1122744554.squirrel@...962...> Message-ID: <200507312016.12977.gambas@...1...> On Saturday 30 July 2005 19:29, Lorenzo Tejera wrote: > No for to much run you could arrive shortly :DDDDDDDd recent compiled, I > get this error in gambas2-1.9.14 IDE > > cerebro:/opt/gambas2/bin# ./gambas2.gambas > ERROR: #2: Cannot load class 'ValueBox': Unable to load class file > > Regards FIDO BUG :D > Are you the only people having this problem ? -- Benoit Minisini mailto:gambas at ...1... From peski_2k at ...67... Sun Jul 31 21:23:05 2005 From: peski_2k at ...67... (Peski -) Date: Sun, 31 Jul 2005 19:23:05 +0000 Subject: [Gambas-user] Release of gambas 1.9.14 In-Reply-To: <200507312016.12977.gambas@...1...> Message-ID: I'm using new release without problem. Well, I have the problem with gtk, sqlite, sqlite3 and postgresql component that have all suse's users (I think) due to patched versions of required libs used by this distribution. Regards, Peski >From: Benoit Minisini >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] Release of gambas 1.9.14 >Date: Sun, 31 Jul 2005 20:16:12 +0200 > >On Saturday 30 July 2005 19:29, Lorenzo Tejera wrote: > > No for to much run you could arrive shortly :DDDDDDDd recent compiled, I > > get this error in gambas2-1.9.14 IDE > > > > cerebro:/opt/gambas2/bin# ./gambas2.gambas > > ERROR: #2: Cannot load class 'ValueBox': Unable to load class file > > > > Regards FIDO BUG :D > > > >Are you the only people having this problem ? > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...282... Sun Jul 31 22:05:16 2005 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 31 Jul 2005 22:05:16 +0200 Subject: [Gambas-user] Release of gambas 1.9.14 In-Reply-To: References: Message-ID: <42ED2EFC.7090705@...282...> Here gambas2-1.9.14 works OK. Regards, D. Campos Peski - escribi?: > I'm using new release without problem. Well, I have the problem with > gtk, sqlite, sqlite3 and postgresql component that have all suse's > users (I think) due to patched versions of required libs used by this > distribution. > > Regards, > Peski > >> From: Benoit Minisini >> Reply-To: gambas-user at lists.sourceforge.net >> To: gambas-user at lists.sourceforge.net >> Subject: Re: [Gambas-user] Release of gambas 1.9.14 >> Date: Sun, 31 Jul 2005 20:16:12 +0200 >> >> On Saturday 30 July 2005 19:29, Lorenzo Tejera wrote: >> > No for to much run you could arrive shortly :DDDDDDDd recent >> compiled, I >> > get this error in gambas2-1.9.14 IDE >> > >> > cerebro:/opt/gambas2/bin# ./gambas2.gambas >> > ERROR: #2: Cannot load class 'ValueBox': Unable to load class file >> > >> > Regards FIDO BUG :D >> > >> >> Are you the only people having this problem ? >> >> -- >> Benoit Minisini >> mailto:gambas at ...1... >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From oreip at ...1... Sun Jul 31 23:32:10 2005 From: oreip at ...1... (PV) Date: Sun, 31 Jul 2005 23:32:10 +0200 Subject: [Gambas-user] Release of gambas 1.9.14 In-Reply-To: <200507312016.12977.gambas@...1...> References: <200507301728.44644.gambas@...1...> <35721.85.155.33.88.1122744554.squirrel@...962...> <200507312016.12977.gambas@...1...> Message-ID: <42ED435A.1020203@...1...> On 31/07/2005 20:16, Benoit Minisini wrote: > On Saturday 30 July 2005 19:29, Lorenzo Tejera wrote: > >>No for to much run you could arrive shortly :DDDDDDDd recent compiled, I >>get this error in gambas2-1.9.14 IDE >> >>cerebro:/opt/gambas2/bin# ./gambas2.gambas >>ERROR: #2: Cannot load class 'ValueBox': Unable to load class file >> >>Regards FIDO BUG :D >> > > > Are you the only people having this problem ? > I had the same problem. I solved it by going into directory gambas2-1.9.14/gb.qt/src/gb.qt and noting that gb.qt.gambas had not been properly compiled (I could tell it from the date). I then issued a gbc2;gba2;make install command and after that the problem disappeared. I haven't investigated though the problem that caused this malfunction. Ciao, Piero